From owner-freebsd-stable@FreeBSD.ORG Sun Jun 6 05:39:25 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8D20616A4CE for ; Sun, 6 Jun 2004 05:39:25 -0700 (PDT) Received: from sccimhc92.asp.att.net (sccimhc92.asp.att.net [63.240.76.166]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4051C43D3F for ; Sun, 6 Jun 2004 05:39:25 -0700 (PDT) (envelope-from wwoods@cybcon.com) Received: from william (12-220-207-208.client.insightbb.com[12.220.207.208]) by sccimhc92.asp.att.net (sccimhc92) with SMTP id <20040606123922i920003tjhe>; Sun, 6 Jun 2004 12:39:22 +0000 From: "William Woods" To: Date: Sun, 6 Jun 2004 08:39:17 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: <20040606061807.GA1145@k7.mavetju> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Thread-Index: AcRLjhrIoytZniViSQO5fGTG2QHYHwANP9aA Subject: Samba on 4.10 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Jun 2004 12:39:25 -0000 Can some one point me in the right direction for setting up a simple Samba sever for a home network. It sits snugly behind a FreeBSD firewall So I am not terribly concerned with security for the Samba server. Basically The setup I want is to have all my windows system be able to write to a /usr/samba file system I set up. Thank you Bill From owner-freebsd-stable@FreeBSD.ORG Sun Jun 6 07:24:23 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1A36D16A4CE for ; Sun, 6 Jun 2004 07:24:23 -0700 (PDT) Received: from lakermmtao02.cox.net (lakermmtao02.cox.net [68.230.240.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id B52AA43D2D for ; Sun, 6 Jun 2004 07:24:22 -0700 (PDT) (envelope-from eqe@cox.net) Received: from [192.168.0.102] (really [68.228.102.154]) by lakermmtao02.cox.net (InterMail vM.6.01.03.02 201-2131-111-104-20040324) with ESMTP id <20040606142421.ENCG19971.lakermmtao02.cox.net@[192.168.0.102]>; Sun, 6 Jun 2004 10:24:21 -0400 From: Eriq Lamar Organization: E & E solutions To: freebsd-stable@freebsd.org Date: Sun, 6 Jun 2004 10:26:57 +0000 User-Agent: KMail/1.6.2 References: In-Reply-To: MIME-Version: 1.0 Content-Disposition: inline Content-Type: Multipart/Mixed; boundary="Boundary-00=_xFvwA+2nRof45Rf" Message-Id: <200406061026.57671.eqe@cox.net> cc: William Woods Subject: Re: Samba on 4.10 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Jun 2004 14:24:23 -0000 --Boundary-00=_xFvwA+2nRof45Rf Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline On Sunday 06 June 2004 12:39 pm, William Woods wrote: this is my config > Can some one point me in the right direction for setting up a simple Samba > sever for a home network. It sits snugly behind a FreeBSD firewall So I am > not terribly concerned with security for the Samba server. Basically The > setup I want is to have all my windows system be able to write to a > /usr/samba file system I set up. > > Thank you > Bill > > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" --Boundary-00=_xFvwA+2nRof45Rf Content-Type: text/plain; charset="iso-8859-1"; name="smb.conf" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="smb.conf" # This is the main Samba configuration file. You should read the # smb.conf(5) manual page in order to understand the options listed # here. Samba has a huge number of configurable options (perhaps too # many!) most of which are not shown in this example # # Any line which starts with a ; (semi-colon) or a # (hash) # is a comment and is ignored. In this example we will use a # # for commentry and a ; for parts of the config file that you # may wish to enable # # NOTE: Whenever you modify this file you should run the command "testparm" # to check that you have not many any basic syntactic errors. # #======================= Global Settings ===================================== [global] # workgroup = NT-Domain-Name or Workgroup-Name, eg: REDHAT4 workgroup = WORKGROUP # server string is the equivalent of the NT Description field server string = Samba Server # This option is important for security. It allows you to restrict # connections to machines which are on your local network. The # following example restricts access to two C class networks and # the "loopback" interface. For more examples of the syntax see # the smb.conf man page ; hosts allow = 192.168.0.101 # If you want to automatically load your printer list rather # than setting them up individually then you'll need this load printers = no # you may wish to override the location of the printcap file ; printcap name = /etc/printcap # on SystemV system setting printcap name to lpstat should allow # you to automatically obtain a printer list from the SystemV spool # system ; printcap name = lpstat # It should not be necessary to specify the print system type unless # it is non-standard. Currently supported print systems include: # bsd, sysv, plp, lprng, aix, hpux, qnx ; printing = bsd # Uncomment this if you want a guest account, you must add this to /etc/passwd # otherwise the user "nobody" is used guest account = nobody # this tells Samba to use a separate log file for each machine # that connects log file = /var/log/log.%m # Put a capping on the size of the log files (in Kb). max log size = 50 # Security mode. Most people will want user level security. See # security_level.txt for details. security = share # Use password server option only with security = server # The argument list may include: # password server = My_PDC_Name [My_BDC_Name] [My_Next_BDC_Name] # or to auto-locate the domain controller/s # password server = * ; password server = # Note: Do NOT use the now deprecated option of "domain controller" # This option is no longer implemented. # You may wish to use password encryption. Please read # ENCRYPTION.txt, Win95.txt and WinNT.txt in the Samba documentation. # Do not enable this option unless you have read those documents ; encrypt passwords = yes # Using the following line enables you to customise your configuration # on a per machine basis. The %m gets replaced with the netbios name # of the machine that is connecting ; include = /usr/local/etc/smb.conf.%m # Most people will find that this option gives better performance. # See speed.txt and the manual pages for details # You may want to add the following on a Linux system: # SO_RCVBUF=8192 SO_SNDBUF=8192 socket options = TCP_NODELAY # Configure Samba to use multiple interfaces # If you have multiple network interfaces then you must list them # here. See the man page for details. ; interfaces = 192.168.12.2/24 192.168.13.2/24 # Browser Control Options: # set local master to no if you don't want Samba to become a master # browser on your network. Otherwise the normal election rules apply ; local master = no # OS Level determines the precedence of this server in master browser # elections. The default value should be reasonable ; os level = 33 # Domain Master specifies Samba to be the Domain Master Browser. This # allows Samba to collate browse lists between subnets. Don't use this # if you already have a Windows NT domain controller doing this job ; domain master = yes # Preferred Master causes Samba to force a local browser election on startup # and gives it a slightly higher chance of winning the election ; preferred master = yes # Enable this if you want Samba to be a domain logon server for # Windows95 workstations. ; domain logons = yes # if you enable domain logons then you may want a per-machine or # per user logon script # run a specific logon batch file per workstation (machine) ; logon script = %m.bat # run a specific logon batch file per username ; logon script = %U.bat # Where to store roving profiles (only for Win95 and WinNT) # %L substitutes for this servers netbios name, %U is username # You must uncomment the [Profiles] share below ; logon path = \\%L\Profiles\%U # Windows Internet Name Serving Support Section: # WINS Support - Tells the NMBD component of Samba to enable it's WINS Server wins support = yes # WINS Server - Tells the NMBD components of Samba to be a WINS Client # Note: Samba can be either a WINS Server, or a WINS Client, but NOT both ; wins server = w.x.y.z # WINS Proxy - Tells Samba to answer name resolution queries on # behalf of a non WINS capable client, for this to work there must be # at least one WINS Server on the network. The default is NO. ; wins proxy = yes # DNS Proxy - tells Samba whether or not to try to resolve NetBIOS names # via DNS nslookups. The built-in default for versions 1.9.17 is yes, # this has been changed in version 1.9.18 to no. dns proxy = no # Client codepage settings # for Greek users ; client code page=737 # for European users (Latin 1) ; client code page=850 # for European users (Latin 2) ; client code page=852 # for Icelandic users ; client code page=861 # for Cyrillic users ; client code page=866 # for Japanese Users ; client code page=932 ; coding system=cap # for Simplified Chinese Users ; client code page=936 ; coding system=cap # for Korean Users ; client code page=949 ; coding system=cap # for Traditional Chinese Users ; client code page=950 ; coding system=cap #============================ Share Definitions ============================== [homes] comment = Home Directories browseable = no writeable = yes # Un-comment the following two lines to add a recycle bin facility to a samba share # NOTE: It currently doesn't work with the [homes] virtual share, use a regular share instead ; vfs object = /usr/local/lib/samba/recycle.so ; vfs options= /usr/local/etc/recycle.conf.default # Un-comment the following and create the netlogon directory for Domain Logons ; [netlogon] ; comment = Network Logon Service ; path = /usr/local/samba/lib/netlogon ; guest ok = yes ; writeable = no ; share modes = no # Un-comment the following to provide a specific roving profile share # the default is to use the user's home directory ;[Profiles] ; path = /usr/local/samba/profiles ; browseable = no ; guest ok = yes # NOTE: If you have a BSD-style print system there is no need to # specifically define each individual printer [printers] comment = All Printers path = /var/spool/samba browseable = no # Set public = yes to allow user 'guest account' to print guest ok = no writeable = no printable = yes # This one is useful for people to share files ;[tmp] ; comment = Temporary file space ; path = /tmp ; read only = no ; public = yes # A publicly accessible directory, but read only, except for people in # the "staff" group [public] comment = Public Stuff path = /media public = yes writeable = yes printable = no # Other examples. # # A private printer, usable only by fred. Spool data will be placed in fred's # home directory. Note that fred must have write access to the spool directory, # wherever it is. ;[fredsprn] ; comment = Fred's Printer ; valid users = fred ; path = /homes/fred ; printer = freds_printer ; public = no ; writeable = no ; printable = yes # A private directory, usable only by fred. Note that fred requires write # access to the directory. ;[fredsdir] ; comment = Fred's Service ; path = /usr/somewhere/private ; valid users = fred ; public = no ; writeable = yes ; printable = no # a service which has a different directory for each machine that connects # this allows you to tailor configurations to incoming machines. You could # also use the %U option to tailor it by user name. # The %m gets replaced with the machine name that is connecting. ;[pchome] ; comment = PC Directories ; path = /usr/pc/%m ; public = no ; writeable = yes # A publicly accessible directory, read/write to all users. Note that all files # created in the directory by users will be owned by the default user, so # any user with access can delete any other user's files. Obviously this # directory must be writeable by the default user. Another user could of course # be specified, in which case all files would be owned by that user instead. ;[public] ; path = /usr/somewhere/else/public ; public = yes ; only guest = yes ; writeable = yes ; printable = no # Un-comment the following two lines to add a recycle bin facility to a samba share ; vfs object = /usr/local/lib/samba/recycle.so ; vfs options= /usr/local/etc/recycle.conf.default # The following two entries demonstrate how to share a directory so that two # users can place files there that will be owned by the specific users. In this # setup, the directory should be writeable by both users and should have the # sticky bit set on it to prevent abuse. Obviously this could be extended to # as many users as required. ;[myshare] ; comment = Mary's and Fred's stuff ; path = /usr/somewhere/shared ; valid users = mary fred ; public = no ; writeable = yes ; printable = no ; create mask = 0765 --Boundary-00=_xFvwA+2nRof45Rf-- From owner-freebsd-stable@FreeBSD.ORG Sun Jun 6 08:56:04 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5B19216A4CE for ; Sun, 6 Jun 2004 08:56:04 -0700 (PDT) Received: from haanjdj.demon.nl (haanjdj.demon.nl [82.161.5.221]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0A31343D31 for ; Sun, 6 Jun 2004 08:56:04 -0700 (PDT) (envelope-from derkjan@haanjdj.demon.nl) Received: from localhost (localhost [127.0.0.1]) by haanjdj.demon.nl (Postfix) with ESMTP id 51AC02C27E for ; Sun, 6 Jun 2004 17:56:03 +0200 (CEST) Received: from haanjdj.demon.nl ([127.0.0.1]) by localhost (haanjdj.demon.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 00247-08 for ; Sun, 6 Jun 2004 17:55:58 +0200 (CEST) Received: from bogomip (bogomip.badmuts.org [192.168.2.1]) by haanjdj.demon.nl (Postfix) with SMTP id 739252C27A for ; Sun, 6 Jun 2004 17:55:54 +0200 (CEST) Message-ID: <003601c44bde$c525aca0$0102a8c0@bogomip> From: "Derkjan de Haan" To: References: <200406061026.57671.eqe@cox.net> Date: Sun, 6 Jun 2004 17:55:59 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 X-Virus-Scanned: by amavisd-new at haanjdj.demon.nl Subject: Re: Samba on 4.10 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Jun 2004 15:56:04 -0000 When running Samba on the firewall itself, you need to prevent Samba from attaching to the Internet/WAN interface, otherwise it will announce its presence there. I have done this: interfaces = em0 lo0 (em0 being the LAN interface) regards, Derkjan ----- Original Message ----- From: "Eriq Lamar" To: Cc: "William Woods" Sent: Sunday, June 06, 2004 12:26 PM Subject: Re: Samba on 4.10 > On Sunday 06 June 2004 12:39 pm, William Woods wrote: > this is my config > > > Can some one point me in the right direction for setting up a simple Samba > > sever for a home network. It sits snugly behind a FreeBSD firewall So I am > > not terribly concerned with security for the Samba server. Basically The > > setup I want is to have all my windows system be able to write to a > > /usr/samba file system I set up. > > > > Thank you > > Bill > > > > > > _______________________________________________ > > freebsd-stable@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > ---------------------------------------------------------------------------- ---- > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > From owner-freebsd-stable@FreeBSD.ORG Sun Jun 6 09:01:09 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9DF1E16A4CE for ; Sun, 6 Jun 2004 09:01:09 -0700 (PDT) Received: from fep20-app.kolumbus.fi (fep20-0.kolumbus.fi [193.229.0.47]) by mx1.FreeBSD.org (Postfix) with ESMTP id 46CEF43D31 for ; Sun, 6 Jun 2004 09:01:08 -0700 (PDT) (envelope-from pertti.kosunen@kolumbus.fi) Received: from osbsd ([80.186.12.3]) by fep20-app.kolumbus.fi with SMTP id <20040606160105.HPNQ17501.fep20-app.kolumbus.fi@osbsd>; Sun, 6 Jun 2004 19:01:05 +0300 Message-ID: <048e01c44bdf$6a9ab310$0b00000a@osbsd> From: "Pertti Kosunen" To: "William Woods" , References: Date: Sun, 6 Jun 2004 19:00:36 +0300 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Sonic Foundry Sound Forge 6.00 Build 237 X-MimeOLE: FreeBSD 5.2.1-RELEASE-p3 #03: Mon Mar 22 2004 Subject: Re: Samba on 4.10 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Jun 2004 16:01:09 -0000 From: "William Woods" > Can some one point me in the right direction for setting up a simple Samba > sever for a home network. It sits snugly behind a FreeBSD firewall So I am > not terribly concerned with security for the Samba server. Basically The > setup I want is to have all my windows system be able to write to a > /usr/samba file system I set up. encrypt passwords = yes This line could be usefull to unquote in smb.conf, no need to XP registry mods after this. Also add users smb passwords with smbpasswd. From owner-freebsd-stable@FreeBSD.ORG Sun Jun 6 09:06:38 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 10EC116A4CE for ; Sun, 6 Jun 2004 09:06:38 -0700 (PDT) Received: from alogis.com (firewall.solit-ag.de [212.184.102.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7385443D46 for ; Sun, 6 Jun 2004 09:06:36 -0700 (PDT) (envelope-from Holger.Kipp@alogis.com) Received: (from hk@localhost) by alogis.com (8.11.1/8.9.3) id i56G6Jv99083; Sun, 6 Jun 2004 18:06:19 +0200 (CEST) (envelope-from hk) Date: Sun, 6 Jun 2004 18:06:19 +0200 From: Holger Kipp To: William Woods Message-ID: <20040606180619.A98425@intserv.int1.b.intern> References: <20040606061807.GA1145@k7.mavetju> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; from wwoods@cybcon.com on Sun, Jun 06, 2004 at 08:39:17AM -0400 cc: freebsd-stable@freebsd.org Subject: Re: Samba on 4.10 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Jun 2004 16:06:38 -0000 On Sun, Jun 06, 2004 at 08:39:17AM -0400, William Woods wrote: > Can some one point me in the right direction for setting up a simple Samba > sever for a home network. It sits snugly behind a FreeBSD firewall So I am > not terribly concerned with security for the Samba server. Basically The > setup I want is to have all my windows system be able to write to a > /usr/samba file system I set up. You might consider installing samba from ports and then edit the example /usr/local/etc/smb.conf.default as smb.conf. It usually comes with some good example entries that imho are easy to understand and tweak according to your likening. => cd /usr/ports/net/samba (for 2.2.9) cd /usr/ports/net/samba-devel (for 3.0.4) make package Then have a look at /usr/local/etc/rc.d/samba.sh, ie rename samba.sh.sample to samba.sh so samba will be started on system boot. man smb.conf man smbd man nmbd are also quite helpful. Regards, Holger Kipp From owner-freebsd-stable@FreeBSD.ORG Sun Jun 6 09:13:40 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4AF6F16A4CE for ; Sun, 6 Jun 2004 09:13:40 -0700 (PDT) Received: from smtp-send.myrealbox.com (smtp-send.myrealbox.com [192.108.102.143]) by mx1.FreeBSD.org (Postfix) with ESMTP id 23E9443D45 for ; Sun, 6 Jun 2004 09:13:40 -0700 (PDT) (envelope-from wa1ter@myrealbox.com) Received: from myrealbox.com wa1ter [67.114.254.238] $ on Novell NetWare via secured & encrypted transport (TLS); Sun, 06 Jun 2004 10:13:40 -0600 Message-ID: <40C342BA.10403@myrealbox.com> Date: Sun, 06 Jun 2004 09:13:46 -0700 From: walt Organization: none User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7b) Gecko/20040516 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Archie Cobbs , freebsd-stable@freebsd.org References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: 4.10-STABLE - ADSL PPPoE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Jun 2004 16:13:40 -0000 Archie Cobbs wrote: > > Oops, my apologies.. I incorrectly applied the MFC. Please try the > patch below (apply to the newer version of ng_ether.c) and let me > know if this makes things work again. Just cvsup'd and nothing new came across as of 1600 GMT June 6. I'm wondering why this patch hasn't been committed yet, since it seems to work. From owner-freebsd-stable@FreeBSD.ORG Sun Jun 6 12:50:18 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 66B4C16A4CE for ; Sun, 6 Jun 2004 12:50:18 -0700 (PDT) Received: from mxsf22.cluster1.charter.net (mxsf22.cluster1.charter.net [209.225.28.222]) by mx1.FreeBSD.org (Postfix) with ESMTP id 00B4B43D48 for ; Sun, 6 Jun 2004 12:50:18 -0700 (PDT) (envelope-from archie@dellroad.org) Received: from mxip04.cluster1.charter.net (mxip04a.cluster1.charter.net [209.225.28.134])i56Jms7G085297 for ; Sun, 6 Jun 2004 15:48:54 -0400 (EDT) Received: from cable-24-196-25-11.mtv.al.charter.com (HELO InterJet.dellroad.org) (24.196.25.11) by mxip04.cluster1.charter.net with ESMTP; 06 Jun 2004 15:48:54 -0400 Received: from arch20m.dellroad.org (arch20m.dellroad.org [10.2.2.20]) by InterJet.dellroad.org (8.9.1a/8.9.1) with ESMTP id OAA02336; Sun, 6 Jun 2004 14:48:09 -0500 (CDT) Received: from arch20m.dellroad.org (localhost [127.0.0.1]) i56Jm8Kt009646; Sun, 6 Jun 2004 14:48:08 -0500 (CDT) (envelope-from archie@arch20m.dellroad.org) Received: (from archie@localhost) by arch20m.dellroad.org (8.12.9p2/8.12.9/Submit) id i56Jm8bB009645; Sun, 6 Jun 2004 14:48:08 -0500 (CDT) (envelope-from archie) From: Archie Cobbs Message-Id: <200406061948.i56Jm8bB009645@arch20m.dellroad.org> In-Reply-To: <40C342BA.10403@myrealbox.com> To: walt Date: Sun, 6 Jun 2004 14:48:08 -0500 (CDT) X-Mailer: ELM [version 2.4ME+ PL99b (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII cc: freebsd-stable@freebsd.org Subject: Re: 4.10-STABLE - ADSL PPPoE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Jun 2004 19:50:18 -0000 walt wrote: > > Oops, my apologies.. I incorrectly applied the MFC. Please try the > > patch below (apply to the newer version of ng_ether.c) and let me > > know if this makes things work again. > > Just cvsup'd and nothing new came across as of 1600 GMT June 6. > I'm wondering why this patch hasn't been committed yet, since it > seems to work. Because freefall and cvs.freebsd.org were completely unreachable for me for all of yesterday.. no idea why. Today, no problem.. so I just committed it. -Archie __________________________________________________________________________ Archie Cobbs * CTO, Awarix * http://www.awarix.com From owner-freebsd-stable@FreeBSD.ORG Sun Jun 6 15:21:27 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 619D716A4CE for ; Sun, 6 Jun 2004 15:21:27 -0700 (PDT) Received: from smtp-send.myrealbox.com (smtp-send.myrealbox.com [192.108.102.143]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3B19043D55 for ; Sun, 6 Jun 2004 15:21:27 -0700 (PDT) (envelope-from wa1ter@myrealbox.com) Received: from [192.168.0.6] wa1ter [67.124.72.49]$ on Novell NetWare via secured & encrypted transport (TLS); Sun, 06 Jun 2004 16:21:28 -0600 Message-ID: <40C398EB.9020203@myrealbox.com> Date: Sun, 06 Jun 2004 15:21:31 -0700 From: walt Organization: none User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8a2) Gecko/20040606 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Archie Cobbs References: <200406061948.i56Jm8bB009645@arch20m.dellroad.org> In-Reply-To: <200406061948.i56Jm8bB009645@arch20m.dellroad.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-stable@freebsd.org Subject: Re: 4.10-STABLE - ADSL PPPoE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Jun 2004 22:21:27 -0000 Archie Cobbs wrote: > Because freefall and cvs.freebsd.org were completely unreachable > for me for all of yesterday..no idea why. Today, no problem.. > so I just committed it. Got it, thanks -- and it works for me too. From owner-freebsd-stable@FreeBSD.ORG Sun Jun 6 16:32:04 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2DAFE16A4CE for ; Sun, 6 Jun 2004 16:32:04 -0700 (PDT) Received: from smtp2.server.rpi.edu (smtp2.server.rpi.edu [128.113.2.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id DB6A843D4C for ; Sun, 6 Jun 2004 16:32:03 -0700 (PDT) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.netel.rpi.edu [128.113.24.47]) by smtp2.server.rpi.edu (8.12.8/8.12.8) with ESMTP id i56NW2IX009836; Sun, 6 Jun 2004 19:32:03 -0400 Mime-Version: 1.0 X-Sender: drosih@mail.rpi.edu Message-Id: In-Reply-To: <200406040806.i5486UYG081359@pele.r.caley.org.uk> References: <200406040806.i5486UYG081359@pele.r.caley.org.uk> Date: Sun, 6 Jun 2004 19:32:01 -0400 To: Richard Caley , freebsd-stable@freebsd.org From: Garance A Drosihn Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Scanned-By: CanIt (www . canit . ca) Subject: Re: Find / cd mount bug? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Jun 2004 23:32:04 -0000 At 9:06 AM +0100 6/4/04, Richard Caley wrote: >I thought this weird behaviour might be of interest to anyone >working on the relevent bits of code. ... > > $ find /cdrom -name \*.mp3 | wc > 49 49 3387 > > $ find /cdrom -name \*.mp3 -type f | wc > 77 77 5214 > >Ie adding an extra restriction increases the number of results. >The first one isn't giving an error at the point where it stops. This is almost certainly an optimization in `find', where it expects that the link-count for a directory is equal to the number of sub-directories + 2. The +2 is assumed to be '.' and '..'. But some file systems do not really have links for '.' and '..'. What happens is that something in `find' believes that once it has found "link-count - 2" directories, than it must have found all the real sub-directories in that directory. By making this assumption, it can avoid of doing a lot of unnecessary stat() calls. But on file systems which do *not* have links for '.' and '..', this will result in `find' skipping the last two real sub-directories -- without thinking that any error has occurred. By adding the extra restriction, `find' *must* do the extra stat() calls anyway, so it can not perform this optimization. Note that in some situations, this optimization can result in a pretty significant performance boost, so it is worth doing (when it works correctly... :-). I know this problem shows up on some CD-ROM file systems, but I don't know if it happens on all of them. I also haven't looked into `find' specifically, but I know I ran into this on some other programs which perform this optimization. -- Garance Alistair Drosehn = gad@gilead.netel.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu From owner-freebsd-stable@FreeBSD.ORG Sun Jun 6 16:58:24 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CAF1A16A4CE for ; Sun, 6 Jun 2004 16:58:24 -0700 (PDT) Received: from mail.r.caley.org.uk (82-41-211-19.cable.ubr12.edin.blueyonder.co.uk [82.41.211.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id C54B343D48 for ; Sun, 6 Jun 2004 16:58:23 -0700 (PDT) (envelope-from rjc@caley.org.uk) Received: from pele.r.caley.org.uk (pele.r.caley.org.uk [10.0.0.12]) by mail.r.caley.org.uk (8.12.6/8.12.6) with ESMTP id i56NwM32041411; Mon, 7 Jun 2004 00:58:22 +0100 (BST) (envelope-from rjc@caley.org.uk) Received: from pele.r.caley.org.uk (localhost [127.0.0.1]) by pele.r.caley.org.uk (8.12.9/8.12.9) with ESMTP id i56NwLFm000265; Mon, 7 Jun 2004 00:58:21 +0100 (BST) (envelope-from rjc@bast.r.caley.org.uk) Received: (from rjc@localhost) by pele.r.caley.org.uk (8.12.9/8.12.9/Submit) id i56NwFx5000262; Mon, 7 Jun 2004 00:58:15 +0100 (BST) (envelope-from rjc@bast.r.caley.org.uk) X-Authentication-Warning: pele.r.caley.org.uk: rjc set sender to rjc@bast.r.caley.org.uk using -f Sender: rjc@caley.org.uk Original-Sender: rjc@interactive.co.uk.uk To: Edwin Groothuis References: <200406040806.i5486UYG081359@pele.r.caley.org.uk> <20040606061807.GA1145@k7.mavetju> From: Richard Caley In-Reply-To: <20040606061807.GA1145@k7.mavetju> Date: 07 Jun 2004 00:58:15 +0100 Message-ID: <874qpoi6i0.fsf@pele.r.caley.org.uk> Lines: 15 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: freebsd-stable@freebsd.org Subject: Re: Find / cd mount bug? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Jun 2004 23:58:24 -0000 In article <20040606061807.GA1145@k7.mavetju>, Edwin Groothuis (eg) writes: eg> Can you send the output of them without the |wc ? Unfortunatly no. I just got the CD out and mounted it (same drive on same machine which hasn't even been rebooted) and now it gives the same result for both cases. When I get a chance I'll trty unmounting and mounting a few time to see if it ever recurs. -- Mail me as MYFIRSTNAME@MYLASTNAME.org.uk _O_ |< From owner-freebsd-stable@FreeBSD.ORG Mon Jun 7 01:44:13 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F192616A4CE for ; Mon, 7 Jun 2004 01:44:12 +0000 (GMT) Received: from mta9.adelphia.net (mta9.adelphia.net [68.168.78.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8C86243EB8 for ; Sun, 6 Jun 2004 18:19:43 -0700 (PDT) (envelope-from parv@chvlva.adelphia.net) Received: from default.chvlva.adelphia.net ([69.160.73.175]) by mta9.adelphia.netESMTP <20040607011942.CBVJ26615.mta9.adelphia.net@default.chvlva.adelphia.net>; Sun, 6 Jun 2004 21:19:42 -0400 Received: by default.chvlva.adelphia.net (Postfix, from userid 1000) id 3CC4F556F; Sun, 6 Jun 2004 21:20:58 -0400 (EDT) Date: Sun, 6 Jun 2004 21:20:58 -0400 From: Parv To: "freebsd-question@premsoft.co.za" Message-ID: <20040607012058.GA408@moo.holy.cow> Mail-Followup-To: "freebsd-question@premsoft.co.za" , freebsd-stable@freebsd.org References: <40C214F0.2010207@premsoft.co.za> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <40C214F0.2010207@premsoft.co.za> cc: freebsd-stable@freebsd.org Subject: Re: 4.9-STABLE --> 4.8-RELEASE downgrade. Pitfalls? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Jun 2004 01:44:14 -0000 in message <40C214F0.2010207@premsoft.co.za>, wrote freebsd-question@premsoft.co.za thusly... > > I want to downgrade a 4.9-STABLE box to a 4.8-RELEASE box to sort > out this MySQL problem that I have. Are there any known pitfalls > that I should be aware of before I do this downgrade? Port making will fail if you keep ports trees updated at least due to use of new make(1) syntax introduced, in 4.9, in a port's Makefile. The problem i noticed was related to use of parenthesis in ".if ... .endif" structure. - Parv -- From owner-freebsd-stable@FreeBSD.ORG Mon Jun 7 05:10:19 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5F7F416A574 for ; Mon, 7 Jun 2004 05:10:19 +0000 (GMT) Received: from carver.gumbysoft.com (carver.gumbysoft.com [66.220.23.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4A4C943D2D for ; Mon, 7 Jun 2004 05:10:19 +0000 (GMT) (envelope-from dwhite@gumbysoft.com) Received: by carver.gumbysoft.com (Postfix, from userid 1000) id 3901672DF4; Sun, 6 Jun 2004 22:10:12 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by carver.gumbysoft.com (Postfix) with ESMTP id 365B072DF2; Sun, 6 Jun 2004 22:10:12 -0700 (PDT) Date: Sun, 6 Jun 2004 22:10:12 -0700 (PDT) From: Doug White To: Matt Hamilton In-Reply-To: Message-ID: <20040606220952.N12662@carver.gumbysoft.com> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-stable@freebsd.org Subject: Re: ATA RAID on HP Proliant DL320G2 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Jun 2004 05:10:19 -0000 On Thu, 3 Jun 2004, Matt Hamilton wrote: > Hi All, > Has anyone managed to get the onboard ATA RAID on a HP/Compaq > Proliannt DL320G2 working? I get 4.10-RELEASE running on there and it > sees the two drives (e.g. ad4 and ad6), but doesn't recognise the RAID > controller. The controller is set to RAID1 in the BIOS and the array is > initiallised. > > I tried: atacontrol create RAID1 ad4 > and got an unsupported error, so i am guessing that the RAID controller > (an onboard LSI ATA MegaRAID controller) is not yet supported. Anyone > know any progress on this? Try the amr driver; I think some versions of the LSI ATA RAID support actually emulate the SCSI variant. -- Doug White | FreeBSD: The Power to Serve dwhite@gumbysoft.com | www.FreeBSD.org From owner-freebsd-stable@FreeBSD.ORG Mon Jun 7 05:21:41 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BFF3816A4CE for ; Mon, 7 Jun 2004 05:21:41 +0000 (GMT) Received: from carver.gumbysoft.com (carver.gumbysoft.com [66.220.23.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8133843D31 for ; Mon, 7 Jun 2004 05:21:41 +0000 (GMT) (envelope-from dwhite@gumbysoft.com) Received: by carver.gumbysoft.com (Postfix, from userid 1000) id 656C872DF2; Sun, 6 Jun 2004 22:21:40 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by carver.gumbysoft.com (Postfix) with ESMTP id 6097E72DB5; Sun, 6 Jun 2004 22:21:40 -0700 (PDT) Date: Sun, 6 Jun 2004 22:21:40 -0700 (PDT) From: Doug White To: Lee Harr In-Reply-To: Message-ID: <20040606222028.O12662@carver.gumbysoft.com> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-stable@freebsd.org Subject: Re: cannot boot system built today X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Jun 2004 05:21:41 -0000 On Sat, 5 Jun 2004, Lee Harr wrote: > >> > Not sure what else to show... should I attach my serial console to get > >> > the cd boot messages? > >> > >>Yes please. > >> > > Here is the boot -sv using the 4.10-RELEASE cd Ok, so it does hang on the CD's channel. What were the results of booting with the drive totally disconnected? I'd try to find a Windows-using friend and get that firmware updated if I were you :) Saving a "what it should look like" for posterity: > ad0: ATA-6 disk at ata0-master > ad0: 76319MB (156301488 sectors), 155061 C, 16 H, 63 S, 512 B > ad0: 16 secs/int, 1 depth queue, UDMA100 > ad0: piomode=4 dmamode=2 udmamode=5 cblid=1 > ad1: success setting UDMA5 on nVIDIA chip > Creating DISK ad1 > ar: FreeBSD check1 failed > ad1: ATA-5 disk at ata0-slave > ad1: 38166MB (78165360 sectors), 77545 C, 16 H, 63 S, 512 B > ad1: 16 secs/int, 1 depth queue, UDMA100 > ad1: piomode=4 dmamode=2 udmamode=5 cblid=1 > ata1-master: piomode=4 dmamode=2 udmamode=2 dmaflag=1 > ata1-master: success setting PIO4 on generic chip > acd0: CD-RW drive at ata1 as master > acd0: read 1375KB/s (48034KB/s) write 8937KB/s (8937KB/s), 2048KB buffer, > PIO4 > acd0: Reads: CD-R, CD-RW, CD-DA stream, packet > acd0: Writes: CD-R, CD-RW, test write, burnproof > acd0: Audio: play, 255 volume levels > acd0: Mechanism: ejectable tray, unlocked > acd0: Medium: CD-R 120mm data disc -- Doug White | FreeBSD: The Power to Serve dwhite@gumbysoft.com | www.FreeBSD.org From owner-freebsd-stable@FreeBSD.ORG Mon Jun 7 05:35:38 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6040E16A4CE for ; Mon, 7 Jun 2004 05:35:38 +0000 (GMT) Received: from carver.gumbysoft.com (carver.gumbysoft.com [66.220.23.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2C83043D49 for ; Mon, 7 Jun 2004 05:35:38 +0000 (GMT) (envelope-from dwhite@gumbysoft.com) Received: by carver.gumbysoft.com (Postfix, from userid 1000) id 1DD9272DF2; Sun, 6 Jun 2004 22:35:38 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by carver.gumbysoft.com (Postfix) with ESMTP id 1900B72DB5; Sun, 6 Jun 2004 22:35:38 -0700 (PDT) Date: Sun, 6 Jun 2004 22:35:38 -0700 (PDT) From: Doug White To: "D. Pageau" In-Reply-To: <40C08EFF.6020104@infodev.ca> Message-ID: <20040606223025.O12662@carver.gumbysoft.com> References: <40C08EFF.6020104@infodev.ca> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-stable@freebsd.org Subject: Re: Keyboard error IBM xSeries 335 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Jun 2004 05:35:38 -0000 On Fri, 4 Jun 2004, D. Pageau wrote: > Keyboard error on IBM xSeries 335 with Freebsd 5.2.1 but work fine with > 4.10. > > The keyboard work well in installation process (floppy install), then I > reboot. Keyboard work fine at the boot manager but died as soon FreeBSD > is booted. > > The hardware is IBM xSeries 335. I can confirm that problem with both > 5.1 and 5.2.1. The keyboard work flawlessly under Freebsd 4.10 and > OpenBSD 3.5. I've confirmed this as well on our equipment. From my analysis its a bad assumption on the part of the DSDT; it enables the LPC bus when the floppy device is initialized, but FreeBSD doesn't init the floppy until late in the boot process -- after the keyboard is probed and fails. Windows probes the floppy very early on, so it gets away with it there. Fixing it involves some hefty reengineering of the DSDT or the FreeBSD ACPI code to have a preference for certain devices when doing ACPI tree walks. Without the chipset manuals, it may very well be impossible to put together a 3rd party fix. If you want your local keyboard, you'll have to disable ACPI. The machine works without it, although it disables hyperthreading as well. I'd also complain to your IBM rep, although they're sure to give you a quizzical stare. I tried to complain about this and got nothing back. We ended up buying other hardware. -- Doug White | FreeBSD: The Power to Serve dwhite@gumbysoft.com | www.FreeBSD.org From owner-freebsd-stable@FreeBSD.ORG Sun Jun 6 05:59:55 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8181516A4CE for ; Sun, 6 Jun 2004 05:59:55 -0700 (PDT) Received: from grummit.biaix.org (86.Red-213-97-212.pooles.rima-tde.net [213.97.212.86]) by mx1.FreeBSD.org (Postfix) with SMTP id 5DE8943D49 for ; Sun, 6 Jun 2004 05:59:54 -0700 (PDT) (envelope-from lists-freebsd@biaix.org) Received: (qmail 75454 invoked by uid 1000); 6 Jun 2004 12:59:07 -0000 Date: Sun, 6 Jun 2004 14:59:07 +0200 From: Joan Picanyol To: undisclosed-recipients: ; Message-ID: <20040606125907.GA75360@grummit.biaix.org> Mail-Followup-To: freebsd-questions@freebsd.org, lists-freebsd@biaix.org References: <20040606061807.GA1145@k7.mavetju> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i X-Mailman-Approved-At: Mon, 07 Jun 2004 11:54:52 +0000 Subject: Re: Samba on 4.10 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Jun 2004 12:59:55 -0000 [moved to -questions, please honour MFT] * William Woods [20040606 14:39]: > Can some one point me in the right direction for setting up a simple Samba > sever for a home network. It sits snugly behind a FreeBSD firewall So I am > not terribly concerned with security for the Samba server. Basically The > setup I want is to have all my windows system be able to write to a > /usr/samba file system I set up. 1.- install the net/samba-devel (no need for ACL/LDAP/CUPS...) 2.- Glance at the official samba HOWTO found at the samba site. For a quick start look at http://se.samba.org/samba/docs/man/howto/FastStart.html#id2509120 qvb -- pica From owner-freebsd-stable@FreeBSD.ORG Mon Jun 7 15:06:45 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0DF6716A4CE for ; Mon, 7 Jun 2004 15:06:45 +0000 (GMT) Received: from mps5.plala.or.jp (c148240.vh.plala.or.jp [210.150.148.240]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0AC0243D48 for ; Mon, 7 Jun 2004 15:06:44 +0000 (GMT) (envelope-from e-kamo@trio.plala.or.jp) Received: from msvc1.plala.or.jp ([172.23.8.209]) by mps5.plala.or.jp with SMTP id <20040607150641.LHCB2494.mps5.plala.or.jp@msvc1.plala.or.jp> for ; Tue, 8 Jun 2004 00:06:41 +0900 Received: ( 27886 invoked from network); 8 Jun 2004 00:06:37 +0900 X-SVCK: Received: from unknown (HELO mpb1.plala.or.jp) (172.23.8.16) by msvc1 with SMTP; 8 Jun 2004 00:06:35 +0900 Received: from trio.plala.or.jp ([219.25.148.126]) by mpb1.plala.or.jp with ESMTP id <20040607150631.UCXS19716.mpb1.plala.or.jp@trio.plala.or.jp>; Tue, 8 Jun 2004 00:06:31 +0900 Message-ID: <40C485C5.1090000@trio.plala.or.jp> Date: Tue, 08 Jun 2004 00:12:05 +0900 From: Eitarou Kamo User-Agent: Mozilla/5.0 (Windows; U; Win98; ja-JP; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: ja MIME-Version: 1.0 To: freebsd-stable@freebsd.org, freebsd-hardware@freebsd.org X-Enigmail-Version: 0.76.8.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit Subject: called at splusb() (umas0: CBI........) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Jun 2004 15:06:45 -0000 Hi all, I wonder if I should ask this question in this list. But I post here. I came across the "called at splusb()" words above the function uhci_idone(). If I call the func without splusb() call, what will happen? and what or how is the splusb()? Again, if you know the correct pointer I should post , tell me please. Eitarou -- *********************** Eitarou Kamo Tel. +81 75 7035997 Fax +81 75 7035997 VoIP 050 10585997(domestic only) e$B!>(Bmail e-kamo@trio.plala.or.jp For business: Feel free to mail me(above), please. Donation http://www.PayPal.Com GPG FingerPrint: 032D FDF9 D27B 23F7 9A81 BF4C 626C FBAA BC3A 9895 ************************************************************************ From owner-freebsd-stable@FreeBSD.ORG Mon Jun 7 17:35:14 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A70F216A4CE for ; Mon, 7 Jun 2004 17:35:14 +0000 (GMT) Received: from out003.verizon.net (out003pub.verizon.net [206.46.170.103]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6005543D2D for ; Mon, 7 Jun 2004 17:35:14 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from [192.168.1.3] ([68.161.84.3]) by out003.verizon.net (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP id <20040607041040.JCX6671.out003.verizon.net@[192.168.1.3]>; Sun, 6 Jun 2004 23:10:40 -0500 Message-ID: <40C3EABF.6000709@mac.com> Date: Mon, 07 Jun 2004 00:10:39 -0400 From: Chuck Swiger Organization: The Courts of Chaos User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040514 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Parv References: <40C214F0.2010207@premsoft.co.za> <20040607012058.GA408@moo.holy.cow> In-Reply-To: <20040607012058.GA408@moo.holy.cow> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Authentication-Info: Submitted using SMTP AUTH at out003.verizon.net from [68.161.84.3] at Sun, 6 Jun 2004 23:10:39 -0500 cc: freebsd-stable@freebsd.org Subject: Re: 4.9-STABLE --> 4.8-RELEASE downgrade. Pitfalls? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Jun 2004 17:35:14 -0000 Parv wrote: [ ... ] > Port making will fail if you keep ports trees updated at least due > to use of new make(1) syntax introduced, in 4.9, in a port's > Makefile. The problem i noticed was related to use of parenthesis > in ".if ... .endif" structure. Thanks for the response, Parv, but ugh! I cringe at the notion that continually tweaking make and the port Makefiles causes problems with backwards compatibility to a still-supported FreeBSD release. -- -Chuck From owner-freebsd-stable@FreeBSD.ORG Mon Jun 7 20:16:04 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 37E3316A4CE for ; Mon, 7 Jun 2004 20:16:04 +0000 (GMT) Received: from hotmail.com (bay2-f136.bay2.hotmail.com [65.54.247.136]) by mx1.FreeBSD.org (Postfix) with ESMTP id 27DA843D5D for ; Mon, 7 Jun 2004 20:16:04 +0000 (GMT) (envelope-from missive@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Mon, 7 Jun 2004 13:16:03 -0700 Received: from 208.186.54.187 by by2fd.bay2.hotmail.msn.com with HTTP; Mon, 07 Jun 2004 20:16:03 GMT X-Originating-IP: [208.186.54.187] X-Originating-Email: [missive@hotmail.com] X-Sender: missive@hotmail.com From: "Lee Harr" To: freebsd-stable@freebsd.org Date: Mon, 07 Jun 2004 20:16:03 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 07 Jun 2004 20:16:03.0856 (UTC) FILETIME=[420F6100:01C44CCC] Subject: Re: cannot boot system built today X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Jun 2004 20:16:04 -0000 >Ok, so it does hang on the CD's channel. What were the results of booting >with the drive totally disconnected? > Scroll down in my previous message. It is after the cd boot. (It hangs just the same as it does with the cd drive connected) >I'd try to find a Windows-using friend and get that firmware updated if I >were you :) > Well... I suppose that is a good idea, but since it fails even with the cd drive completely disconnected, I do not believe it will help me with this problem. Thanks for your time. _________________________________________________________________ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail From owner-freebsd-stable@FreeBSD.ORG Mon Jun 7 20:18:54 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B677B16A4CE for ; Mon, 7 Jun 2004 20:18:54 +0000 (GMT) Received: from windmill.garlic.com (windmill-en0.garlic.com [208.195.160.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4F85943D4C for ; Mon, 7 Jun 2004 20:18:54 +0000 (GMT) (envelope-from nicholas@blasgen.com) Received: from nb (unknown [216.139.17.112]) by windmill.garlic.com (Postfix) with ESMTP id EB41CCDD for ; Mon, 7 Jun 2004 13:18:53 -0700 (PDT) From: "Nicholas Blasgen" To: Date: Mon, 7 Jun 2004 13:18:45 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 Thread-Index: AcRMzKJVbNxGyIPlSGyZNG9xO6zgqg== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Message-Id: <20040607201853.EB41CCDD@windmill.garlic.com> Subject: FreeBSD Boot Issue X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Jun 2004 20:18:54 -0000 -- BACKGROUND IF YOU CARE -- I reinstalled Windows XP a little while ago and as usual it overwrote the MBR. So I used the 2nd FreeBSD disk to get into fixit mode, mounted my local system's /usr, /boot, and the main files I could think of for /etc. I issued 'boot0cfg -B /dev/ad0' and rebooted. Then I had what I expected to find which was a DOS boot as well as a FreeBSD boot. Except the FreeBSD partition only beeps at me and wont load. So it must not be a bootable partition. Okay, so 2nd attempt. I loaded up the 2nd livesystem freebsd disk again, went into custom install, went into the graphical fdisk (disk allocation is what they call it I guess), made the partition bootable, and used the undocumented 'w' command to write the partition table. Now reboot again. Okay, good. FreeBSD starts to boot. Loads the kernel fine, seems to do everything fine, but comes to some issues where I need to specify the main disk. So I tell it ufs:ad0s4a. Machine boots up in single user mode, I mount all the extra drives it didn't load. Everything seems fine as far as I can tell but the boot wasn't multiuser because of some bad configuration. So I decided to issues the boot0cfg command again and reboot. -- THE REAL QUESTION -- Now I'm back with the FreeBSD block being unbootable. So I know nothing about how /boot/ configurations work. Could someone tell me how to edit files or an application to do so for the files in /boot/ so I can tell boo0cfg that I want FreeBSD (/dev/ad0s4) to be a bootable partition? I think that'd solve everything. From owner-freebsd-stable@FreeBSD.ORG Tue Jun 8 04:48:10 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CD35216A4CE for ; Tue, 8 Jun 2004 04:48:10 +0000 (GMT) Received: from xraided.net (xraided.net [66.88.26.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id AA84143D39 for ; Tue, 8 Jun 2004 04:48:10 +0000 (GMT) (envelope-from kyle@xraided.net) Received: from [66.88.29.118] (account kyle HELO kyle) by xraided.net (CommuniGate Pro SMTP 4.1.8) with ESMTP id 1727345 for freebsd-stable@freebsd.org; Mon, 07 Jun 2004 21:48:10 -0700 From: "Kyle Mott" To: Date: Mon, 7 Jun 2004 21:48:07 -0700 Message-ID: <000701c44d13$cab121a0$1414a8c0@kyle> MIME-Version: 1.0 X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: Viewing SSH Connection X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Jun 2004 04:48:10 -0000 Hi. I was wondering if anyone knows of a way to 'view' what another person is typing over an SSH terminal? Essentially, I want a friend to be able to look at what I'm typing real-time into the console. We will both be connected to the server via SSH. Is there a way to do this? If this is not possible, are there any other options (aside from using Telnet)? -Kyle Mott From owner-freebsd-stable@FreeBSD.ORG Tue Jun 8 05:03:07 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F154916A4CE for ; Tue, 8 Jun 2004 05:03:07 +0000 (GMT) Received: from electra.cse.Buffalo.EDU (electra.cse.Buffalo.EDU [128.205.32.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 95D5443D49 for ; Tue, 8 Jun 2004 05:03:07 +0000 (GMT) (envelope-from kensmith@cse.Buffalo.EDU) Received: from electra.cse.Buffalo.EDU (kensmith@localhost [127.0.0.1]) i58536Ax029336; Tue, 8 Jun 2004 01:03:06 -0400 (EDT) Received: (from kensmith@localhost) by electra.cse.Buffalo.EDU (8.12.10/8.12.9/Submit) id i58536ce029335; Tue, 8 Jun 2004 01:03:06 -0400 (EDT) Date: Tue, 8 Jun 2004 01:03:06 -0400 From: Ken Smith To: Kyle Mott Message-ID: <20040608050306.GA28871@electra.cse.Buffalo.EDU> References: <000701c44d13$cab121a0$1414a8c0@kyle> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000701c44d13$cab121a0$1414a8c0@kyle> User-Agent: Mutt/1.4.1i cc: freebsd-stable@freebsd.org Subject: Re: Viewing SSH Connection X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Jun 2004 05:03:08 -0000 On Mon, Jun 07, 2004 at 09:48:07PM -0700, Kyle Mott wrote: > Hi. I was wondering if anyone knows of a way to 'view' what another > person is typing over an SSH terminal? > > Essentially, I want a friend to be able to look at what I'm typing > real-time into the console. We will both be connected to the server via > SSH. Is there a way to do this? > > If this is not possible, are there any other options (aside from using > Telnet)? Since you both have access to the server one way to do this is for you to do: script -t0 and your friend to do: tail -f typescript I'm sure there are other ways... -- Ken Smith - From there to here, from here to | kensmith@cse.buffalo.edu there, funny things are everywhere. | - Theodore Geisel | From owner-freebsd-stable@FreeBSD.ORG Tue Jun 8 05:08:48 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4B71716A4CE for ; Tue, 8 Jun 2004 05:08:48 +0000 (GMT) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0CB7343D2D for ; Tue, 8 Jun 2004 05:08:44 +0000 (GMT) (envelope-from doconnor@gsoft.com.au) Received: from inchoate.gsoft.com.au (localhost [127.0.0.1]) (authenticated bits=0) by cain.gsoft.com.au (8.12.11/8.12.10) with ESMTP id i5858bb8026415; Tue, 8 Jun 2004 14:38:37 +0930 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: freebsd-stable@freebsd.org Date: Tue, 8 Jun 2004 14:38:35 +0930 User-Agent: KMail/1.6.2 References: <000701c44d13$cab121a0$1414a8c0@kyle> In-Reply-To: <000701c44d13$cab121a0$1414a8c0@kyle> MIME-Version: 1.0 Content-Disposition: inline Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-Id: <200406081438.36153.doconnor@gsoft.com.au> X-Spam-Score: -5.2 () CARRIAGE_RETURNS,IN_REP_TO,PGP_SIGNATURE,QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_01_02,USER_AGENT,USER_AGENT_KMAIL X-Scanned-By: MIMEDefang 2.16 (www . roaringpenguin . com / mimedefang) cc: Kyle Mott Subject: Re: Viewing SSH Connection X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Jun 2004 05:08:48 -0000 =2D----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tue, 8 Jun 2004 14:18, Kyle Mott wrote: > Hi. I was wondering if anyone knows of a way to 'view' what another > person is typing over an SSH terminal? > > Essentially, I want a friend to be able to look at what I'm typing > real-time into the console. We will both be connected to the server via > SSH. Is there a way to do this? > > If this is not possible, are there any other options (aside from using > Telnet)? Try using the snoop device and watch. eg kldload snp watch ttyp1 Another way for 2 people to cooperate is to use screen's -x option, or you = can=20 use VNC for graphical stuff. =2D --=20 Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C =2D----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAxUnU5ZPcIHs/zowRAvGaAJ0bUg04v/Z7HOlD/IsNoiWuyjP5oQCdFUBj mVjVf7MZb04CzyA32Qbb2qU=3D =3Di9Id =2D----END PGP SIGNATURE----- From owner-freebsd-stable@FreeBSD.ORG Tue Jun 8 05:11:52 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CF27D16A4CE for ; Tue, 8 Jun 2004 05:11:52 +0000 (GMT) Received: from xraided.net (xraided.net [66.88.26.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8BFC043D31 for ; Tue, 8 Jun 2004 05:11:52 +0000 (GMT) (envelope-from kyle@xraided.net) Received: from [66.88.29.118] (account kyle HELO kyle) by xraided.net (CommuniGate Pro SMTP 4.1.8) with ESMTP id 1727379 for freebsd-stable@freebsd.org; Mon, 07 Jun 2004 22:11:52 -0700 From: "Kyle Mott" To: Date: Mon, 7 Jun 2004 22:11:49 -0700 Message-ID: <001001c44d17$1a347ad0$1414a8c0@kyle> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal In-Reply-To: <200406081438.36153.doconnor@gsoft.com.au> Subject: RE: Viewing SSH Connection X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Jun 2004 05:11:52 -0000 Wow! 6 answers in 17 minutes. I'd be hard pressed to find that kind of support anywhere else! Thanks guys! I'll take it from here ;> -Kyle Mott > -----Original Message----- > From: Daniel O'Connor [mailto:doconnor@gsoft.com.au] > Sent: Monday, June 07, 2004 10:09 PM > To: freebsd-stable@freebsd.org > Cc: Kyle Mott > Subject: Re: Viewing SSH Connection > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Tue, 8 Jun 2004 14:18, Kyle Mott wrote: > > Hi. I was wondering if anyone knows of a way to 'view' what another > > person is typing over an SSH terminal? > > > > Essentially, I want a friend to be able to look at what I'm typing > > real-time into the console. We will both be connected to the server via > > SSH. Is there a way to do this? > > > > If this is not possible, are there any other options (aside from using > > Telnet)? > > Try using the snoop device and watch. > > eg > kldload snp > watch ttyp1 > > Another way for 2 people to cooperate is to use screen's -x option, or you > can > use VNC for graphical stuff. > > - -- > Daniel O'Connor software and network engineer > for Genesis Software - http://www.gsoft.com.au > "The nice thing about standards is that there > are so many of them to choose from." > -- Andrew Tanenbaum > GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.4 (FreeBSD) > > iD8DBQFAxUnU5ZPcIHs/zowRAvGaAJ0bUg04v/Z7HOlD/IsNoiWuyjP5oQCdFUBj > mVjVf7MZb04CzyA32Qbb2qU= > =i9Id > -----END PGP SIGNATURE----- From owner-freebsd-stable@FreeBSD.ORG Tue Jun 8 05:11:53 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 261A116A4CE for ; Tue, 8 Jun 2004 05:11:53 +0000 (GMT) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3A23943D1F for ; Tue, 8 Jun 2004 05:11:52 +0000 (GMT) (envelope-from doconnor@gsoft.com.au) Received: from inchoate.gsoft.com.au (localhost [127.0.0.1]) (authenticated bits=0) by cain.gsoft.com.au (8.12.11/8.12.10) with ESMTP id i5859wJc026426; Tue, 8 Jun 2004 14:41:13 +0930 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: freebsd-stable@freebsd.org Date: Tue, 8 Jun 2004 14:39:58 +0930 User-Agent: KMail/1.6.2 References: <20040607201853.EB41CCDD@windmill.garlic.com> In-Reply-To: <20040607201853.EB41CCDD@windmill.garlic.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-Id: <200406081439.58525.doconnor@gsoft.com.au> X-Spam-Score: -4.9 () CARRIAGE_RETURNS,IN_REP_TO,PGP_SIGNATURE,QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_00_01,USER_AGENT,USER_AGENT_KMAIL X-Scanned-By: MIMEDefang 2.16 (www . roaringpenguin . com / mimedefang) cc: Nicholas Blasgen Subject: Re: FreeBSD Boot Issue X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Jun 2004 05:11:53 -0000 =2D----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tue, 8 Jun 2004 05:48, Nicholas Blasgen wrote: > Okay, good. FreeBSD starts to boot. Loads the kernel fine, seems to do > everything fine, but comes to some issues where I need to specify the main > disk. So I tell it ufs:ad0s4a. Machine boots up in single user mode, I > mount all the extra drives it didn't load. Everything seems fine as far = as > I can tell but the boot wasn't multiuser because of some bad configuratio= n. > So I decided to issues the boot0cfg command again and reboot. > > -- THE REAL QUESTION -- > > Now I'm back with the FreeBSD block being unbootable. So I know nothing > about how /boot/ configurations work. Could someone tell me how to edit > files or an application to do so for the files in /boot/ so I can tell > boo0cfg that I want FreeBSD (/dev/ad0s4) to be a bootable partition? I > think that'd solve everything. Try boot0cfg -Bv -o packet ad0 As to why it can't find root.. That depends on your fstab matching what is= =20 actually on the disk. =2D --=20 Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C =2D----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAxUom5ZPcIHs/zowRAqRmAJ0Vj8gd8XFRvA3OUi2gosg2m6DKZQCdFtsI TvFxbmZVgWqFHzJ7/x5m7Pw=3D =3DNH6B =2D----END PGP SIGNATURE----- From owner-freebsd-stable@FreeBSD.ORG Tue Jun 8 05:26:08 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9A72216A4CE for ; Tue, 8 Jun 2004 05:26:08 +0000 (GMT) Received: from freebsd.takeda.tk (node-402413e2.sna.onnet.us.uu.net [64.36.19.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 040EC43D41 for ; Tue, 8 Jun 2004 05:26:04 +0000 (GMT) (envelope-from takeda@takeda.tk) Received: from takeda.lan (takeda.lan [10.0.0.3]) by freebsd.takeda.tk (8.12.11/8.12.11) with ESMTP id i585Q3F5077366 for ; Mon, 7 Jun 2004 22:26:03 -0700 (PDT) (envelope-from takeda@takeda.tk) Date: Mon, 7 Jun 2004 22:26:01 -0700 From: Dariusz Kulinski X-Mailer: The Bat! (v2.01) X-Priority: 3 (Normal) Message-ID: <14913464828.20040607222601@takeda.tk> To: freebsd-stable@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: Viewing SSH Connection X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Jun 2004 05:26:08 -0000 Hello Kyle, Monday, June 7, 2004, 9:48:07 PM, you wrote: > Hi. I was wondering if anyone knows of a way to 'view' what another > person is typing over an SSH terminal? > Essentially, I want a friend to be able to look at what I'm typing > real-time into the console. We will both be connected to the server via > SSH. Is there a way to do this? > If this is not possible, are there any other options (aside from using > Telnet)? Yes it's possible, the command your friend needs to use it watch, of course he need to have root access. You also need to prepare before you can use watch: 1. compile kernel with snp device or load snp.ko kernel module: kldload snp.ko 2. create snp* devices: cd /dev ./MAKEDEV snp0 you can create more to allow using more simultaneous watch commands 3. check which terminal user which you want to watch is connected you can use for ex. "w" command: takeda@freebsd:/home/takeda> w 22:04:08 22:04 up 11 days, 28 mins, 1 user, load averages: 0,01 0,04 0,01 USER TTY FROM LOGIN@ IDLE WHAT takeda p0 takeda.lan 22:00 - screen -r Terminal is ttyp0 or p0 4. write "watch " i.e.: watch p0 To disconnect press ctrl+g, for more informations check man: man watch -- Best regards, Dariusz mailto:takeda@takeda.tk CCNA, SCSA, SCNA, LPIC, MCP certified http://www.takeda.tk From owner-freebsd-stable@FreeBSD.ORG Tue Jun 8 05:33:26 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D5A4B16A4CE for ; Tue, 8 Jun 2004 05:33:26 +0000 (GMT) Received: from jive.SoftHome.net (jive.SoftHome.net [66.54.152.27]) by mx1.FreeBSD.org (Postfix) with SMTP id 53B4843D2F for ; Tue, 8 Jun 2004 05:33:26 +0000 (GMT) (envelope-from carnaily@softhome.net) Received: (qmail 11719 invoked by uid 417); 8 Jun 2004 05:33:26 -0000 Received: from charleston-.softhome.net (HELO softhome.net) (172.16.2.12) by shunt-smtp-out-0 with SMTP; 8 Jun 2004 05:33:26 -0000 Received: from Smartster ([81.1.195.2]) (AUTH: LOGIN carnaily@softhome.net) by softhome.net with esmtp; Mon, 07 Jun 2004 23:33:22 -0600 To: Kyle Mott , freebsd-stable@freebsd.org References: <000701c44d13$cab121a0$1414a8c0@kyle> Message-ID: From: Andreas Carnaily Organization: Stanbury Content-Type: text/plain; format=flowed; charset=utf-8 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Date: Tue, 08 Jun 2004 06:33:29 -0000 In-Reply-To: <000701c44d13$cab121a0$1414a8c0@kyle> User-Agent: Opera7.23/FreeBSD M2 build 518 Subject: Re: Viewing SSH Connection X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Jun 2004 05:33:26 -0000 On Mon, 7 Jun 2004 21:48:07 -0700, Kyle Mott wrote: > Hi. I was wondering if anyone knows of a way to 'view' what another > person is typing over an SSH terminal? > > Essentially, I want a friend to be able to look at what I'm typing > real-time into the console. We will both be connected to the server via > SSH. Is there a way to do this? Yes, this is possible. Nevermind which connection is there, but you need only /dev/ttyXY With connand "who" you can get terminal name opened with some user. Smartster# who carnaily ttyv0 7 ÉÀÎ 11:50 carnaily ttyp0 7 ÉÀÎ 11:50 (:0.0) carnaily ttyp1 7 ÉÀÎ 11:50 (:0.0) Too findout which terminal is opened by you type tty Smartster# tty /dev/ttyp8 Here you can see user carnaily have three termonal opened and to grab one of them you should command: watch -W /dev/ttyXY where XY is terminal number you need to watch and you'll see everything what entered carnaily on ttyv0 There can be problem with file rights access and you can be in one group to solve this problem and make group access to your ttys. You can see error message similar to "can't open snoop device..." If it was make this: cd /dev ./MAKEDEV snp0 ./MAKEDEV snp1 ./MAKEDEV snp2 ./MAKEDEV snp3 I can be wrong but I thing options UCONSOLE in the kernel configuration should be. :-\ Not sure. > If this is not possible, are there any other options (aside from using > Telnet)? > > > > -Kyle Mott > > > > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ From owner-freebsd-stable@FreeBSD.ORG Tue Jun 8 06:41:53 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1468016A4CE for ; Tue, 8 Jun 2004 06:41:53 +0000 (GMT) Received: from xraided.net (xraided.net [66.88.26.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id C61D443D2F for ; Tue, 8 Jun 2004 06:41:52 +0000 (GMT) (envelope-from kyle@xraided.net) Received: from [66.88.29.118] (account kyle HELO kyle) by xraided.net (CommuniGate Pro SMTP 4.1.8) with ESMTP id 1727443; Mon, 07 Jun 2004 23:41:49 -0700 From: "Kyle Mott" To: "'Dariusz Kulinski'" Date: Mon, 7 Jun 2004 23:41:46 -0700 Message-ID: <000801c44d23$ab21f520$1414a8c0@kyle> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal In-Reply-To: <14913464828.20040607222601@takeda.tk> cc: freebsd-stable@freebsd.org Subject: RE: Viewing SSH Connection X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Jun 2004 06:41:53 -0000 Several people have suggested using the snp.ko and watch, which works great. However, I didn't want to have the devices just sitting around so someone else on the system could use it, so I did 'kldunload snp.ko' then rm -f /dev/snp0... My system seems to be freaking out. Did I break something? Actually, I think I just had a kernel panic. *sigh* -Kyle Mott > -----Original Message----- > From: owner-freebsd-stable@freebsd.org [mailto:owner-freebsd- > stable@freebsd.org] On Behalf Of Dariusz Kulinski > Sent: Monday, June 07, 2004 10:26 PM > To: freebsd-stable@freebsd.org > Subject: Re: Viewing SSH Connection > > Hello Kyle, > > Monday, June 7, 2004, 9:48:07 PM, you wrote: > > > Hi. I was wondering if anyone knows of a way to 'view' what another > > person is typing over an SSH terminal? > > > Essentially, I want a friend to be able to look at what I'm typing > > real-time into the console. We will both be connected to the server via > > SSH. Is there a way to do this? > > > If this is not possible, are there any other options (aside from using > > Telnet)? > > Yes it's possible, the command your friend needs to use it watch, of > course he need to have root access. > > You also need to prepare before you can use watch: > 1. compile kernel with snp device or load snp.ko kernel module: > kldload snp.ko > 2. create snp* devices: > cd /dev > ./MAKEDEV snp0 > you can create more to allow using more simultaneous watch commands > 3. check which terminal user which you want to watch is connected > you can use for ex. "w" command: > takeda@freebsd:/home/takeda> w > 22:04:08 > 22:04 up 11 days, 28 mins, 1 user, load averages: 0,01 0,04 0,01 > USER TTY FROM LOGIN@ IDLE WHAT > takeda p0 takeda.lan 22:00 - screen -r > > Terminal is ttyp0 or p0 > 4. write "watch " i.e.: > watch p0 > > To disconnect press ctrl+g, for more informations check man: > man watch > > -- > Best regards, > Dariusz mailto:takeda@takeda.tk > CCNA, SCSA, SCNA, LPIC, MCP certified > http://www.takeda.tk > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" From owner-freebsd-stable@FreeBSD.ORG Tue Jun 8 06:59:21 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7AC3216A4CE for ; Tue, 8 Jun 2004 06:59:21 +0000 (GMT) Received: from freebsd.takeda.tk (node-402413e2.sna.onnet.us.uu.net [64.36.19.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 167D343D31 for ; Tue, 8 Jun 2004 06:59:17 +0000 (GMT) (envelope-from takeda@takeda.tk) Received: from takeda.lan (takeda.lan [10.0.0.3]) by freebsd.takeda.tk (8.12.11/8.12.11) with ESMTP id i586xGD2077575; Mon, 7 Jun 2004 23:59:16 -0700 (PDT) (envelope-from takeda@takeda.tk) Date: Mon, 7 Jun 2004 23:59:13 -0700 From: Dariusz Kulinski X-Mailer: The Bat! (v2.01) X-Priority: 3 (Normal) Message-ID: <5719057546.20040607235913@takeda.tk> To: "Kyle Mott" In-Reply-To: <000801c44d23$ab21f520$1414a8c0@kyle> References: <14913464828.20040607222601@takeda.tk> <000801c44d23$ab21f520$1414a8c0@kyle> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-stable@freebsd.org Subject: Re: Viewing SSH Connection X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Jun 2004 06:59:21 -0000 Hello Kyle, Monday, June 7, 2004, 11:41:46 PM, you wrote: > Several people have suggested using the snp.ko and watch, which works > great. > However, I didn't want to have the devices just sitting around so > someone else on the system could use it, so I did 'kldunload snp.ko' > then rm -f /dev/snp0... My system seems to be freaking out. Did I break > something? Actually, I think I just had a kernel panic. *sigh* I think you shouldn't be afraid to having /dev/snp0 device, anyway only root can use watch command. But if your system has crashed there probably is a bug in freebsd. I know I had a crash with watch, but at that time I had loaded 3rd party module so I blamed that crash on it. Also I didn't have kernel compiled in debug mode. If you had a crash that would suggest that there actually is a bug in snp.ko module. Maybe there is somebody from devel team who could comment on that issue? -- Best regards, Dariusz mailto:takeda@takeda.tk CCNA, SCSA, SCNA, LPIC, MCP certified http://www.takeda.tk From owner-freebsd-stable@FreeBSD.ORG Tue Jun 8 07:03:58 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 22F6016A4CE for ; Tue, 8 Jun 2004 07:03:58 +0000 (GMT) Received: from xraided.net (xraided.net [66.88.26.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0082743D1D for ; Tue, 8 Jun 2004 07:03:58 +0000 (GMT) (envelope-from kyle@xraided.net) Received: from [66.88.29.118] (account kyle HELO kyle) by xraided.net (CommuniGate Pro SMTP 4.1.8) with ESMTP id 1727475; Tue, 08 Jun 2004 00:03:46 -0700 From: "Kyle Mott" To: "'Dariusz Kulinski'" Date: Tue, 8 Jun 2004 00:03:43 -0700 Message-ID: <000001c44d26$bc22a6a0$1414a8c0@kyle> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal In-Reply-To: <5719057546.20040607235913@takeda.tk> cc: freebsd-stable@freebsd.org Subject: RE: Viewing SSH Connection X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Jun 2004 07:03:58 -0000 It was a kernel panic, but of course I didn't have enough space on /var: Jun 7 23:41:59 smith savecore: reboot after panic: page fault Jun 7 23:41:59 smith savecore: no dump, not enough free space on device (261612 available, need 395776) So, I'm SOL this time, but I'm freeing up space as I type, in case this happens again (and checking my other systems to make sure they have enough free space in /var too!) :D As long as I do the 'kldunload snp.ko', I should be ok, right? Don't need to worry about /dev/snp* ? -Kyle Mott > -----Original Message----- > From: owner-freebsd-stable@freebsd.org [mailto:owner-freebsd- > stable@freebsd.org] On Behalf Of Dariusz Kulinski > Sent: Monday, June 07, 2004 11:59 PM > To: Kyle Mott > Cc: freebsd-stable@freebsd.org > Subject: Re: Viewing SSH Connection > > Hello Kyle, > > Monday, June 7, 2004, 11:41:46 PM, you wrote: > > > Several people have suggested using the snp.ko and watch, which works > > great. > > > However, I didn't want to have the devices just sitting around so > > someone else on the system could use it, so I did 'kldunload snp.ko' > > then rm -f /dev/snp0... My system seems to be freaking out. Did I break > > something? Actually, I think I just had a kernel panic. *sigh* > > I think you shouldn't be afraid to having /dev/snp0 device, anyway > only root can use watch command. > > But if your system has crashed there probably is a bug in freebsd. I > know I had a crash with watch, but at that time I had loaded 3rd party > module so I blamed that crash on it. Also I didn't have kernel > compiled in debug mode. If you had a crash that would suggest that > there actually is a bug in snp.ko module. > > Maybe there is somebody from devel team who could comment on that > issue? > -- > Best regards, > Dariusz mailto:takeda@takeda.tk > CCNA, SCSA, SCNA, LPIC, MCP certified > http://www.takeda.tk > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" From owner-freebsd-stable@FreeBSD.ORG Tue Jun 8 07:04:06 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B373A16A4F9 for ; Tue, 8 Jun 2004 07:04:06 +0000 (GMT) Received: from titania.auscert.org.au (gw.auscert.org.au [203.5.112.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id B8C4143D5C for ; Tue, 8 Jun 2004 07:04:05 +0000 (GMT) (envelope-from freebsd-stable@auscert.org.au) Received: from app.auscert.org.au (app [10.0.1.192])i5873UOH032647; Tue, 8 Jun 2004 17:03:30 +1000 (EST) Received: from app.auscert.org.au (localhost [127.0.0.1]) by app.auscert.org.au (8.12.10/8.12.10) with ESMTP id i5873eiP087024; Tue, 8 Jun 2004 17:03:41 +1000 (EST) Message-Id: <200406080703.i5873eiP087024@app.auscert.org.au> To: Dmitry Pryanishnikov From: freebsd-stable@auscert.org.au In-Reply-To: Your message of "Thu, 27 May 2004 16:06:45 +0300." <20040527153704.R23918@atlantis.atlantis.dp.ua> Date: Tue, 08 Jun 2004 17:03:40 +1000 cc: freebsd-stable@freebsd.org Subject: Re: Problems with 4.10 and mysql X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Jun 2004 07:04:06 -0000 Hi, > OK, I have one fresh jail with MySQL server installed. Base and jail OS > version is 4.9-RELEASE. I wrote small test client application and now Could I ask how you are running MySQL in your jail? I have installed MySQL in a jail environment on 4.10, but it won't start due to: Bind on unix socket: Permission denied I presume this is due to jail stopping it from binding to localhost but I can't find any information about how to avoid that. thanks, -- Joel Hatton -- Security Analyst and FIRST Representative | Hotline: +61 7 3365 4417 AusCERT - Australia's national CERT | Fax: +61 7 3365 7031 The University of Queensland | WWW: www.auscert.org.au Qld 4072 Australia | Email: auscert@auscert.org.au From owner-freebsd-stable@FreeBSD.ORG Tue Jun 8 07:10:32 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 66B8116A4CE for ; Tue, 8 Jun 2004 07:10:32 +0000 (GMT) Received: from freebsd.takeda.tk (node-402413e2.sna.onnet.us.uu.net [64.36.19.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3480143D54 for ; Tue, 8 Jun 2004 07:10:32 +0000 (GMT) (envelope-from takeda@takeda.tk) Received: from takeda.lan (takeda.lan [10.0.0.3]) by freebsd.takeda.tk (8.12.11/8.12.11) with ESMTP id i587AVe6077654; Tue, 8 Jun 2004 00:10:31 -0700 (PDT) (envelope-from takeda@takeda.tk) Date: Tue, 8 Jun 2004 00:10:30 -0700 From: Dariusz Kulinski X-Mailer: The Bat! (v2.01) X-Priority: 3 (Normal) Message-ID: <18919733703.20040608001030@takeda.tk> To: "Kyle Mott" In-Reply-To: <000001c44d26$bc22a6a0$1414a8c0@kyle> References: <5719057546.20040607235913@takeda.tk> <000001c44d26$bc22a6a0$1414a8c0@kyle> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-stable@freebsd.org Subject: Re: Viewing SSH Connection X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Jun 2004 07:10:32 -0000 Hello Kyle, Tuesday, June 8, 2004, 12:03:43 AM, you wrote: > It was a kernel panic, but of course I didn't have enough space on /var: > Jun 7 23:41:59 smith savecore: reboot after panic: page fault > Jun 7 23:41:59 smith savecore: no dump, not enough free space on device > (261612 available, need 395776) > So, I'm SOL this time, but I'm freeing up space as I type, in case this > happens again (and checking my other systems to make sure they have > enough free space in /var too!) :D > As long as I do the 'kldunload snp.ko', I should be ok, right? Don't > need to worry about /dev/snp* ? actually when watch command is called I belive it automatically loads snp.ko. I don't know how you can protect against that, either erase snp.ko or maybe increase securelevel to 1 (man securelevel). But after that you won't be able to load/unload any module (there are also more restrictions) until you reboot your computer. -- Best regards, Dariusz mailto:takeda@takeda.tk CCNA, SCSA, SCNA, LPIC, MCP certified http://www.takeda.tk From owner-freebsd-stable@FreeBSD.ORG Tue Jun 8 07:21:22 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AB5FC16A4CE for ; Tue, 8 Jun 2004 07:21:22 +0000 (GMT) Received: from mail.park7.number.ru (d252.p4.col.ru [195.210.133.252]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1B24843D53 for ; Tue, 8 Jun 2004 07:21:20 +0000 (GMT) (envelope-from blacksir@number.ru) Received: from blacksir.local ([192.168.2.166] helo=blacksir) by mail.park7.number.ru with smtp (Exim) id 1BXau4-0005Ww-Qs; Tue, 08 Jun 2004 11:20:35 +0400 From: "Alexander Vasenin aka BlackSir" To: , "Dmitry Pryanishnikov" Date: Tue, 8 Jun 2004 11:20:35 +0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <200406080703.i5873eiP087024@app.auscert.org.au> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 Importance: Normal X-Spam-Score: -100.0 (---------------------------------------------------) X-Spam-Report: Spam detection software, running on the system "inet.park7.number.ru", hasmessageblock similar future email. If you have any questions, see the administrator of that system for details.problem once - MySQL was unable to create /tmp/mysql.sock becouse 700 was set on /tmp. Alexander Vasenin aka BlackSir > Content analysis details: (-100.0 points, 5.0 required) pts rule name description -------------------------------------------------- -100 USER_IN_WHITELIST From: address is in the user's white-list cc: freebsd-stable@freebsd.org Subject: RE: Problems with 4.10 and mysql X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Jun 2004 07:21:22 -0000 Check permissions on /tmp - I've got the same problem once - MySQL was unable to create /tmp/mysql.sock becouse 700 was set on /tmp. Alexander Vasenin aka BlackSir > -----Original Message----- > From: owner-freebsd-stable@freebsd.org > [mailto:owner-freebsd-stable@freebsd.org]On Behalf Of > freebsd-stable@auscert.org.au > Sent: Tuesday, June 08, 2004 11:04 AM > To: Dmitry Pryanishnikov > Cc: freebsd-stable@freebsd.org > Subject: Re: Problems with 4.10 and mysql > Could I ask how you are running MySQL in your jail? I have installed MySQL > in a jail environment on 4.10, but it won't start due to: > > Bind on unix socket: Permission denied > > I presume this is due to jail stopping it from binding to localhost but I > can't find any information about how to avoid that. From owner-freebsd-stable@FreeBSD.ORG Tue Jun 8 07:37:21 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E984716A4D3 for ; Tue, 8 Jun 2004 07:37:20 +0000 (GMT) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id A83E743D5F for ; Tue, 8 Jun 2004 07:37:19 +0000 (GMT) (envelope-from doconnor@gsoft.com.au) Received: from inchoate.gsoft.com.au (localhost [127.0.0.1]) (authenticated bits=0) by cain.gsoft.com.au (8.12.11/8.12.10) with ESMTP id i587bEFv032122; Tue, 8 Jun 2004 17:07:14 +0930 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: freebsd-stable@freebsd.org Date: Tue, 8 Jun 2004 17:07:13 +0930 User-Agent: KMail/1.6.2 References: <5719057546.20040607235913@takeda.tk> <000001c44d26$bc22a6a0$1414a8c0@kyle> <18919733703.20040608001030@takeda.tk> In-Reply-To: <18919733703.20040608001030@takeda.tk> MIME-Version: 1.0 Content-Disposition: inline Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-Id: <200406081707.13629.doconnor@gsoft.com.au> X-Spam-Score: -4.6 () CARRIAGE_RETURNS,IN_REP_TO,MIME_LONG_LINE_QP,PGP_SIGNATURE,QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_02_03,USER_AGENT,USER_AGENT_KMAIL X-Scanned-By: MIMEDefang 2.16 (www . roaringpenguin . com / mimedefang) cc: Dariusz Kulinski cc: Kyle Mott Subject: Re: Viewing SSH Connection X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Jun 2004 07:37:21 -0000 =2D----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tue, 8 Jun 2004 16:40, Dariusz Kulinski wrote: > > As long as I do the 'kldunload snp.ko', I should be ok, right? Don't > > need to worry about /dev/snp* ? > > actually when watch command is called I belive it automatically loads > snp.ko. > > I don't know how you can protect against that, either erase snp.ko or > maybe increase securelevel to 1 (man securelevel). > But after that you won't be able to load/unload any module (there are > also more restrictions) until you reboot your computer. If someone has root then you couldn't prevent them using watch, simple as=20 that. (They might have to reboot first but..) =2D --=20 Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C =2D----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAxWyp5ZPcIHs/zowRAr7QAJ9Ky9nbI/MeMNlMvDbUqIfaaYkotgCeNi8c 43/iJI0RlOdanpqnLYqAnqU=3D =3DPWw/ =2D----END PGP SIGNATURE----- From owner-freebsd-stable@FreeBSD.ORG Tue Jun 8 08:55:45 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C350316A4CE for ; Tue, 8 Jun 2004 08:55:45 +0000 (GMT) Received: from windmill.garlic.com (windmill-en0.garlic.com [208.195.160.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9D1D343D39 for ; Tue, 8 Jun 2004 08:55:45 +0000 (GMT) (envelope-from nicholas@blasgen.com) Received: from nb (unknown [216.139.17.112]) by windmill.garlic.com (Postfix) with ESMTP id 35375CFF for ; Tue, 8 Jun 2004 01:55:45 -0700 (PDT) From: "Nicholas Blasgen" To: Date: Tue, 8 Jun 2004 01:55:35 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 Thread-Index: AcRNFxxxU+rRt+KLQQmRJ158QqKdOwAHxXAQ In-Reply-To: <200406081439.58525.doconnor@gsoft.com.au> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Message-Id: <20040608085545.35375CFF@windmill.garlic.com> Subject: RE: FreeBSD Boot Issue X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Jun 2004 08:55:45 -0000 Impressively enough, your '-o packet' did the job. Thanks! And by the way, I love your tag line. /Nick -----Original Message----- > Now I'm back with the FreeBSD block being unbootable. So I know nothing > about how /boot/ configurations work. Could someone tell me how to edit > files or an application to do so for the files in /boot/ so I can tell > boo0cfg that I want FreeBSD (/dev/ad0s4) to be a bootable partition? I > think that'd solve everything. Try boot0cfg -Bv -o packet ad0 From owner-freebsd-stable@FreeBSD.ORG Tue Jun 8 09:03:21 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5AF3D16A4CE for ; Tue, 8 Jun 2004 09:03:21 +0000 (GMT) Received: from dastardly.newsbastards.org.72.27.172.IN-addr.ARPA.NOSPAM.dyndns.dk (80-219-172-121.dclient.hispeed.ch [80.219.172.121]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5DBB143D39 for ; Tue, 8 Jun 2004 09:03:20 +0000 (GMT) (envelope-from bounce@NOSPAM.dyndns.dk) Received: from Mail.NOSPAM.DynDNS.dK (ipv6.NOSPAM.dyndns.dk [2002:50db:ac79:0:250:daff:fe5a:2107]) (8.11.6/8.11.6-SPAMMERS-DeLiGHt) with ESMTP id i5893B601552 verified NO) for ; Tue, 8 Jun 2004 11:03:17 +0200 (CEST) (envelope-from bounce@NOSPAM.dyndns.dk) Received: (from beer@localhost) by Mail.NOSPAM.DynDNS.dK (8.11.6/FNORD) id i5893AO01551; Tue, 8 Jun 2004 11:03:11 +0200 (CEST) (envelope-from bounce@NOSPAM.dyndns.dk) Date: Tue, 8 Jun 2004 11:03:11 +0200 (CEST) Message-Id: <200406080903.i5893AO01551@Mail.NOSPAM.DynDNS.dK> X-Authentication-Warning: localhost.newsbastards.org.72.27.172.IN-addr.A: beer set sender to bounce@NOSPAM.dyndns.dk using -f X-Authentication-Warning: localhost.newsbastards.org.72.27.172.IN-addr.A: Processed from queue /tmp X-Authentication-Warning: localhost.newsbastards.org.72.27.172.IN-addr.A: Processed by beer with -C /etc/mail/sendmail.cf-LOCAL From: Barry Bouwsma To: Stability of FreeBSD Subject: patch for unionfs mounts X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Jun 2004 09:03:21 -0000 [drop the above ipv6-only address that only sometimes works from the recipients and I'll catch up later from the archives, thanks] Salutations, comrades. I've got a bunch of patches that I apply to my 4.x source before building world, some of which seem to be worthy of merging into the official RELENG_4 branch. I'm wondering if someone would be interested in this: I've applied this particular patch for an eternity without quite remembering why. After failing to apply it, it's clear, and rather worthy of inclusion. This is a unionfs patch, that I pulled from either the PR database or from the mailing lists several years ago. Without this patch, a getcwd() call (from csh, and others, but apparently not bash) returns the upper unionfs-mounted layer. This breaks things like `make world' and its ilk when one mounts, say, /usr/source-hacks atop /usr/src (perhaps additional intermediate directories, like /usr/local/source-hacks, are necessary to demonstrate the problem). In other words, when one is in /usr/src (or /usr/local/source-hacks) and asks for getcwd(), several shells return /usr/local/source-hacks instead of /usr/src, without this patch, which as noted breaks buildworlds. (Or perhaps in subdirectories -- I don't recall) After applying this patch, a getcwd() call returns /usr/src, no matter what shell, which allows buildworlds to complete. I've had this patch for years, and never had any problems with it. I've only had problems without including it. The trivial one-liner patch is as follows: --- union_vnops.c-ORIG Tue Jan 13 22:20:02 2004 +++ union_vnops.c Tue May 11 14:49:02 2004 @@ -963,6 +963,8 @@ union_newsize(ap->a_vp, VNOVAL, vap->va_size); } + ap->a_vap->va_fsid = ap->a_vp->v_mount->mnt_stat.f_fsid.val[0]; + if ((vap != ap->a_vap) && (vap->va_type == VDIR)) ap->a_vap->va_nlink += vap->va_nlink; return (0); As noted, without this, builds fail with a union-mounted directory of hacks atop the pristine virginal /usr/src. With this patch, no ill effects have been noted. Sorry if this is in a PR that hasn't yet been addressed (I was too lazy to grep all the PRs or the entire mailing list archives). And sorry if this should be another PR (I'm offline and can't access the official submit site when I have time to spare). If others use this, with or without problems, that would be good to know too. thanks barry bouwsma From owner-freebsd-stable@FreeBSD.ORG Tue Jun 8 09:05:30 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1A6C616A4CE for ; Tue, 8 Jun 2004 09:05:30 +0000 (GMT) Received: from dastardly.newsbastards.org.72.27.172.IN-addr.ARPA.NOSPAM.dyndns.dk (80-219-172-121.dclient.hispeed.ch [80.219.172.121]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3DC5843D39 for ; Tue, 8 Jun 2004 09:05:29 +0000 (GMT) (envelope-from bounce@NOSPAM.dyndns.dk) Received: from Mail.NOSPAM.DynDNS.dK (ipv6.NOSPAM.dyndns.dk [2002:50db:ac79:0:250:daff:fe5a:2107]) (8.11.6/8.11.6-SPAMMERS-DeLiGHt) with ESMTP id i5895N601567 verified NO) for ; Tue, 8 Jun 2004 11:05:26 +0200 (CEST) (envelope-from bounce@NOSPAM.dyndns.dk) Received: (from beer@localhost) by Mail.NOSPAM.DynDNS.dK (8.11.6/FNORD) id i5895Nt01566; Tue, 8 Jun 2004 11:05:23 +0200 (CEST) (envelope-from bounce@NOSPAM.dyndns.dk) Date: Tue, 8 Jun 2004 11:05:23 +0200 (CEST) Message-Id: <200406080905.i5895Nt01566@Mail.NOSPAM.DynDNS.dK> X-Authentication-Warning: localhost.newsbastards.org.72.27.172.IN-addr.A: beer set sender to bounce@NOSPAM.dyndns.dk using -f X-Authentication-Warning: localhost.newsbastards.org.72.27.172.IN-addr.A: Processed from queue /tmp X-Authentication-Warning: localhost.newsbastards.org.72.27.172.IN-addr.A: Processed by beer with -C /etc/mail/sendmail.cf-LOCAL From: Barry Bouwsma To: Stable BSD Subject: Another unimportant BIND named patch X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Jun 2004 09:05:30 -0000 [drop the above ipv6-only address that only sometimes works from the recipients and I'll catch up later from the archives, thanks] Heh heh heh. I'm not sure if this is worthy of a fix, or of what the state of patches to vendor branches is. The BIND named source code supplied with FreeBSD RELENG_4 has a trivial error, where an IPv6 problem is logged as an IPv4 problem. This is fixed by the following patch: --- db_load.c-ORIG Mon Aug 25 23:07:48 2003 +++ db_load.c Tue May 11 16:47:51 2004 @@ -1043,7 +1043,7 @@ case ns_t_aaaa: if (inet_pton(AF_INET6, buf, data) <= 0) - ERRTO("IPv4 Address"); + ERRTO("IPv6 Address"); n = NS_IN6ADDRSZ; endline(fp); break; Question: Is this something that should be patched in FreeBSD, or is it something that needs to be sent upstream to the ISC (not that it's critical or anything)? Or both (ideally)? thanks barry bouwsma From owner-freebsd-stable@FreeBSD.ORG Tue Jun 8 09:08:13 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 03B4816A4CE for ; Tue, 8 Jun 2004 09:08:13 +0000 (GMT) Received: from dastardly.newsbastards.org.72.27.172.IN-addr.ARPA.NOSPAM.dyndns.dk (80-219-172-121.dclient.hispeed.ch [80.219.172.121]) by mx1.FreeBSD.org (Postfix) with ESMTP id 56E4E43D31 for ; Tue, 8 Jun 2004 09:08:11 +0000 (GMT) (envelope-from bounce@NOSPAM.dyndns.dk) Received: from Mail.NOSPAM.DynDNS.dK (ipv6.NOSPAM.dyndns.dk [2002:50db:ac79:0:250:daff:fe5a:2107]) (8.11.6/8.11.6-SPAMMERS-DeLiGHt) with ESMTP id i5897x601579 verified NO) for ; Tue, 8 Jun 2004 11:08:04 +0200 (CEST) (envelope-from bounce@NOSPAM.dyndns.dk) Received: (from beer@localhost) by Mail.NOSPAM.DynDNS.dK (8.11.6/FNORD) id i5897xh01578; Tue, 8 Jun 2004 11:07:59 +0200 (CEST) (envelope-from bounce@NOSPAM.dyndns.dk) Date: Tue, 8 Jun 2004 11:07:59 +0200 (CEST) Message-Id: <200406080907.i5897xh01578@Mail.NOSPAM.DynDNS.dK> X-Authentication-Warning: localhost.newsbastards.org.72.27.172.IN-addr.A: beer set sender to bounce@NOSPAM.dyndns.dk using -f X-Authentication-Warning: localhost.newsbastards.org.72.27.172.IN-addr.A: Processed from queue /tmp X-Authentication-Warning: localhost.newsbastards.org.72.27.172.IN-addr.A: Processed by beer with -C /etc/mail/sendmail.cf-LOCAL From: Barry Bouwsma To: BSD Ranch Stable and Barnyard Subject: patch again: cvs and read-only repositories X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Jun 2004 09:08:13 -0000 [drop the above ipv6-only address that only sometimes works from the recipients and I'll catch up later from the archives, thanks] Hi! I've got the following patch in my FreeBSD4 source. Perhaps it is a candidate to be merged into RELENG_4? Pretty please? It somehow fixes the case which is somehow b0rken when one tries to update from a read-only repository (whether de-facto or as specified on the command line, I do no remember, sorry) --- tag.c-ORIG Tue Jan 21 23:26:46 2003 +++ tag.c Tue May 11 16:49:53 2004 @@ -1300,7 +1300,7 @@ /* The tags is valid but not mentioned in val-tags. Add it. */ datum value; - if (noexec || nowrite) + if (noexec || nowrite || readonlyfs) { if (db != NULL) dbm_close (db); If I could remember how to reproduce the bug, I'd say so, but as I recall, it has to do with a combination of a read- only-mounted repository and/or specifying the -R flag to the client. Without this patch, the server tries to write to the read-only repository and fails. This patch is probably based on something seen in one or more of the other BSDen. thanks barry bouwsma From owner-freebsd-stable@FreeBSD.ORG Tue Jun 8 09:10:36 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0280C16A4CE for ; Tue, 8 Jun 2004 09:10:36 +0000 (GMT) Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6272043D1F for ; Tue, 8 Jun 2004 09:10:35 +0000 (GMT) (envelope-from freebsd-stable@m.gmane.org) Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1BXccg-0003gs-00 for ; Tue, 08 Jun 2004 11:10:23 +0200 Received: from ns-ilmail3.ns-systems.com ([62.90.139.134]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 08 Jun 2004 11:10:22 +0200 Received: from haim by ns-ilmail3.ns-systems.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 08 Jun 2004 11:10:22 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-stable@freebsd.org From: Haim Ashkenazi Date: Tue, 08 Jun 2004 11:38:13 +0300 Lines: 19 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: ns-ilmail3.ns-systems.com User-Agent: Pan/0.14.2.91 (As She Crawled Across the Table (Debian GNU/Linux)) Sender: news Subject: newbie question - users deleted after playing with sysinstall X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Jun 2004 09:10:36 -0000 Hi I've just finished install FreeBSD 4.10 for the first time. I'm an experienced linux user, but have no experience with FreeBSD. after a very basic installation (only the first step, to get ssh) I've put the computer at my ISP (of-course everything is blocked by a firewall) and continued from home. I then installed some packages from the "Distribution" menu, and "played" with the menus to see what I can configure. today, I couldn't login to the computer (ssh), and when I checked (I had someone there who logged in locally) I found out root has no password and the regular user I created was gone. my question is: could something I've done in sysinstall delete the user and root password? it's not likely that someone broke into the system because it's completely blocked (only open from my IP). thanx -- Haim From owner-freebsd-stable@FreeBSD.ORG Tue Jun 8 10:08:59 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0536116A4CE for ; Tue, 8 Jun 2004 10:08:59 +0000 (GMT) Received: from dastardly.newsbastards.org.72.27.172.IN-addr.ARPA.NOSPAM.dyndns.dk (80-219-172-121.dclient.hispeed.ch [80.219.172.121]) by mx1.FreeBSD.org (Postfix) with ESMTP id DE01F43D49 for ; Tue, 8 Jun 2004 10:08:56 +0000 (GMT) (envelope-from bounce@NOSPAM.dyndns.dk) Received: from Mail.NOSPAM.DynDNS.dK (ipv6.NOSPAM.dyndns.dk [2002:50db:ac79:0:250:daff:fe5a:2107]) (8.11.6/8.11.6-SPAMMERS-DeLiGHt) with ESMTP id i58A8W601793 verified NO); Tue, 8 Jun 2004 12:08:41 +0200 (CEST) (envelope-from bounce@NOSPAM.dyndns.dk) Received: (from beer@localhost) by Mail.NOSPAM.DynDNS.dK (8.11.6/FNORD) id i58A8VR01792; Tue, 8 Jun 2004 12:08:31 +0200 (CEST) (envelope-from bounce@NOSPAM.dyndns.dk) Date: Tue, 8 Jun 2004 12:08:31 +0200 (CEST) Message-Id: <200406081008.i58A8VR01792@Mail.NOSPAM.DynDNS.dK> X-Authentication-Warning: localhost.newsbastards.org.72.27.172.IN-addr.A: beer set sender to bounce@NOSPAM.dyndns.dk using -f X-Authentication-Warning: localhost.newsbastards.org.72.27.172.IN-addr.A: Processed from queue /tmp X-Authentication-Warning: localhost.newsbastards.org.72.27.172.IN-addr.A: Processed by beer with -C /etc/mail/sendmail.cf-LOCAL From: Barry Bouwsma References: <200404070340.i373exE00357@NOSPAM.spam.NOSPAM.spam.NOSPAM.dyndns.dk> To: Julian Elischer cc: stable@freebsd.org Subject: Re: HEADSUP!!! USB MFC committed.. X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Jun 2004 10:08:59 -0000 [drop the above ipv6-only address that only sometimes works from the recipients and I'll catch up later from the archives, thanks] [dropped hackers for now] Just over two months ago, Julian Elischer begged: > let me have your patches.. > 4.10 goes into code freeze tomorrow > so I need them asap. I can get a pass from release engineering to Arrrgh, please accept my sincerest apologies. Right after sending that message some two months ago, I went offline and wasn't able to go back online to get your plea for well over a month, as Real Life reared its ugly head and I had to get busy moving to a place with no possibility of Internet access, sigh... Anyway, I didn't see this until a couple hours after the 4.10 release tag hit the tree, so I guess I deserve whatever I've got coming to me. Anyway, here's what I have, now based on RELENG_4 source of the time of 4.10, and -current of the same timeframe... What I'd done is to both try to merge in the diff mentioned earlier into the -stable umass.c code, and also to try to take the latest -current umass.c code and massage it to play nicely with -stable. I've had success with both (also redoing my hacks against the latest source to try and clean out any lingering problems), but personally I prefer my hacks against -current, for several of my peripherals work with the result out-of-the-box, while I needed to fudge around with quirks under RELENG_4 and not always with success. Nonetheless, I'll supply both sets of hacks for those who want to play things a bit more conservatively and review the diffs, as well as for those who gladly throw caution to the winds -- perhaps because -current has worked better for their devices. The following is taking HEAD's umass.c around 4.10-tag-time and adding the hacks below to it. With limited testing, it gives the desired da* entries from every slot of the card reader, and appears to mostly work with other umass devices, both usb1 and usb2, subject to problems known to exist without this hack (and which seem to be able to be solved with other patches). While I was hanging around the neighbourhood, I decided to implement the NO_GETMAXLUN quirk that is mentioned, and add my USB disk that can benefit from this (well, actually, I benefit as my reboots are shortened significantly). --- /stand/FreeBSD4-src/source-hacks/sys/dev/usb/umass.c-CURRENT Thu May 27 22:00:19 2004 +++ /stand/FreeBSD4-src/source-hacks/sys/dev/usb/umass.c Tue Jun 8 11:48:37 2004 @@ -112,6 +112,8 @@ #include #include #include +/* HACK stable below... */ +#include #include #include @@ -125,6 +127,8 @@ #include #include +/* HACK stable below... */ +#include #include #ifdef USB_DEBUG @@ -369,6 +373,12 @@ UMASS_PROTO_SCSI | UMASS_PROTO_BBB, NO_QUIRKS }, +/* XXX HACK */ + { USB_VENDOR_MAXTOR, USB_PRODUCT_MAXTOR_5000, RID_WILDCARD, + UMASS_PROTO_SCSI | UMASS_PROTO_BBB, + NO_GETMAXLUN + }, +/* XXX HACK */ { USB_VENDOR_MELCO, USB_PRODUCT_MELCO_DUBPXXG, RID_WILDCARD, UMASS_PROTO_SCSI | UMASS_PROTO_BBB, FORCE_SHORT_INQUIRY | NO_START_STOP | IGNORE_RESIDUE @@ -437,6 +447,10 @@ UMASS_PROTO_ATAPI | UMASS_PROTO_CBI_I, FORCE_SHORT_INQUIRY }, + { 0x090a, 0x1100, RID_WILDCARD, + UMASS_PROTO_UFI | UMASS_PROTO_CBI, + NO_QUIRKS + }, { VID_EOT, PID_EOT, RID_EOT, 0, 0 } }; @@ -1055,7 +1069,8 @@ /* Get the maximum LUN supported by the device. */ - if ((sc->proto & UMASS_PROTO_WIRE) == UMASS_PROTO_BBB) + if ((sc->proto & UMASS_PROTO_WIRE) == UMASS_PROTO_BBB && + !(sc->quirks & NO_GETMAXLUN)) sc->maxlun = umass_bbb_get_max_lun(sc); else sc->maxlun = 0; @@ -1392,6 +1407,8 @@ { struct umass_softc *sc = (struct umass_softc *) priv; usbd_xfer_handle next_xfer; +/* HACK from below */ + int Residue; KASSERT(sc->proto & UMASS_PROTO_BBB, ("%s: umass_bbb_state: wrong sc->proto 0x%02x\n", @@ -1565,7 +1582,6 @@ UGETDW(sc->csw.dCSWSignature) == CSWSIGNATURE_OLYMPUS_C1) USETDW(sc->csw.dCSWSignature, CSWSIGNATURE); - int Residue; Residue = UGETDW(sc->csw.dCSWDataResidue); if (Residue == 0 && sc->transfer_datalen - sc->transfer_actlen != 0) @@ -2515,7 +2531,36 @@ } case XPT_CALC_GEOMETRY: { - cam_calc_geometry(&ccb->ccg, /*extended*/1); + /* XXX HACK take this from -CURRENT cam/cam.c */ + /* cam_calc_geometry(&ccb->ccg, / *extended* /1); */ + /* + * Common calculate geometry fuction + * + * Caller should set ccg->volume_size and block_size. + * The extended parameter should be zero if extended translation + * should not be used. + */ + /* void + cam_calc_geometry(struct ccb_calc_geometry *ccg, int extended) + { */ + + struct ccb_calc_geometry *ccg = &ccb->ccg; + int extended = 1; + uint32_t size_mb, secs_per_cylinder; + + size_mb = ccg->volume_size / ((1024L * 1024L) / ccg->block_size); + if (size_mb > 1024 && extended) { + ccg->heads = 255; + ccg->secs_per_track = 63; + } else { + ccg->heads = 64; + ccg->secs_per_track = 32; + } + secs_per_cylinder = ccg->heads * ccg->secs_per_track; + ccg->cylinders = ccg->volume_size / secs_per_cylinder; + ccg->ccb_h.status = CAM_REQ_CMP; +/* XXX end cut'n'paste } */ + xpt_done(ccb); break; } As mentioned, my other approach was to take the RELENG_4 umass.c code and merge in the hacks from the earlier-mentioned diff. This includes quirks I seemed to need to add to get my digital camera to be found, as well as an in-progress snapshot against a card reader which never wanted to completely cooperate with 4.x code. [ AIEEE. This diff is littered with in-progress clutter. I'll spare you this until I clean it up for presentation. Sorry. ] In all cases, for my aforementioned digital camera to be identified in a pleasing way, I needed to merge in the usbdevs* patches below in part taken from NetBSD with the Jenoptik manufacturer ID. I also added the product ID based on the re-branded camera (from the discounter chain Aldi) without knowing if this particular unit is only available with this ID as a rebranded product, or if Jenoptik cameras themselves with different model numbers (available not rebranded) also use this ID. --- /stand/FreeBSD4-src/source-hacks/sys/dev/usb/usbdevs_data.h-4.10-ORIG Wed May 26 21:18:34 2004 +++ /stand/FreeBSD4-src/source-hacks/sys/dev/usb/usbdevs_data.h Thu May 27 12:29:00 2004 @@ -1552,6 +1552,18 @@ "Zip 250", }, { + USB_VENDOR_JENOPTIK, USB_PRODUCT_JENOPTIK_JD350, + 0, + "Jenoptik", + "JD 350 Camera/mp3 player", + }, + { + USB_VENDOR_JENOPTIK, USB_PRODUCT_JENOPTIK_DC5300, + 0, + "Jenoptik", + "DC-5300 Camera (Traveler)", + }, + { USB_VENDOR_JVC, USB_PRODUCT_JVC_GR_DX95, 0, "JVC", @@ -4519,6 +4531,12 @@ USB_VENDOR_SANDISK, 0, USB_KNOWNDEV_NOPROD, "SanDisk Corp", + NULL, + }, + { + USB_VENDOR_JENOPTIK, 0, + USB_KNOWNDEV_NOPROD, + "Jenoptik", NULL, }, { --- /stand/FreeBSD4-src/source-hacks/sys/dev/usb/usbdevs-4.10-ORIG Wed May 26 21:18:34 2004 +++ /stand/FreeBSD4-src/source-hacks/sys/dev/usb/usbdevs Tue Jun 1 12:53:27 2004 @@ -258,6 +258,7 @@ vendor LINKSYS2 0x077b Linksys vendor GRIFFIN 0x077d Griffin Technology vendor SANDISK 0x0781 SanDisk Corp +vendor JENOPTIK 0x0784 Jenoptik vendor LOGITEC 0x0789 Logitec Corp vendor BRIMAX 0x078e Brimax vendor AXIS 0x0792 Axis Communications @@ -355,7 +356,9 @@ vendor SMC3 0x0d5c Standard Microsystems vendor PNY 0x0d7d PNY vendor MSI 0x0db0 Micro Star International +vendor MAXTOR 0x0d49 Maxtor vendor HAWKING 0x0e66 Hawking Technologies +vendor OTI 0x0ea0 OTi vendor QUALCOMM 0x1004 Qualcomm vendor MOTOROLA 0x1063 Motorola vendor PLX 0x10b5 PLX @@ -797,6 +800,10 @@ /* Iomega products */ product IOMEGA ZIP100 0x0001 Zip 100 product IOMEGA ZIP250 0x0030 Zip 250 + +/* Jenoptik products */ +product JENOPTIK JD350 0x5300 JD 350 Camera/mp3 player +product JENOPTIK DC5300 0x1689 DC-5300 Camera (Traveler) /* JVC products */ product JVC GR_DX95 0x000a GR-DX95 --- /stand/FreeBSD4-src/source-hacks/sys/dev/usb/usbdevs.h-4.10-ORIG Wed May 26 21:18:34 2004 +++ /stand/FreeBSD4-src/source-hacks/sys/dev/usb/usbdevs.h Tue Jun 1 12:55:32 2004 @@ -265,6 +265,7 @@ #define USB_VENDOR_LINKSYS2 0x077b /* Linksys */ #define USB_VENDOR_GRIFFIN 0x077d /* Griffin Technology */ #define USB_VENDOR_SANDISK 0x0781 /* SanDisk Corp */ +#define USB_VENDOR_JENOPTIK 0x0784 /* Jenoptik */ #define USB_VENDOR_LOGITEC 0x0789 /* Logitec Corp */ #define USB_VENDOR_BRIMAX 0x078e /* Brimax */ #define USB_VENDOR_AXIS 0x0792 /* Axis Communications */ @@ -362,7 +363,9 @@ #define USB_VENDOR_SMC3 0x0d5c /* Standard Microsystems */ #define USB_VENDOR_PNY 0x0d7d /* PNY */ #define USB_VENDOR_MSI 0x0db0 /* Micro Star International */ +#define USB_VENDOR_MAXTOR 0x0d49 /* Maxtor */ #define USB_VENDOR_HAWKING 0x0e66 /* Hawking Technologies */ +#define USB_VENDOR_OTI 0x0ea0 /* OTi */ #define USB_VENDOR_QUALCOMM 0x1004 /* Qualcomm */ #define USB_VENDOR_MOTOROLA 0x1063 /* Motorola */ #define USB_VENDOR_PLX 0x10b5 /* PLX */ @@ -805,6 +808,10 @@ #define USB_PRODUCT_IOMEGA_ZIP100 0x0001 /* Zip 100 */ #define USB_PRODUCT_IOMEGA_ZIP250 0x0030 /* Zip 250 */ +/* Jenoptik products */ +#define USB_PRODUCT_JENOPTIK_JD350 0x5300 /* JD 350 Camera/mp3 player */ +#define USB_PRODUCT_JENOPTIK_DC5300 0x1689 /* DC-5300 Camera (Traveler) */ + /* JVC products */ #define USB_PRODUCT_JVC_GR_DX95 0x000a /* GR-DX95 */ @@ -919,6 +926,9 @@ #define USB_PRODUCT_FTDI_MX4_5 0xfa02 /* Matrix Orbital MX4 or MX5 */ #define USB_PRODUCT_FTDI_LK202 0xfa03 /* Matrix Orbital VK/LK202 Family */ #define USB_PRODUCT_FTDI_LK204 0xfa04 /* Matrix Orbital VK/LK204 Family */ + +/* Maxtor products */ +#define USB_PRODUCT_MAXTOR_5000 0x5000 /* Maxtor 5000XT */ /* MCT Corp. */ #define USB_PRODUCT_MCT_HUB0100 0x0100 /* Hub */ (as you may see, I also hand-added a few more definitions for some other hardware I had or needed quirks for.) The only thing of note with my camera is that the SYNC_CACHE command at unmounting and similar results in kernel messages of the form (da5:umass-sim2:2:0:0): SYNCHRONIZE CACHE. CDB: 35 0 0 0 0 0 0 0 0 0 (da5:umass-sim2:2:0:0): MEDIUM ERROR asc:11,0 (da5:umass-sim2:2:0:0): Unrecovered read error which is not a fatal error, and I don't know if it's even noteworthy. I had earlier hacks to -stable based on half-year-or-so-old source, before SYNC_CACHE was translated, which ignored the command so that I never got this error, but attempts to include such a hack these days seem to result in inability to use the device (though I have not confirmed this with my latest source). Some notes: Devices attached to the EHCI controller still appear in kernel messages with the USB full-speed transfer rate of 1MB/sec, even though they can deliver high-speed transfers in excess of this. I haven't tried to worm my way through the code and see how easy it would be to set the transfer rate printed out to that of the underlying interface (ehci, or not-ehci). There were times when access to a disk failed, when earlier it had worked or when it worked at another boot without problems (BBB resets and other timeout failures). I don't know if this is peculiar to my hardware. It also seems that this happens if I wait a while before trying to access the drive, so this may be related to the recently-posted patch against -current concerning contiguous buffers (the controller I have now is UHCI), or maybe not. UPDATE: This problem seems no longer present with the -current patch, yay. When a device is attached, it's still possible to panic the system by detaching it before the probe+attach routine is finished. This was most obvious with the codebase from 4.x when it took a minute or more to attach to my card reader, but I was also able to induce such a panic during the much shorter fraction of a second that it took the -current codebase to attach to the device. The 4.x code seemed to be more eager to send resets that I couldn't completely eliminate with limited quirk entries; before the timeouts of which there was a dangerous window if one were to decide to unplug the device. Inserting a memory card after attachment provides no kernel messages but is nonetheless immediately available (insert; `fdisk /da2' or whatever works; remove; no longer works; insert; works again; etc). This may be expected behaviour with this sort of media/device. While I was merging in the patch against -current posted shortly before 4.10 release (which only required minor massaging; apologies if it's already been posted as a patch against -stable while I've been offline), I decided that the usb kernel modules needed a hack to get the debug sysctl to appear, as follows. Both this patch and the posted patch concerning memory are working fine with a few minutes (or hours) of operation. (meaning nothing since I haven't tried to enable debugging, oh well) --- /stand/FreeBSD4-src/source-hacks/sys/dev/usb/usb.c-BEFORE_DIFF Mon Mar 1 01:07:22 2004 +++ /stand/FreeBSD4-src/source-hacks/sys/dev/usb/usb.c Wed Jun 2 20:56:20 2004 @@ -104,27 +104,34 @@ /* Define this unconditionally in case a kernel module is loaded that * has been compiled with debugging options. */ +/* XXX Hm, seems like it's impossible to enable debugging in kernel + modules without explicitly recompiling... Looks as if the + default of 0 doesn't do anything disruptive, so let's play + like firewire and always define these too... */ +int usbdebug = 0; SYSCTL_NODE(_hw, OID_AUTO, usb, CTLFLAG_RW, 0, "USB debugging"); +SYSCTL_INT(_hw_usb, OID_AUTO, debug, CTLFLAG_RW, + &usbdebug, 0, "usb debug level"); -#ifdef USB_DEBUG #define DPRINTF(x) if (usbdebug) logprintf x #define DPRINTFN(n,x) if (usbdebug>(n)) logprintf x -int usbdebug = 0; -SYSCTL_INT(_hw_usb, OID_AUTO, debug, CTLFLAG_RW, - &usbdebug, 0, "usb debug level"); +#ifdef USB_DEBUG /* * 0 - do usual exploration * 1 - do not use timeout exploration * >1 - do no exploration */ int usb_noexplore = 0; -#else +/* XXXX HACK see above #else #define DPRINTF(x) -#define DPRINTFN(n,x) +#define DPRINTFN(n,x) */ #endif struct usb_softc { USBBASEDEVICE sc_dev; /* base device */ +#ifdef __FreeBSD__ + dev_t sc_usbdev; /* /dev/usbN device */ +#endif usbd_bus_handle sc_bus; /* USB controller */ struct usbd_port sc_port; /* dummy port for root hub */ (the last three added lines come from the patch of a few weeks ago against -current) I suppose if the mentioned -current patch has not yet been posted for application against -stable, I can submit my diffs (well over two weeks from the original post, and also as part of the complete set of hacks I have based on -current's umass.c and the like. I've attempted to reproduce the case where my umass access times out (after I've started other processes, so that the amount of free memory drops to its nadir of 532k free, before mounting the disk) so far without problems in one test, which could motivate me to try re-adding EHCI support to my module and see if the problem I had observed there is also addressed by this patchkit. Umm, having done so (included ehci under -stable with the patch for -current) I now see immediate panics at boot when the umass USB2 device is plugged in, when the umass device is detached and then reattached (this is how I'm able to use a USB2 hub at USB1 speeds with my -stable); it seems okay when I plug the drive in after boot, but more time is needed... This panic is identical as far as I can see to that reported in the -current mailing list on 17.Apr and followups within a couple days. Also, this panic can be avoided by the suggested hack of changing `#if 1' in usb.c -- no problem for my attached devices (mouse, storage). However, with at least the particular card I have installed, I still get hangs (and then panics) after a period of time accessing a USB2 disk, which had initially appeared to be solved with the memory -current patch. I had problems (but not panics) accessing one of my two card readers with EHCI that this patch seemed to help, for what it's worth, but with my external hard drive, no improvement (other than perhaps a decrease in the random frequency of occurrence) was noted. (argh, sorry for the long-winded messages i compose) Otherwise, things seem to be just fine, and I've settled on my hacks against -current source, due to Just Work[tm]ing with my hardware. With the entirety of my hacks and the patches to -current, I've not had any problems so far. Whee! thanks barry bouwsma (I'll post cleaned patches based on -stable umass.c sometime) From owner-freebsd-stable@FreeBSD.ORG Tue Jun 8 10:24:41 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8B1F516A4CE for ; Tue, 8 Jun 2004 10:24:41 +0000 (GMT) Received: from ei.bzerk.org (ei.xs4all.nl [213.84.67.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 420E243D1F for ; Tue, 8 Jun 2004 10:24:40 +0000 (GMT) (envelope-from mail25@bzerk.org) Received: from ei.bzerk.org (BOFH@localhost [127.0.0.1]) by ei.bzerk.org (8.12.10/8.12.10) with ESMTP id i58AQvxS006223; Tue, 8 Jun 2004 12:26:57 +0200 (CEST) (envelope-from mail25@bzerk.org) Received: (from bulk@localhost) by ei.bzerk.org (8.12.10/8.12.10/Submit) id i58AQvdv006222; Tue, 8 Jun 2004 12:26:57 +0200 (CEST) (envelope-from mail25@bzerk.org) Date: Tue, 8 Jun 2004 12:26:57 +0200 From: Ruben de Groot To: Haim Ashkenazi Message-ID: <20040608102657.GB4843@ei.bzerk.org> Mail-Followup-To: Ruben de Groot , Haim Ashkenazi , freebsd-stable@freebsd.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i X-Spam-Status: No, hits=2.1 required=5.0 tests=FROM_ENDS_IN_NUMS, NO_EXPERIENCE autolearn=no version=2.63 X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on ei.bzerk.org cc: freebsd-stable@freebsd.org Subject: Re: newbie question - users deleted after playing with sysinstall X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Jun 2004 10:24:41 -0000 On Tue, Jun 08, 2004 at 11:38:13AM +0300, Haim Ashkenazi typed: > Hi > > I've just finished install FreeBSD 4.10 for the first time. I'm an > experienced linux user, but have no experience with FreeBSD. after a very > basic installation (only the first step, to get ssh) I've put the computer > at my ISP (of-course everything is blocked by a firewall) and continued > from home. I then installed some packages from the "Distribution" menu, > and "played" with the menus to see what I can configure. today, I couldn't > login to the computer (ssh), and when I checked (I had someone there who > logged in locally) I found out root has no password and the regular > user I created was gone. my question is: could something I've done in > sysinstall delete the user and root password? it's not likely that someone > broke into the system because it's completely blocked (only open from my > IP). Yes, that very likely. For instance, if you install the "bin" distribution more than once, it'll overwrite all files in /etc, including master.passwd each time you do that. Ruben > thanx > -- > Haim > > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" From owner-freebsd-stable@FreeBSD.ORG Tue Jun 8 10:34:00 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 797CA16A4CE for ; Tue, 8 Jun 2004 10:34:00 +0000 (GMT) Received: from www.qlogic.net (qlogic.net [66.216.124.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id F11FA43D31 for ; Tue, 8 Jun 2004 10:33:59 +0000 (GMT) (envelope-from dgw@qlogic.net) Received: from dgw.demonio.x (157.Red-83-35-180.pooles.rima-tde.net [83.35.180.157]) (authenticated bits=0) by www.qlogic.net (8.12.8p2/8.12.8) with ESMTP id i58AXvSC032845 for ; Tue, 8 Jun 2004 12:33:58 +0200 (CEST) (envelope-from dgw@qlogic.net) From: David Garcia Watkins To: freebsd-stable@freebsd.org Date: Tue, 8 Jun 2004 12:33:56 +0200 User-Agent: KMail/1.6.2 References: In-Reply-To: MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200406081233.56900.dgw@qlogic.net> X-Virus-Scanned: by amavisd-new Subject: Re: newbie question - users deleted after playing with sysinstall X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Jun 2004 10:34:00 -0000 > user I created was gone. my question is: could something I've done in > sysinstall delete the user and root password? Did you install the 'bin' distribution? I think it overwrites /etc/passwd but I believe there is backup left at /var/backups Regards, David Garcia Watkins dgw@qlogic.net From owner-freebsd-stable@FreeBSD.ORG Tue Jun 8 10:49:50 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5C4CA16A4CE for ; Tue, 8 Jun 2004 10:49:50 +0000 (GMT) Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by mx1.FreeBSD.org (Postfix) with ESMTP id B966D43D45 for ; Tue, 8 Jun 2004 10:49:49 +0000 (GMT) (envelope-from freebsd-stable@m.gmane.org) Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1BXeAu-0005BC-00 for ; Tue, 08 Jun 2004 12:49:48 +0200 Received: from ns-ilmail3.ns-systems.com ([62.90.139.134]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 08 Jun 2004 12:49:48 +0200 Received: from haim by ns-ilmail3.ns-systems.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 08 Jun 2004 12:49:48 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-stable@freebsd.org From: Haim Ashkenazi Date: Tue, 08 Jun 2004 13:49:45 +0300 Lines: 28 Message-ID: References: <20040608102657.GB4843@ei.bzerk.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: ns-ilmail3.ns-systems.com User-Agent: Pan/0.14.2.91 (As She Crawled Across the Table (Debian GNU/Linux)) Sender: news Subject: Re: newbie question - users deleted after playing with sysinstall X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Jun 2004 10:49:50 -0000 On Tue, 08 Jun 2004 12:26:57 +0200, Ruben de Groot wrote: > On Tue, Jun 08, 2004 at 11:38:13AM +0300, Haim Ashkenazi typed: >> Hi >> >> I've just finished install FreeBSD 4.10 for the first time. I'm an >> experienced linux user, but have no experience with FreeBSD. after a very >> basic installation (only the first step, to get ssh) I've put the computer >> at my ISP (of-course everything is blocked by a firewall) and continued >> from home. I then installed some packages from the "Distribution" menu, >> and "played" with the menus to see what I can configure. today, I couldn't >> login to the computer (ssh), and when I checked (I had someone there who >> logged in locally) I found out root has no password and the regular >> user I created was gone. my question is: could something I've done in >> sysinstall delete the user and root password? it's not likely that someone >> broke into the system because it's completely blocked (only open from my >> IP). > > Yes, that very likely. For instance, if you install the "bin" > distribution more than once, it'll overwrite all files in /etc, including > master.passwd each time you do that. yep, that's exactly what I did. well, I just wanted to be sure that nobody broke into my system. thanx -- Haim From owner-freebsd-stable@FreeBSD.ORG Tue Jun 8 15:51:58 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8D87E16A4CE for ; Tue, 8 Jun 2004 15:51:58 +0000 (GMT) Received: from freebsd.takeda.tk (node-402413e2.sna.onnet.us.uu.net [64.36.19.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id AD55043D1F for ; Tue, 8 Jun 2004 15:51:53 +0000 (GMT) (envelope-from takeda@takeda.tk) Received: from takeda.lan (takeda.lan [10.0.0.3]) by freebsd.takeda.tk (8.12.11/8.12.11) with ESMTP id i58FpYA0083070; Tue, 8 Jun 2004 08:51:42 -0700 (PDT) (envelope-from takeda@takeda.tk) Date: Tue, 8 Jun 2004 08:51:17 -0700 From: Dariusz Kulinski X-Mailer: The Bat! (v2.01) X-Priority: 3 (Normal) Message-ID: <5950981562.20040608085117@takeda.tk> To: "Daniel O'Connor" In-Reply-To: <200406081707.13629.doconnor@gsoft.com.au> References: <5719057546.20040607235913@takeda.tk> <000001c44d26$bc22a6a0$1414a8c0@kyle> <18919733703.20040608001030@takeda.tk> <200406081707.13629.doconnor@gsoft.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-stable@freebsd.org cc: Kyle Mott Subject: Re: Viewing SSH Connection X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Jun 2004 15:51:58 -0000 Hello Daniel, Tuesday, June 8, 2004, 12:37:13 AM, you wrote: > If someone has root then you couldn't prevent them using watch, simple as > that. > (They might have to reboot first but..) That's true... He would need to set securelevel in i.e. rc.conf and then do schg on all rc files, but that still would allow to use it for person who have physical access to the machine. -- Best regards, Dariusz mailto:takeda@takeda.tk CCNA, SCSA, SCNA, LPIC, MCP certified http://www.takeda.tk From owner-freebsd-stable@FreeBSD.ORG Tue Jun 8 16:10:16 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BAEE216A4D0 for ; Tue, 8 Jun 2004 16:10:16 +0000 (GMT) Received: from smtp.compt.com (smtp.compt.com [204.50.186.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id 48FCA43D49 for ; Tue, 8 Jun 2004 16:10:16 +0000 (GMT) (envelope-from twkonefal@compt.com) Message-ID: <40C5E4E5.1050502@compt.com> Date: Tue, 08 Jun 2004 12:10:13 -0400 From: Tomasz Konefal MIME-Version: 1.0 To: freebsd-stable@freebsd.org References: <000701c44d13$cab121a0$1414a8c0@kyle> In-Reply-To: <000701c44d13$cab121a0$1414a8c0@kyle> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: Re: Viewing SSH Connection X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Jun 2004 16:10:16 -0000 Kyle Mott wrote: >Hi. I was wondering if anyone knows of a way to 'view' what another >person is typing over an SSH terminal? > >Essentially, I want a friend to be able to look at what I'm typing >real-time into the console. We will both be connected to the server via >SSH. Is there a way to do this? > >If this is not possible, are there any other options (aside from using > >Telnet)? > if the two of you can log in as the same user your 'friend' can easily use "screen -x" to go into multiview mode once you start your screen session. cheers, twkonefal -- * Tomasz Konefal * * Systems Administrator * * Command Post & Transfer Corporation * ( +1-416-585-9995 349 From owner-freebsd-stable@FreeBSD.ORG Tue Jun 8 20:11:31 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BC37916A4D1 for ; Tue, 8 Jun 2004 20:11:31 +0000 (GMT) Received: from lakermmtao05.cox.net (lakermmtao05.cox.net [68.230.240.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D12443D2F for ; Tue, 8 Jun 2004 20:11:31 +0000 (GMT) (envelope-from A.J.Caines@halplant.com) Received: from mail.halplant.com ([68.100.60.90]) by lakermmtao05.cox.net (InterMail vM.6.01.03.02 201-2131-111-104-20040324) with ESMTP id <20040608201130.TPSI17850.lakermmtao05.cox.net@mail.halplant.com> for ; Tue, 8 Jun 2004 16:11:30 -0400 Received: by mail.halplant.com (Postfix, from userid 1001) id 912E45538; Tue, 8 Jun 2004 16:10:58 -0400 (EDT) Date: Tue, 8 Jun 2004 16:10:58 -0400 From: Andrew J Caines To: stable@freebsd.org Message-ID: <20040608201057.GB43208@hal9000.halplant.com> Mail-Followup-To: stable@freebsd.org References: <200404070340.i373exE00357@NOSPAM.spam.NOSPAM.spam.NOSPAM.dyndns.dk> <200406081008.i58A8VR01792@Mail.NOSPAM.DynDNS.dK> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200406081008.i58A8VR01792@Mail.NOSPAM.DynDNS.dK> Organization: H.A.L. Plant X-PGP-Fingerprint: C59A 2F74 1139 9432 B457 0B61 DDF2 AA61 67C3 18A1 X-Powered-by: FreeBSD 4.10-STABLE X-URL: http://halplant.com:88/ X-Yahoo-Profile: AJ_Z0 X-ICQ: 283813972 Importance: Normal User-Agent: Mutt/1.5.6i Subject: Re: HEADSUP!!! USB MFC committed.. X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Andrew J Caines List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Jun 2004 20:11:32 -0000 Barry, Any chance these changes might fix the urio/rioutil problem I reported[1]? >From what I can tell these are addressed to umass issues, so I suspect not, but since something broke in 4.x and not in 5.x, I'm optimistic it'll work again in 4.x. [1] http://www.freebsd.org/cgi/getmsg.cgi?fetch=165263+169117+/usr/local/www/db/text/2004/freebsd-stable/20040411.freebsd-stable http://www.freebsd.org/cgi/getmsg.cgi?fetch=117015+120633+/usr/local/www/db/text/2004/freebsd-stable/20040523.freebsd-stable -Andrew- -- _______________________________________________________________________ | -Andrew J. Caines- Unix Systems Engineer A.J.Caines@halplant.com | | "They that can give up essential liberty to obtain a little temporary | | safety deserve neither liberty nor safety" - Benjamin Franklin, 1759 | From owner-freebsd-stable@FreeBSD.ORG Tue Jun 8 22:51:45 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4982A16A4CE for ; Tue, 8 Jun 2004 22:51:45 +0000 (GMT) Received: from xraided.net (xraided.net [66.88.26.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7AF3943D41 for ; Tue, 8 Jun 2004 22:51:44 +0000 (GMT) (envelope-from kyle@xraided.net) Received: from [66.88.29.118] (account kyle HELO kyle) by xraided.net (CommuniGate Pro SMTP 4.1.8) with ESMTP id 1730560 for freebsd-stable@freebsd.org; Tue, 08 Jun 2004 15:51:43 -0700 From: "Kyle Mott" To: Date: Tue, 8 Jun 2004 15:51:39 -0700 Message-ID: <001001c44dab$29125470$1414a8c0@kyle> MIME-Version: 1.0 X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: 'ps aux' odditiy X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Jun 2004 22:51:45 -0000 I just finished doing a buildworld in multi-user mode (which seemed to work OK... though only time will tell :D) to RELENG_4. However, when I run 'ps aux', the output seems to be inverted... IE processes with lower PID's are on the bottom. Is this normal? Here's an example: USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND root 33444 77.7 3.5 13640 13512 p0 R+ 3:42PM 0:02.73 /usr/libexec/cc1plus -quiet -dumpbase opt_range.cc -march=pentiumpro root 33443 4.2 0.4 1696 1540 p0 S+ 3:42PM 0:00.13 /usr/libexec/cpp0 -lang-c++ -I. -I. -I.. -I../bdb/build_unix -I../inn root 33442 0.0 0.1 308 200 p0 S+ 3:42PM 0:00.01 cc -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="/usr/local" -DDATADIR="/var/d root 33440 0.0 0.1 664 476 p0 S+ 3:42PM 0:00.01 /bin/sh ../depcomp cc -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="/usr/local root 33438 0.0 0.1 636 448 p0 S+ 3:42PM 0:00.00 /bin/sh -ec source='opt_range.cc' object='opt_range.o' libtool=no de nagios 33431 0.0 0.1 460 244 ?? S 3:42PM 0:00.00 /sbin/ping -n -c 5 192.168.30.1 nagios 33430 0.0 0.2 996 704 ?? S 3:42PM 0:00.01 /usr/local/libexec/nagios/check_ping -H 192.168.30.1 -w 100.0,20% -c nagios 33429 0.0 0.1 632 440 ?? S 3:42PM 0:00.00 sh -c /usr/local/libexec/nagios/check_ping -H 192.168.30.1 -w 100.0,2 nagios 33428 0.0 0.4 2408 1636 ?? S 3:42PM 0:00.00 /usr/local/bin/nagios -d /usr/local/etc/nagios/nagios.cfg [.. Taken out for the sake of brevity ..] daemon 92 0.0 0.2 960 628 ?? Is 3:07PM 0:00.00 /usr/sbin/portmap root 91 0.0 0.3 1388 1024 ?? S 3:07PM 0:00.02 /usr/sbin/ntpd -c /etc/ntp.conf -p /var/run/ntpd.pid root 89 0.0 0.3 1336 972 ?? Ss 3:07PM 0:00.17 /usr/sbin/ntpd -c /etc/ntp.conf -p /var/run/ntpd.pid root 85 0.0 0.2 992 684 ?? Ss 3:07PM 0:00.09 /usr/sbin/syslogd -ss -m 0 -f /etc/syslog.conf root 27 0.0 0.0 212 96 ?? Is 8:07AM 0:00.00 adjkerntz -i root 9 0.0 0.0 0 0 ?? DL 8:07AM 0:00.02 (vnlru) root 8 0.0 0.0 0 0 ?? DL 8:07AM 0:01.42 (syncer) root 7 0.0 0.0 0 0 ?? DL 8:07AM 0:00.43 (bufdaemon) root 6 0.0 0.0 0 0 ?? DL 8:07AM 0:00.00 (vmdaemon) root 5 0.0 0.0 0 0 ?? DL 8:07AM 0:00.01 (pagedaemon) root 4 0.0 0.0 0 0 ?? DL 8:07AM 0:00.00 (usbtask) root 3 0.0 0.0 0 0 ?? DL 8:07AM 0:00.24 (usb0) root 2 0.0 0.0 0 0 ?? DL 8:07AM 0:00.00 (taskqueue) root 1 0.0 0.1 556 336 ?? SLs 8:07AM 0:00.20 /sbin/init -- root 33450 0.0 0.1 516 248 p1 R+ 3:42PM 0:00.00 ps aux root 0 0.0 0.0 0 0 ?? DLs 8:07AM 0:00.00 (swapper) root 33445 0.0 0.2 956 704 p0 S+ 3:42PM 0:00.00 /usr/libexec/elf/as -o opt_range.o - root@smith:~# Did I break something? (Again!?) -Kyle Mott From owner-freebsd-stable@FreeBSD.ORG Wed Jun 9 00:00:18 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4EAA216A4CE for ; Wed, 9 Jun 2004 00:00:18 +0000 (GMT) Received: from titania.auscert.org.au (gw.auscert.org.au [203.5.112.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5D71B43D4C for ; Wed, 9 Jun 2004 00:00:17 +0000 (GMT) (envelope-from freebsd-stable@auscert.org.au) Received: from app.auscert.org.au (app [10.0.1.192])i59002OH036877 for ; Wed, 9 Jun 2004 10:00:02 +1000 (EST) Received: from app.auscert.org.au (localhost [127.0.0.1]) by app.auscert.org.au (8.12.10/8.12.10) with ESMTP id i5900FiP094025 for ; Wed, 9 Jun 2004 10:00:15 +1000 (EST) Message-Id: <200406090000.i5900FiP094025@app.auscert.org.au> To: freebsd-stable@freebsd.org From: freebsd-stable@auscert.org.au In-Reply-To: Your message of "Tue, 08 Jun 2004 17:03:40 +1000." <200406080703.i5873eiP087024@app.auscert.org.au> Date: Wed, 09 Jun 2004 10:00:15 +1000 Subject: Re: Problems with 4.10 and mysql X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Jun 2004 00:00:18 -0000 > Could I ask how you are running MySQL in your jail? I have installed MySQL > in a jail environment on 4.10, but it won't start due to: > > Bind on unix socket: Permission denied In answer to my own question, I discovered that the permissions on my jailed /tmp were incorrect. Changing to the correct 1777 allows mysql to run just fine. -- Joel Hatton -- Security Analyst and FIRST Representative | Hotline: +61 7 3365 4417 AusCERT - Australia's national CERT | Fax: +61 7 3365 7031 The University of Queensland | WWW: www.auscert.org.au Qld 4072 Australia | Email: auscert@auscert.org.au From owner-freebsd-stable@FreeBSD.ORG Wed Jun 9 00:20:49 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D6BC016A4CE for ; Wed, 9 Jun 2004 00:20:49 +0000 (GMT) Received: from atomic.burghcom.com (atomic.burghcom.com [209.114.176.72]) by mx1.FreeBSD.org (Postfix) with SMTP id 327B343D31 for ; Wed, 9 Jun 2004 00:20:49 +0000 (GMT) (envelope-from jl@burghcom.com) Received: (qmail 50612 invoked by uid 65534); 9 Jun 2004 00:20:47 -0000 Received: from vz-169-097.adsl.stargate.net ([208.40.169.97]) (SquirrelMail authenticated user jl@burghcom.com) by atomic.burghcom.com with HTTP; Tue, 8 Jun 2004 20:20:47 -0400 (EDT) Message-ID: <1179.208.40.169.97.1086740447.squirrel@atomic.burghcom.com> In-Reply-To: <1169.208.40.169.97.1086740393.squirrel@atomic.burghcom.com> References: <001001c44dab$29125470$1414a8c0@kyle> <1169.208.40.169.97.1086740393.squirrel@atomic.burghcom.com> Date: Tue, 8 Jun 2004 20:20:47 -0400 (EDT) From: jl@burghcom.com To: freebsd-stable@freebsd.org User-Agent: SquirrelMail/1.4.2 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 Importance: Normal Subject: Re: 'ps aux' odditiy X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Jun 2004 00:20:50 -0000 > Seems normal to me. I don't remember ps output being in order, unless you pipe it to > sort. > > Jeff Love > Burgh Gaming > >> I just finished doing a buildworld in multi-user mode (which seemed to >> work OK... though only time will tell :D) to RELENG_4. However, when I >> run 'ps aux', the output seems to be inverted... IE processes with lower >> PID's are on the bottom. Is this normal? Here's an example: >> >> >> USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND >> root 33444 77.7 3.5 13640 13512 p0 R+ 3:42PM 0:02.73 >> /usr/libexec/cc1plus -quiet -dumpbase opt_range.cc -march=pentiumpro >> root 33443 4.2 0.4 1696 1540 p0 S+ 3:42PM 0:00.13 >> /usr/libexec/cpp0 -lang-c++ -I. -I. -I.. -I../bdb/build_unix -I../inn >> root 33442 0.0 0.1 308 200 p0 S+ 3:42PM 0:00.01 cc >> -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="/usr/local" -DDATADIR="/var/d >> root 33440 0.0 0.1 664 476 p0 S+ 3:42PM 0:00.01 /bin/sh >> ../depcomp cc -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="/usr/local >> root 33438 0.0 0.1 636 448 p0 S+ 3:42PM 0:00.00 /bin/sh >> -ec source='opt_range.cc' object='opt_range.o' libtool=no de >> nagios 33431 0.0 0.1 460 244 ?? S 3:42PM 0:00.00 /sbin/ping >> -n -c 5 192.168.30.1 >> nagios 33430 0.0 0.2 996 704 ?? S 3:42PM 0:00.01 >> /usr/local/libexec/nagios/check_ping -H 192.168.30.1 -w 100.0,20% -c >> nagios 33429 0.0 0.1 632 440 ?? S 3:42PM 0:00.00 sh -c >> /usr/local/libexec/nagios/check_ping -H 192.168.30.1 -w 100.0,2 >> nagios 33428 0.0 0.4 2408 1636 ?? S 3:42PM 0:00.00 >> /usr/local/bin/nagios -d /usr/local/etc/nagios/nagios.cfg >> [.. Taken out for the sake of brevity ..] >> daemon 92 0.0 0.2 960 628 ?? Is 3:07PM 0:00.00 >> /usr/sbin/portmap >> root 91 0.0 0.3 1388 1024 ?? S 3:07PM 0:00.02 >> /usr/sbin/ntpd -c /etc/ntp.conf -p /var/run/ntpd.pid >> root 89 0.0 0.3 1336 972 ?? Ss 3:07PM 0:00.17 >> /usr/sbin/ntpd -c /etc/ntp.conf -p /var/run/ntpd.pid >> root 85 0.0 0.2 992 684 ?? Ss 3:07PM 0:00.09 >> /usr/sbin/syslogd -ss -m 0 -f /etc/syslog.conf >> root 27 0.0 0.0 212 96 ?? Is 8:07AM 0:00.00 adjkerntz >> -i >> root 9 0.0 0.0 0 0 ?? DL 8:07AM 0:00.02 (vnlru) >> root 8 0.0 0.0 0 0 ?? DL 8:07AM 0:01.42 (syncer) >> root 7 0.0 0.0 0 0 ?? DL 8:07AM 0:00.43 >> (bufdaemon) >> root 6 0.0 0.0 0 0 ?? DL 8:07AM 0:00.00 >> (vmdaemon) >> root 5 0.0 0.0 0 0 ?? DL 8:07AM 0:00.01 >> (pagedaemon) >> root 4 0.0 0.0 0 0 ?? DL 8:07AM 0:00.00 (usbtask) >> root 3 0.0 0.0 0 0 ?? DL 8:07AM 0:00.24 (usb0) >> root 2 0.0 0.0 0 0 ?? DL 8:07AM 0:00.00 >> (taskqueue) >> root 1 0.0 0.1 556 336 ?? SLs 8:07AM 0:00.20 /sbin/init >> -- >> root 33450 0.0 0.1 516 248 p1 R+ 3:42PM 0:00.00 ps aux >> root 0 0.0 0.0 0 0 ?? DLs 8:07AM 0:00.00 (swapper) >> root 33445 0.0 0.2 956 704 p0 S+ 3:42PM 0:00.00 >> /usr/libexec/elf/as -o opt_range.o - >> root@smith:~# >> >> >> Did I break something? (Again!?) >> >> >> -Kyle Mott >> >> >> >> >> >> _______________________________________________ >> freebsd-stable@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-stable >> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" >> > > From owner-freebsd-stable@FreeBSD.ORG Wed Jun 9 00:35:10 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 608E316A4CE for ; Wed, 9 Jun 2004 00:35:10 +0000 (GMT) Received: from freebsd.takeda.tk (node-402413e2.sna.onnet.us.uu.net [64.36.19.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id B9EC343D48 for ; Wed, 9 Jun 2004 00:35:05 +0000 (GMT) (envelope-from takeda@takeda.tk) Received: from takeda.lan (takeda.lan [10.0.0.3]) by freebsd.takeda.tk (8.12.11/8.12.11) with ESMTP id i590Z27n086139; Tue, 8 Jun 2004 17:35:02 -0700 (PDT) (envelope-from takeda@takeda.tk) Date: Tue, 8 Jun 2004 17:34:33 -0700 From: Dariusz Kulinski X-Mailer: The Bat! (v2.01) X-Priority: 3 (Normal) Message-ID: <6110795953.20040608173433@takeda.tk> To: jl@burghcom.com In-Reply-To: <1179.208.40.169.97.1086740447.squirrel@atomic.burghcom.com> References: <001001c44dab$29125470$1414a8c0@kyle> <1169.208.40.169.97.1086740393.squirrel@atomic.burghcom.com> <1179.208.40.169.97.1086740447.squirrel@atomic.burghcom.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-stable@freebsd.org Subject: Re: 'ps aux' odditiy X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Jun 2004 00:35:10 -0000 Hello jl, Tuesday, June 8, 2004, 5:20:47 PM, you wrote: >> Seems normal to me. I don't remember ps output being in order, unless you pipe it to >> sort. Yeah it was, I just checkend and output is also randomized. It's because of how linklists in C works, when you add to linklist an element then the element is added on beginning, so actually on the beginning you should see programs that were recently started or forked, and on the end the oldest programs. -- Best regards, Dariusz mailto:takeda@takeda.tk CCNA, SCSA, SCNA, LPIC, MCP certified http://www.takeda.tk From owner-freebsd-stable@FreeBSD.ORG Wed Jun 9 01:18:33 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CC5D816A4CE for ; Wed, 9 Jun 2004 01:18:33 +0000 (GMT) Received: from mta9.adelphia.net (mta9.adelphia.net [68.168.78.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7BDD943D5D for ; Wed, 9 Jun 2004 01:18:33 +0000 (GMT) (envelope-from parv@chvlva.adelphia.net) Received: from default.chvlva.adelphia.net ([69.160.73.175]) by mta9.adelphia.netESMTP <20040609011832.TCMK26615.mta9.adelphia.net@default.chvlva.adelphia.net>; Tue, 8 Jun 2004 21:18:32 -0400 Received: by default.chvlva.adelphia.net (Postfix, from userid 1000) id CC3DF5573; Tue, 8 Jun 2004 21:19:34 -0400 (EDT) Date: Tue, 8 Jun 2004 21:19:34 -0400 From: Parv To: Chuck Swiger Message-ID: <20040609011934.GA393@moo.holy.cow> Mail-Followup-To: Chuck Swiger , freebsd-stable@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline cc: freebsd-stable@freebsd.org Subject: Re: 4.9-STABLE --> 4.8-RELEASE downgrade. Pitfalls? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Jun 2004 01:18:33 -0000 wrote Chuck Swiger thusly... > > Parv wrote: > [ ... ] > >Port making will fail if you keep ports trees updated at least due > >to use of new make(1) syntax introduced, in 4.9, in a port's > >Makefile. The problem i noticed was related to use of parenthesis > >in ".if ... .endif" structure. > > Thanks for the response, Parv, but ugh! I cringe at the notion that > continually tweaking make and the port Makefiles causes problems > with backwards compatibility to a still-supported FreeBSD release. That looks like the message that i sent to one of the FreeBSD lists. After searching PR database, it seems somebody else found the exact reason... http://www.FreeBSD.org/cgi/query-pr.cgi?pr=ports/60288 I think life w/ NetBSD would not be so bad via its FreeBSD ports equivalent "pkgsrc". One other known benefit, via pkgviews, is that multiple versions of a particular an be simultaneously installed/used at the cost of use of many symbolic links. Here are some things on pkgsrc ... http://www.NetBSD.org/~jlam/pkgsrcCon/presentations.html http://www.NetBSD.org/Documentation/pkgsrc/ http://www.NetBSD.org/Documentation/software/packages.html http://www.NetBSD.org/Documentation/software/pkgviews.pdf The last time i read papers/slides listed on "pkgsrcCon", ugly symbolic links would have been the only problem for me after the problem of potentially missing ported software that i currently use on FreeBSD. (No, i have not checked the pkgsrc list). Mind you that i have no experience of NetBSD or pkgsrc, so both may have their own problems currently unknown to me. - Parv -- From owner-freebsd-stable@FreeBSD.ORG Wed Jun 9 02:02:00 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0B3D416A4CE for ; Wed, 9 Jun 2004 02:02:00 +0000 (GMT) Received: from mta10.adelphia.net (mta10.adelphia.net [68.168.78.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id B490843D5D for ; Wed, 9 Jun 2004 02:01:59 +0000 (GMT) (envelope-from parv@chvlva.adelphia.net) Received: from default.chvlva.adelphia.net ([69.160.73.175]) by mta13.adelphia.netESMTP <20040609015132.FUDW13425.mta13.adelphia.net@default.chvlva.adelphia.net> for ; Tue, 8 Jun 2004 21:51:32 -0400 Received: by default.chvlva.adelphia.net (Postfix, from userid 1000) id 6B1A35573; Tue, 8 Jun 2004 21:52:49 -0400 (EDT) Date: Tue, 8 Jun 2004 21:52:49 -0400 From: Parv To: freebsd-stable@freebsd.org Message-ID: <20040609015249.GA2695@moo.holy.cow> Mail-Followup-To: freebsd-stable@freebsd.org References: <20040609011934.GA393@moo.holy.cow> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040609011934.GA393@moo.holy.cow> Subject: Re: 4.9-STABLE --> 4.8-RELEASE downgrade. Pitfalls? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Jun 2004 02:02:00 -0000 in message <20040609011934.GA393@moo.holy.cow>, wrote Parv thusly... > > One other known benefit, via pkgviews, is that multiple versions > of a particular an be simultaneously installed/used ... That should read instead... One other known benefit, via pkgviews, is that multiple versions of a particular port can be simultaneously installed/used ... - Parv -- From owner-freebsd-stable@FreeBSD.ORG Wed Jun 9 02:21:26 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8C12316A4CE for ; Wed, 9 Jun 2004 02:21:26 +0000 (GMT) Received: from smtp2.server.rpi.edu (smtp2.server.rpi.edu [128.113.2.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id ED8D943D39 for ; Wed, 9 Jun 2004 02:21:25 +0000 (GMT) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.netel.rpi.edu [128.113.24.47]) by smtp2.server.rpi.edu (8.12.8/8.12.8) with ESMTP id i592KxVu008028; Tue, 8 Jun 2004 22:20:59 -0400 Mime-Version: 1.0 X-Sender: drosih@mail.rpi.edu Message-Id: In-Reply-To: <001001c44dab$29125470$1414a8c0@kyle> References: <001001c44dab$29125470$1414a8c0@kyle> Date: Tue, 8 Jun 2004 22:20:58 -0400 To: "Kyle Mott" , From: Garance A Drosihn Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Scanned-By: CanIt (www . canit . ca) Subject: Re: 'ps aux' odditiy X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Jun 2004 02:21:26 -0000 At 3:51 PM -0700 6/8/04, Kyle Mott wrote: >I just finished doing a buildworld in multi-user mode (which seemed >to work OK... though only time will tell :D) to RELENG_4. However, >when I run 'ps aux', the output seems to be inverted... IE processes >with lower PID's are on the bottom. Is this normal? Here's an example: > > >USER PID %CPU %MEM VSZ RSS >root 33444 77.7 3.5 13640 ... >root 33443 4.2 0.4 1696 ... >root 33442 0.0 0.1 308 ... >root 33440 0.0 0.1 664 ... >root 33438 0.0 0.1 636 ... From the man page, `u' implies `-r', which means "sort by CPU time". Processes with the exact same CPU time will be sorted by PID, as you were expecting. It used to be that processes with "close to the same CPU time" were treated as being exactly the same (due to round-off error), and thus it used be much more likely to see many processes listed in PID order. It's possible that there's some bug there, but the last time I looked into this it seemed to be doing the right thing. I plan to look into it again, because someone else has reported that there might be a bug in there. -- Garance Alistair Drosehn = gad@gilead.netel.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu From owner-freebsd-stable@FreeBSD.ORG Wed Jun 9 06:30:48 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4F08016A4CE for ; Wed, 9 Jun 2004 06:30:48 +0000 (GMT) Received: from xraided.net (xraided.net [66.88.26.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2F96E43D60 for ; Wed, 9 Jun 2004 06:30:48 +0000 (GMT) (envelope-from kyle@xraided.net) Received: from [66.88.29.118] (account kyle HELO kyle) by xraided.net (CommuniGate Pro SMTP 4.1.8) with ESMTP id 1730731 for freebsd-stable@freebsd.org; Tue, 08 Jun 2004 23:30:46 -0700 From: "Kyle Mott" To: Date: Tue, 8 Jun 2004 23:30:43 -0700 Message-ID: <000301c44deb$4a78f1b0$1414a8c0@kyle> MIME-Version: 1.0 X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: Mysql Problems X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Jun 2004 06:30:48 -0000 I've now done buildworld twice, to no avail; for some reason, every 1-3 minutes a new mysql process is started, for which looks like no apparent reason. Mysql on this machine is used very rarely, though it does get checked by Nagios regularly. I've had a tough time finding any logs for mysql, which ended up being in /var/db/mysql but they didn't tell me anything of relevance (that I can see). I built mysql with linuxthreads, and I'm using my-small.cnf, not sure if they could be contributing to the odd behavior. I've also tried rebuilding the port (/usr/ports/databases/mysql40-server/) several times, which didn't seem to make a difference. Right now, after being up for 15 minutes, there's 55 mysql processes (when there's normally < 15). When I run 'top', it says the state for most of the mysql processes is 'pause', and they are taking very little resources (thank god). The only other thing I have done is move /var/db to /usr/db, and then 'ln -s /usr/db /var/db', but everything else seems to be fine (locate, pgsql, nut, etc.). I thought permissions might have been wrong, because /var/db/mysql was 0700, so I made it 0755, which didn't change anything. Any suggestions? I have 2 other systems that I need to update fairly soon, but I'm afraid to if this is going to happen. :< -Kyle Mott From owner-freebsd-stable@FreeBSD.ORG Wed Jun 9 06:42:26 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5459916A4CE for ; Wed, 9 Jun 2004 06:42:26 +0000 (GMT) Received: from auk2.snu.ac.kr (auk2.snu.ac.kr [147.46.100.32]) by mx1.FreeBSD.org (Postfix) with ESMTP id F308B43D1D for ; Wed, 9 Jun 2004 06:42:25 +0000 (GMT) (envelope-from stopspam@users.sourceforge.net) Received: from [147.46.44.181] (stopspam@users.sourceforge.net) by auk2.snu.ac.kr (Terrace Internet Messaging Server) with ESMTP id 2004060915:20:13:029532.13435.2633083824 for ; Wed, 09 Jun 2004 15:20:13 +0900 (KST) Message-ID: <40C6B14B.70605@users.sourceforge.net> Date: Wed, 09 Jun 2004 15:42:19 +0900 From: Rob User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040507 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-stable@freebsd.org References: <000301c44deb$4a78f1b0$1414a8c0@kyle> In-Reply-To: <000301c44deb$4a78f1b0$1414a8c0@kyle> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-TERRACE-SPAMMARK: NO (SR:8.48) (by Terrace) Subject: Re: Mysql Problems X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Jun 2004 06:42:26 -0000 Kyle Mott wrote: > > I've now done buildworld twice, to no avail; for some reason, every 1-3 > minutes a new mysql process is started, for which looks like no apparent > reason. Mysql on this machine is used very rarely, though it does get Today (June 9th) I update my world and kernel, and I encountered a big problem; my web-browsers (mozilla and opera) cannot resolve hostnames anymore. I have then downgraded to Stable world/kernel of June 1st, which solved the problem. Next I updated to June 5th, which was also OK. At present I'm trying June 7th, trying to zoom in on what commit(s) have caused this problem. I don't know anything of Mysql, but I just wondered if there's a connection. Regards, Rob. From owner-freebsd-stable@FreeBSD.ORG Wed Jun 9 09:00:25 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 194DB16A4CE for ; Wed, 9 Jun 2004 09:00:25 +0000 (GMT) Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by mx1.FreeBSD.org (Postfix) with ESMTP id AA25043D2F for ; Wed, 9 Jun 2004 09:00:24 +0000 (GMT) (envelope-from freebsd-stable@m.gmane.org) Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1BXywQ-00070r-00 for ; Wed, 09 Jun 2004 11:00:14 +0200 Received: from ns-ilmail3.ns-systems.com ([62.90.139.134]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 09 Jun 2004 11:00:14 +0200 Received: from haim by ns-ilmail3.ns-systems.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 09 Jun 2004 11:00:14 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-stable@freebsd.org From: Haim Ashkenazi Date: Wed, 09 Jun 2004 12:00:09 +0300 Lines: 21 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: ns-ilmail3.ns-systems.com User-Agent: Pan/0.14.2.91 (As She Crawled Across the Table (Debian GNU/Linux)) Sender: news Subject: newbie question about compiling kernel on compaq proliant 6400R X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Jun 2004 09:00:25 -0000 Hi I have compaq proliant 6400R dual xeon that I just installed with freebsd 4.10 (my first freebsd, although I have a lot of experience in linux). I tried to compile an SMP kernel (uncommented the two smp options and commented the i386 and i486 cpu). the installation went well but it doesn't boot. it hangs as soon as it start to boot (I'm not near the computer so I can't tell where did it hang, my friend who was there couldn't make something out of it, he only said that it hang after 2 or 3 lines, also I couldn't find anything in /var/log/messages). I was wondering if the GENERIC file is the one that the default kernel is compiled from. any ideas? also, I need some advise about firewall. I need a basic firewall (just to protect this machine, the network is already behind firewall). do I need to compile kernel IPFIREWALL support? thanx -- Haim From owner-freebsd-stable@FreeBSD.ORG Wed Jun 9 10:09:04 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2DC5416A4CE for ; Wed, 9 Jun 2004 10:09:04 +0000 (GMT) Received: from pan.univale.br (pinguim.univale.br [200.243.17.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6997843D54 for ; Wed, 9 Jun 2004 10:09:02 +0000 (GMT) (envelope-from mafbotelho@univale.br) Received: from univale.br ([192.168.4.71]) by pan.univale.br (8.12.5/) with ESMTP id i59A8wHJ031226 for ; Wed, 9 Jun 2004 07:08:59 -0300 Message-ID: <40C6E171.50500@univale.br> Date: Wed, 09 Jun 2004 07:07:45 -0300 From: =?ISO-8859-1?Q?Marco_Ant=F4nio?= Organization: Univale User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5) Gecko/20040524 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-stable@freebsd.org X-Enigmail-Version: 0.81.7.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Subject: Fastforwarding or forwarding? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Jun 2004 10:09:04 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi! Which is the different between net.inet.ip.forwarding and net.inet.ip.fastforwarding? Do I have to use only one? I'm using the version 5.2.1-RC2. Thanks. ____________ Marco Antônio -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFAxuFxRFusWIXGT30RAmifAJ9ls8dVgoPtvK+Fd8hXxQTcB8Z3jQCfYcy+ jn6BmsfixCIolJqMQN5i85E= =g5kB -----END PGP SIGNATURE----- From owner-freebsd-stable@FreeBSD.ORG Wed Jun 9 10:15:07 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E71FB16A4CE for ; Wed, 9 Jun 2004 10:15:07 +0000 (GMT) Received: from smtp2.eunet.yu (smtp2.EUnet.yu [194.247.192.242]) by mx1.FreeBSD.org (Postfix) with ESMTP id B4E6443D1D for ; Wed, 9 Jun 2004 10:15:06 +0000 (GMT) (envelope-from kolicz@eunet.yu) Received: from smtp2.EUnet.yu (root@localhost) by smtp2.eunet.yu (8.12.10/8.12.10) with SMTP id i59AEvVf014057 for ; Wed, 9 Jun 2004 12:14:57 +0200 Received: from kolic.net (P-2.3.EUnet.yu [213.240.2.3]) by smtp2.eunet.yu (8.12.10/8.12.10) with ESMTP id i59AEunc013871 for ; Wed, 9 Jun 2004 12:14:56 +0200 Received: by kolic.net (Postfix, from userid 1001) id 24B0442A5; Wed, 9 Jun 2004 12:13:35 +0200 (CEST) Date: Wed, 9 Jun 2004 12:13:35 +0200 From: Zoran Kolic To: freebsd-stable Message-ID: <20040609101335.GA581@kolic.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Subject: question about cd device X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Jun 2004 10:15:08 -0000 For a long time I'm trying to debug behaviour of my cd drive. After replacement it is sony now. When I: dd if=/dev/cd0 of=my.file bs=any goes error message about wrong atribute. Music cd in drive gives "/dev/acd0txx" members via devfs. I've tried every app that copies title to wav, but in vain. I.e. "dagrab" shows all songs and duration with "i" flag. When I start a job, it waits for something. No process in "top" nor "ps". I assume that I don't understand raw approach to cd and all issue stoped here. Devfs is "live" system, so I cannot change anything. Could be some item with device should be added to the kernel? Or some symbolic link? Old cd device gives the same result. And branch 4 (4.7 if I remember). BTW, lot of domains are not able this days to submit letter to freebsd lists. "Spamcops" add bunch of servers to the black list. ZK From owner-freebsd-stable@FreeBSD.ORG Wed Jun 9 10:28:57 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 25EE016A4CE for ; Wed, 9 Jun 2004 10:28:57 +0000 (GMT) Received: from auk1.snu.ac.kr (auk1.snu.ac.kr [147.46.100.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id CE82A43D48 for ; Wed, 9 Jun 2004 10:28:56 +0000 (GMT) (envelope-from stopspam@users.sourceforge.net) Received: from [147.46.44.181] (stopspam@users.sourceforge.net) by auk1.snu.ac.kr (Terrace Internet Messaging Server) with ESMTP id 2004060919:28:50:160482.24301.2618194864 for ; Wed, 09 Jun 2004 19:28:50 +0900 (KST) Message-ID: <40C6E665.1020104@users.sourceforge.net> Date: Wed, 09 Jun 2004 19:28:53 +0900 From: Rob User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040507 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-TERRACE-SPAMMARK: NO (SR:8.16) (by Terrace) Subject: Stable-CVS commit on June 8: hostname lookup failures !?! X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Jun 2004 10:28:57 -0000 Hi, I upgraded my kernel & world from cvs2.freebsd.org (time stamp about June 9th 8:00 UTC). After that, the browsers mozilla and opera hang when looking up hostnames (but konqueror worked fine, strange, isn't it?). I booted up with kernel.old, to no avail. So I concluded the problem is in the the world upgrade. With up- and downgrading, I narrowed down the offending commit to CVS: Establishing multiplexed-mode data connection Running Updating collection src-all/cvs Edit src/bin/ps/ps.c Add delta 1.30.2.15 2004.06.08.00.11.26 gad Edit src/lib/libc/stdio/fclose.c Add delta 1.8.2.1 2004.06.08.13.15.01 hmp Edit src/sys/net/bpf.h Add delta 1.21.2.5 2004.06.08.21.16.42 dwmalone Shutting down connection to server Finished successfully Does anyone have an idea what is the connection between my mozilla/opera's behaviour and these commits? Is this a bug in Stable? Regards, Rob. From owner-freebsd-stable@FreeBSD.ORG Wed Jun 9 10:51:54 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 38B5516A4D0 for ; Wed, 9 Jun 2004 10:51:54 +0000 (GMT) Received: from www.cotse.net (packetderm.com [68.166.125.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 73F5843D45 for ; Wed, 9 Jun 2004 10:51:53 +0000 (GMT) (envelope-from freebsd@jyroscop.cotse.net) Received: from localhost (localhost[127.0.0.1]) (authenticated bits=0) by www.cotse.net (5.7.4/5.7.4) with ESMTP id i59Apjc7012035; Wed, 9 Jun 2004 06:51:45 -0400 (EDT) (envelope-from freebsd@jyroscop.cotse.net) Received: from 127.0.0.1 by www.cotse.net with HTTP; Wed, 9 Jun 2004 06:51:45 -0400 (EDT) Message-ID: In-Reply-To: <40C6E171.50500@univale.br> References: <40C6E171.50500@univale.br> Date: Wed, 9 Jun 2004 06:51:45 -0400 (EDT) From: "Stephen L Martin" To: Marco =?iso-8859-1?Q?Ant=F4nio?= X-Abuse-To: abuse@dissimulo.com MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 Importance: Normal cc: freebsd-stable@freebsd.org Subject: Re: Fastforwarding or forwarding? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Jun 2004 10:51:54 -0000 Hi Marco, Taken from inet(4): IPCTL_FASTFORWARDING (ip.fastforwarding) Boolean: enable/disable the use of fast IP forwarding code. Defaults to off. When fast forwarding is enabled, IP packets are for-warded directly to the appropriate network inter-face with a minimal validity checking, which greatly improves the throughput. On the other hand, they bypass the standard procedures, such as IP option processing and ipfirewall(4) checking. It is not guaranteed that every packet will be fast-forwarded. I think the bigger issue is that it bypasses firewall checks, so make sure if you use this, not use it on a firewall. -SLM > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi! > > Which is the different between net.inet.ip.forwarding and > net.inet.ip.fastforwarding? Do I have to use only one? > > I'm using the version 5.2.1-RC2. > > Thanks. > > ____________ > Marco Antônio > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.3 (FreeBSD) > Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org > > iD8DBQFAxuFxRFusWIXGT30RAmifAJ9ls8dVgoPtvK+Fd8hXxQTcB8Z3jQCfYcy+ > jn6BmsfixCIolJqMQN5i85E= > =g5kB > -----END PGP SIGNATURE----- From owner-freebsd-stable@FreeBSD.ORG Wed Jun 9 11:13:27 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 65C4F16A4CE for ; Wed, 9 Jun 2004 11:13:27 +0000 (GMT) Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8D93043D2F for ; Wed, 9 Jun 2004 11:13:26 +0000 (GMT) (envelope-from marck@rinet.ru) Received: from localhost (localhost [127.0.0.1]) by woozle.rinet.ru (8.12.11/8.12.11) with ESMTP id i59BDN9L056565; Wed, 9 Jun 2004 15:13:23 +0400 (MSD) (envelope-from marck@rinet.ru) Date: Wed, 9 Jun 2004 15:13:23 +0400 (MSD) From: Dmitry Morozovsky To: Rob In-Reply-To: <40C6E665.1020104@users.sourceforge.net> Message-ID: <20040609150946.B776@woozle.rinet.ru> References: <40C6E665.1020104@users.sourceforge.net> X-NCC-RegID: ru.rinet MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-stable@freebsd.org Subject: Re: Stable-CVS commit on June 8: hostname lookup failures !?! X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Jun 2004 11:13:27 -0000 On Wed, 9 Jun 2004, Rob wrote: R> I upgraded my kernel & world from cvs2.freebsd.org (time stamp about R> June 9th 8:00 UTC). After that, the browsers mozilla and opera hang R> when looking up hostnames (but konqueror worked fine, strange, isn't it?). R> R> I booted up with kernel.old, to no avail. So I concluded the problem R> is in the the world upgrade. R> R> With up- and downgrading, I narrowed down the offending commit to CVS: R> R> Establishing multiplexed-mode data connection R> Running R> Updating collection src-all/cvs R> Edit src/bin/ps/ps.c R> Add delta 1.30.2.15 2004.06.08.00.11.26 gad R> Edit src/lib/libc/stdio/fclose.c R> Add delta 1.8.2.1 2004.06.08.13.15.01 hmp R> Edit src/sys/net/bpf.h R> Add delta 1.21.2.5 2004.06.08.21.16.42 dwmalone R> Shutting down connection to server R> Finished successfully R> R> Does anyone have an idea what is the connection between my mozilla/opera's R> behaviour and these commits? Is this a bug in Stable? It seems reverting revision 1.8.2.1 of src/lib/libc/stdio/fclose.c should band-aid the problem: marck@woozle:/usr/src/lib/libc/stdio> cvs diff fclose.c Index: fclose.c =================================================================== RCS file: /home/ncvs/src/lib/libc/stdio/fclose.c,v retrieving revision 1.8.2.1 diff -u -r1.8.2.1 fclose.c --- fclose.c 8 Jun 2004 13:15:01 -0000 1.8.2.1 +++ fclose.c 9 Jun 2004 11:13:00 -0000 @@ -68,9 +68,9 @@ FREEUB(fp); if (HASLB(fp)) FREELB(fp); + FUNLOCKFILE(fp); fp->_file = -1; fp->_r = fp->_w = 0; /* Mess up if reaccessed. */ fp->_flags = 0; /* Release this FILE for reuse. */ - FUNLOCKFILE(fp); return (r); } Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------ From owner-freebsd-stable@FreeBSD.ORG Wed Jun 9 11:24:08 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CCC7A16A4DC for ; Wed, 9 Jun 2004 11:24:08 +0000 (GMT) Received: from auk1.snu.ac.kr (auk1.snu.ac.kr [147.46.100.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5EC0843D55 for ; Wed, 9 Jun 2004 11:24:08 +0000 (GMT) (envelope-from stopspam@users.sourceforge.net) Received: from [147.46.44.181] (stopspam@users.sourceforge.net) by auk1.snu.ac.kr (Terrace Internet Messaging Server) with ESMTP id 2004060920:24:01:348947.24301.2406009776 for ; Wed, 09 Jun 2004 20:24:01 +0900 (KST) Message-ID: <40C6F355.8050209@users.sourceforge.net> Date: Wed, 09 Jun 2004 20:24:05 +0900 From: Rob User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040507 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-stable@freebsd.org References: <40C6E665.1020104@users.sourceforge.net> <20040609150946.B776@woozle.rinet.ru> In-Reply-To: <20040609150946.B776@woozle.rinet.ru> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-TERRACE-SPAMMARK: NO (SR:7.79) (by Terrace) Subject: Re: Stable-CVS commit on June 8: hostname lookup failures !?! X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Jun 2004 11:24:09 -0000 Dmitry Morozovsky wrote: > On Wed, 9 Jun 2004, Rob wrote: > > R> I upgraded my kernel & world from cvs2.freebsd.org (time stamp about > R> June 9th 8:00 UTC). After that, the browsers mozilla and opera hang > R> when looking up hostnames (but konqueror worked fine, strange, isn't it?). > R> > R> I booted up with kernel.old, to no avail. So I concluded the problem > R> is in the the world upgrade. > R> > R> With up- and downgrading, I narrowed down the offending commit to CVS: > R> > R> Establishing multiplexed-mode data connection > R> Running > R> Updating collection src-all/cvs > R> Edit src/bin/ps/ps.c > R> Add delta 1.30.2.15 2004.06.08.00.11.26 gad > R> Edit src/lib/libc/stdio/fclose.c > R> Add delta 1.8.2.1 2004.06.08.13.15.01 hmp > R> Edit src/sys/net/bpf.h > R> Add delta 1.21.2.5 2004.06.08.21.16.42 dwmalone > R> Shutting down connection to server > R> Finished successfully > R> > R> Does anyone have an idea what is the connection between my mozilla/opera's > R> behaviour and these commits? Is this a bug in Stable? > > It seems reverting revision 1.8.2.1 of src/lib/libc/stdio/fclose.c should > band-aid the problem: > > marck@woozle:/usr/src/lib/libc/stdio> cvs diff fclose.c > Index: fclose.c > =================================================================== > RCS file: /home/ncvs/src/lib/libc/stdio/fclose.c,v > retrieving revision 1.8.2.1 > diff -u -r1.8.2.1 fclose.c > --- fclose.c 8 Jun 2004 13:15:01 -0000 1.8.2.1 > +++ fclose.c 9 Jun 2004 11:13:00 -0000 > @@ -68,9 +68,9 @@ > FREEUB(fp); > if (HASLB(fp)) > FREELB(fp); > + FUNLOCKFILE(fp); > fp->_file = -1; > fp->_r = fp->_w = 0; /* Mess up if reaccessed. */ > fp->_flags = 0; /* Release this FILE for reuse. */ > - FUNLOCKFILE(fp); > return (r); > } Yes, indeed this is the offending commit. I hope someone will revert this in CVS. Regards, Rob. From owner-freebsd-stable@FreeBSD.ORG Wed Jun 9 12:28:21 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A661D16A4CE for ; Wed, 9 Jun 2004 12:28:21 +0000 (GMT) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9465C43D1F for ; Wed, 9 Jun 2004 12:28:18 +0000 (GMT) (envelope-from doconnor@gsoft.com.au) Received: from inchoate.gsoft.com.au (localhost [127.0.0.1]) (authenticated bits=0) by cain.gsoft.com.au (8.12.11/8.12.10) with ESMTP id i59CS3aa079114; Wed, 9 Jun 2004 21:58:04 +0930 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: freebsd-stable@freebsd.org Date: Wed, 9 Jun 2004 21:57:54 +0930 User-Agent: KMail/1.6.2 References: <20040609101335.GA581@kolic.net> In-Reply-To: <20040609101335.GA581@kolic.net> MIME-Version: 1.0 Content-Disposition: inline Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-Id: <200406092158.02441.doconnor@gsoft.com.au> X-Spam-Score: -4.1 () CARRIAGE_RETURNS,IN_REP_TO,PGP_SIGNATURE,REFERENCES,SPAM_PHRASE_00_01,USER_AGENT,USER_AGENT_KMAIL X-Scanned-By: MIMEDefang 2.16 (www . roaringpenguin . com / mimedefang) cc: Zoran Kolic Subject: Re: question about cd device X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Jun 2004 12:28:21 -0000 =2D----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, 9 Jun 2004 19:43, Zoran Kolic wrote: > For a long time I'm trying > to debug behaviour of my > cd drive. After replacement > it is sony now. When I: > dd if=3D/dev/cd0 of=3Dmy.file bs=3Dany > goes error message about wrong > atribute. Music cd in drive Wrong attribute? try bs=3D2352 =2D --=20 Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C =2D----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAxwJS5ZPcIHs/zowRAv0lAJ9jtwIc/wo00UjwOb/GROsUTW2tVgCfflaZ yprVUwXTI7VGeQH4CiOxE44=3D =3DSEMF =2D----END PGP SIGNATURE----- From owner-freebsd-stable@FreeBSD.ORG Wed Jun 9 12:34:03 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4D3A816A4CE for ; Wed, 9 Jun 2004 12:34:03 +0000 (GMT) Received: from rwcrmhc13.comcast.net (rwcrmhc13.comcast.net [204.127.198.39]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0BF9543D46 for ; Wed, 9 Jun 2004 12:34:03 +0000 (GMT) (envelope-from DougB@freebsd.org) Received: from lap (c-24-130-110-32.we.client2.attbi.com[24.130.110.32]) by comcast.net (rwcrmhc13) with SMTP id <2004060912334901500fd1fse>; Wed, 9 Jun 2004 12:33:49 +0000 Date: Wed, 9 Jun 2004 05:33:50 -0700 (PDT) From: Doug Barton To: freebsd-stable@freebsd.org In-Reply-To: <200406080905.i5895Nt01566@Mail.NOSPAM.DynDNS.dK> Message-ID: <20040609053115.Y5839@ync.qbhto.arg> References: <200406080905.i5895Nt01566@Mail.NOSPAM.DynDNS.dK> Organization: http://www.FreeBSD.org/ X-message-flag: Outlook -- Not just for spreading viruses anymore! MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: Re: Another unimportant BIND named patch X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Jun 2004 12:34:03 -0000 On Tue, 8 Jun 2004, Barry Bouwsma wrote: > [drop the above ipv6-only address that only sometimes works from the > recipients and I'll catch up later from the archives, thanks] This is just plain annoying. If you want to correspond with people, use an e-mail address that works. > The BIND named source code supplied with FreeBSD RELENG_4 has a > trivial error, where an IPv6 problem is logged as an IPv4 problem. This is fixed in the release candidate version of the latest BIND 8. Because it's a trivial item, it's not worth patching now, it should be fixed in the next import instead. Doug -- This .signature sanitized for your protection From owner-freebsd-stable@FreeBSD.ORG Wed Jun 9 13:13:24 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D58D016A4CE for ; Wed, 9 Jun 2004 13:13:24 +0000 (GMT) Received: from gen129.n001.c02.escapebox.net (gen129.n001.c02.escapebox.net [213.73.91.129]) by mx1.FreeBSD.org (Postfix) with ESMTP id 39AA143D46 for ; Wed, 9 Jun 2004 13:13:24 +0000 (GMT) (envelope-from gemini@geminix.org) Message-ID: <40C70CF0.5080304@geminix.org> Date: Wed, 09 Jun 2004 15:13:20 +0200 From: Uwe Doering Organization: Private UNIX Site User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040119 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-stable@freebsd.org References: <200406080903.i5893AO01551@Mail.NOSPAM.DynDNS.dK> In-Reply-To: <200406080903.i5893AO01551@Mail.NOSPAM.DynDNS.dK> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Received: from gemini by geminix.org with asmtp (TLSv1:AES256-SHA:256) (Exim 3.36 #1) id 1BY2tO-000PnX-00; Wed, 09 Jun 2004 15:13:22 +0200 Subject: Re: patch for unionfs mounts X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Jun 2004 13:13:25 -0000 Barry Bouwsma wrote: > [...] > Without this patch, a getcwd() call (from csh, and others, but > apparently not bash) returns the upper unionfs-mounted layer. > This breaks things like `make world' and its ilk when one mounts, > say, /usr/source-hacks atop /usr/src (perhaps additional intermediate > directories, like /usr/local/source-hacks, are necessary to demonstrate > the problem). > > In other words, when one is in /usr/src (or /usr/local/source-hacks) > and asks for getcwd(), several shells return /usr/local/source-hacks > instead of /usr/src, without this patch, which as noted breaks > buildworlds. (Or perhaps in subdirectories -- I don't recall) > > After applying this patch, a getcwd() call returns /usr/src, no > matter what shell, which allows buildworlds to complete. I've > had this patch for years, and never had any problems with it. > I've only had problems without including it. > > The trivial one-liner patch is as follows: > > --- union_vnops.c-ORIG Tue Jan 13 22:20:02 2004 > +++ union_vnops.c Tue May 11 14:49:02 2004 > @@ -963,6 +963,8 @@ > union_newsize(ap->a_vp, VNOVAL, vap->va_size); > } > > + ap->a_vap->va_fsid = ap->a_vp->v_mount->mnt_stat.f_fsid.val[0]; > + > if ((vap != ap->a_vap) && (vap->va_type == VDIR)) > ap->a_vap->va_nlink += vap->va_nlink; > return (0); > > > > > As noted, without this, builds fail with a union-mounted > directory of hacks atop the pristine virginal /usr/src. With > this patch, no ill effects have been noted. I'm afraid there is a problem with this approach. 'va_fsid' and 'va_fileid' end up as 'st_dev' and 'st_ino' on the application level ("struct stat"). The combination of these two variables is supposed to be unique, at least by convention. Software relies on the assumption that if 'st_dev' and 'st_ino' are identical for two files it is actually the same file. Now, by forcing 'va_fsid', and therefore 'st_dev', to the same value (the unionfs mount's file system id) regardless of which device (file system) the file is actually located on this patch introduces ambiguity. There can be two different files with the same 'va_fileid' value (the inode number, for instance), living on two different file systems, that now appear to be the same file due to the "fake" value in 'va_fsid'. This is going to break existing software. So I recommend against committing this patch to the FreeBSD CVS repository. I have no idea how else to fix your initial problem, but this patch is not the way to do it, IMHO. Uwe -- Uwe Doering | EscapeBox - Managed On-Demand UNIX Servers gemini@geminix.org | http://www.escapebox.net From owner-freebsd-stable@FreeBSD.ORG Tue Jun 8 12:46:02 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1A04616A4CE for ; Tue, 8 Jun 2004 12:46:02 +0000 (GMT) Received: from mx1.versus.com (mx3.versushosting.com [205.205.118.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id A9CC043D2D for ; Tue, 8 Jun 2004 12:46:01 +0000 (GMT) (envelope-from elalancette@versus.com) Received: from versus.com (boyle-new.versus.com [206.83.39.36]) by mx1.versus.com (Postfix) with ESMTP id 3F7E072C9 for ; Tue, 8 Jun 2004 08:45:49 -0400 (EDT) content-class: urn:content-classes:message MIME-Version: 1.0 Date: Tue, 8 Jun 2004 08:45:49 -0400 Message-ID: <5B38BEB87ED6C449BD0CC4770F69857F01C41529@boyle.versus.com> X-MimeOLE: Produced By Microsoft Exchange V6.0.6375.0 X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: about up-to-date version Thread-Index: AcRNVoZAfkdHWKblRy26jnUUkJ4IDg== From: "Erik Lalancette" To: X-Mailman-Approved-At: Wed, 09 Jun 2004 13:27:41 +0000 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: about up-to-date version X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Jun 2004 12:46:02 -0000 Hi, I need to know how is possible to keep my freebsd version up-to-date automatically. Thanks =20 Erik Lalancette From owner-freebsd-stable@FreeBSD.ORG Tue Jun 8 20:17:40 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8B27A16A4CE for ; Tue, 8 Jun 2004 20:17:40 +0000 (GMT) Received: from hotmail.com (bay13-f41.bay13.hotmail.com [64.4.31.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id 793BA43D39 for ; Tue, 8 Jun 2004 20:17:40 +0000 (GMT) (envelope-from najeebzohaib@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Tue, 8 Jun 2004 13:17:40 -0700 Received: from 202.83.166.183 by by13fd.bay13.hotmail.msn.com with HTTP; Tue, 08 Jun 2004 20:17:40 GMT X-Originating-IP: [202.83.166.183] X-Originating-Email: [najeebzohaib@hotmail.com] X-Sender: najeebzohaib@hotmail.com From: "zohaib najeeb" To: freebsd-stable@freebsd.org Date: Tue, 08 Jun 2004 20:17:40 +0000 Message-ID: X-OriginalArrivalTime: 08 Jun 2004 20:17:40.0393 (UTC) FILETIME=[A6038190:01C44D95] X-Mailman-Approved-At: Wed, 09 Jun 2004 13:27:41 +0000 MIME-Version: 1.0 Content-Type: text/plain X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: implementation of IPv6 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Jun 2004 20:17:40 -0000 Hi, I need to know how to implement IPv6 on FreeBSD systems. I am new to FreeBSD. I am hoping someone could help me out and/or refer to some usefull sites. _________________________________________________________________ MSN 8 helps [1]ELIMINATE E-MAIL VIRUSES. Get 2 months FREE*. References 1. http://g.msn.com/8HMBEN/2752??PS=47575 From owner-freebsd-stable@FreeBSD.ORG Wed Jun 9 14:32:48 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 21F2D16A4CE; Wed, 9 Jun 2004 14:32:48 +0000 (GMT) Received: from core.zp.ua (core.zp.ua [193.108.112.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1E48443D5D; Wed, 9 Jun 2004 14:32:45 +0000 (GMT) (envelope-from oleg@core.zp.ua) Received: from core.zp.ua (oleg@localhost [127.0.0.1]) by core.zp.ua with ESMTPœ id i59EWXCt053910; Wed, 9 Jun 2004 17:32:33 +0300 (EEST) (envelope-from oleg@core.zp.ua)œ Received: (from oleg@localhost) by core.zp.ua id i59EWX3j053908; Wed, 9 Jun 2004 17:32:33 +0300 (EEST) Date: Wed, 9 Jun 2004 17:32:32 +0300 From: "Oleg V. Nauman" To: Hiten Pandya Message-ID: <20040609143232.GG50128@core.zp.ua> Mail-Followup-To: Hiten Pandya , cvs-all@freebsd.org, stable@freebsd.org References: <200406081315.i58DF1Q3068715@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <200406081315.i58DF1Q3068715@repoman.freebsd.org> User-Agent: Mutt/1.5.6i cc: stable@freebsd.org cc: cvs-all@freebsd.org Subject: Re: cvs commit: src/lib/libc/stdio fclose.c X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Jun 2004 14:32:48 -0000 On Tue, Jun 08, 2004 at 01:15:01PM +0000, Hiten Pandya wrote: > hmp 2004-06-08 13:15:01 UTC > > FreeBSD src repository > > Modified files: (Branch: RELENG_4) > lib/libc/stdio fclose.c > Log: > Move the call to FUNLOCKFILE(fp) after modification of the fp's fields. This commit stops working my freeradius with diagnosing Error: WARNING: Unresponsive child (id 135668736) for request 24 Backing out this changes fixes my problem. -- NO37-RIPE From owner-freebsd-stable@FreeBSD.ORG Wed Jun 9 14:58:08 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D590116A4CE for ; Wed, 9 Jun 2004 14:58:08 +0000 (GMT) Received: from mail.gmx.net (mail.gmx.de [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 0E8C143D1D for ; Wed, 9 Jun 2004 14:58:08 +0000 (GMT) (envelope-from tomonage2@gmx.de) Received: (qmail 28532 invoked by uid 65534); 9 Jun 2004 14:58:06 -0000 Received: from pD9E77597.dip.t-dialin.net (EHLO [192.168.0.196]) (217.231.117.151) by mail.gmx.net (mp016) with SMTP; 09 Jun 2004 16:58:06 +0200 X-Authenticated: #7843803 User-Agent: Microsoft-Entourage/10.1.4.030702.0 Date: Wed, 09 Jun 2004 16:58:03 +0200 From: Jonathan Weiss To: Erik Lalancette , Message-ID: In-Reply-To: <5B38BEB87ED6C449BD0CC4770F69857F01C41529@boyle.versus.com> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Subject: Re: about up-to-date version X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Jun 2004 14:58:08 -0000 > Hi, > I need to know how is possible to keep my freebsd version > up-to-date automatically. > Thanks You need to read the handbook (http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html). Especialy look at these chapters: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cutting-edge.html http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html Use cvsup to sync your tree to the up-to-date version. Cron is your friend. Have also a look at freebsd-update: http://www.daemonology.net/freebsd-update/ http://www.freshports.org/security/freebsd-update/ > Erik Lalancette Greets, Jonathan _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > From owner-freebsd-stable@FreeBSD.ORG Wed Jun 9 15:05:38 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9A30916A4CE for ; Wed, 9 Jun 2004 15:05:38 +0000 (GMT) Received: from auk2.snu.ac.kr (auk2.snu.ac.kr [147.46.100.32]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3D1E243D58 for ; Wed, 9 Jun 2004 15:05:38 +0000 (GMT) (envelope-from stopspam@users.sourceforge.net) Received: from [147.46.44.181] (stopspam@users.sourceforge.net) by auk2.snu.ac.kr (Terrace Internet Messaging Server) with ESMTP id 2004061000:05:24:750941.13435.2838834096 for ; Thu, 10 Jun 2004 00:05:24 +0900 (KST) Message-ID: <40C72734.50609@users.sourceforge.net> Date: Thu, 10 Jun 2004 00:05:24 +0900 From: Rob User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040507 X-Accept-Language: en-us, en MIME-Version: 1.0 To: stable@freebsd.org References: <200406081315.i58DF1Q3068715@repoman.freebsd.org> <20040609143232.GG50128__11321.9122206376$1086792011@core.zp.ua> In-Reply-To: <20040609143232.GG50128__11321.9122206376$1086792011@core.zp.ua> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-TERRACE-SPAMMARK: NO (SR:10.64) (by Terrace) Subject: Re: cvs commit: src/lib/libc/stdio fclose.c X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Jun 2004 15:05:38 -0000 Oleg V. Nauman wrote: > On Tue, Jun 08, 2004 at 01:15:01PM +0000, Hiten Pandya wrote: > >>hmp 2004-06-08 13:15:01 UTC >> >> FreeBSD src repository >> >> Modified files: (Branch: RELENG_4) >> lib/libc/stdio fclose.c >> Log: >> Move the call to FUNLOCKFILE(fp) after modification of the fp's fields. > > > This commit stops working my freeradius with diagnosing > Error: WARNING: Unresponsive child (id 135668736) for request 24 > Backing out this changes fixes my problem. And more: With this commit, mozilla and opera hang during hostname lookups. Rob. From owner-freebsd-stable@FreeBSD.ORG Wed Jun 9 17:01:32 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EA43116A4CE for ; Wed, 9 Jun 2004 17:01:32 +0000 (GMT) Received: from smtpout.mac.com (smtpout.mac.com [17.250.248.46]) by mx1.FreeBSD.org (Postfix) with ESMTP id A688A43D2D for ; Wed, 9 Jun 2004 17:01:32 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from mac.com (smtpin08-en2 [10.13.10.153]) by smtpout.mac.com (8.12.6/MantshX 2.0) with ESMTP id i59H1WeY028063; Wed, 9 Jun 2004 10:01:32 -0700 (PDT) Received: from [10.1.1.193] (nfw2.codefab.com [199.103.21.225] (may be forged)) (authenticated bits=0)i59H1UBO009246; Wed, 9 Jun 2004 10:01:31 -0700 (PDT) In-Reply-To: <20040609011934.GA393@moo.holy.cow> References: <20040609011934.GA393@moo.holy.cow> Mime-Version: 1.0 (Apple Message framework v618) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Charles Swiger Date: Wed, 9 Jun 2004 13:01:29 -0400 To: Parv X-Mailer: Apple Mail (2.618) cc: freebsd-stable@freebsd.org Subject: Re: 4.9-STABLE --> 4.8-RELEASE downgrade. Pitfalls? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Jun 2004 17:01:33 -0000 On Jun 8, 2004, at 9:19 PM, Parv wrote: > wrote Chuck Swiger thusly... >> Thanks for the response, Parv, but ugh! I cringe at the notion that >> continually tweaking make and the port Makefiles causes problems >> with backwards compatibility to a still-supported FreeBSD release. > > That looks like the message that i sent to one of the FreeBSD lists. > After searching PR database, it seems somebody else found the exact > reason... > > http://www.FreeBSD.org/cgi/query-pr.cgi?pr=ports/60288 Ah! Per se, a bugfix to make isn't the same thing as changing the features of make, so I am somewhat less concerned about this specific case than the general one. > I think life w/ NetBSD would not be so bad via its FreeBSD ports > equivalent "pkgsrc". One other known benefit, via pkgviews, is that > multiple versions of a particular an be simultaneously installed/used > at the cost of use of many symbolic links. > > Here are some things on pkgsrc ... Yes, I'm using NetBSD and pkgsrc a little bit myself, although I am much more familiar with FreeBSD than the former. I found NetBSD to be fine but, hmm, minimalist? The notion of a package system that works everywhere is a good one, I just wish it played nice with the local platform conventions a little more closely, just as I wish that the perl+BSDPAN combination in FreeBSD ports would play nice with using CPAN directly a little better. -- -Chuck From owner-freebsd-stable@FreeBSD.ORG Wed Jun 9 17:27:20 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AD7F916A4CE for ; Wed, 9 Jun 2004 17:27:20 +0000 (GMT) Received: from xraided.net (xraided.net [66.88.26.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id 98BAF43D46 for ; Wed, 9 Jun 2004 17:27:20 +0000 (GMT) (envelope-from kyle@xraided.net) Received: from [66.88.29.118] (account kyle HELO kyle) by xraided.net (CommuniGate Pro SMTP 4.1.8) with ESMTP id 1731148; Wed, 09 Jun 2004 10:27:02 -0700 From: "Kyle Mott" To: "'Rob'" Date: Wed, 9 Jun 2004 10:26:58 -0700 Message-ID: <000001c44e46$f82a1040$1414a8c0@kyle> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal In-Reply-To: <40C72734.50609@users.sourceforge.net> cc: freebsd-stable@freebsd.org Subject: RE: cvs commit: src/lib/libc/stdio fclose.c X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Jun 2004 17:27:20 -0000 I think this is also my mysql problem, I cvsupped to 6/5/04, and all works well... -Kyle Mott > -----Original Message----- > From: owner-freebsd-stable@freebsd.org [mailto:owner-freebsd- > stable@freebsd.org] On Behalf Of Rob > Sent: Wednesday, June 09, 2004 8:05 AM > To: stable@freebsd.org > Subject: Re: cvs commit: src/lib/libc/stdio fclose.c > > Oleg V. Nauman wrote: > > On Tue, Jun 08, 2004 at 01:15:01PM +0000, Hiten Pandya wrote: > > > >>hmp 2004-06-08 13:15:01 UTC > >> > >> FreeBSD src repository > >> > >> Modified files: (Branch: RELENG_4) > >> lib/libc/stdio fclose.c > >> Log: > >> Move the call to FUNLOCKFILE(fp) after modification of the fp's > fields. > > > > > > This commit stops working my freeradius with diagnosing > > Error: WARNING: Unresponsive child (id 135668736) for request 24 > > Backing out this changes fixes my problem. > > And more: > With this commit, mozilla and opera hang during hostname lookups. > > Rob. > > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" From owner-freebsd-stable@FreeBSD.ORG Wed Jun 9 18:30:12 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 754CB16A4EB for ; Wed, 9 Jun 2004 18:30:12 +0000 (GMT) Received: from dastardly.newsbastards.org.72.27.172.IN-addr.ARPA.NOSPAM.dyndns.dk (80-219-172-121.dclient.hispeed.ch [80.219.172.121]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9682043D1F for ; Wed, 9 Jun 2004 18:30:10 +0000 (GMT) (envelope-from bounce@NOSPAM.dyndns.dk) Received: from Mail.NOSPAM.DynDNS.dK (ipv6.NOSPAM.dyndns.dk [2002:50db:ac79:0:250:daff:fe5a:2107]) (8.11.6/8.11.6-SPAMMERS-DeLiGHt) with ESMTP id i59IU4650287 verified NO) for ; Wed, 9 Jun 2004 20:30:08 +0200 (CEST) (envelope-from bounce@NOSPAM.dyndns.dk) Received: (from beer@localhost) by Mail.NOSPAM.DynDNS.dK (8.11.6/FNORD) id i59IU3W50283; Wed, 9 Jun 2004 20:30:03 +0200 (CEST) (envelope-from bounce@NOSPAM.dyndns.dk) Date: Wed, 9 Jun 2004 20:30:03 +0200 (CEST) Message-Id: <200406091830.i59IU3W50283@Mail.NOSPAM.DynDNS.dK> X-Authentication-Warning: localhost.newsbastards.org.72.27.172.IN-addr.A: beer set sender to bounce@NOSPAM.dyndns.dk using -f X-Authentication-Warning: localhost.newsbastards.org.72.27.172.IN-addr.A: Processed from queue /tmp X-Authentication-Warning: localhost.newsbastards.org.72.27.172.IN-addr.A: Processed by beer with -C /etc/mail/sendmail.cf-LOCAL To: freebsd-stable@freebsd.org From: Barry Bouwsma References: <200406080903.i5893AO01551@Mail.NOSPAM.DynDNS.dK> <40C70CF0.5080304@geminix.org> Subject: Re: patch for unionfs mounts X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Jun 2004 18:30:12 -0000 Uwe Doering wrote: > > +++ union_vnops.c Tue May 11 14:49:02 2004 > > + ap->a_vap->va_fsid = ap->a_vp->v_mount->mnt_stat.f_fsid.val[0]; > I'm afraid there is a problem with this approach. 'va_fsid' and > 'va_fileid' end up as 'st_dev' and 'st_ino' on the application level > ("struct stat"). The combination of these two variables is supposed to > be unique, at least by convention. Software relies on the assumption > that if 'st_dev' and 'st_ino' are identical for two files it is actually > the same file. > Now, by forcing 'va_fsid', and therefore 'st_dev', to the same value > (the unionfs mount's file system id) regardless of which device (file > system) the file is actually located on this patch introduces ambiguity. > There can be two different files with the same 'va_fileid' value (the > inode number, for instance), living on two different file systems, that > now appear to be the same file due to the "fake" value in 'va_fsid'. Hmmm, thanks for the explanation. Too good to be true... It sounds as if I've been lucky since the directories I've unionfs-mounted have been contained within one filesystem (/usr/local/source-hacks atop /usr/src; /usr being common). > This is going to break existing software. So I recommend against > committing this patch to the FreeBSD CVS repository. I have no idea how > else to fix your initial problem, but this patch is not the way to do > it, IMHO. So I'm fixing one problem (for myself), but potentially causing others -- for example, if I had /var/source-hacks mounted atop /usr/src then I'd definitely be seeing problems. Is this correct? By the way, I finally grepped my archives in case I had overlooked discussion about this patch when originally propsed, and found the original message from 25.Feb 2002, and one followup. archive/2002/freebsd-hackers/20020303.freebsd-hackers.gz Message-Id: <200202251435.XAA91094@shidahara1.planet.sci.kobe-u.ac.jp> (followup in the following week's archive as Message-Id: <200203060047.g260l4K29454@green.bikeshed.org> ) (sorry this isn't an online-friendly clickable link) Anyway, until a real fix can be applied, I'll keep this hack locally (and use it carefully). As far as alternatives, I'm not sure if it's worth hacking csh and so on to act as bash, or if I should look at the kernel getcwd() call, and anyway, I'm no hacker, and lazy, and any hacks would probably also be local-only... Many thanks for your feedback! barry bouwsma From owner-freebsd-stable@FreeBSD.ORG Wed Jun 9 20:16:21 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 757B316A4CE for ; Wed, 9 Jun 2004 20:16:21 +0000 (GMT) Received: from dastardly.newsbastards.org.72.27.172.IN-addr.ARPA.NOSPAM.dyndns.dk (80-219-172-121.dclient.hispeed.ch [80.219.172.121]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8E0F743D2D for ; Wed, 9 Jun 2004 20:16:19 +0000 (GMT) (envelope-from bounce@NOSPAM.dyndns.dk) Received: from Mail.NOSPAM.DynDNS.dK (ipv6.NOSPAM.dyndns.dk [2002:50db:ac79:0:250:daff:fe5a:2107]) (8.11.6/8.11.6-SPAMMERS-DeLiGHt) with ESMTP id i59KFw651484 verified NO) for ; Wed, 9 Jun 2004 22:16:04 +0200 (CEST) (envelope-from bounce@NOSPAM.dyndns.dk) Received: (from beer@localhost) by Mail.NOSPAM.DynDNS.dK (8.11.6/FNORD) id i59KFvg51482; Wed, 9 Jun 2004 22:15:58 +0200 (CEST) (envelope-from bounce@NOSPAM.dyndns.dk) Date: Wed, 9 Jun 2004 22:15:58 +0200 (CEST) Message-Id: <200406092015.i59KFvg51482@Mail.NOSPAM.DynDNS.dK> X-Authentication-Warning: localhost.newsbastards.org.72.27.172.IN-addr.A: beer set sender to bounce@NOSPAM.dyndns.dk using -f X-Authentication-Warning: localhost.newsbastards.org.72.27.172.IN-addr.A: Processed from queue /tmp X-Authentication-Warning: localhost.newsbastards.org.72.27.172.IN-addr.A: Processed by beer with -C /etc/mail/sendmail.cf-LOCAL From: Barry Bouwsma References: <200404070340.i373exE00357@NOSPAM.spam.NOSPAM.spam.NOSPAM.dyndns.dk> <200406081008.i58A8VR01792@Mail.NOSPAM.DynDNS.dK> To: stable@freebsd.org Subject: Re: HEADSUP!!! USB MFC committed.. X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Jun 2004 20:16:21 -0000 Yesterday I wrote: > What I'd done is to both try to merge in the diff mentioned earlier > into the -stable umass.c code, and also to try to take the latest > -current umass.c code and massage it to play nicely with -stable. .... > As mentioned, my other approach was to take the RELENG_4 umass.c code > and merge in the hacks from the earlier-mentioned diff. > This includes quirks I seemed to need to add to get my digital camera > to be found, as well as an in-progress snapshot against a card reader > which never wanted to completely cooperate with 4.x code. > [ AIEEE. This diff is littered with in-progress clutter. > I'll spare you this until I clean it up for presentation. > Sorry. ] > (I'll post cleaned patches based on -stable umass.c sometime) Here you are. Note: I haven't applied *this* against 4.10/RELENG_4 and tried to build it -- I just made this diff after stripping out all the unneeded crud from my 4.x-based umass.c. It *should* work but I make no promises (my unclean version ``worked''). As I noted, this doesn't work quite as well as the patch against -current I posted earlier, with -stable. However, for those who prefer to stay with patches against -stable, I'm happy to provide this, based on a diff long ago, and also against -current when necessary. (This *is* a patch against RELENG_4 as of 26.May, and should apply fairly cleanly to 4.10.) See the last message in the References: header for further clarification of what is to be found in this hack. The primary intent of this is to get the various slots in an x-in-one card reader to all appear at attachment, instead of just the first. --- /stand/FreeBSD4-src/source-hacks/sys/dev/usb/umass.c-4.10-ORIG Wed May 26 21:18:30 2004 +++ umass.c Wed Jun 9 21:47:19 2004 @@ -175,14 +175,7 @@ * The SIM is the highest target number. This makes sure that umass0 corresponds * to target 0 on the USB SCSI bus. */ -#ifndef USB_DEBUG -#define UMASS_SCSIID_MAX 32 /* maximum number of drives expected */ -#else -/* while debugging avoid unnecessary clutter in the output at umass_cam_rescan - * (XPT_PATH_INQ) - */ -#define UMASS_SCSIID_MAX 3 /* maximum number of drives expected */ -#endif +#define UMASS_SCSIID_MAX 1 /* maximum number of drives expected */ #define UMASS_SCSIID_HOST UMASS_SCSIID_MAX #define UMASS_SIM_UNIT 0 /* we use one sim for all drives */ @@ -277,6 +270,8 @@ USBBASEDEVICE sc_dev; /* base device */ usbd_device_handle sc_udev; /* USB device */ + struct cam_sim *umass_sim; /* SCSI Interface Module */ + unsigned char flags; /* various device flags */ # define UMASS_FLAGS_GONE 0x01 /* devices is no more */ @@ -310,6 +305,11 @@ # define WRONG_CSWSIG 0x10 /* The device can't count and gets the residue of transfers wrong */ # define IGNORE_RESIDUE 0x80 +/* XXX HACK */ + /* Some devices take a while to fail the MAX LUN query. It will + take me longer to hack this in than the total time I've + waited, so I'll do it anyway and see if I can get it right. */ +# define NO_MAXLUN 0x40 unsigned int proto; @@ -524,10 +524,9 @@ (struct cam_periph *periph,union ccb *ccb); Static void umass_cam_rescan (struct umass_softc *sc); -Static int umass_cam_attach_sim (void); +Static int umass_cam_attach_sim (struct umass_softc *sc); Static int umass_cam_attach (struct umass_softc *sc); -Static int umass_cam_detach_sim (void); -Static int umass_cam_detach (struct umass_softc *sc); +Static int umass_cam_detach_sim (struct umass_softc *sc); /* SCSI specific functions */ @@ -623,6 +622,30 @@ sc->drive = SHUTTLE_EUSB; } +/* XXXX HACKS */ + if (UGETW(dd->idVendor) == 0x0784) /* JENOPTIK */ { + sc->quirks |= NO_TEST_UNIT_READY | FORCE_SHORT_INQUIRY; + } +/* XXX END HACK */ + +/* XXX HACK OTi (tevion) cardreader seems to take a while to be + found with this -stable code; try a few quirk entries to + see if I can speed things up a bit... */ + if (UGETW(dd->idVendor) == 0x0ea0 /* OTi */ + && UGETW(dd->idProduct) == 0x2126) /* 7-in-1 Card Reader */ { +/* quiets things, still hangs at replug... sc->quirks |= NO_TEST_UNIT_READY ; */ +/* Hmmm. first plug gets BBB Reset; following ones don't and go quickly... sc->quirks |= NO_TEST_UNIT_READY | NO_START_STOP ; */ +/* Well. Seems like NO_START_STOP... sc->quirks |= NO_TEST_UNIT_READY | FORCE_SHORT_INQUIRY ; */ + sc->quirks |= NO_TEST_UNIT_READY | FORCE_SHORT_INQUIRY | NO_START_STOP ; + } + +/* XXX Another hack, try to speed up MAX_LUN probing */ + if (UGETW(dd->idVendor) == 0x0d49 /* Maxtor */ + && UGETW(dd->idProduct) == 0x5000) /* 5000XT */ { + /* printf("Adding QUIRKS for Maxtor drive...\n"); */ + sc->quirks |= NO_MAXLUN; + } + /* * The Pentax Optio cameras require RS_NO_CLEAR_UA * PR: kern/46369, kern/50271 @@ -1018,7 +1041,8 @@ /* Get the maximum LUN supported by the device. */ - if ((sc->proto & UMASS_PROTO_WIRE) == UMASS_PROTO_BBB) + if ((sc->proto & UMASS_PROTO_WIRE) == UMASS_PROTO_BBB && + !(sc->quirks & NO_MAXLUN) ) sc->maxlun = umass_bbb_get_max_lun(sc); else sc->maxlun = 0; @@ -1031,18 +1055,16 @@ sc->cam_scsi_sense.opcode = REQUEST_SENSE; sc->cam_scsi_test_unit_ready.opcode = TEST_UNIT_READY; - /* If this is the first device register the SIM */ - if (umass_sim == NULL) { - err = umass_cam_attach_sim(); - if (err) { - umass_detach(self); - USB_ATTACH_ERROR_RETURN; - } + /* register the SIM */ + err = umass_cam_attach_sim(sc); + if (err) { + umass_detach(self); + USB_ATTACH_ERROR_RETURN; } - - /* Attach the new device to our SCSI host controller (SIM) */ + /* scan the new sim */ err = umass_cam_attach(sc); if (err) { + umass_cam_detach_sim(sc); umass_detach(self); USB_ATTACH_ERROR_RETURN; } @@ -1071,8 +1093,8 @@ (sc->proto & UMASS_PROTO_ATAPI) || (sc->proto & UMASS_PROTO_UFI) || (sc->proto & UMASS_PROTO_RBC)) - /* detach the device from the SCSI host controller (SIM) */ - err = umass_cam_detach(sc); + /* detach the SCSI host controller (SIM) */ + err = umass_cam_detach_sim(sc); for (i = 0; i < XFER_NR; i++) if (sc->transfer_xfer[i]) @@ -1354,6 +1376,10 @@ struct umass_softc *sc = (struct umass_softc *) priv; usbd_xfer_handle next_xfer; +/* XXX HACK */ + int Residue; +/* HACK */ + KASSERT(sc->proto & UMASS_PROTO_BBB, ("sc->proto == 0x%02x wrong for umass_bbb_state\n",sc->proto)); @@ -1525,6 +1551,11 @@ UGETDW(sc->csw.dCSWSignature) == CSWSIGNATURE_OLYMPUS_C1) USETDW(sc->csw.dCSWSignature, CSWSIGNATURE); + Residue = UGETDW(sc->csw.dCSWDataResidue); + if (Residue == 0 && + sc->transfer_datalen - sc->transfer_actlen != 0) + Residue = sc->transfer_datalen - sc->transfer_actlen; + /* Check CSW and handle any error */ if (UGETDW(sc->csw.dCSWSignature) != CSWSIGNATURE) { /* Invalid CSW: Wrong signature or wrong tag might @@ -1558,8 +1589,7 @@ return; } else if (sc->csw.bCSWStatus == CSWSTATUS_PHASE) { printf("%s: Phase Error, residue = %d\n", - USBDEVNAME(sc->sc_dev), - UGETDW(sc->csw.dCSWDataResidue)); + USBDEVNAME(sc->sc_dev), Residue); umass_bbb_reset(sc, STATUS_WIRE_FAILED); return; @@ -2085,7 +2115,7 @@ */ Static int -umass_cam_attach_sim() +umass_cam_attach_sim(struct umass_softc *sc) { struct cam_devq *devq; /* Per device Queue */ @@ -2099,17 +2129,20 @@ if (devq == NULL) return(ENOMEM); - umass_sim = cam_sim_alloc(umass_cam_action, umass_cam_poll, DEVNAME_SIM, - NULL /*priv*/, UMASS_SIM_UNIT /*unit number*/, + sc->umass_sim = cam_sim_alloc(umass_cam_action, umass_cam_poll, + DEVNAME_SIM, + sc /*priv*/, + USBDEVUNIT(sc->sc_dev) /*unit number*/, 1 /*maximum device openings*/, 0 /*maximum tagged device openings*/, devq); - if (umass_sim == NULL) { + if (sc->umass_sim == NULL) { cam_simq_free(devq); return(ENOMEM); } - if(xpt_bus_register(umass_sim, UMASS_SCSI_BUS) != CAM_SUCCESS) + if(xpt_bus_register(sc->umass_sim, USBDEVUNIT(sc->sc_dev)) != + CAM_SUCCESS) return(ENOMEM); return(0); @@ -2120,12 +2153,12 @@ { #ifdef USB_DEBUG if (ccb->ccb_h.status != CAM_REQ_CMP) { - DPRINTF(UDMASS_SCSI, ("scbus%d: Rescan failed, 0x%04x\n", - cam_sim_path(umass_sim), + DPRINTF(UDMASS_SCSI, ("%s:%d Rescan failed, 0x%04x\n", + periph->periph_name, periph->unit_number, ccb->ccb_h.status)); } else { - DPRINTF(UDMASS_SCSI, ("scbus%d: Rescan succeeded\n", - cam_sim_path(umass_sim))); + DPRINTF(UDMASS_SCSI, ("%s%d: Rescan succeeded\n", + periph->periph_name, periph->unit_number)); } #endif @@ -2142,11 +2175,11 @@ memset(ccb, 0, sizeof(union ccb)); DPRINTF(UDMASS_SCSI, ("scbus%d: scanning for %s:%d:%d:%d\n", - cam_sim_path(umass_sim), - USBDEVNAME(sc->sc_dev), cam_sim_path(umass_sim), + cam_sim_path(sc->umass_sim), + USBDEVNAME(sc->sc_dev), cam_sim_path(sc->umass_sim), USBDEVUNIT(sc->sc_dev), CAM_LUN_WILDCARD)); - if (xpt_create_path(&path, xpt_periph, cam_sim_path(umass_sim), + if (xpt_create_path(&path, xpt_periph, cam_sim_path(sc->umass_sim), CAM_TARGET_WILDCARD, CAM_LUN_WILDCARD) != CAM_REQ_CMP) return; @@ -2163,27 +2196,13 @@ Static int umass_cam_attach(struct umass_softc *sc) { - /* SIM already attached at module load. The device is a target on the - * one SIM we registered: target device_get_unit(self). - */ - - /* The artificial limit UMASS_SCSIID_MAX is there because CAM expects - * a limit to the number of targets that are present on a SIM. - */ - if (device_get_unit(sc->sc_dev) >= UMASS_SCSIID_MAX) { - printf("scbus%d: Increase UMASS_SCSIID_MAX (currently %d) in %s" - " and try again.\n", - cam_sim_path(umass_sim), UMASS_SCSIID_MAX, __FILE__); - return(1); - } - #ifndef USB_DEBUG if (bootverbose) #endif - printf("%s:%d:%d:%d: Attached to scbus%d as device %d\n", - USBDEVNAME(sc->sc_dev), cam_sim_path(umass_sim), - USBDEVUNIT(sc->sc_dev), CAM_LUN_WILDCARD, - cam_sim_path(umass_sim), USBDEVUNIT(sc->sc_dev)); + printf("%s:%d:%d:%d: Attached to scbus%d\n", + USBDEVNAME(sc->sc_dev), cam_sim_path(sc->umass_sim), + USBDEVUNIT(sc->sc_dev), CAM_LUN_WILDCARD, + cam_sim_path(sc->umass_sim)); if (!cold) { /* Notify CAM of the new device. Any failure is benign, as the @@ -2203,45 +2222,20 @@ */ Static int -umass_cam_detach_sim() +umass_cam_detach_sim(struct umass_softc *sc) { - if (umass_sim) - return(EBUSY); /* XXX CAM can't handle disappearing SIMs yet */ - - if (umass_sim) { - if (xpt_bus_deregister(cam_sim_path(umass_sim))) - cam_sim_free(umass_sim, /*free_devq*/TRUE); + if (sc->umass_sim) { + if (xpt_bus_deregister(cam_sim_path(sc->umass_sim))) + cam_sim_free(sc->umass_sim, /*free_devq*/TRUE); else return(EBUSY); - umass_sim = NULL; + sc->umass_sim = NULL; } return(0); } -Static int -umass_cam_detach(struct umass_softc *sc) -{ - struct cam_path *path; - - if (umass_sim) { - /* detach of sim not done until module unload */ - DPRINTF(UDMASS_SCSI, ("%s:%d:%d:%d: losing CAM device entry\n", - USBDEVNAME(sc->sc_dev), cam_sim_path(umass_sim), - USBDEVUNIT(sc->sc_dev), CAM_LUN_WILDCARD)); - - if (xpt_create_path(&path, NULL, cam_sim_path(umass_sim), - USBDEVUNIT(sc->sc_dev), CAM_LUN_WILDCARD) - != CAM_REQ_CMP) - return(ENOMEM); - - xpt_async(AC_LOST_DEVICE, path, NULL); - xpt_free_path(path); - } - - return(0); -} @@ -2252,8 +2246,7 @@ Static void umass_cam_action(struct cam_sim *sim, union ccb *ccb) { - struct umass_softc *sc = devclass_get_softc(umass_devclass, - ccb->ccb_h.target_id); + struct umass_softc *sc = (struct umass_softc *)sim->softc; /* The softc is still there, but marked as going away. umass_cam_detach * has not yet notified CAM of the lost device however. @@ -2261,7 +2254,7 @@ if (sc && (sc->flags & UMASS_FLAGS_GONE)) { DPRINTF(UDMASS_SCSI, ("%s:%d:%d:%d:func_code 0x%04x: " "Invalid target (gone)\n", - USBDEVNAME(sc->sc_dev), cam_sim_path(umass_sim), + USBDEVNAME(sc->sc_dev), cam_sim_path(sc->umass_sim), ccb->ccb_h.target_id, ccb->ccb_h.target_lun, ccb->ccb_h.func_code)); ccb->ccb_h.status = CAM_TID_INVALID; @@ -2286,7 +2279,7 @@ if (sc == NULL) { printf("%s:%d:%d:%d:func_code 0x%04x: " "Invalid target (target needed)\n", - DEVNAME_SIM, cam_sim_path(umass_sim), + DEVNAME_SIM, cam_sim_path(sc->umass_sim), ccb->ccb_h.target_id, ccb->ccb_h.target_lun, ccb->ccb_h.func_code); @@ -2304,7 +2297,7 @@ if (sc == NULL && ccb->ccb_h.target_id != CAM_TARGET_WILDCARD) { DPRINTF(UDMASS_SCSI, ("%s:%d:%d:%d:func_code 0x%04x: " "Invalid target (no wildcard)\n", - DEVNAME_SIM, cam_sim_path(umass_sim), + DEVNAME_SIM, cam_sim_path(sc->umass_sim), ccb->ccb_h.target_id, ccb->ccb_h.target_lun, ccb->ccb_h.func_code)); @@ -2331,7 +2324,7 @@ DPRINTF(UDMASS_SCSI, ("%s:%d:%d:%d:XPT_SCSI_IO: " "cmd: 0x%02x, flags: 0x%02x, " "%db cmd/%db data/%db sense\n", - USBDEVNAME(sc->sc_dev), cam_sim_path(umass_sim), + USBDEVNAME(sc->sc_dev), cam_sim_path(sc->umass_sim), ccb->ccb_h.target_id, ccb->ccb_h.target_lun, csio->cdb_io.cdb_bytes[0], ccb->ccb_h.flags & CAM_DIR_MASK, @@ -2349,7 +2342,7 @@ if (sc->transfer_state != TSTATE_IDLE) { DPRINTF(UDMASS_SCSI, ("%s:%d:%d:%d:XPT_SCSI_IO: " "I/O requested while busy (state %d, %s)\n", - USBDEVNAME(sc->sc_dev), cam_sim_path(umass_sim), + USBDEVNAME(sc->sc_dev), cam_sim_path(sc->umass_sim), ccb->ccb_h.target_id, ccb->ccb_h.target_lun, sc->transfer_state,states[sc->transfer_state])); ccb->ccb_h.status = CAM_SCSI_BUSY; @@ -2409,7 +2402,7 @@ DPRINTF(UDMASS_SCSI, ("%s:%d:%d:%d:XPT_PATH_INQ:.\n", (sc == NULL? DEVNAME_SIM:USBDEVNAME(sc->sc_dev)), - cam_sim_path(umass_sim), + cam_sim_path(sc->umass_sim), ccb->ccb_h.target_id, ccb->ccb_h.target_lun)); /* host specific information */ @@ -2428,7 +2421,7 @@ strncpy(cpi->hba_vid, "USB SCSI", HBA_IDLEN); strncpy(cpi->dev_name, cam_sim_name(sim), DEV_IDLEN); cpi->unit_number = cam_sim_unit(sim); - cpi->bus_id = UMASS_SCSI_BUS; + cpi->bus_id = USBDEVUNIT(sc->sc_dev); if (sc) cpi->base_transfer_speed = sc->transfer_speed; @@ -2439,7 +2432,7 @@ case XPT_RESET_DEV: { DPRINTF(UDMASS_SCSI, ("%s:%d:%d:%d:XPT_RESET_DEV:.\n", - USBDEVNAME(sc->sc_dev), cam_sim_path(umass_sim), + USBDEVNAME(sc->sc_dev), cam_sim_path(sc->umass_sim), ccb->ccb_h.target_id, ccb->ccb_h.target_lun)); ccb->ccb_h.status = CAM_REQ_INPROG; @@ -2451,7 +2444,7 @@ struct ccb_trans_settings *cts = &ccb->cts; DPRINTF(UDMASS_SCSI, ("%s:%d:%d:%d:XPT_GET_TRAN_SETTINGS:.\n", - USBDEVNAME(sc->sc_dev), cam_sim_path(umass_sim), + USBDEVNAME(sc->sc_dev), cam_sim_path(sc->umass_sim), ccb->ccb_h.target_id, ccb->ccb_h.target_lun)); cts->valid = 0; @@ -2464,7 +2457,7 @@ case XPT_SET_TRAN_SETTINGS: { DPRINTF(UDMASS_SCSI, ("%s:%d:%d:%d:XPT_SET_TRAN_SETTINGS:.\n", - USBDEVNAME(sc->sc_dev), cam_sim_path(umass_sim), + USBDEVNAME(sc->sc_dev), cam_sim_path(sc->umass_sim), ccb->ccb_h.target_id, ccb->ccb_h.target_lun)); ccb->ccb_h.status = CAM_FUNC_NOTAVAIL; @@ -2525,7 +2518,7 @@ { DPRINTF(UDMASS_SCSI, ("%s:%d:%d:%d:XPT_NOOP:.\n", (sc == NULL? DEVNAME_SIM:USBDEVNAME(sc->sc_dev)), - cam_sim_path(umass_sim), + cam_sim_path(sc->umass_sim), ccb->ccb_h.target_id, ccb->ccb_h.target_lun)); ccb->ccb_h.status = CAM_REQ_CMP; @@ -2536,7 +2529,7 @@ DPRINTF(UDMASS_SCSI, ("%s:%d:%d:%d:func_code 0x%04x: " "Not implemented\n", (sc == NULL? DEVNAME_SIM:USBDEVNAME(sc->sc_dev)), - cam_sim_path(umass_sim), + cam_sim_path(sc->umass_sim), ccb->ccb_h.target_id, ccb->ccb_h.target_lun, ccb->ccb_h.func_code)); @@ -2739,20 +2732,9 @@ Static int umass_driver_load(module_t mod, int what, void *arg) { - int err; - switch (what) { case MOD_UNLOAD: - err = umass_cam_detach_sim(); - if (err) - return(err); - return(usbd_driver_load(mod, what, arg)); case MOD_LOAD: - /* We don't attach to CAM at this point, because it will try - * and malloc memory for it. This is not possible when the - * boot loader loads umass as a module before the kernel - * has been bootstrapped. - */ default: return(usbd_driver_load(mod, what, arg)); } barry bouwsma From owner-freebsd-stable@FreeBSD.ORG Wed Jun 9 20:44:58 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D525B16A4CE for ; Wed, 9 Jun 2004 20:44:58 +0000 (GMT) Received: from dastardly.newsbastards.org.72.27.172.IN-addr.ARPA.NOSPAM.dyndns.dk (80-219-172-121.dclient.hispeed.ch [80.219.172.121]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0CCE643D46 for ; Wed, 9 Jun 2004 20:44:57 +0000 (GMT) (envelope-from bounce@NOSPAM.dyndns.dk) Received: from Mail.NOSPAM.DynDNS.dK (ipv6.NOSPAM.dyndns.dk [2002:50db:ac79:0:250:daff:fe5a:2107]) (8.11.6/8.11.6-SPAMMERS-DeLiGHt) with ESMTP id i59Kih651623 verified NO) for ; Wed, 9 Jun 2004 22:44:51 +0200 (CEST) (envelope-from bounce@NOSPAM.dyndns.dk) Received: (from beer@localhost) by Mail.NOSPAM.DynDNS.dK (8.11.6/FNORD) id i59KigE51622; Wed, 9 Jun 2004 22:44:42 +0200 (CEST) (envelope-from bounce@NOSPAM.dyndns.dk) Date: Wed, 9 Jun 2004 22:44:42 +0200 (CEST) Message-Id: <200406092044.i59KigE51622@Mail.NOSPAM.DynDNS.dK> X-Authentication-Warning: localhost.newsbastards.org.72.27.172.IN-addr.A: beer set sender to bounce@NOSPAM.dyndns.dk using -f X-Authentication-Warning: localhost.newsbastards.org.72.27.172.IN-addr.A: Processed from queue /tmp X-Authentication-Warning: localhost.newsbastards.org.72.27.172.IN-addr.A: Processed by beer with -C /etc/mail/sendmail.cf-LOCAL To: stable@freebsd.org References: <200404070340.i373exE00357@NOSPAM.spam.NOSPAM.spam.NOSPAM.dyndns.dk> <200406081008.i58A8VR01792@Mail.NOSPAM.DynDNS.dK> <20040608201057.GB43208@hal9000.halplant.com> From: Barry Bouwsma Subject: Re: HEADSUP!!! USB MFC committed.. X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Jun 2004 20:44:59 -0000 Andrew J Caines said thusly: > Any chance these changes might fix the urio/rioutil problem I reported[1]? Probably not (not having looked at the urio source to verify it's independent of umass). > From what I can tell these are addressed to umass issues, so I suspect > not, but since something broke in 4.x and not in 5.x, I'm optimistic it'll > work again in 4.x. The nice thing about the merge that started this thread, is that it made it much easier to substitute the code from -current in place of that in 4.x, as you could tell from the first diff that I posted. It might be worth a try to simply copy the -current src/sys/dev/usb/urio.c into your 4.x source tree (assuming it's recent enough to include the MFC as per Subject: header), and fix where it breaks your kernel/ module build. Giant locking and related headers were the only minor stumbling stones I encountered, and I have no idea what I'm doing. I'm afraid I have no such hardware to be able to build/test such a diff myself. However, looking at the diff between -current and 4.10-ish, there's just two lines added/removed from urio.c: @@ -115,16 +115,16 @@ d_write_t uriowrite; d_ioctl_t urioioctl; -#define URIO_CDEV_MAJOR 143 Static struct cdevsw urio_cdevsw = { + .d_version = D_VERSION, + .d_flags = D_NEEDGIANT, .d_open = urioopen, .d_close = urioclose, .d_read = urioread, .d_write = uriowrite, .d_ioctl = urioioctl, .d_name = "urio", - .d_maj = URIO_CDEV_MAJOR, #if __FreeBSD_version < 500014 .d_bmaj = -1 #endif D_NEEDGIANT is inapplicable to 4.x; I don't see that the other lines would make much difference, but nevertheless, it looks like you could substitute the source with minor difficulties. Beyond this, you'd need to grep around in the source to verify that d_maj is properly set. (And that d_bmaj isn't needed in -stable.) Sorry I can't help here... Anyway, this advice should be relevant to all the usb devices, in case others are having problems. barry bouwsma From owner-freebsd-stable@FreeBSD.ORG Wed Jun 9 21:06:44 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1DBA716A4CE for ; Wed, 9 Jun 2004 21:06:44 +0000 (GMT) Received: from carver.gumbysoft.com (carver.gumbysoft.com [66.220.23.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 13E3F43D2D for ; Wed, 9 Jun 2004 21:06:44 +0000 (GMT) (envelope-from dwhite@gumbysoft.com) Received: by carver.gumbysoft.com (Postfix, from userid 1000) id 0AA1572DF2; Wed, 9 Jun 2004 14:06:44 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by carver.gumbysoft.com (Postfix) with ESMTP id 05E2572DB5; Wed, 9 Jun 2004 14:06:44 -0700 (PDT) Date: Wed, 9 Jun 2004 14:06:43 -0700 (PDT) From: Doug White To: Lee Harr In-Reply-To: Message-ID: <20040609140522.F41595@carver.gumbysoft.com> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-stable@freebsd.org Subject: Re: cannot boot system built today X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Jun 2004 21:06:44 -0000 On Mon, 7 Jun 2004, Lee Harr wrote: > >Ok, so it does hang on the CD's channel. What were the results of booting > >with the drive totally disconnected? > > > > Scroll down in my previous message. It is after the cd boot. > (It hangs just the same as it does with the cd drive connected) ok, that wasn't clear. Dunno then ... bad cable maybe? Its like it hangs probing a specific ATA device location, occupied or not. You might be another victim of the recent IRQ routing problems in -current. I'd _love_ to have a machine with broken ATA so I could debug this stuff, but I either have working ATA or SCSI systems. -- Doug White | FreeBSD: The Power to Serve dwhite@gumbysoft.com | www.FreeBSD.org From owner-freebsd-stable@FreeBSD.ORG Wed Jun 9 21:12:46 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3D65116A4D0 for ; Wed, 9 Jun 2004 21:12:46 +0000 (GMT) Received: from carver.gumbysoft.com (carver.gumbysoft.com [66.220.23.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1272643D4C for ; Wed, 9 Jun 2004 21:12:46 +0000 (GMT) (envelope-from dwhite@gumbysoft.com) Received: by carver.gumbysoft.com (Postfix, from userid 1000) id 0FE1E72DF2; Wed, 9 Jun 2004 14:12:27 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by carver.gumbysoft.com (Postfix) with ESMTP id 0E49A72DB5; Wed, 9 Jun 2004 14:12:27 -0700 (PDT) Date: Wed, 9 Jun 2004 14:12:27 -0700 (PDT) From: Doug White To: Kyle Mott In-Reply-To: <000301c44deb$4a78f1b0$1414a8c0@kyle> Message-ID: <20040609141031.M41595@carver.gumbysoft.com> References: <000301c44deb$4a78f1b0$1414a8c0@kyle> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-stable@freebsd.org Subject: Re: Mysql Problems X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Jun 2004 21:12:46 -0000 On Tue, 8 Jun 2004, Kyle Mott wrote: > > I've now done buildworld twice, to no avail; for some reason, every 1-3 > minutes a new mysql process is started, for which looks like no apparent > reason. Mysql on this machine is used very rarely, though it does get > checked by Nagios regularly. MySQL forks a child (or starts a new linuxthread depending on how its configured) for each connection. The Nagios check would cause the new process to be spawned. They should just exit, though. Check 'mysqladmin processlist' or 'show processlist;' from the monitor to see who's connected and what they're doing. Its also possible that mysql will keep threads around once they've been used to avoid exiting & respawning threads constantly. I haven't run MySQL 4.x and looked at it that closely. -- Doug White | FreeBSD: The Power to Serve dwhite@gumbysoft.com | www.FreeBSD.org From owner-freebsd-stable@FreeBSD.ORG Wed Jun 9 21:14:15 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7247616A4CE for ; Wed, 9 Jun 2004 21:14:15 +0000 (GMT) Received: from carver.gumbysoft.com (carver.gumbysoft.com [66.220.23.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6517343D2F for ; Wed, 9 Jun 2004 21:14:15 +0000 (GMT) (envelope-from dwhite@gumbysoft.com) Received: by carver.gumbysoft.com (Postfix, from userid 1000) id 77A3772DF6; Wed, 9 Jun 2004 14:13:58 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by carver.gumbysoft.com (Postfix) with ESMTP id 7565472DB5; Wed, 9 Jun 2004 14:13:58 -0700 (PDT) Date: Wed, 9 Jun 2004 14:13:58 -0700 (PDT) From: Doug White To: Haim Ashkenazi In-Reply-To: Message-ID: <20040609141324.R41595@carver.gumbysoft.com> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-stable@freebsd.org Subject: Re: newbie question about compiling kernel on compaq proliant 6400R X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Jun 2004 21:14:15 -0000 On Wed, 9 Jun 2004, Haim Ashkenazi wrote: > Hi > > I have compaq proliant 6400R dual xeon that I just installed with freebsd > 4.10 (my first freebsd, although I have a lot of experience in linux). I > tried to compile an SMP kernel (uncommented the two smp options and > commented the i386 and i486 cpu). the installation went well but it > doesn't boot. it hangs as soon as it start to boot (I'm not near the > computer so I can't tell where did it hang, my friend who was there > couldn't make something out of it, he only said that it hang after 2 or 3 > lines, also I couldn't find anything in /var/log/messages). I was > wondering if the GENERIC file is the one that the default kernel is > compiled from. any ideas? We'll need to see the output. Follow the instructions in the Handbook for setting up a serial console and use that to capture the output. > also, I need some advise about firewall. I need a basic firewall (just to > protect this machine, the network is already behind firewall). do I need > to compile kernel IPFIREWALL support? At the minumum, yes. I believe the Handbook has a section on this as well. -- Doug White | FreeBSD: The Power to Serve dwhite@gumbysoft.com | www.FreeBSD.org From owner-freebsd-stable@FreeBSD.ORG Wed Jun 9 22:44:05 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8965116A4D0 for ; Wed, 9 Jun 2004 22:44:05 +0000 (GMT) Received: from gen129.n001.c02.escapebox.net (gen129.n001.c02.escapebox.net [213.73.91.129]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3731843D4C for ; Wed, 9 Jun 2004 22:44:05 +0000 (GMT) (envelope-from gemini@geminix.org) Message-ID: <40C792B2.8030401@geminix.org> Date: Thu, 10 Jun 2004 00:44:02 +0200 From: Uwe Doering Organization: Private UNIX Site User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040119 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-stable@freebsd.org References: <200406080903.i5893AO01551@Mail.NOSPAM.DynDNS.dK> <40C70CF0.5080304@geminix.org> <200406091830.i59IU3W50283@Mail.NOSPAM.DynDNS.dK> In-Reply-To: <200406091830.i59IU3W50283@Mail.NOSPAM.DynDNS.dK> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Received: from gemini by geminix.org with asmtp (TLSv1:AES256-SHA:256) (Exim 3.36 #1) id 1BYBng-000BRS-00; Thu, 10 Jun 2004 00:44:04 +0200 Subject: Re: patch for unionfs mounts X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Jun 2004 22:44:05 -0000 Barry Bouwsma wrote: > Uwe Doering wrote: > >>>+++ union_vnops.c Tue May 11 14:49:02 2004 >>>+ ap->a_vap->va_fsid = ap->a_vp->v_mount->mnt_stat.f_fsid.val[0]; > >>I'm afraid there is a problem with this approach. 'va_fsid' and >>'va_fileid' end up as 'st_dev' and 'st_ino' on the application level >>("struct stat"). The combination of these two variables is supposed to >>be unique, at least by convention. Software relies on the assumption >>that if 'st_dev' and 'st_ino' are identical for two files it is actually >>the same file. > >>Now, by forcing 'va_fsid', and therefore 'st_dev', to the same value >>(the unionfs mount's file system id) regardless of which device (file >>system) the file is actually located on this patch introduces ambiguity. >> There can be two different files with the same 'va_fileid' value (the >>inode number, for instance), living on two different file systems, that >>now appear to be the same file due to the "fake" value in 'va_fsid'. > > Hmmm, thanks for the explanation. Too good to be true... > > It sounds as if I've been lucky since the directories I've > unionfs-mounted have been contained within one filesystem > (/usr/local/source-hacks atop /usr/src; /usr being common). > >>This is going to break existing software. So I recommend against >>committing this patch to the FreeBSD CVS repository. I have no idea how >>else to fix your initial problem, but this patch is not the way to do >>it, IMHO. > > So I'm fixing one problem (for myself), but potentially causing > others -- for example, if I had /var/source-hacks mounted atop > /usr/src then I'd definitely be seeing problems. Is this correct? Correct. As long as you're dealing with only one underlying file system you'll get away with it, but if there is more than one file system involved the patch is going to break things. Uwe -- Uwe Doering | EscapeBox - Managed On-Demand UNIX Servers gemini@geminix.org | http://www.escapebox.net From owner-freebsd-stable@FreeBSD.ORG Wed Jun 9 22:56:25 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1EC9916A4CE for ; Wed, 9 Jun 2004 22:56:25 +0000 (GMT) Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7EBCD43D39 for ; Wed, 9 Jun 2004 22:56:24 +0000 (GMT) (envelope-from freebsd-stable@m.gmane.org) Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1BYBzb-0007Cw-00 for ; Thu, 10 Jun 2004 00:56:23 +0200 Received: from ns-ilmail3.ns-systems.com ([62.90.139.134]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 10 Jun 2004 00:56:23 +0200 Received: from haim by ns-ilmail3.ns-systems.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 10 Jun 2004 00:56:23 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-stable@freebsd.org From: Haim Ashkenazi Date: Thu, 10 Jun 2004 01:56:20 +0300 Lines: 32 Message-ID: References: <20040609141324.R41595@carver.gumbysoft.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: ns-ilmail3.ns-systems.com User-Agent: Pan/0.14.2.91 (As She Crawled Across the Table (Debian GNU/Linux)) Sender: news Subject: Re: newbie question about compiling kernel on compaq proliant 6400R X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Jun 2004 22:56:25 -0000 On Wed, 09 Jun 2004 14:13:58 -0700, Doug White wrote: > On Wed, 9 Jun 2004, Haim Ashkenazi wrote: > >> Hi >> >> I have compaq proliant 6400R dual xeon that I just installed with freebsd >> 4.10 (my first freebsd, although I have a lot of experience in linux). I >> tried to compile an SMP kernel (uncommented the two smp options and >> commented the i386 and i486 cpu). the installation went well but it >> doesn't boot. it hangs as soon as it start to boot (I'm not near the >> computer so I can't tell where did it hang, my friend who was there >> couldn't make something out of it, he only said that it hang after 2 or 3 >> lines, also I couldn't find anything in /var/log/messages). I was >> wondering if the GENERIC file is the one that the default kernel is >> compiled from. any ideas? > > We'll need to see the output. Follow the instructions in the Handbook for > setting up a serial console and use that to capture the output. that's a good idea. I'll do it. > >> also, I need some advise about firewall. I need a basic firewall (just to >> protect this machine, the network is already behind firewall). do I need >> to compile kernel IPFIREWALL support? > > At the minumum, yes. I believe the Handbook has a section on this as well. thanx -- Haim From owner-freebsd-stable@FreeBSD.ORG Wed Jun 9 23:28:20 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1357816A4CE for ; Wed, 9 Jun 2004 23:28:20 +0000 (GMT) Received: from coltrane.babysnakes.org (ns-ilmail3.ns-systems.com [62.90.139.134]) by mx1.FreeBSD.org (Postfix) with SMTP id 089ED43D39 for ; Wed, 9 Jun 2004 23:28:14 +0000 (GMT) (envelope-from haim@babysnakes.org) Received: (qmail 17772 invoked from network); 9 Jun 2004 23:28:11 -0000 Received: from unknown (HELO parker.babysnakes.org) (192.168.0.5) by coltrane.babysnakes.org with SMTP; 9 Jun 2004 23:28:11 -0000 From: Haim Ashkenazi To: andy@hodgkins.net In-Reply-To: References: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-zP8WItuFvwmoiG7wG4dj" Message-Id: <1086823690.2452.39.camel@parker.babysnakes.org> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Thu, 10 Jun 2004 02:28:11 +0300 cc: freebsd-stable@freebsd.org Subject: RE: newbie question about compiling kernel on compaq proliant 6400R X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Jun 2004 23:28:20 -0000 --=-zP8WItuFvwmoiG7wG4dj Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi any idea why I don't see your respond through nntp? I see that you've sent it to the list also. strange... > I had similar problems on a dual processor Pentium Pro Compaq, and it > turned out you had to make sure you selected the right OS type in the BIO= S > for an SMP kernel to work. If you didn't, it would hang exactly like you= 're describing. IIRC, you had to select 'Unixware' in the SmartStart > setup, but you might have to experiment with other choices to get the > right one.=20 >=20 can I do it after the installation? I thought I can only do it before... If I remember I've set it to "other" (there was no freebsd in the list). thanx --=20 Haim --=-zP8WItuFvwmoiG7wG4dj Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQBAx50KhwMtGgRKzT0RAllGAJ4xbS1OreOaa6QpPv9XZp1P8rzVHgCdEMMU FZK4TTVQiww3lYCOkIPJKcI= =07xZ -----END PGP SIGNATURE----- --=-zP8WItuFvwmoiG7wG4dj-- From owner-freebsd-stable@FreeBSD.ORG Wed Jun 9 23:39:46 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 407DE16A4CE for ; Wed, 9 Jun 2004 23:39:46 +0000 (GMT) Received: from mail.thinkburst.com (juno.geocomm.com [204.214.64.110]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9ABA043D46 for ; Wed, 9 Jun 2004 23:39:45 +0000 (GMT) (envelope-from andy@hodgkins.net) Received: from localhost (localhost [127.0.0.1]) by mail.thinkburst.com (Postfix) with ESMTP id 9336C3679A; Wed, 9 Jun 2004 18:39:44 -0500 (CDT) Received: from mail.thinkburst.com ([127.0.0.1]) by localhost (juno.geocomm.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 29298-03; Wed, 9 Jun 2004 18:39:42 -0500 (CDT) Received: from p42530 (cs6669115-110.satx.rr.com [66.69.115.110]) by mail.thinkburst.com (Postfix) with ESMTP; Wed, 9 Jun 2004 18:39:42 -0500 (CDT) From: "Andrew T. Hodgkins" To: "'Haim Ashkenazi'" Date: Wed, 9 Jun 2004 18:37:14 -0500 Message-ID: <001201c44e7a$b32bb820$6601a8c0@p42530> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.6626 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Importance: Normal In-Reply-To: <1086823690.2452.39.camel@parker.babysnakes.org> X-Virus-Scanned: by amavisd-new at thinkburst.com cc: freebsd-stable@freebsd.org Subject: RE: newbie question about compiling kernel on compaq proliant 6400R X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: andy@hodgkins.net List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Jun 2004 23:39:46 -0000 Yeah, it bounced from the list...I think the listserver didn't like my digital signature for some reason. :p Anyway, as I remember you can only set it before installation. I had = used the 'Other' setting at first also, but that definitely didn't work. Is there a setting for Unixware? Give that a try instead. --Andy -----Original Message----- From: Haim Ashkenazi [mailto:haim@babysnakes.org]=20 Sent: Wednesday, June 09, 2004 6:28 PM To: andy@hodgkins.net Cc: freebsd-stable@freebsd.org Subject: RE: newbie question about compiling kernel on compaq proliant = 6400R Hi any idea why I don't see your respond through nntp? I see that you've = sent it to the list also. strange... > I had similar problems on a dual processor Pentium Pro Compaq, and it=20 > turned out you had to make sure you selected the right OS type in the=20 > BIOS for an SMP kernel to work. If you didn't, it would hang exactly=20 > like you're describing. IIRC, you had to select 'Unixware' in the=20 > SmartStart setup, but you might have to experiment with other choices=20 > to get the right one. >=20 can I do it after the installation? I thought I can only do it before... = If I remember I've set it to "other" (there was no freebsd in the list). thanx --=20 Haim From owner-freebsd-stable@FreeBSD.ORG Wed Jun 9 23:57:38 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A853B16A4CE for ; Wed, 9 Jun 2004 23:57:38 +0000 (GMT) Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by mx1.FreeBSD.org (Postfix) with ESMTP id 17B3243D39 for ; Wed, 9 Jun 2004 23:57:38 +0000 (GMT) (envelope-from freebsd-stable@m.gmane.org) Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1BYCwr-0007xV-00 for ; Thu, 10 Jun 2004 01:57:37 +0200 Received: from ns-ilmail3.ns-systems.com ([62.90.139.134]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 10 Jun 2004 01:57:37 +0200 Received: from haim by ns-ilmail3.ns-systems.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 10 Jun 2004 01:57:37 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-stable@freebsd.org From: Haim Ashkenazi Date: Thu, 10 Jun 2004 02:57:34 +0300 Lines: 19 Message-ID: References: <1086823690.2452.39.camel@parker.babysnakes.org> <001201c44e7a$b32bb820$6601a8c0@p42530> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: ns-ilmail3.ns-systems.com User-Agent: Pan/0.14.2.91 (As She Crawled Across the Table (Debian GNU/Linux)) Sender: news Subject: RE: newbie question about compiling kernel on compaq proliant 6400R X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Jun 2004 23:57:38 -0000 On Wed, 09 Jun 2004 18:37:14 -0500, Andrew T. Hodgkins wrote: > Yeah, it bounced from the list...I think the listserver didn't like my > digital signature for some reason. :p actually, my evolution didn't like it also. I only got the headers and a file called "smime.p7m". I had to save it to disk to read it. maybe a mime problem... > > Anyway, as I remember you can only set it before installation. I had > used the 'Other' setting at first also, but that definitely didn't work. > Is there a setting for Unixware? Give that a try instead. wow, that's bad news. ok, I don't think I have an option here. I'll try it... thanx -- Haim From owner-freebsd-stable@FreeBSD.ORG Thu Jun 10 04:11:48 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AC5AE16A4CE for ; Thu, 10 Jun 2004 04:11:48 +0000 (GMT) Received: from luskan.oddworld.com (luskan.oddworld.com [205.162.246.17]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8A50643D46 for ; Thu, 10 Jun 2004 04:11:48 +0000 (GMT) (envelope-from khoi@oddworld.com) Received: from hercules ([192.168.1.40]) by luskan.oddworld.com (Netscape Messaging Server 4.15) with ESMTP id HZ2RNN00.Q1Y for ; Wed, 9 Jun 2004 21:11:47 -0700 From: "Khoi Dinh" To: Date: Wed, 9 Jun 2004 21:11:46 -0700 MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Thread-Index: AcROoQt1SKslG3hrTdy+2XMXzG5NpA== Message-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: Port scan detection in ipfw2 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: khoi@oddworld.com List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jun 2004 04:11:48 -0000 Hi All, This is a repost and I was hoping there might be a solution to this. I was wondering if ipfw2 has the ability to detect port scan like iptables with the psd module. I'm looking for a kernel-based solution, not app-based like portsentry. Also, is ipfw2 able to allow/disallow traffic according to time? ie. If I wanted to allow http traffic only from 9am to 1pm, can I do this with ipfw? I've been looking all over the net looking for a solution but haven't found one and was hoping that someone on the list could help me out, even if the answer is "no, there are no such kernel-based features." Thank you, Khoi From owner-freebsd-stable@FreeBSD.ORG Thu Jun 10 05:48:40 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C47A416A4CE for ; Thu, 10 Jun 2004 05:48:40 +0000 (GMT) Received: from ylpvm01.prodigy.net (ylpvm01-ext.prodigy.net [207.115.57.32]) by mx1.FreeBSD.org (Postfix) with ESMTP id 80C8943D5C for ; Thu, 10 Jun 2004 05:48:40 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (adsl-63-207-60-35.dsl.lsan03.pacbell.net [63.207.60.35])i5A5mVnI008885; Thu, 10 Jun 2004 01:48:32 -0400 Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 7FAD352910; Wed, 9 Jun 2004 22:48:31 -0700 (PDT) Date: Wed, 9 Jun 2004 22:48:31 -0700 From: Kris Kennaway To: Khoi Dinh Message-ID: <20040610054831.GA81567@xor.obsecurity.org> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="u3/rZRmxL6MmkK24" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i cc: freebsd-stable@freebsd.org Subject: Re: Port scan detection in ipfw2 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jun 2004 05:48:40 -0000 --u3/rZRmxL6MmkK24 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jun 09, 2004 at 09:11:46PM -0700, Khoi Dinh wrote: > Hi All, >=20 > This is a repost and I was hoping there might be a solution to this. I w= as > wondering if ipfw2 has the ability to detect port scan like iptables with > the psd module. I'm looking for a kernel-based solution, not app-based l= ike > portsentry. Also, is ipfw2 able to allow/disallow traffic according to > time? ie. If I wanted to allow http traffic only from 9am to 1pm, can I do > this with ipfw? I've been looking all over the net looking for a solution > but haven't found one and was hoping that someone on the list could help = me > out, even if the answer is "no, there are no such kernel-based features." The kernel is the wrong place for these features, and they can be implemented straightforwardly in userland. Kris --u3/rZRmxL6MmkK24 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAx/YvWry0BWjoQKURAu+lAKDXti/wZwutpzdU33UlK22WLHI0QACeKzXA Lt8TqJFFFhaIRwDs+JS+iiQ= =KGsE -----END PGP SIGNATURE----- --u3/rZRmxL6MmkK24-- From owner-freebsd-stable@FreeBSD.ORG Thu Jun 10 09:14:27 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A88F716A4CE for ; Thu, 10 Jun 2004 09:14:27 +0000 (GMT) Received: from ha-smtp3.tiscali.nl (smtp-b2c.tiscali.nl [195.241.80.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 46B9443D46 for ; Thu, 10 Jun 2004 09:14:27 +0000 (GMT) (envelope-from a.go@tiscali.nl) Received: from 195.240.141.39 (unknown [195.240.141.39]) by ha-smtp3.tiscali.nl (Postfix) with ESMTP id 059333026E4 for ; Thu, 10 Jun 2004 11:14:13 +0200 (CEST) Received: (qmail 509 invoked from network); 10 Jun 2004 09:14:52 -0000 Received: from unknown (HELO ?192.168.1.10?) (@192.168.1.10) by 192.168.1.10 with SMTP; 10 Jun 2004 09:14:52 -0000 From: Andre Goeree To: freebsd-stable@freebsd.org Date: Thu, 10 Jun 2004 11:14:49 +0200 User-Agent: KMail/1.6.1 References: <000301c44deb$4a78f1b0$1414a8c0@kyle> <40C6B14B.70605@users.sourceforge.net> In-Reply-To: <40C6B14B.70605@users.sourceforge.net> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200406101114.50726.a.go@tiscali.nl> Subject: Re: Mysql Problems X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jun 2004 09:14:27 -0000 Op woensdag 9 juni 2004 08:42, schreef Rob: > Kyle Mott wrote: > > I've now done buildworld twice, to no avail; for some reason, every 1-3 > > minutes a new mysql process is started, for which looks like no apparent > > reason. Mysql on this machine is used very rarely, though it does get > > Today (June 9th) I update my world and kernel, and I encountered a big > problem; my web-browsers (mozilla and opera) cannot resolve hostnames > anymore. > > I have then downgraded to Stable world/kernel of June 1st, which > solved the problem. Next I updated to June 5th, which was also OK. > > At present I'm trying June 7th, trying to zoom in on what commit(s) > have caused this problem. > > I don't know anything of Mysql, but I just wondered if there's a > connection. > > Regards, > Rob. > I can confirm that commits after June 5th broke some applications on my 4.10 box. Namely xmms-esound and privoxy would hang in limbo after some time; no messages, nothing, just dead in the water (had to kill them manually). Reinstalling them from ports (together with dependencies) did not solve the problem. Next I tried putting back a 'checkpoint' backup (something I will do before major upgrades of ports) of a few months ago. Xmms-esound and privoxy where showing the same behavior. Finally I tried downgrading the base system to June 5th which solved my problems. I have narrowed down the commits to: $ cat /var/tmp/src_20040609.log Parsing supfile "/home/cvsup/releng_4-supfile" Connecting to cvsup3.nl.freebsd.org Connected to cvsup3.nl.freebsd.org Server software version: SNAP_16_1h Negotiating file attribute support Exchanging collection information Establishing multiplexed-mode data connection Running Updating collection src-all/cvs Edit src/etc/defaults/pccard.conf Add delta 1.98.2.38 2003.07.20.03.45.28 imp Edit src/etc/mail/Makefile Add delta 1.9.2.25 2003.07.12.23.23.46 gshapiro Edit src/etc/mtree/BSD.local.dist Add delta 1.55.2.24 2003.11.04.19.32.15 murray Edit src/etc/mtree/BSD.x11-4.dist Add delta 1.13.2.9 2004.05.08.07.32.33 kris Edit src/lib/libc/stdio/fclose.c Add delta 1.8 99.11.21.22.34.57 dt Edit src/lib/libmilter/Makefile Add delta 1.1.2.2 2002.07.22.14.21.49 ru Edit src/lib/libsm/Makefile Add delta 1.1.2.2 2002.07.19.18.46.26 ru Edit src/release/doc/en_US.ISO8859-1/installation/common/trouble.sgml Add delta 1.1.2.4 2002.10.15.21.42.51 bmah Edit src/sys/dev/fxp/if_fxp.c Add delta 1.110.2.33 2004.04.22.22.03.26 ru Edit src/sys/net/bpf.h Add delta 1.21.2.4 2002.07.05.14.40.00 fenner Edit src/sys/netgraph/ng_ether.c Add delta 1.2.2.15 2004.06.01.22.55.24 archie Edit src/sys/netinet6/ip6_input.c Add delta 1.11.2.15 2003.01.24.05.11.35 sam Edit src/usr.sbin/sendmail/Makefile Add delta 1.15.2.13 2002.03.25.21.32.29 gshapiro Shutting down connection to server Finished successfully Regards, Andre From owner-freebsd-stable@FreeBSD.ORG Thu Jun 10 09:23:43 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D829E16A4CE for ; Thu, 10 Jun 2004 09:23:43 +0000 (GMT) Received: from auk1.snu.ac.kr (auk1.snu.ac.kr [147.46.100.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 51A6243D54 for ; Thu, 10 Jun 2004 09:23:43 +0000 (GMT) (envelope-from stopspam@users.sourceforge.net) Received: from [147.46.44.181] (stopspam@users.sourceforge.net) by auk1.snu.ac.kr (Terrace Internet Messaging Server) with ESMTP id 2004061018:23:21:435868.24301.2407963568 for ; Thu, 10 Jun 2004 18:23:21 +0900 (KST) Message-ID: <40C82896.6050003@users.sourceforge.net> Date: Thu, 10 Jun 2004 18:23:34 +0900 From: Rob User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040507 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-stable@freebsd.org References: <000301c44deb$4a78f1b0$1414a8c0@kyle> <40C6B14B.70605@users.sourceforge.net> <200406101114.50726.a.go@tiscali.nl> In-Reply-To: <200406101114.50726.a.go@tiscali.nl> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-TERRACE-SPAMMARK: NO (SR:7.00) (by Terrace) Subject: Re: Mysql Problems X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jun 2004 09:23:44 -0000 Andre Goeree wrote: > > > I can confirm that commits after June 5th broke some applications on my > 4.10 box. Namely xmms-esound and privoxy would hang in limbo after > some time; no messages, nothing, just dead in the water (had to kill them > manually). Reinstalling them from ports (together with dependencies) did > not solve the problem. > > I have narrowed down the commits to: > > Edit src/lib/libc/stdio/fclose.c > Add delta 1.8 99.11.21.22.34.57 dt It's the commit to fclose.c on June 8th, that is the offending commit here. It has already been reverted the next day. Regards, Rob. From owner-freebsd-stable@FreeBSD.ORG Thu Jun 10 10:43:59 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F173416A4CE for ; Thu, 10 Jun 2004 10:43:59 +0000 (GMT) Received: from mail.errors.firstcallgroup.co.uk (mail.errors.firstcallgroup.co.uk [213.167.69.198]) by mx1.FreeBSD.org (Postfix) with ESMTP id AC42A43D53 for ; Thu, 10 Jun 2004 10:43:59 +0000 (GMT) (envelope-from petefrench@keithprowse.com) Received: from smaug.rattatosk ([172.16.1.8]) by mail.errors.firstcallgroup.co.uk with esmtp (Exim 4.22) id 1BYN2E-000C3Q-Ud; Thu, 10 Jun 2004 11:43:50 +0100 Received: from [172.16.1.6] (helo=dilbert.firstcallgroup.co.uk) by smaug.rattatosk with esmtp (Exim 4.32; FreeBSD) id 1BYN2E-000G36-Kq; Thu, 10 Jun 2004 11:43:50 +0100 Received: from petefrench by dilbert.firstcallgroup.co.uk with local (Exim 4.32; FreeBSD) id 1BYN2E-00015B-K4; Thu, 10 Jun 2004 11:43:50 +0100 To: freebsd-stable@freebsd.org, haim@babysnakes.org In-Reply-To: Message-Id: From: Pete French Date: Thu, 10 Jun 2004 11:43:50 +0100 Subject: RE: newbie question about compiling kernel on compaq proliant 6400R X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jun 2004 10:44:00 -0000 > > Is there a setting for Unixware? Give that a try instead. > wow, that's bad news. ok, I don't think I have an option here. I'll try > it... I have used a lot of SMP Compaq's over the years - you need to set the OS type to Novel netware 3 or 4 SMP and then it works. Its oone of those qierd bits of arcane knowledge which gets passed around by word of mouth and never makes it into a FAQ for some reason. -pcf. From owner-freebsd-stable@FreeBSD.ORG Thu Jun 10 12:40:15 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 96F0616A4D0 for ; Thu, 10 Jun 2004 12:40:15 +0000 (GMT) Received: from gromit.dlib.vt.edu (gromit.dlib.vt.edu [128.173.49.29]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4EE1443D31 for ; Thu, 10 Jun 2004 12:40:15 +0000 (GMT) (envelope-from paul@gromit.dlib.vt.edu) Received: from hawkwind.Chelsea-Ct.Org (pool-141-152-69-55.roa.east.verizon.net [141.152.69.55]) by gromit.dlib.vt.edu (8.12.11/8.12.11) with ESMTP id i5ACe0OE066071 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 10 Jun 2004 08:40:02 -0400 (EDT) (envelope-from paul@gromit.dlib.vt.edu) Received: from [192.168.1.25] (zappa.Chelsea-Ct.Org [192.168.1.25]) i5ACdsUn020586; Thu, 10 Jun 2004 08:39:55 -0400 (EDT) From: Paul Mather To: khoi@oddworld.com In-Reply-To: References: Content-Type: text/plain Message-Id: <1086871193.9393.8.camel@zappa.Chelsea-Ct.Org> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Thu, 10 Jun 2004 08:39:54 -0400 Content-Transfer-Encoding: 7bit cc: freebsd-stable@freebsd.org Subject: Re: Port scan detection in ipfw2 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jun 2004 12:40:15 -0000 On Thu, 2004-06-10 at 00:11, Khoi Dinh wrote: > Also, is ipfw2 able to allow/disallow traffic according to > time? ie. If I wanted to allow http traffic only from 9am to 1pm, can I do > this with ipfw? I've been looking all over the net looking for a solution > but haven't found one and was hoping that someone on the list could help me > out, even if the answer is "no, there are no such kernel-based features." I don't believe there are any "kernel-based features" to do the above, but a reasonable solution to that problem would be to use two cron jobs. One, run at 9am, would insert/remove rules using ipfw to allow HTTP traffic. The other, run at 1pm, would insert/remove rules using ipfw to deny HTTP traffic. You're probably already using cron to do log rotation via newsyslog, so leveraging that tool to rotate ipfw traffic policies shouldn't be beyond the pale... Cheers, Paul. -- e-mail: paul@gromit.dlib.vt.edu "Without music to decorate it, time is just a bunch of boring production deadlines or dates by which bills must be paid." --- Frank Vincent Zappa From owner-freebsd-stable@FreeBSD.ORG Thu Jun 10 12:46:53 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 03FBE16A4CE for ; Thu, 10 Jun 2004 12:46:53 +0000 (GMT) Received: from mail.sandvine.com (sandvine.com [199.243.201.138]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7CD2843D2F for ; Thu, 10 Jun 2004 12:46:52 +0000 (GMT) (envelope-from don@sandvine.com) Received: by mail.sandvine.com with Internet Mail Service (5.5.2657.72) id ; Thu, 10 Jun 2004 08:46:38 -0400 Message-ID: From: Don Bowman To: 'Paul Mather' , khoi@oddworld.com Date: Thu, 10 Jun 2004 08:46:37 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="iso-8859-1" cc: freebsd-stable@freebsd.org Subject: RE: Port scan detection in ipfw2 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jun 2004 12:46:53 -0000 From: Paul Mather [mailto:paul@gromit.dlib.vt.edu] > On Thu, 2004-06-10 at 00:11, Khoi Dinh wrote: > > > Also, is ipfw2 able to allow/disallow traffic according to > > time? ie. If I wanted to allow http traffic only from 9am > to 1pm, can I do > > this with ipfw? I've been looking all over the net looking > for a solution > > but haven't found one and was hoping that someone on the > list could help me > > out, even if the answer is "no, there are no such > kernel-based features." > > I don't believe there are any "kernel-based features" to do the above, > but a reasonable solution to that problem would be to use two cron > jobs. One, run at 9am, would insert/remove rules using ipfw to allow > HTTP traffic. The other, run at 1pm, would insert/remove rules using > ipfw to deny HTTP traffic. You're probably already using > cron to do log > rotation via newsyslog, so leveraging that tool to rotate ipfw traffic > policies shouldn't be beyond the pale... > > Cheers, > > Paul. There was a patch to ipfw posted last year that gave time to rules. From owner-freebsd-stable@FreeBSD.ORG Thu Jun 10 13:31:05 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5769316A4CE for ; Thu, 10 Jun 2004 13:31:05 +0000 (GMT) Received: from gromit.dlib.vt.edu (gromit.dlib.vt.edu [128.173.49.29]) by mx1.FreeBSD.org (Postfix) with ESMTP id E091E43D41 for ; Thu, 10 Jun 2004 13:31:04 +0000 (GMT) (envelope-from paul@gromit.dlib.vt.edu) Received: from hawkwind.Chelsea-Ct.Org (pool-141-152-69-55.roa.east.verizon.net [141.152.69.55]) by gromit.dlib.vt.edu (8.12.11/8.12.11) with ESMTP id i5ADUIQl066297 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 10 Jun 2004 09:30:20 -0400 (EDT) (envelope-from paul@gromit.dlib.vt.edu) Received: from [192.168.1.25] (zappa.Chelsea-Ct.Org [192.168.1.25]) i5ADUCfu021171; Thu, 10 Jun 2004 09:30:13 -0400 (EDT) From: Paul Mather To: Don Bowman In-Reply-To: References: Content-Type: text/plain Message-Id: <1086874211.9393.32.camel@zappa.Chelsea-Ct.Org> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Thu, 10 Jun 2004 09:30:12 -0400 Content-Transfer-Encoding: 7bit cc: khoi@oddworld.com cc: freebsd-stable@freebsd.org Subject: RE: Port scan detection in ipfw2 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jun 2004 13:31:05 -0000 On Thu, 2004-06-10 at 08:46, Don Bowman wrote: > There was a patch to ipfw posted last year that gave time > to rules. Interesting. Does the rule processing of the patch burden all packets with an extra check (for time validity), or just those with a time restraint on the rule? I wonder, also, how "keep-state" rules are handled. Are the time constraints of the "keep-state" rule included with the dynamic rule created from it? (If not, that would mean a packet could be allowed in violation of its time constraint?) Does the syntax of time specification use the local time zone, and, if so, what happens during the switch between daylight savings... ;-) Cheers, Paul. -- e-mail: paul@gromit.dlib.vt.edu "Without music to decorate it, time is just a bunch of boring production deadlines or dates by which bills must be paid." --- Frank Vincent Zappa From owner-freebsd-stable@FreeBSD.ORG Thu Jun 10 14:43:20 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A394A16A4CE; Thu, 10 Jun 2004 14:43:20 +0000 (GMT) Received: from access.inet.co.th (access.inet.co.th [203.151.127.252]) by mx1.FreeBSD.org (Postfix) with ESMTP id D747643D5D; Thu, 10 Jun 2004 14:43:19 +0000 (GMT) (envelope-from pirat@access.inet.co.th) Received: from firak.thai-aec.org (TruPPPv92-230-206.inet.co.th [203.151.230.206]) by access.inet.co.th (8.12.9p2/8.12.9) with ESMTP id i5AEhBYR068947; Thu, 10 Jun 2004 21:43:12 +0700 (ICT) (envelope-from pirat@access.inet.co.th) Received: from firak.thai-aec.org (localhost.thai-aec.org [127.0.0.1]) by firak.thai-aec.org (8.12.11/8.12.11) with ESMTP id i5AEn4Ra016733; Thu, 10 Jun 2004 21:49:04 +0700 (ICT) (envelope-from pirat@access.inet.co.th) Received: (from pirat@localhost) by firak.thai-aec.org (8.12.11/8.12.11/Submit) id i5AEn12o016732; Thu, 10 Jun 2004 21:49:01 +0700 (ICT) (envelope-from pirat@access.inet.co.th) X-Authentication-Warning: firak.thai-aec.org: pirat set sender to pirat@access.inet.co.th using -f Date: Thu, 10 Jun 2004 21:49:01 +0700 From: pirat To: freebsd-stable@FreeBSD.ORG Message-ID: <20040610144901.GA16706@thai-aec.org> Mime-Version: 1.0 Content-Type: text/plain; charset=tis-620 Content-Disposition: inline User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD firak.thai-aec.org 4.10-RELEASE FreeBSD 4.10-RELEASE www-home-page: http://www.thai-aec.org www-FreeBSD-page: http://www.thai.net/makham cc: freebsd-questions@FreeBSD.ORG Subject: -current boot bring to db> prompt X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jun 2004 14:43:20 -0000 hi sirs, i boot my inspiron 1100 box but it stop at db> and i can not get out of there. what i did were that i copied ltmdm.ko from other machine to inspiron at /boot/kernel/ and add ltmdm_load="YES" at /boot/load.conf i just wanted to remove either ltmdm.ko from /boot/kernel/ or ltmdm_load="YES" from /boot/load.conf well, am a newbies for admin. tasks. thanks for any helps and hints. -- with best regards, psr http://www.thai-aec.org http://www.thai.net/makham From owner-freebsd-stable@FreeBSD.ORG Thu Jun 10 16:13:25 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7B24716A4CE for ; Thu, 10 Jun 2004 16:13:25 +0000 (GMT) Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by mx1.FreeBSD.org (Postfix) with ESMTP id E2DAC43D2F for ; Thu, 10 Jun 2004 16:13:24 +0000 (GMT) (envelope-from freebsd-stable@m.gmane.org) Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1BYSB9-0004PK-00 for ; Thu, 10 Jun 2004 18:13:23 +0200 Received: from ns-ilmail3.ns-systems.com ([62.90.139.134]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 10 Jun 2004 18:13:23 +0200 Received: from haim by ns-ilmail3.ns-systems.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 10 Jun 2004 18:13:23 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-stable@freebsd.org From: Haim Ashkenazi Date: Thu, 10 Jun 2004 19:13:20 +0300 Lines: 16 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: ns-ilmail3.ns-systems.com User-Agent: Pan/0.14.2.91 (As She Crawled Across the Table (Debian GNU/Linux)) Sender: news Subject: RE: newbie question about compiling kernel on compaq proliant 6400R X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jun 2004 16:13:25 -0000 On Thu, 10 Jun 2004 11:43:50 +0100, Pete French wrote: >> > Is there a setting for Unixware? Give that a try instead. >> wow, that's bad news. ok, I don't think I have an option here. I'll try >> it... > > I have used a lot of SMP Compaq's over the years - you need to set the > OS type to Novel netware 3 or 4 SMP and then it works. Its oone of > those qierd bits of arcane knowledge which gets passed around by word of mouth > and never makes it into a FAQ for some reason. thanx. it worked!! Bye -- Haim From owner-freebsd-stable@FreeBSD.ORG Thu Jun 10 16:22:08 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D96FE16A4CE for ; Thu, 10 Jun 2004 16:22:08 +0000 (GMT) Received: from mail.errors.firstcallgroup.co.uk (mail.errors.firstcallgroup.co.uk [213.167.69.198]) by mx1.FreeBSD.org (Postfix) with ESMTP id A9D6D43D1F for ; Thu, 10 Jun 2004 16:22:08 +0000 (GMT) (envelope-from petefrench@keithprowse.com) Received: from smaug.rattatosk ([172.16.1.8]) by mail.errors.firstcallgroup.co.uk with esmtp (Exim 4.22) id 1BYSIh-000KkT-Ar; Thu, 10 Jun 2004 17:21:11 +0100 Received: from [172.16.1.6] (helo=dilbert.firstcallgroup.co.uk) by smaug.rattatosk with esmtp (Exim 4.32; FreeBSD) id 1BYSIh-000GU2-2B; Thu, 10 Jun 2004 17:21:11 +0100 Received: from petefrench by dilbert.firstcallgroup.co.uk with local (Exim 4.32; FreeBSD) id 1BYSIh-0002UU-16; Thu, 10 Jun 2004 17:21:11 +0100 To: freebsd-stable@freebsd.org, haim@babysnakes.org In-Reply-To: Message-Id: From: Pete French Date: Thu, 10 Jun 2004 17:21:11 +0100 Subject: RE: newbie question about compiling kernel on compaq proliant 6400R X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jun 2004 16:22:09 -0000 > > I have used a lot of SMP Compaq's over the years - you need to set the > > OS type to Novel netware 3 or 4 SMP and then it works. Its oone of > > those qierd bits of arcane knowledge which gets passed around by word of mouth > > and never makes it into a FAQ for some reason. > thanx. it worked!! Can we please get this into some documentation somewhere ? I am sure I have to post this bit of info far too often considering the abundance of multiprocessor Compaw servers in the world! -pcf. From owner-freebsd-stable@FreeBSD.ORG Thu Jun 10 18:47:12 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9F12B16A4F0 for ; Thu, 10 Jun 2004 18:47:12 +0000 (GMT) Received: from luskan.oddworld.com (luskan.oddworld.com [205.162.246.17]) by mx1.FreeBSD.org (Postfix) with ESMTP id 837C943D2D for ; Thu, 10 Jun 2004 18:47:12 +0000 (GMT) (envelope-from khoi@oddworld.com) Received: from hercules ([192.168.1.40]) by luskan.oddworld.com (Netscape Messaging Server 4.15) with ESMTP id HZ3W6C00.M2N; Thu, 10 Jun 2004 11:47:00 -0700 From: "Khoi Dinh" To: "'Paul Mather'" , "'Don Bowman'" Date: Thu, 10 Jun 2004 11:47:00 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: <1086874211.9393.32.camel@zappa.Chelsea-Ct.Org> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Thread-Index: AcRO8wkaO1qEWsW2TMybDpy7EtBIQQAJ4zBw Message-ID: cc: freebsd-stable@freebsd.org Subject: RE: Port scan detection in ipfw2 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: khoi@oddworld.com List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jun 2004 18:47:12 -0000 Thanks all the responses. I was thinking of the cron solution too but wanted to see if there was something nifty in ipfw that I didn't know about. My main concern is still the port scan detection. I guess there is really no way to set up ipfw to detect port scan. Some users have suggested using user app for this but my firewall is already set up to deny everything except for some specific traffic. Using a user app would not do any good because the application would never see the scan. Thanks again, Khoi -----Original Message----- From: owner-freebsd-stable@freebsd.org [mailto:owner-freebsd-stable@freebsd.org] On Behalf Of Paul Mather Sent: Thursday, June 10, 2004 6:30 AM To: Don Bowman Cc: khoi@oddworld.com; freebsd-stable@freebsd.org Subject: RE: Port scan detection in ipfw2 On Thu, 2004-06-10 at 08:46, Don Bowman wrote: > There was a patch to ipfw posted last year that gave time to rules. Interesting. Does the rule processing of the patch burden all packets with an extra check (for time validity), or just those with a time restraint on the rule? I wonder, also, how "keep-state" rules are handled. Are the time constraints of the "keep-state" rule included with the dynamic rule created from it? (If not, that would mean a packet could be allowed in violation of its time constraint?) Does the syntax of time specification use the local time zone, and, if so, what happens during the switch between daylight savings... ;-) Cheers, Paul. -- e-mail: paul@gromit.dlib.vt.edu "Without music to decorate it, time is just a bunch of boring production deadlines or dates by which bills must be paid." --- Frank Vincent Zappa _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" !DSPAM:40c86900483383735917220! From owner-freebsd-stable@FreeBSD.ORG Thu Jun 10 19:59:39 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4D25E16A4CE for ; Thu, 10 Jun 2004 19:59:39 +0000 (GMT) Received: from out004.verizon.net (out004pub.verizon.net [206.46.170.142]) by mx1.FreeBSD.org (Postfix) with ESMTP id D78B643D58 for ; Thu, 10 Jun 2004 19:59:38 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from [192.168.1.3] ([68.161.84.3]) by out004.verizon.net (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP id <20040610195938.EXJZ1551.out004.verizon.net@[192.168.1.3]>; Thu, 10 Jun 2004 14:59:38 -0500 Message-ID: <40C8BDAA.9040301@mac.com> Date: Thu, 10 Jun 2004 15:59:38 -0400 From: Chuck Swiger Organization: The Courts of Chaos User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040608 X-Accept-Language: en-us, en MIME-Version: 1.0 To: khoi@oddworld.com References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Authentication-Info: Submitted using SMTP AUTH at out004.verizon.net from [68.161.84.3] at Thu, 10 Jun 2004 14:59:37 -0500 cc: freebsd-stable@freebsd.org Subject: Re: Port scan detection in ipfw2 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jun 2004 19:59:39 -0000 Khoi Dinh wrote: > This is a repost and I was hoping there might be a solution to this. I was > wondering if ipfw2 has the ability to detect port scan like iptables with > the psd module. I'm looking for a kernel-based solution, not app-based like > portsentry. ipfw performs packet inspection and it can certainly recognize the traffic associated with a port scan, yes. The kernel provides support for limiting the generation of ICMP error messages, which is what happens when someone port scans a bunch of closed ports. What else did you want to do? > Also, is ipfw2 able to allow/disallow traffic according to > time? ie. If I wanted to allow http traffic only from 9am to 1pm, can I do > this with ipfw? IPFW and IPFW2 have no notion of time, but one could very easily use cron to change your firewall rulesets at specific times in order to accomplish what you've asked for. -- -Chuck From owner-freebsd-stable@FreeBSD.ORG Thu Jun 10 20:37:50 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EA97816A4CE for ; Thu, 10 Jun 2004 20:37:50 +0000 (GMT) Received: from luskan.oddworld.com (luskan.oddworld.com [205.162.246.17]) by mx1.FreeBSD.org (Postfix) with ESMTP id B4B0D43D55 for ; Thu, 10 Jun 2004 20:37:50 +0000 (GMT) (envelope-from khoi@oddworld.com) Received: from hercules ([192.168.1.40]) by luskan.oddworld.com (Netscape Messaging Server 4.15) with ESMTP id HZ41B200.02Y; Thu, 10 Jun 2004 13:37:50 -0700 From: "Khoi Dinh" To: "'Chuck Swiger'" Date: Thu, 10 Jun 2004 13:37:49 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: <40C8BDAA.9040301@mac.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Thread-Index: AcRPJXlCHBw9xA1iSViF3rZxVmuEmgABM4lQ Message-ID: cc: freebsd-stable@freebsd.org Subject: RE: Port scan detection in ipfw2 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: khoi@oddworld.com List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jun 2004 20:37:51 -0000 Excellent! This is what I need. The hint leads me to changing "net.inet.icmp.icmplim" accordingly. Thanks! Khoi -----Original Message----- From: Chuck Swiger [mailto:cswiger@mac.com] Sent: Thursday, June 10, 2004 1:00 PM To: khoi@oddworld.com Cc: freebsd-stable@freebsd.org Subject: Re: Port scan detection in ipfw2 Khoi Dinh wrote: > This is a repost and I was hoping there might be a solution to this. > I was wondering if ipfw2 has the ability to detect port scan like > iptables with the psd module. I'm looking for a kernel-based > solution, not app-based like portsentry. ipfw performs packet inspection and it can certainly recognize the traffic associated with a port scan, yes. The kernel provides support for limiting the generation of ICMP error messages, which is what happens when someone port scans a bunch of closed ports. What else did you want to do? > Also, is ipfw2 able to allow/disallow traffic according to time? ie. > If I wanted to allow http traffic only from 9am to 1pm, can I do this > with ipfw? IPFW and IPFW2 have no notion of time, but one could very easily use cron to change your firewall rulesets at specific times in order to accomplish what you've asked for. -- -Chuck From owner-freebsd-stable@FreeBSD.ORG Thu Jun 10 21:13:44 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0C8F216A4CE for ; Thu, 10 Jun 2004 21:13:44 +0000 (GMT) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 57E9C43D55 for ; Thu, 10 Jun 2004 21:13:43 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from heffalump.ip.net.ua (heffalump.ip.net.ua [82.193.96.213]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id i5ALJNer066180 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 11 Jun 2004 00:19:24 +0300 (EEST) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.12.11/8.12.11) id i5ALDRS7003150 for stable@FreeBSD.org; Fri, 11 Jun 2004 00:13:27 +0300 (EEST) (envelope-from ru) Date: Fri, 11 Jun 2004 00:13:27 +0300 From: Ruslan Ermilov To: stable@FreeBSD.org Message-ID: <20040610211327.GA3040@ip.net.ua> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="45Z9DzgjV8m4Oswq" Content-Disposition: inline User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd-new X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) Subject: ipfw(8) lookup tables now available for RELENG_4 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jun 2004 21:13:44 -0000 --45Z9DzgjV8m4Oswq Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable For those of you interested, here you can find a patch that adds the IPFW2 lookup tables feature to RELENG_4: http://people.FreeBSD.org/~ru/patches/ipfw_tables.patch I plan to commit it next Friday. Feedback is appreciated. Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --45Z9DzgjV8m4Oswq Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAyM73qRfpzJluFF4RAus1AJ4mBp819KfWeY0ijOSW1O+nLc9/kgCdFIGO K1b8+06Eof2/atfhEUkHIuY= =I+Gk -----END PGP SIGNATURE----- --45Z9DzgjV8m4Oswq-- From owner-freebsd-stable@FreeBSD.ORG Thu Jun 10 21:30:42 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 83A9316A590 for ; Thu, 10 Jun 2004 21:30:42 +0000 (GMT) Received: from tomts20-srv.bellnexxia.net (tomts20.bellnexxia.net [209.226.175.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id C003B43D58 for ; Thu, 10 Jun 2004 21:30:36 +0000 (GMT) (envelope-from dmagda@ee.ryerson.ca) Received: from number6.magda.ca ([65.92.114.214]) by tomts20-srv.bellnexxia.netESMTP <20040610213035.GNWS26030.tomts20-srv.bellnexxia.net@number6.magda.ca>; Thu, 10 Jun 2004 17:30:35 -0400 Received: from [192.168.1.132] (gandalf.magda.ca [192.168.1.132]) by number6.magda.ca (8.12.11/8.12.11) with ESMTP id i5ALUZT9002601; Thu, 10 Jun 2004 17:30:35 -0400 (EDT) (envelope-from dmagda@ee.ryerson.ca) In-Reply-To: References: Mime-Version: 1.0 (Apple Message framework v618) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <68EC3908-BB25-11D8-997F-000A95B96FF8@ee.ryerson.ca> Content-Transfer-Encoding: 7bit From: David Magda Date: Thu, 10 Jun 2004 17:30:35 -0400 To: "zohaib najeeb" X-Mailer: Apple Mail (2.618) cc: freebsd-stable@freebsd.org Subject: Re: implementation of IPv6 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: David Magda List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jun 2004 21:30:43 -0000 On Jun 8, 2004, at 16:17, zohaib najeeb wrote: > I need to know how to implement IPv6 on FreeBSD systems. I am new to > FreeBSD. I am hoping someone could help me out and/or refer to some > usefull sites. Define "implement". It's available in the default install last time I checked (and has been for several years). You can assign an IPv6 address to any interface, set up routes, do DNS, etc. without having to toggle anything. Just use ifconfig(8). There's a short section in the Handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network- ipv6.html From owner-freebsd-stable@FreeBSD.ORG Thu Jun 10 23:11:47 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D2DFB16A4CE; Thu, 10 Jun 2004 23:11:47 +0000 (GMT) Received: from out007.verizon.net (out007pub.verizon.net [206.46.170.107]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6540343D39; Thu, 10 Jun 2004 23:11:47 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from [192.168.1.3] ([68.161.84.3]) by out007.verizon.net (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP id <20040610231132.IXJW28276.out007.verizon.net@[192.168.1.3]>; Thu, 10 Jun 2004 18:11:32 -0500 Message-ID: <40C8EAA4.9000903@mac.com> Date: Thu, 10 Jun 2004 19:11:32 -0400 From: Chuck Swiger Organization: The Courts of Chaos User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040608 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ruslan Ermilov References: <20040610211327.GA3040@ip.net.ua> In-Reply-To: <20040610211327.GA3040@ip.net.ua> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Authentication-Info: Submitted using SMTP AUTH at out007.verizon.net from [68.161.84.3] at Thu, 10 Jun 2004 18:11:31 -0500 cc: stable@FreeBSD.org Subject: Re: ipfw(8) lookup tables now available for RELENG_4 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jun 2004 23:11:47 -0000 Ruslan Ermilov wrote: > For those of you interested, here you can find a patch that > adds the IPFW2 lookup tables feature to RELENG_4: > > http://people.FreeBSD.org/~ru/patches/ipfw_tables.patch > > I plan to commit it next Friday. Feedback is appreciated. Was the patch not made relative to /usr/src? The diff applied cleanly, but I had to invoke 'patch -p0' for it to find the files. Anyway, I just finished rebuilding kernel and world, so the changes compile fine, and it looks like my machine rebooted cleanly. Seems to work okay with a trivial IPFW2 ruleset, I haven't tried anything more complicated: 00100 78 25096 allow ip from any to any via lo0 00200 0 0 deny ip from any to 127.0.0.0/8 00300 0 0 deny ip from 127.0.0.0/8 to any 65000 513 53267 allow ip from any to any --- Copyright (c) 1992-2004 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.10-STABLE #2: Thu Jun 10 18:41:59 EDT 2004 root@sec.pkix.net:/usr/obj/usr/src/sys/NORMAL Timecounter "i8254" frequency 1193182 Hz CPU: Intel(R) Celeron(TM) CPU 1400MHz (933.37-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x6b4 Stepping = 4 Features=0x383f9ff on motherboard apm0: found APM BIOS v1.2, connected at v1.2 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 [ ... ] DUMMYNET initialized (011031) BRIDGE 020214 loaded ipfw2 initialized, divert enabled, rule-based forwarding enabled, default to accept, logging limited to 100 packets/entry by default IPsec: Initialized Security Association Processing. ad0: 8223MB [16708/16/63] at ata0-master UDMA33 Mounting root from ufs:/dev/ad0s2a Thanks for the work to MFC this... -- -Chuck From owner-freebsd-stable@FreeBSD.ORG Thu Jun 10 23:13:51 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5481516A4CE for ; Thu, 10 Jun 2004 23:13:51 +0000 (GMT) Received: from ylpvm15.prodigy.net (ylpvm15-ext.prodigy.net [207.115.57.46]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D73D43D39 for ; Thu, 10 Jun 2004 23:13:51 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (adsl-63-207-60-35.dsl.lsan03.pacbell.net [63.207.60.35])i5ANDqbJ025257; Thu, 10 Jun 2004 19:13:52 -0400 Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id EB576511BD; Thu, 10 Jun 2004 16:13:47 -0700 (PDT) Date: Thu, 10 Jun 2004 16:13:47 -0700 From: Kris Kennaway To: Khoi Dinh Message-ID: <20040610231347.GB99161@xor.obsecurity.org> References: <1086874211.9393.32.camel@zappa.Chelsea-Ct.Org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="DKU6Jbt7q3WqK7+M" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i cc: freebsd-stable@freebsd.org Subject: Re: Port scan detection in ipfw2 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jun 2004 23:13:51 -0000 --DKU6Jbt7q3WqK7+M Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Jun 10, 2004 at 11:47:00AM -0700, Khoi Dinh wrote: > Thanks all the responses. I was thinking of the cron solution too but > wanted to see if there was something nifty in ipfw that I didn't know about. > My main concern is still the port scan detection. I guess there is really > no way to set up ipfw to detect port scan. Some users have suggested using > user app for this but my firewall is already set up to deny everything > except for some specific traffic. Using a user app would not do any good > because the application would never see the scan. It would parse the ipfw logs. Kris --DKU6Jbt7q3WqK7+M Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAyOsrWry0BWjoQKURAmjFAJ4ze7EhH3am9Il/xRWCu7y7KrHc5gCg+tY1 1mlMkuMyzz7aYE8kv6zejW0= =PXGr -----END PGP SIGNATURE----- --DKU6Jbt7q3WqK7+M-- From owner-freebsd-stable@FreeBSD.ORG Thu Jun 10 23:35:51 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5AAC216A4CE; Thu, 10 Jun 2004 23:35:51 +0000 (GMT) Received: from access.inet.co.th (access.inet.co.th [203.151.127.252]) by mx1.FreeBSD.org (Postfix) with ESMTP id A032243D39; Thu, 10 Jun 2004 23:35:50 +0000 (GMT) (envelope-from pirat@access.inet.co.th) Received: from firak.thai-aec.org (TruPPPv92-230-106.inet.co.th [203.151.230.106]) by access.inet.co.th (8.12.9p2/8.12.9) with ESMTP id i5ANZOYR033558; Fri, 11 Jun 2004 06:35:25 +0700 (ICT) (envelope-from pirat@access.inet.co.th) Received: from firak.thai-aec.org (localhost.thai-aec.org [127.0.0.1]) by firak.thai-aec.org (8.12.11/8.12.11) with ESMTP id i5ANfTdP000528; Fri, 11 Jun 2004 06:41:29 +0700 (ICT) (envelope-from pirat@access.inet.co.th) Received: (from pirat@localhost) by firak.thai-aec.org (8.12.11/8.12.11/Submit) id i5ANfQRU000527; Fri, 11 Jun 2004 06:41:26 +0700 (ICT) (envelope-from pirat@access.inet.co.th) X-Authentication-Warning: firak.thai-aec.org: pirat set sender to pirat@access.inet.co.th using -f Date: Fri, 11 Jun 2004 06:41:26 +0700 From: pirat To: freebsd-stable@freebsd.org Message-ID: <20040610234126.GA481@thai-aec.org> References: <20040610144901.GA16706@thai-aec.org> Mime-Version: 1.0 Content-Type: text/plain; charset=tis-620 Content-Disposition: inline In-Reply-To: <20040610144901.GA16706@thai-aec.org> User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD firak.thai-aec.org 4.10-RELEASE FreeBSD 4.10-RELEASE www-home-page: http://www.thai-aec.org www-FreeBSD-page: http://www.thai.net/makham cc: freebsd-questions@freebsd.org Subject: Re: -current boot bring to db> prompt X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jun 2004 23:35:51 -0000 On Thursday, 10 June 2004 at 21:49:01 +0700, pirat wrote: > Date: Thu, 10 Jun 2004 21:49:01 +0700 > From: pirat > To: freebsd-stable@freebsd.org > Cc: freebsd-questions@freebsd.org > Subject: -current boot bring to db> prompt > > hi sirs, > > i boot my inspiron 1100 box but it stop at > > db> > > and i can not get out of there. what i did were that i copied > ltmdm.ko from other machine to inspiron at /boot/kernel/ and add > > ltmdm_load="YES" > > at /boot/load.conf > > i just wanted to remove either ltmdm.ko from /boot/kernel/ > or ltmdm_load="YES" from /boot/load.conf > > well, am a newbies for admin. tasks. thanks for any helps and hints. > hi sirs, sorry for the noises. i boot once again and go to loader prompt and then unload load /boot/kernel/kernel boot now that i can get rid of that harm ltmdm.ko once again apologize me for disturbing the lists -- with best regards, psr http://www.thai-aec.org http://www.thai.net/makham From owner-freebsd-stable@FreeBSD.ORG Fri Jun 11 01:16:00 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EFD1A16A4CE for ; Fri, 11 Jun 2004 01:16:00 +0000 (GMT) Received: from linda.pathlink.com (linda.pathlink.com [129.250.170.197]) by mx1.FreeBSD.org (Postfix) with ESMTP id BC88E43D1D for ; Fri, 11 Jun 2004 01:16:00 +0000 (GMT) (envelope-from kachun@pathlink.com) Received: from kachun.pathlink.com (dvl-1.pathlink.com [129.250.170.211]) by linda.pathlink.com (8.12.8p1/8.12.8) with ESMTP id i5B1FXoG082843 for ; Thu, 10 Jun 2004 18:15:33 -0700 (PDT) (envelope-from kachun@pathlink.com) Message-Id: <5.0.2.1.2.20040610180638.00b96788@dvl.pathlink.com> X-Sender: kachun@dvl.pathlink.com X-Mailer: QUALCOMM Windows Eudora Version 5.0.2 Date: Thu, 10 Jun 2004 18:15:35 -0700 To: freebsd-stable@freebsd.org From: Kachun Lee Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: FreeBSD 4.s PAE and TWE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Jun 2004 01:16:01 -0000 Hi, I just increased one of our Intel7501/Xeon servers to 6G RAM and enabled PAE. However, the TWE driver does not seem to work any more (dmesg below). Does any one else able to enable PAE with TWE? Any hint in trying to get it working will be greatly appreciated. Regards Kachun ------------------------------------------------------------------------------------------------------------- Copyright (c) 1992-2004 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.10-RELEASE #0: Thu Jun 10 15:57:37 PDT 2004 root@lisa.pathlink.com:/n/obj/n/bsd.src/4.10/src/sys/LEX Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 3056816752 Hz CPU: Intel(R) Xeon(TM) CPU 3.06GHz (3056.82-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf25 Stepping = 5 Features=0xbfebfbff Hyperthreading: 2 logical CPUs real memory = 5368709120 (5242880K bytes) avail memory = 4953387008 (4837292K bytes) Preloaded elf kernel "kernel" at 0xb5398000. Warning: Pentium 4 CPU: PSE disabled ccd0-23: Concatenated disk drivers Pentium Pro MTRR support enabled md0: Malloc disk Using $PIR table, 19 entries at 0xb50f3460 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 pci0: (vendor=0x8086, dev=0x2541) at 0.1 pcib1: at device 3.0 on pci0 pci2: on pcib1 pci2: (vendor=0x8086, dev=0x1461) at 28.0 pcib2: at device 29.0 on pci2 pci4: on pcib2 ahc0: port 0x3400-0x34ff mem 0xfeae0000-0x feae0fff irq 11 at device 1.0 on pci4 aic7899: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs ahc1: port 0x3000-0x30ff mem 0xfeaf0000-0x feaf0fff irq 11 at device 1.1 on pci4 aic7899: Ultra160 Wide Channel B, SCSI Id=7, 32/253 SCBs twe0: <3ware Storage Controller driver ver. 1.40.01.001> port 0x3800-0x380f mem 0xfe000000-0xfe7fffff,0xfea90000-0xfea9000f irq 11 at device 2.0 on pci4 device_probe_and_attach: twe0 attach returned 12 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ pci2: (vendor=0x8086, dev=0x1461) at 30.0 pcib3: at device 31.0 on pci2 pci3: on pcib3 twe0: <3ware Storage Controller driver ver. 1.40.01.001> port 0x2000-0x200f mem 0xfd000000-0xfd7fffff,0xfd9f0000-0xfd9f000f irq 11 at device 1.0 on pci3 device_probe_and_attach: twe0 attach returned 12 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ twe0: <3ware Storage Controller driver ver. 1.40.01.001> port 0x2010-0x201f mem 0xfc800000-0xfcffffff,0xfd9d0000-0xfd9d000f irq 11 at device 2.0 on pci3 device_probe_and_attach: twe0 attach returned 12 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ahd0: port 0x2800-0x28ff,0x2400-0x24ff mem 0xfd9b0000-0xfd9b1fff irq 11 at device 3.0 on pci3 aic7901A: Ultra320 Wide Channel A, SCSI Id=7, PCI 33 or 66Mhz, 512 SCBs pci0: (vendor=0x8086, dev=0x2546) at 3.1 pci0: at 29.0 irq 5 pci0: at 29.1 irq 10 pcib4: at device 30.0 on pci0 pci1: on pcib4 fxp0: port 0x1440-0x147f mem 0xfb780000-0xfb79fff f,0xfb7a0000-0xfb7a0fff irq 11 at device 3.0 on pci1 fxp0: Ethernet address 00:03:47:30:f6:77 inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto em0: port 0x1480-0x14bf mem 0xfb740000-0xfb75ffff irq 11 at device 4.0 on pci1 em0: Speed:N/A Duplex:N/A twe0: <3ware Storage Controller driver ver. 1.40.01.001> port 0x1400-0x140f mem 0xf9800000-0xf9ffffff,0xfb7e0000-0xfb7e000f irq 9 at device 9.0 on pci1 device_probe_and_attach: twe0 attach returned 12 pci1: at 12.0 irq 11 isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x3a0-0x3af,0-0x3,0-0x7,0-0x3,0-0x7 irq 0 at device 31.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pci0: (vendor=0x8086, dev=0x2483) at 31.3 irq 0 orm0: