From owner-freebsd-bugs@FreeBSD.ORG Sun Apr 24 01:50:27 2005 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7EAB216A4CE for ; Sun, 24 Apr 2005 01:50:27 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 36C6843D31 for ; Sun, 24 Apr 2005 01:50:27 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j3O1oQKl044510 for ; Sun, 24 Apr 2005 01:50:26 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j3O1oQ0c044507; Sun, 24 Apr 2005 01:50:26 GMT (envelope-from gnats) Date: Sun, 24 Apr 2005 01:50:26 GMT Message-Id: <200504240150.j3O1oQ0c044507@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Bruce Evans Subject: Re: bin/80256: /rescue/vi doesn't work without terminal database in /usr X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Bruce Evans List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Apr 2005 01:50:27 -0000 The following reply was made to PR bin/80256; it has been noted by GNATS. From: Bruce Evans To: "Simon L. Nielsen" Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: bin/80256: /rescue/vi doesn't work without terminal database in /usr Date: Sun, 24 Apr 2005 11:40:39 +1000 (EST) On Sat, 23 Apr 2005, Simon L. Nielsen wrote: > On 2005.04.23 17:19:17 +0200, Brian Candler wrote: > > I do note however from ncurses(3X): > >=20 > > If the ncurses library has been configured with termcap sup= > port, > > ncurses will check for a terminal's description in termcap fo= > rm if > > it is not available in the terminfo database. > >=20 > > This suggests a very simple solution (untested): > >=20 > > --- lib/libncurses/pathnames.h.orig Sat Apr 23 17:17:01 2005 > > +++ lib/libncurses/pathnames.h Sat Apr 23 17:17:13 2005 > > @@ -34,5 +34,5 @@ > > * $FreeBSD: src/lib/libncurses/pathnames.h,v 1.1 1999/08/30 07:57:50 pe= > ter Exp $ > > */ > > =20 > > -#define _PATH_DEF ".termcap /usr/share/misc/termcap" > > +#define _PATH_DEF ".termcap /usr/share/misc/termcap /rescue/termcap" > > #define _PATH_DEF_SEC "/usr/share/misc/termcap" > >=20 > > and then bundle a few termcap entries in /rescue/termcap. Is there any > > reason why that couldn't be done? > > Without knowing how the code in question works, that does sounds like > a simple way to get working vi in a rescue environment. Why not use the normal mechanism? Environment variables exist so that you don't have to hard-code paths into utilities. From environ(7): %%% TERMCAP The string describing the terminal in TERM, or, if it begins with a '/', the name of the termcap file. See TERMPATH below, and termcap(5). TERMPATH A sequence of pathnames of termcap files, separated by colons or spaces, which are searched for terminal descrip- tions in the order listed. Having no TERMPATH is equivalent to a TERMPATH of ``$HOME/.termcap:/etc/termcap''. TERMPATH is ignored if TERMCAP contains a full pathname. %%% Or you can use ".termcap" (maybe using a special $HOME for rescue) without changing ther defaults. There is also some documentation of TERMCAP and TERMPATH in termcap(5). This gives a few less details than the above, and points to termcap(3). termcap(3) used to have a few more details than the above, but has rotted and now doesn't say anything about the environment variables. The details are still in the Attic (libterm/Attic/termcap.3,v). Bruce From owner-freebsd-bugs@FreeBSD.ORG Sun Apr 24 04:04:13 2005 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C587916A4CF for ; Sun, 24 Apr 2005 04:04:12 +0000 (GMT) Received: from hostcompany100.com (hostcompany100.com [203.194.209.79]) by mx1.FreeBSD.org (Postfix) with SMTP id 61E5343D4C for ; Sun, 24 Apr 2005 04:04:11 +0000 (GMT) (envelope-from webmaster@confexim.com) Received: (qmail 2753 invoked by uid 514); 24 Apr 2005 04:04:09 -0000 Message-ID: <20050424040408.29346.qmail@hostcompany100.com> From: "webmaster" To: freebsd-bugs@freebsd.org Date: Sun, 24 Apr 2005 04:04:08 MIME-Version: 1.0 X-Mailer: WebMail 2.0 X-Originating-IP: 218.19.11.69 X-Originating-Email: webmaster@confexim.com Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Subject: installation problem on SuperMicro X6DH8-G2 w/ Adaptec 2010s ... X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: webmaster List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Apr 2005 04:04:13 -0000 Hi all, i am new to this list and cannot find the answer to my question so i thought it may be reasonable to post here. i just built a server with dual Xeon 64bit 3.2 ghz on a SuperMicro X6DH8-G2 motherboard, 3 GB of DDRII ram, 3 Seagate SCSI HDs (RAID 5), Adaptec 2010s RAID card. i tried to boot from FreeBSD 5.3 (amd64) installation CD and it froze when displaying "Preloading image...", then i tried booting with APCI disabled and it went fine. after it boots into Sysintall, it cannot find any disks! not knowing what to do... i checked the FreeBSD handbook, and noticed that it should go into kernel configuration menu before it boots, however, it didn't in this case and i dont know if this is meant to be like this. then i attempted to install FreeBSD 4.11(i386) on the system instead, unfortunately it does not yet have one that supports amd64 platform. during startup, it went into kernel configuration menu first unlike in 5.3 (amd64), and i was able to install it without any problems. it found the SCSI disks... does anyone else encounter such a problem with 5.3 (amd64)? any solutions? thanks~ Yi-lei Wu From owner-freebsd-bugs@FreeBSD.ORG Sun Apr 24 21:28:22 2005 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8156316A4CE; Sun, 24 Apr 2005 21:28:22 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 455AA43D3F; Sun, 24 Apr 2005 21:28:22 +0000 (GMT) (envelope-from mp@FreeBSD.org) Received: from freefall.freebsd.org (mp@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j3OLSMHM026010; Sun, 24 Apr 2005 21:28:22 GMT (envelope-from mp@freefall.freebsd.org) Received: (from mp@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j3OLSM98026006; Sun, 24 Apr 2005 21:28:22 GMT (envelope-from mp) Date: Sun, 24 Apr 2005 21:28:22 GMT From: Mark Peek Message-Id: <200504242128.j3OLSM98026006@freefall.freebsd.org> To: eik@FreeBSD.org, mp@FreeBSD.org, freebsd-bugs@FreeBSD.org, mp@FreeBSD.org Subject: Re: bin/66420: [PATCH] tcsh: history mangles command lines containing the hash character X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Apr 2005 21:28:22 -0000 Synopsis: [PATCH] tcsh: history mangles command lines containing the hash character State-Changed-From-To: open->closed State-Changed-By: mp State-Changed-When: Sun Apr 24 21:25:58 GMT 2005 State-Changed-Why: This has been included in tcsh 6.14 which has been imported into -current. Responsible-Changed-From-To: freebsd-bugs->mp Responsible-Changed-By: mp Responsible-Changed-When: Sun Apr 24 21:25:58 GMT 2005 Responsible-Changed-Why: This has been included in tcsh 6.14 which has been imported into -current. http://www.freebsd.org/cgi/query-pr.cgi?pr=66420 From owner-freebsd-bugs@FreeBSD.ORG Mon Apr 25 09:40:07 2005 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 20BCA16A4CE for ; Mon, 25 Apr 2005 09:40:07 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id D28EC43D45 for ; Mon, 25 Apr 2005 09:40:06 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j3P9e6Ti052810 for ; Mon, 25 Apr 2005 09:40:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j3P9e6e0052809; Mon, 25 Apr 2005 09:40:06 GMT (envelope-from gnats) Resent-Date: Mon, 25 Apr 2005 09:40:06 GMT Resent-Message-Id: <200504250940.j3P9e6e0052809@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Danny Braniss Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C619C16A4CE for ; Mon, 25 Apr 2005 09:33:37 +0000 (GMT) Received: from cs1.cs.huji.ac.il (cs1.cs.huji.ac.il [132.65.16.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 76A5543D45 for ; Mon, 25 Apr 2005 09:33:37 +0000 (GMT) (envelope-from danny@cs.huji.ac.il) Received: from x-dev.cs.huji.ac.il ([132.65.16.100]) by cs1.cs.huji.ac.il with esmtp id 1DPzyC-0009Do-9y for FreeBSD-gnats-submit@freebsd.org; Mon, 25 Apr 2005 12:33:36 +0300 Received: from danny by x-dev.cs.huji.ac.il with local (Exim 4.44 (FreeBSD)) id 1DPzyC-000Jo3-9c for FreeBSD-gnats-submit@freebsd.org; Mon, 25 Apr 2005 12:33:36 +0300 Message-Id: Date: Mon, 25 Apr 2005 12:33:36 +0300 From: Danny Braniss To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: kern/80321: serial db problems X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Danny Braniss List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Apr 2005 09:40:07 -0000 >Number: 80321 >Category: kern >Synopsis: serial db problems >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Apr 25 09:40:06 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Danny Braniss >Release: FreeBSD 6.0-CURRENT >Organization: >Environment: System: FreeBSD 6.0-CURRENT #2: Sat Apr 23 13:56:40 IDT 2005 i386/amd64 >Description: when using the serial to debug, and if the system panics, the db serial input is broken, most characters have to be typed more than once. the dmesg is in: ftp://ftp.cs.huji.ac.il/users/danny/freebsd/serial-bug/tip.record the config is in: ftp://ftp.cs.huji.ac.il/users/danny/freebsd/serial-bug/HUJI and there are flags all over to set the console speed to 38400 (make.conf: BOOT_COMCONSOLE_SPEED?=38400) >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Mon Apr 25 11:00:45 2005 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BD6D716A4CE for ; Mon, 25 Apr 2005 11:00:45 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id A7E4543D1D for ; Mon, 25 Apr 2005 11:00:45 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j3PB0jxW060350 for ; Mon, 25 Apr 2005 11:00:45 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j3PB0iUK060344 for freebsd-bugs@freebsd.org; Mon, 25 Apr 2005 11:00:44 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 25 Apr 2005 11:00:44 GMT Message-Id: <200504251100.j3PB0iUK060344@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: FreeBSD bugs list Subject: open PR's (mis)filed to gnats-admin and in limbo X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Apr 2005 11:00:45 -0000 Current FreeBSD problem reports Critical problems Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2005/04/24] pending/80302gnats-admin =?iso-8859-1?B?Um9sZXggZm9yICQyNDkuOTk=?= o [2005/04/24] pending/80303gnats-admin Photoshop Windows Office. CHEAP. o [2005/04/24] pending/80311gnats-admin =?iso-8859-1?B?U3dpc3Mgd2F0Y2hlcyAtIHJlcG o [2005/04/25] pending/80313gnats-admin Unauthorized Account Access [Routing Code o [2005/04/25] pending/80314gnats-admin Dont let age deter you from great sex! 5 problems total. Non-critical problems From owner-freebsd-bugs@FreeBSD.ORG Mon Apr 25 11:00:53 2005 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EA33416A4CE for ; Mon, 25 Apr 2005 11:00:52 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 91C5143D1D for ; Mon, 25 Apr 2005 11:00:52 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j3PB0qDK060361 for ; Mon, 25 Apr 2005 11:00:52 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j3PB0jBG060356 for freebsd-bugs@freebsd.org; Mon, 25 Apr 2005 11:00:45 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 25 Apr 2005 11:00:45 GMT Message-Id: <200504251100.j3PB0jBG060356@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: FreeBSD bugs list Subject: Current problem reports X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Apr 2005 11:00:53 -0000 Current FreeBSD problem reports The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. Bugs can be in one of several states: o - open A problem report has been submitted, no sanity checking performed. a - analyzed The problem is understood and a solution is being sought. f - feedback Further work requires additional information from the originator or the community - possibly confirmation of the effectiveness of a proposed solution. p - patched A patch has been committed, but some issues (MFC and / or confirmation from originator) are still open. s - suspended The problem is not being worked on, due to lack of information or resources. This is a prime candidate for somebody who is looking for a project to do. If the problem cannot be solved at all, it will be closed, rather than suspended. c - closed A problem report is closed when any changes have been integrated, documented, and tested -- or when fixing the problem is abandoned. Critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- a [2000/01/27] bin/16393 gad /bin/sh doesn't strip comments on shebang a [2001/05/10] kern/27250 bp [unionfs] [patch] unionfs filesystem pani p [2001/12/28] gnu/33262 mp gdb does not handle pending signals corre o [2002/06/08] kern/39043 Corrupted files on a FAT32 partition (wit o [2002/08/16] kern/41723 [2TB] on 1TB fs, copying files to filesys o [2002/10/25] bin/44471 qa [sysinstall] 4.6 install writes MBR even o [2003/02/16] bin/48341 qa [sysinstall] sysinstall deletes mbr altho o [2003/03/23] kern/50201 [twe] 3ware RAID 5 resulting in data corr o [2003/06/28] kern/53874 emulation /usr/ports/emulators/linux_base isn't wor o [2003/10/06] i386/57673 i386 [disklabel] Odd/dangerous disklabel behav o [2003/11/10] kern/59103 Serious data corruption reading compact f o [2003/12/12] kern/60175 panic: 5.2-RC: disk errors cause panic in o [2003/12/17] kern/60313 data destruction: lseek() misalignment si o [2004/02/12] amd64/62753 obrien txp(4) panics on amd4 o [2004/02/16] i386/62902 i386 Data Corruption on Dell PE 600SC (Server o [2004/04/22] threads/65883threads libkse's sigwait does not work after fork o [2004/04/28] i386/66039 i386 panic: system panic with file system corr o [2004/05/04] bin/66261 fsck cannot recover filesystem corruption o [2004/05/11] kern/66553 rwatson SEBSD kernel compilation errors o [2004/05/27] i386/67260 i386 [boot] stack overflow after boot menu whe o [2004/07/07] kern/68757 kan rapid file creation on snapshotted filesy o [2004/08/06] kern/70096 [patch] full msdos file system causes cor o [2004/08/23] kern/70881 5.3 beta1 kernel.generic missing from /bo o [2004/09/05] i386/71395 i386 Data corrupted on Serverworks CG-SL chips o [2004/09/09] i386/71538 i386 [install] multi-homed install trashes exi o [2004/09/16] kern/71800 5.3-RELEASE crash (infinite IRQ list dump o [2004/10/21] kern/72979 unkillable process(es) stuck in `STOP' st o [2004/10/22] bin/73019 fsck_ufs: cannot alloc 607016868 bytes fo o [2004/10/27] amd64/73211 amd64 FAST_IPSEC broken on amd64 o [2004/11/19] kern/74137 FreeBSD 5.3 BTX loader stack overflows an o [2004/12/14] amd64/75043 le Vinum panic on booting from mirrored vinu o [2004/12/20] alpha/75317 alpha ATA DMA broken on PCalpha o [2005/01/05] kern/75844 phk gbde causes disk write errors and subsequ o [2005/01/18] i386/76397 i386 ata raid crashes in g_down (heavy load) o [2005/01/26] threads/76690threads fork hang in child for (-lc_r & -lthr) o [2005/02/07] kern/77234 [patch] corrupted data is read from UDF f o [2005/03/14] i386/78837 i386 Partition Table Corruption in 5.3 o [2005/04/22] usb/80260 usb Travan USB tape drive fails to write o [2005/04/22] i386/80268 i386 System with Transmeta Efficeon cpu crashe 39 problems total. Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- a [1997/04/02] bin/3170 vi freaks and dump core if user doesn't e s [1997/10/01] bin/4672 rdist does not do hard links right when t a [1998/05/06] bin/6536 peter pppd doesn't restore drainwait for tty o [1998/06/24] i386/7057 mdodd 3Com 3C509 locks up, or has >1000ms rtt u o [1998/09/30] gnu/8099 obrien [patch] some bugs in cpio o [1998/11/11] bin/8646 Implement rlogind -a option f [1998/11/21] kern/8778 gibbs Buslogic BT948 in 2 boxes upgraded from S o [1998/11/25] kern/8861 mdodd under heavy (multi interface) traffic ep0 f [1998/11/25] bin/8865 dwmalone syslogd hangs with serial console o [1999/02/15] kern/10107 interlock situation with exec_map and a p o [1999/03/02] bin/10353 jon ypserv gets segmentation violation o [1999/03/30] kern/10870 eivind Kernel panic when writing to write-protec o [1999/05/13] kern/11697 tegge Disk failure hangs system o [1999/09/11] bin/13691 fenner tcpslice cannot extract over 2GB part of s [1999/09/16] conf/13775 multi-user boot may hang in NIS environme f [1999/09/30] ports/14048 des [patch] doscmd -r doesn't work a [1999/11/04] kern/14712 iedowse [nfs] root has access to NFS mounted dire s [1999/11/17] bin/14946 mjacob rmt - remote magtape protocol f [1999/12/26] kern/15707 bad trap in mprotect o [2000/01/02] i386/15845 imp [patch] Driver for RealTek 8029 f [2000/01/04] bin/15877 tobez Perl 5.00503 interpreter crashes with a s o [2000/01/12] kern/16090 mdodd No buffer space available p [2000/01/22] kern/16299 peadar [nfs] nfs.ko can be unloaded when nfsd is o [2000/02/21] conf/16879 tanimura [sound] Sound drivers seem to be using sh o [2000/02/24] bin/16948 qa [sysinstall] sysinstall/disklabel: bad pa o [2000/03/11] kern/17310 wpaul [patch] NIS host name resolving may loop o [2000/03/17] kern/17422 bde 4.0-STABLE: top: nlist failed s [2000/03/22] conf/17540 [nfs] NIS host lookups cause NFS mounts t o [2000/03/27] kern/17620 jhay Digi/570i sync driver (if_ar.c) causes sy o [2000/04/06] kern/17819 [unionfs] Build ports on nfs & union moun f [2000/04/24] i386/18185 gibbs Adaptec 3950U2 errors during boot/probe o [2000/05/18] kern/18641 paul [panic] FreeBSD V4.0 crashes when using i s [2000/05/22] bin/18742 mike times.allow field parsed incorrectly p [2000/05/29] kern/18874 [2TB] 32bit NFS servers export wrong nega o [2000/06/13] i386/19245 obrien -fexpensive-optimizations buggy (even wit s [2000/06/20] bin/19405 markm telnetd sends DO AUTHENTICATION even if a o [2000/07/02] kern/19654 mbr 20 dc ports in one machine (5x 4port card s [2000/07/08] bin/19773 markm [PATCH] telnet infinite loop depending on o [2000/07/13] gnu/19882 obrien ld does not detect all undefined symbols! o [2000/07/18] kern/20016 threads pthreads: Cannot set scheduling timer/Can o [2000/07/19] kern/20040 jhb Toshiba 2775 hangs after pcib0 driver is o [2000/07/25] bin/20172 byacc 1.9 fails to generate $default tran o [2000/07/29] bin/20282 qa [sysinstall] sysinstall does not recover o [2000/07/30] i386/20308 mux [panic] vidcontrol VESA_800x600 causes a p [2000/08/03] bin/20373 Setting breakpoints in shared objects bro o [2000/08/08] ports/20490 perky Termios timeout parameters, VMIN, VTIME, s [2000/08/10] bin/20521 mjacob /etc/rmt several problems o [2000/08/10] kern/20523 bde Support for PCI multiport cards for sio d o [2000/08/16] bin/20633 fdisk doesn't handle LBA correctly o [2000/08/23] kern/20804 deadlocking when using vnode disk file an o [2000/08/26] kern/20861 threads libc_r does not honor socket timeouts o [2000/08/29] bin/20912 marcel gdb does not recognise old executables. o [2000/08/31] kern/20958 mdodd ep0 lockup with ifconfig showing OACTIVE o [2000/09/07] bin/21089 vi silently corrupt open file on SIGINT w a [2000/09/16] kern/21304 mbr dc0 watchdog timeouts on NetGear FA310TX o [2000/09/20] misc/21406 [boot] bootinst or booteasy overwrites se o [2000/09/21] kern/21461 imp ISA PnP resource allocator problem o [2000/09/22] kern/21463 emulation Linux compatability mode should not allow o [2000/09/29] kern/21642 Compaq Netelligent 10/100 card (TI Thunde o [2000/10/05] kern/21771 rik Fix for sppp and Cronyx drivers update a [2000/10/07] kern/21808 [patch] msdosfs incorrectly handles vnode o [2000/10/15] kern/21998 green [patch] ident only for outgoing connectio o [2000/10/20] kern/22142 cjc securelevel does not affect mount f [2000/10/25] bin/22291 [nfs] getcwd() fails on recently-modified o [2000/10/30] kern/22417 gibbs advansys wide scsi driver does not suppor o [2000/11/13] kern/22826 emulation Memory limits have no effect in linux com a [2000/11/14] bin/22846 bms Routed does not reflect preference of Int f [2000/11/18] i386/22944 tegge isa_dmainit fails on machines with 512MB o [2000/11/20] gnu/22972 obrien Internal Compiler Error o [2000/11/25] bin/23098 ambrisko [patch] [sysinstall] if installing on a s o [2000/12/14] kern/23535 imp 4.x kernels seem to no longer support Ada o [2001/01/04] kern/24074 mdodd Properties of token-ring protocol must be o [2001/01/05] kern/24085 syncing on shutdown leaves filesystem dir o [2001/01/07] docs/24125 wes connect(2) can yield EWOULDBLOCK/EAGAIN o [2001/01/12] bin/24271 dumpon should check its argument more f [2001/01/16] bin/24391 mbr cannot kill amd after interface disappear o [2001/01/19] bin/24461 Being able to increase the YP timeout wit o [2001/01/20] threads/24472threads libc_r does not honor SO_SNDTIMEO/SO_RCVT o [2001/01/25] kern/24629 harti ng_socket failes to declare connected dat o [2001/01/25] threads/24632threads libc_r delicate deviation from libc in ha o [2001/01/25] kern/24641 threads pthread_rwlock_rdlock can deadlock s [2001/01/30] kern/24740 cy filesystem corruption CFP1080 CAM SCSI ca o [2001/02/10] kern/24982 stack gap usage o [2001/02/11] i386/24997 /boot/loader cannot handle extended dos p o [2001/02/11] ports/25007 max telnetx problem on 4.x p [2001/02/13] kern/25067 able to mount a pathname > 80 char. but u o [2001/02/14] kern/25093 4.2-STABLE does not recognize PCNet-ISA+ o [2001/02/21] kern/25248 bde sys/user.h needs sys/param.h, but doesn't f [2001/02/21] kern/25261 gibbs ahc0 no active SCB errors when booting of o [2001/03/03] kern/25511 ioctl(fd, FIONREAD, &c) on a FIFO (not PI o [2001/03/05] bin/25542 standards /bin/sh: null char in quoted string o [2001/03/13] i386/25781 i386 Statclocks cannot be disabled on ServerWo p [2001/03/15] bin/25826 nfsd -t -h adr1 -h adr2 doesn't work o [2001/03/16] bin/25851 qa [patch] security hole in anonymous FTP se o [2001/03/18] bin/25886 cgetset(3) doesn't get cleared when switc o [2001/03/19] kern/25910 sound [sound] Kernel sound driver may die if a o [2001/03/19] bin/25929 qa [fixit] Can't use MAKEDEV in fixit mount o [2001/03/20] kern/25950 obrien Bad drives on asr look zero-length and pa a [2001/03/22] kern/25986 andre Socket would hang at LAST_ACK forever. o [2001/03/23] kern/26035 sound [sound] [hang] system hangs when playing o [2001/03/24] kern/26048 obrien 4.3-RC: SMP and asr driver don't work to a [2001/03/27] kern/26142 [nfs] Unlink fails on NFS mounted filesys o [2001/03/28] kern/26171 emulation not work Linux-emulator, but hi is work i o [2001/04/03] kern/26316 Booting FreeBSD on VMware2 with 2 or 3 et o [2001/04/03] bin/26320 alfred [mount] [patch] mountd breaks IRIX automo a [2001/04/05] gnu/26362 "cvs server" doesn't honour the global -- o [2001/04/08] kern/26430 sound [sound] -CURRENT panics on cat /dev/dsp o o [2001/04/10] kern/26486 [patch] setnetgrent hangs when netgroup c o [2001/04/25] bin/26842 dd dump with h flag takes a very long time a [2001/04/26] bin/26869 vi(1) crashes in viewing a file with long o [2001/04/27] bin/26897 qa [sysinstall] 4.3R sysinstall fails to cre o [2001/05/03] kern/27059 scsi (symbios) SCSI subsystem hangs under heav f [2001/05/11] kern/27275 kernel bug ? (negative sbsize) o [2001/05/20] kern/27474 Interactive use of user PPP and ipfilter s [2001/05/22] kern/27543 /proc/cpuinfo does not handle SMP hosts o [2001/05/24] docs/27605 doc Cross-document references () o [2001/05/27] kern/27694 sound [sound] Panic in csa(4) f [2001/05/29] bin/27729 qa [sysinstall] the ls120 device "afd" does a [2001/06/05] kern/27893 sos can't burn audio cds on LG CD-RW CED-8083 o [2001/06/05] conf/27896 Error in /etc/exports invalidates entire o [2001/06/09] kern/27995 src/sys/pci if_pcn.c revision 1.21 resp. s [2001/06/14] ports/28138 perky python os.statvfs module is not functiona o [2001/06/17] bin/28223 su doesn't look at login.conf all the tim o [2001/06/26] bin/28424 mtree fails to report directory hierarchy o [2001/06/29] kern/28508 scsi problems with backup to Tandberg SLR40 st o [2001/07/04] kern/28692 sound [sound] ICH sound driver hangs kernel o [2001/07/06] kern/28768 The system doesn't get connects on one of o [2001/07/07] bin/28798 mikeh mail(1) with a pager (more) requires fg/C o [2001/07/09] kern/28840 gibbs Possible interrupt masking trouble in sys f [2001/07/23] kern/29170 ru ARP request fails after "bad gateway valu o [2001/07/27] bin/29253 natd forgets about udp connections o [2001/08/02] bin/29375 qa [sysinstall] disk editor gets confused by o [2001/08/03] kern/29421 Update a file with mmap will cause mtime/ o [2001/08/05] kern/29465 sound [sound] Can't probe NeoMagic 256AX audio f [2001/08/11] kern/29626 ifconfig causes kernel panic in 4.4-PRERE o [2001/08/13] kern/29686 kevent EV_ADD EVFILT_WRITE does the wrong o [2001/08/15] bin/29725 dwmalone [PATCH] Fixed segmentation fault in simpl o [2001/08/17] bin/29808 ypserv dumps core in yp_find_db o [2001/08/20] bin/29903 ypbind loses connection to NIS master and o [2001/08/23] kern/29983 imp Problem with "TI PCI-1250 PCI-CardBus Bri o [2001/08/27] kern/30125 btx/bootloader dumps very often if serial f [2001/08/28] kern/30160 [panic] kernel panic when flash disk is r f [2001/08/29] i386/30206 mdodd [boot] PS/2 server 85 can't boot kern.flp o [2001/08/30] kern/30223 [patch] Using /usr/share/examples/kld/cde p [2001/08/31] bin/30235 /usr/sbin/portmap cannot listen to localh o [2001/08/31] kern/30241 gibbs System crash w/err: AHC0; AHC_INTR - refe o [2001/09/04] bin/30310 top does not show CPU usage o [2001/09/06] conf/30399 Have Fortran use the CPUTYPE variable o [2001/09/10] kern/30482 calcru calls printf while holding a spin o [2001/09/10] alpha/30486 alpha AlphaServer DS10 floppy access is broken o [2001/09/10] alpha/30487 alpha Floppy access on AlphaServer DS20 solid l o [2001/09/15] kern/30592 roam [PATCH] panic: static sysctl oid too high o [2001/09/17] kern/30630 fenner Failure to check for existence of interfa o [2001/09/21] kern/30712 fatal kernel trap during ufs_rename a [2001/09/24] i386/30802 gibbs repeat of i386/22760. Adaptec SCSI contro o [2001/09/26] bin/30837 qa [sysinstall] sysinstall doesn't set the s o [2001/09/27] i386/30860 [hang] While install after "Mounting root o [2001/09/27] bin/30869 dump(8) does not dump all files of a file s [2001/09/29] i386/30921 [kbd] ACER mechanic ps/2 keyboard don´t w o [2001/10/01] kern/30948 ls'ing mounted brand new floppy locks up o [2001/10/01] kern/30958 rwatson QUOTA with 0 bytes in quota.user hangs up f [2001/10/01] bin/30966 fenner TCPdump repeating on Radius accounting pa o [2001/10/01] kern/30971 peter [nfs] NFS client modification time resolu s [2001/10/04] kern/31047 Linux programs do not dump core in linux o [2001/10/07] kern/31102 wpaul lge + Pentium III data transmission probl o [2001/10/14] kern/31266 cjc System can be crashed with "ls -al /flopp o [2001/10/15] bin/31304 joe [patch] fix crunchgen to work with more c o [2001/10/18] bin/31363 qa [sysinstall] "partition editor" silently o [2001/10/30] conf/31631 "MAC address" can't be acquired properly. o [2001/11/04] kern/31746 failed connect(2) seems to cause problems o [2001/11/06] kern/31790 [nfs] problem with NFS and jail() o [2001/11/12] kern/31940 nge gigabit adapter link reset and slow t o [2001/11/14] i386/31979 [kbd] Setup and boot locks Compaq Armada o [2001/11/19] kern/32098 semctl() does not propagate permissions a [2001/11/19] kern/32118 mbr 21143 with dc driver will not select 10ba o [2001/11/20] ports/32121 x11 XFree86-4-Server: xf86cfg 4.1.0 writes ba o [2001/11/26] bin/32295 threads pthread dont dequeue signals o [2001/11/28] kern/32353 if kern.maxproc > 512 sybase ASE 11.9.2( o [2001/11/29] bin/32374 vi -r doesn't work, file contained unexpe o [2001/12/08] bin/32619 des libfetch does not use RFC 1738's definito o [2001/12/10] kern/32668 peter [nfs] NFS directory removal problems mani o [2001/12/11] bin/32686 wosch locate command dumps a core file with bro f [2001/12/13] bin/32791 ru FreeBSD's man(1) utility vulnerable to ol f [2001/12/13] kern/32797 glebius [netgraph] Problem with IPX and netgraph( o [2001/12/22] ports/33080 ume gkrellmvolume interferes with the ability a [2001/12/22] i386/33089 murray GENERIC bloat causes 'make world' to brea o [2001/12/24] kern/33138 [patch] pnp problem in 4.3, 4.4, 4.5 f [2001/12/26] bin/33213 ume rarpd(8) fails to init IPv6 enabled inter o [2001/12/30] kern/33344 davidxu memory leak in device resource config loa o [2001/12/31] bin/33370 qa [sysinstall] post-configuration issue o [2002/01/02] kern/33464 soft update inconsistencies after system o [2002/01/04] kern/33532 sound [sound] Playing audio on some soundcards f [2002/01/04] gnu/33551 cvs chokes on OpenBSD repositories o [2002/01/08] bin/33672 [patch] telnetd and mount_mfs signal hand f [2002/01/08] kern/33696 mbr [panic] Driver mistake: repeat make_dev(" o [2002/01/13] kern/33833 luigi Correct kernel config for 4.4-RELEASE is o [2002/01/16] kern/33940 [patch] quotactl allows compromise gid-qu o [2002/01/18] kern/34017 The siginfo_t passed to the signal handli o [2002/01/18] bin/34030 miibus.ko can be loaded into the kernel w s [2002/01/20] i386/34092 reboot hangs the system (IBM PC Server 31 o [2002/01/21] gnu/34128 sdiff "e" doesn't work with some editors o [2002/01/25] gnu/34246 joe CVS doesn't rebuild CVSROOT/options f [2002/01/25] bin/34269 fenner tcpdump -v incorectly identifies packets o [2002/01/25] bin/34270 man -k could be used to execute any comma o [2002/01/31] kern/34470 bde Modem gets sio1 interrupt-level buffer o o [2002/02/01] threads/34536threads accept() blocks other threads o [2002/02/03] kern/34568 [lpt] turning printer on and off hangs th p [2002/02/04] kern/34619 bms TCP - FINs with different sequence number p [2002/02/07] bin/34682 fenner scanf/sscanf doesn't understand %lld f [2002/02/09] kern/34765 darrenr Unloading the ipl.ko module will panic th o [2002/02/11] bin/34811 sh: "jobs" is not pipeable o [2002/02/11] kern/34842 [NIS] [patch] VmWare port + NIS causes "b o [2002/02/18] i386/35078 [patch] Uninitialized pointer dereference o [2002/02/20] kern/35136 luigi VLAN & bridging & MTU o [2002/02/22] bin/35214 obrien dump program hangs while exiting f [2002/02/24] kern/35269 kris possible panics with 4:1 filesystem ratio p [2002/02/25] standards/35307standards standard include files are not standard c o [2002/02/26] i386/35350 Can't boot on ASUS TXP4 o [2002/02/26] kern/35351 sound [sound] emu10k1: no posibility to record o [2002/02/28] kern/35396 poll(2) doesn't set POLLERR for failed co o [2002/02/28] kern/35399 poll(2) botches revents on dropped socket o [2002/02/28] kern/35429 select(2)/poll(2)/kevent(2) can't/don't n o [2002/03/01] kern/35442 [patch] Problem transmitting runts in if_ o [2002/03/03] kern/35506 innetgr() doesn't match wildcard fields i o [2002/03/03] kern/35511 sis(4) multicast filtering doesn't pass s o [2002/03/07] kern/35615 sound [sound] [hang] ES1978 Maestro 2E sound ca f [2002/03/07] kern/35645 bms Layer 2 switching using default router of o [2002/03/08] kern/35669 [nfs] NFSROOT breaks without a gateway s [2002/03/08] docs/35678 doc docproj Makefiles for web are broken for f [2002/03/08] kern/35691 mbr Realtek NIC driver does not work with Rea o [2002/03/09] kern/35703 /proc/curproc/file returns unknown o [2002/03/10] conf/35726 andre [patch] [rc.network] can't use ifconfig o o [2002/03/14] gnu/35878 /usr/bin/strip resets ABI type to FreeBSD o [2002/03/15] bin/35925 qa [sysinstall] fixit floppy cannot be mount a [2002/03/16] bin/35985 qa [sysinstall] swap double mount o [2002/03/17] i386/36003 Cyclades Cyclom YeP causes panics on Free p [2002/03/18] kern/36038 bp [smbfs] sendfile(2) on smbfs fails, expos o [2002/03/19] misc/36086 trhodes Kerberos Problem/Handbook wrong/Followup a [2002/03/19] bin/36110 dmesg output corrupt if /dev/console is b o [2002/03/20] kern/36147 bogus irq 7 message being issued o [2002/03/21] docs/36168 doc -pthread/_THREAD_SAFE docs missing in gcc o [2002/03/22] kern/36219 [patch] poll() behaves erratic on BPF fil o [2002/03/28] kern/36415 [bktr] [patch] driver incorrectly handles o [2002/03/29] kern/36504 [patch] crash/panic vm_object_allocate un o [2002/03/29] bin/36508 qa [sysinstall] installation floppy bug (4.5 o [2002/03/30] i386/36517 sis driver can't map ports/memory for Net o [2002/03/31] kern/36566 [smbfs] System reboot with dead smb mount o [2002/04/05] kern/36784 Can't fcntl(fd, F_SETFL, ...) on a pseudo o [2002/04/07] ports/36846 ports-bugs fxtv 1.03 freezes the system when $LANG=d o [2002/04/08] bin/36867 [patch] games/fortune: add FORTUNE_PATH e o [2002/04/08] bin/36911 qa [sysinstall] installation floppies miss a o [2002/04/09] gnu/36926 send-pr destroys PR if emacs interrupt ch o [2002/04/10] i386/36943 reboot hangs on Tyan Thunder K7 with SMP o [2002/04/14] kern/37057 Problem with rlimits on filesystem mounte o [2002/04/14] kern/37064 imp [pccard] System hangs when removing wire o [2002/04/15] kern/37109 Kernel refuses to assign unused IP to tun p [2002/04/16] kern/37161 emulation ext2 linux file system, error handling la f [2002/04/19] i386/37240 EtherExpress16 not probed at boot o [2002/04/19] kern/37261 luigi kernel is not linking without "device eth o [2002/04/22] kern/37326 [bktr] smbus/bktr crash when omitting "de o [2002/04/22] bin/37343 portmap TCP binds strangeness o [2002/04/25] kern/37436 [hang] accept dead loop when out of file o [2002/04/25] kern/37441 davidxu [patch] ISA PNP parse problem o [2002/04/27] kern/37502 [nfs] NFS client ignores mtime.tv_usec fo o [2002/04/28] i386/37523 davidxu [patch] lock for bios16 call and vm86call f [2002/04/30] i386/37585 qa [hang] System hangs on install at probing o [2002/04/30] kern/37589 imp Kernel panics upon resume from zzz on my o [2002/05/02] kern/37675 le [vinum] Page fault when newfs'ing a vinum o [2002/05/03] kern/37710 qa LAN interface in wrong state after attemp f [2002/05/05] kern/37775 [smbfs] netsmb/smb_subr.c needs opt_globa o [2002/05/13] kern/38011 rsm Fatal Trap 12 using Xircom CE2 in IBM 760 f [2002/05/13] ports/38018 java www/jakarta-tomcat4: make passing of JVM f [2002/05/13] ports/38020 java www/jakarta-tomcat4: stop tomcat via java o [2002/05/14] i386/38070 [panic] 4.6-PRERELEASE panics on resume o o [2002/05/15] kern/38095 bp vlan not supported with fxp f [2002/05/17] kern/38166 gad ipv6_gateway_enable="YES" breaks lpd f [2002/05/18] ports/38212 knu XFree86-4 and portupgrade get dependencie f [2002/05/23] i386/38459 mux Intel SB82558B NIC won't initialize prope o [2002/05/24] i386/38484 [hang] probe freeze while probing devices o [2002/05/24] kern/38495 bms soreceive fails to maintain invariant on o [2002/05/24] kern/38518 [boot] combination of pr-27087 and pr-369 s [2002/05/24] kern/38527 /dev/random does not obey O_NONBLOCK flag o [2002/05/25] kern/38549 threads the procces compiled whith pthread stoppe a [2002/05/25] kern/38554 bms changing interface ipaddress doesn't seem o [2002/05/26] bin/38582 qa [sysinstall] sysinstall sets newfs flag a a [2002/05/27] gnu/38594 kan Fortan program don't link post gcc-3.1 o [2002/05/27] bin/38609 qa [sysinstall] sysinstall should know the s o [2002/05/27] kern/38632 imp Loss of connection with wi cards o [2002/05/30] i386/38731 Freebsd doesn't support ( pdc20276 / Raid o [2002/05/30] kern/38752 andre rn_walktree_from not halting at the right o [2002/06/01] kern/38795 sound [sound] kldunload of snd_ess, snd_sb16, s o [2002/06/03] kern/38872 [nfs] nfs code ignores possibility of MGE o [2002/06/04] i386/38894 Dell PowerEdge 4600 PCI Bus scan problems o [2002/06/05] bin/38918 edquota breaks silently when quota-marked o [2002/06/07] kern/38983 Kernel fails to access disk o [2002/06/12] kern/39185 core dump binary in single user mode o [2002/06/13] kern/39233 bms NonConforming IPsec implementation from F o [2002/06/13] kern/39252 Syscons doesn't support 8-bit control cha o [2002/06/14] kern/39260 sound [sound] pcm0 locks on boot, Compaq Presar o [2002/06/15] kern/39329 [mount] '..' at mountpoint is subject to o [2002/06/15] kern/39331 dwmalone namei cache unreliable for __getcwd() o [2002/06/17] kern/39388 scsi ncr/sym drivers fail with 53c810 and more s [2002/06/19] i386/39536 FreeBSD default bootloader does not load o [2002/06/20] i386/39604 Install failure on HP Pavilion 310n - Una o [2002/06/25] bin/39849 /sbin/restore fails to overwrite files wi o [2002/06/26] bin/39896 netmask 0xffffff00 no longer works in /et o [2002/06/27] threads/39922threads [PATCH?] Threaded applications executed w o [2002/06/27] kern/39928 imp wi0 timeouts and hangs the system while s a [2002/06/27] kern/39937 bms ipstealth issue a [2002/06/28] bin/39940 [patch] /usr/sbin/periodic sends thousand o [2002/06/29] kern/40001 le [vinum] vinum showing -2 drives after rem o [2002/06/30] i386/40044 SMP kernel fails to boot on DELL 610 o [2002/07/01] i386/40073 rsm Xircom Realport Ether doesn't work in Tos o [2002/07/02] kern/40122 sound [sound] Device pcm stopps booting Kernel f [2002/07/03] kern/40139 darrenr ipfilter issue o [2002/07/05] misc/40206 Can not assign alias to any POINTOPOINT i o [2002/07/05] bin/40215 wpaul [nis] NIS host search not terminate o [2002/07/05] i386/40219 i386 [apm] apm breaks removable media o [2002/07/05] bin/40227 [patch] CVS client doesn't upload new fil o [2002/07/06] bin/40260 qa [sysinstall] hang when detecting devices f [2002/07/06] i386/40274 "fxp: device timeout" errors during heavy o [2002/07/06] bin/40278 mktime returns -1 for certain dates/timez o [2002/07/07] bin/40282 /bin/kill has bad error checking for comm o [2002/07/10] kern/40394 if_tap driver hard coded permission check o [2002/07/12] bin/40471 des chpass(1) -a option broken in CURRENT o [2002/07/14] kern/40561 TTCP does not work with IPv6 o [2002/07/14] kern/40574 sound [sound] NeoMagic soundcard detection on G o [2002/07/15] i386/40577 [hang] post-October 2001 Dell Inspiron 25 f [2002/07/16] bin/40656 qa [patch] [sysinstall] scripted deletion of o [2002/07/19] kern/40787 kernel panic if PCMCIA CD-drive with moun o [2002/07/19] kern/40792 usb signals lead to data loss on device ugen o [2002/07/22] kern/40895 scsi wierd kernel / device driver bug s [2002/07/30] i386/41138 vr0 locks up on one hub, OK on another o [2002/07/31] kern/41216 [nfs] Get "NFS append race" error o [2002/08/01] conf/41242 periodic scripts make unwarranted assumpt o [2002/08/03] bin/41297 mp {t,}csh backquote/braces expansion bug f [2002/08/04] bin/41327 jon skey decrementing but not authorizing wit o [2002/08/04] kern/41331 threads Pthread library open sets O_NONBLOCK flag o [2002/08/05] bin/41350 vnconfig: apparent off-by-one bug o [2002/08/07] kern/41402 [panic] kernel panics in pmap_insert_entr o [2002/08/07] bin/41410 /bin/sh bug on expanding $? in here-docum o [2002/08/08] bin/41435 mbr dhclient writes lease file that it can't o [2002/08/13] kern/41632 luigi bridging when one interface has no carrie a [2002/08/14] bin/41647 bms ifconfig doesn't accept lladdr along with o [2002/08/16] kern/41720 if_nge_load=YES make system not bootable o [2002/08/17] kern/41740 le [vinum] page fault while rebuilding; inab o [2002/08/18] bin/41757 qa [sysinstall] sysinstall 4.6.x unstable p [2002/08/18] kern/41765 bms UDP socket remains connected after error s [2002/08/19] bin/41776 bms mrouted doesn't route multicast packets o [2002/08/19] conf/41777 /etc/periodic/daily/100.clean-disks remov o [2002/08/20] docs/41824 murray LANG is not documented in setlocale(3) o [2002/08/21] bin/41850 qa [sysinstall] sysinstall fails to create r o [2002/08/25] bin/42004 quota and rpc.statd are still IPv4 only, p [2002/08/26] kern/42030 bms panic when zebra works on detaching tun i o [2002/08/27] kern/42089 phk ntp_gettime returns time in wrong scale o [2002/08/27] bin/42093 ypbind hangs on NIC with the lowest scope o [2002/08/28] misc/42115 luigi PicoBSD: fix build script for 4.6-STABLE o [2002/08/29] kern/42173 sound [sound] Sony VAIO FXA 53 (or FXA 679 in M o [2002/08/30] i386/42198 pjd Kernel panics or system hangs up with big s [2002/08/30] kern/42216 rwatson simultaneous multiple server network fail o [2002/09/04] bin/42407 ppp(8) IPV6CP fails o [2002/09/07] i386/42539 Fatal Trap 12 resulting from Conner Perip o [2002/09/09] kern/42578 Using PCI serial cards (puc) in SMP machi p [2002/09/09] kern/42580 robert kernel crash when starting ISC 3.2 X11 bi o [2002/09/10] kern/42621 imp Dell Inspiron 5000e hangs when using Orin o [2002/09/11] kern/42652 [smbfs] error deleting r/o (by windows) f o [2002/09/11] bin/42658 markm recompile /usr/src/libexec/telnetd and lo o [2002/09/13] gnu/42726 cvsadm cvs -R pserver & val-tags: story continue p [2002/09/13] kern/42727 bms [PATCH] Wrong MTU in need-frag ICMP using o [2002/09/13] i386/42750 Fdisk makes no difference between FAT32, o [2002/09/14] kern/42769 [boot] Boot stalls if the system has a se o [2002/09/14] i386/42784 imp pcmcia 16bit network card removal locks a o [2002/09/15] kern/42801 [hang] FreeBSD freezes when opening cuaa0 a [2002/09/18] kern/42937 bms panic when ARP cache uses up all mbufs o [2002/09/20] kern/42983 imp wi0 sporadically freezes the system for 1 o [2002/09/21] i386/43151 Panic 20 seconds after resume o [2002/09/22] bin/43223 getnetby{name|addr} broken for DNS lookup o [2002/09/24] bin/43337 des fetch: -s fails if -4 or possibly other o a [2002/09/25] i386/43366 bms Cannot format media in USB floppy devices o [2002/09/28] www/43454 www Packages hard to find, often missing o [2002/09/29] kern/43491 microuptime () went backwards o [2002/09/30] bin/43501 getpwnam, getpwuid fail when linking agai p [2002/10/01] alpha/43567 robert strtod() core dumps o [2002/10/02] kern/43576 imp Problem with wi driver and Lucent Orinoco o [2002/10/02] bin/43592 mktime rejects dates at the start of dayl a [2002/10/03] kern/43605 luigi enabling polling in the kernel causes pag o [2002/10/03] kern/43625 imp Wi(4) driver hangs after long data transf o [2002/10/04] bin/43674 [patch] login(1): able to bypass expired o [2002/10/05] kern/43713 during install, mounting root from ufs:/d f [2002/10/07] i386/43762 sos cd9660 process hangs on mounting ATA CDRO o [2002/10/08] conf/43837 wollman PKST (pakistan daylight time) changed fro o [2002/10/09] i386/43852 4.7-RC "device timeout" problem o [2002/10/11] java/43924 glewis writing from JAVA to a pipe sometimes han o [2002/10/12] kern/43954 [nfs] nfs-blocked process can't return or a [2002/10/14] kern/44030 VNode/Swap troubles o [2002/10/15] kern/44087 [crash] fatal kernel trap when ifconfig a o [2002/10/16] kern/44126 paul lnc network hungup at large traffics on V o [2002/10/16] i386/44130 i386 Enabled apm hangs up FreeBSD kernel on i8 o [2002/10/16] kern/44150 Diskless kernel may crash, depends on the o [2002/10/18] kern/44202 -stable rp driver does not work with mult o [2002/10/18] kern/44218 Init dies during boot after upgrade from p [2002/10/21] kern/44336 [nfs] NFSv3 client broken - security prob o [2002/10/21] kern/44355 gnn After deletion of an IPv6 alias, the rout o [2002/10/23] kern/44417 luigi ipfw layer2 rules are not checked for eth s [2002/10/27] bin/44518 yar ftpd does not show OPIE OTP challenge o [2002/10/27] docs/44519 obrien ftpd.conf(5) contains references to ftpd( o [2002/10/28] gnu/44564 peter [PATCH] Aborted cvs session causes an end o [2002/10/28] kern/44578 [nis] getnetgrent fails to read NIS netgr o [2002/10/30] kern/44744 [patch] VN devices can hang system FreeBS o [2002/11/01] bin/44808 opiepasswd makes bad seed for existing us o [2002/11/04] i386/44867 Frequent hard hangs on ASUS P4T-E/P4S-533 o [2002/11/07] kern/45023 emulation flexlm does not run with linux-base-7, st o [2002/11/09] gnu/45168 Buffer overflow in /usr/bin/dialog o [2002/11/13] bin/45272 dump/restore problem o [2002/11/15] docs/45303 doc Bug in PDF DocBook rendering o [2002/11/15] kern/45322 Panic on resume (zone: entry not free) o [2002/11/17] kern/45373 mckusick softupdate / fs damaged after loss of pow o [2002/11/18] kern/45403 imp Cannot install -CURRENT via pccard networ o [2002/11/19] bin/45478 /bin/sh coredump o [2002/11/20] i386/45525 imp Dell Inspiron 7000 does not recognize PC- f [2002/11/20] bin/45529 johan hexdump core-dumps with certain args [PAT o [2002/11/21] kern/45558 [msdosfs] mdconfig and msdosfs make fs wr o [2002/11/21] bin/45565 qa [sysinstall] write error, filesystem full o [2002/11/21] kern/45568 gibbs ahc(A19160) pci parity error o [2002/11/24] kern/45673 sound [sound] [patch] PC98 internal CS4231A is f [2002/11/25] bin/45721 darrenr ipfilter's flags and icmp-type processing p [2002/11/25] kern/45733 bms file descriptor flags and socket flags ou o [2002/11/27] i386/45773 Softboot causes autoconf failure on Broad o [2002/11/27] kern/45777 crashdump issue with too-small dumpdev o [2002/12/02] kern/45913 imp WaveLan driver problems with latest -CURR o [2002/12/04] bin/45990 dwmalone top dumps core if specific errors in pass o [2002/12/04] bin/45995 markm Telnet fails to properly handle SIGPIPE o o [2002/12/05] kern/46017 [smbfs] smb mounts break /etc/periodic/we o [2002/12/06] kern/46036 inaccurate timeouts in select(),nanosleep o [2002/12/10] kern/46176 usb umass causes kernel panic if device remov o [2002/12/11] i386/46194 5.0-RC1 kern floppy load fails on AMD K6- o [2002/12/13] kern/46239 standards posix semaphore implementation errors o [2002/12/13] kern/46245 sound [sound] AC'97 is not supported on ABIT BW s [2002/12/18] ports/46338 ports-bugs security/cyrus-sasl 1.5.27_7 mysql_verify o [2002/12/18] bin/46352 Open file descriptors and signal handling o [2002/12/19] i386/46371 usb USB controller cannot be initialized on I o [2002/12/23] i386/46484 System panics upon configuration of bge N p [2002/12/27] kern/46557 pjd ipfw pipe show fails with lots of queues a [2002/12/31] kern/46647 silby Failure to initialize MII on 3Com NIC res o [2003/01/01] bin/46670 qa [sysinstall] 5.0-RC2 install leaves CD dr o [2003/01/01] bin/46676 ru [PATCH] bsd.dep.mk restricts domain of ta o [2003/01/02] kern/46694 imp Getting DUP packets when in Promiscous mo o [2003/01/08] i386/46865 [panic] kernel panic on SuperMicro 6012-8 o [2003/01/08] bin/46866 NIS-based getpwent() falsely returns NULL o [2003/01/17] i386/47167 [panic] 5.0 RC 3 (and 2) has 1 second upt o [2003/01/20] i386/47236 Console missing during bootup on Sony Pic o [2003/01/21] i386/47279 [hang] IBM 370 hangs on reboot o [2003/01/21] kern/47286 device probing not verbose when using boo o [2003/01/22] kern/47359 dd panic after kldunload snp o [2003/01/23] bin/47384 qa [sysinstall] sysinstall ignores intended o [2003/01/24] i386/47449 Thinkpad 755CD floppy boot fails f [2003/01/25] i386/47451 qa [boot] 5.0 GENERIC CD locks during boot o o [2003/01/27] kern/47544 scottl iir does not detect direct access drives o [2003/01/29] kern/47628 trhodes [msdosfs] [patch] msdosfs file corruption o [2003/01/29] kern/47647 [crash] init died with signal 6 [4.7] s [2003/02/02] kern/47813 pseudo-device gre doesn't appear to work o [2003/02/05] kern/47937 hw.ncpu and kern.smp.cpus duplicate same s [2003/02/05] kern/47939 [bktr] 5.0-Current freezes when bktr devi o [2003/02/05] kern/47951 [hang] rtld in ld.so will livelock in som o [2003/02/05] alpha/47952 alpha DEFPA causes machine check with V5.0-rele o [2003/02/07] kern/48033 [ffs] FFS superblock flags are being igno o [2003/02/07] kern/48062 mckusick mount -o snapshot doesn't work on +100GB o [2003/02/08] kern/48100 Fatal panic in vm_map_lookup_entry ... [S o [2003/02/09] kern/48117 SMP machine hang during boot related to i o [2003/02/11] kern/48166 panic: pmap_new_proc: u_map allocation fa o [2003/02/11] bin/48183 marcel [patch] gdb on a corefile from a threaded o [2003/02/14] bin/48271 bug with find's -delete option s [2003/02/14] kern/48279 [bktr] Brooktre878 may cause freeze o [2003/02/16] conf/48325 /etc/periodic/security/100.chksetuid does f [2003/02/17] kern/48359 usb SiS 5597/8 USB + uscanner breakage o [2003/02/17] kern/48393 mckusick ufs2 snapshot code bugs p [2003/02/18] bin/48424 Integer overflow in cksum(1) and sum(1) f o [2003/02/18] kern/48425 Tape drive EOT handling problems in 4.7 o [2003/02/19] misc/48461 murray $EDITOR on the fixit CD is wrong. o [2003/02/24] i386/48614 i386 VESA VGA modes for syscons lock up machin o [2003/02/26] i386/48691 [panic] kernel panics on ASUS A7N266-VM M o [2003/02/27] bin/48730 sos burncd does not handle signals and causes o [2003/02/27] kern/48741 darrenr ipnat corrupts packets on gre interface w o [2003/02/27] i386/48752 freeze when installing 5.0 Release o [2003/02/27] kern/48758 kldunload if_{nic} can cause kernel panic o [2003/02/28] kern/48777 vidcontrol modes not restored on vt switc o [2003/03/02] threads/48856threads Setting SIGCHLD to SIG_IGN still leaves z o [2003/03/03] bin/48865 Dumps made on FreeBSD 5.0-RELEASE are unr o [2003/03/03] conf/48881 [PATCH] The influence of /etc/start_ifnam f [2003/03/05] kern/48952 usb uscanner0 hangs o [2003/03/07] kern/48996 Fatal trap 12 with incoming traffic from o [2003/03/09] kern/49040 problem mounting root; ffs_mountroot can' f [2003/03/09] bin/49048 [patch] ctm(1) does not check parent dire o [2003/03/09] ports/49056 trevor Festival fixes for newer GCCs [PATCH] f [2003/03/10] ports/49076 roam stunnel logs normal end of connection as o [2003/03/10] threads/49087threads Signals lost in programs linked with libc f [2003/03/13] i386/49978 [boot] installation problem on Acer Altos o [2003/03/13] kern/49980 sound [sound] [patch] enable ThinkPAD X24 sound f [2003/03/13] bin/49984 des openSSH crashes while password based auth o [2003/03/16] ports/50042 mbr ports/www/mod_frontpage causes Bad System o [2003/03/17] ports/50062 knu portupgrade does not process directives f p [2003/03/28] bin/50384 robert pkg_version -v core-dumps when no package o [2003/04/03] kern/50574 mbr dc driver incorrectly detects ADMtek chip o [2003/04/11] kern/50827 [PATCH] no sane record locking on *nix. s [2003/04/12] kern/50856 [mfs] panic if mounting /tmp as mfs with o [2003/04/13] i386/50887 MBR on kern.flp fails Compaq MBR validati p [2003/04/17] conf/51085 ache FreeBSD is missing ja_JP.eucJP locale. o [2003/04/18] www/51135 www Problems with the mailing-lists search in o [2003/04/20] bin/51171 /bin/sh has only 32-bit arithmetics that o [2003/04/21] standards/51209standards [PATCH] add a64l()/l64a/l64a_r functions o [2003/04/22] kern/51274 ipfw ipfw2 create dynamic rules with parent nu o [2003/04/23] kern/51308 sound [sound] Creative SB32 doesn't work under o [2003/04/23] kern/51332 mjacob QUIRK: BNCHMARK DLT1 requires SA_QUIRK_1F o [2003/04/24] kern/51338 sound [sound] [hang] system hangs randomly beca f [2003/04/24] kern/51341 ipfw ipfw rule 'deny icmp from any to any icmp o [2003/04/24] kern/51352 panic: malloc(M_WAITOK) in interrupt cont o [2003/04/29] kern/51583 [nullfs] [patch] allow to work with devic o [2003/04/30] bin/51628 [nis] ypmatch doesn't match keys in legac o [2003/05/02] kern/51685 [hang] Unbounded inode allocation causes o [2003/05/04] kern/51742 [panic] ffs_vfree: freeing free inode o [2003/05/06] bin/51827 getaddrinfo() is broken with numeric serv f [2003/05/06] bin/51892 des can't ssh after su to different local use o [2003/05/08] threads/51949threads thread in accept cannot be cancelled o [2003/05/08] kern/51982 sio1: interrupt-level buffer overflows a [2003/05/11] ports/52068 openoffice portupgrade of editors/openoffice .org-1. s [2003/05/11] ports/52079 ports-bugs vmware3 hangs when nmdm(4) is used as COM a [2003/05/12] ports/52087 openoffice error while building japanese/openoffice s [2003/05/12] kern/52110 green [unionfs] FS corruption when using unionf o [2003/05/12] i386/52128 Unable to floppy install on Toshiba Libre o [2003/05/16] bin/52343 NIS login problem on the server o [2003/05/19] bin/52433 lines in /etc/group longer than 1024 char o [2003/05/19] kern/52445 [mfs] panic when mounting floppy on MFS f o [2003/05/22] i386/52556 i386 Syskonnect SK9843SX, sk driver, MII not d o [2003/05/22] i386/52561 5.1-BETA install fails on Dell PowerEdge o [2003/05/22] i386/52581 i386 Boot loaders reading more than one sector o [2003/05/22] kern/52585 bms Kernel panic with ipfw2 and syncookies f [2003/05/22] i386/52593 mdodd [apm] Kernel panic when starting apm o [2003/05/24] i386/52638 i386 SCSI U320 on SMP server won't run faster f [2003/05/27] kern/52718 jeffr changes to kern_umtx.c causes panic in ca o [2003/05/28] bin/52743 /etc/ppp/ppp.linkup instability issues s [2003/05/28] kern/52745 [unionfs] Fatal trap 12: page fault while o [2003/05/31] kern/52818 vm_fault() calls vput() on shared-locked o [2003/06/03] kern/52916 le [vinum] vinum causes panic after start/st p [2003/06/04] kern/52935 bms occasional panic in ip_input with IPSEC o [2003/06/04] kern/52936 [nfs] Huge writes to nfs exported FAT fil o [2003/06/04] kern/52943 [hang] reproducable system stuck just bre p [2003/06/05] standards/52972standards /bin/sh arithmetic not POSIX compliant o [2003/06/06] i386/52975 i386 CPUTYPE=k7 results in non-functional /boo o [2003/06/10] kern/53137 [panic] background fscking causing ffs_va o [2003/06/11] i386/53200 i386 [boot] 5.1-RC1 SMP kernel boot gags at "A o [2003/06/13] kern/53264 jhb [sound] [patch] PCM interrupt not routed o [2003/06/16] i386/53382 i386 Repetable panics in ffs_vget() on Prolian f [2003/06/18] kern/53433 heavy i/o on GBDE partition on SMP locks o [2003/06/18] bin/53434 pw disallow a password including space. o [2003/06/18] kern/53447 standards poll(2) semantics differ from susV3/POSIX a [2003/06/20] kern/53566 mbr [panic] IBM Eserver (245 || 345) + ServeR o [2003/06/22] bin/53606 roberto ntpdate seems to hang system o [2003/06/23] i386/53620 i386 [install] Kernel panics / reboots during o [2003/06/27] bin/53839 qa [sysinstall] disklabel editor fails on po f [2003/06/30] kern/53920 andre sluggish TCP connection o [2003/06/30] kern/53927 imp wi0: device timeout problem with PRISM 2. o [2003/06/30] kern/53940 imp Some WiFi devices cannot connect to hosta o [2003/07/02] i386/54033 i386 Disk lockup. o [2003/07/04] bin/54097 Non-local yppasswd -d broken in 5.1-CURRE o [2003/07/07] kern/54189 [dns] resolver should resolve hostnames w s [2003/07/08] kern/54211 rwatson Seeing other uid with kern.file sysctl. o [2003/07/10] kern/54309 silby TCP Packet of 64K-1 crashes FreeBSD4.8 o [2003/07/10] gnu/54317 sobomax tar with very large packages and portinst o [2003/07/11] bin/54401 [patch] pppstats prints 0 for absolute va o [2003/07/12] standards/54410standards one-true-awk not POSIX compliant (no exte o [2003/07/13] ports/54424 knu portupgrade ignores ALT_PKGDEP o [2003/07/13] bin/54446 pkg_delete doesn't honour symlinks, portu o [2003/07/14] java/54463 glewis Apparent bug in jdk13 o [2003/07/15] i386/54501 i386 Promise Ultra133 TX2 does not work proper s [2003/07/16] kern/54534 [unionfs] unionfs && mfs|md crashing mach f [2003/07/16] i386/54549 [install] panic on install on Dell 600sc o [2003/07/17] kern/54595 sound [sound] emu10k1 sound driver locks system o [2003/07/21] kern/54705 sound [sound] codec timeout during read of regi o [2003/07/22] i386/54756 acpi ACPI suspend/resume problem on CF-W2 lapt p [2003/07/27] bin/54959 tr utility has a bug in ISO8859-2 locale p [2003/07/28] ports/54970 trevor emulators/linux_base Port Makefile "dange o [2003/07/28] conf/54971 mtm /etc/rc.d/mountcritermote requires ldconf a [2003/07/29] kern/55018 andre [patch] Digiboard PC/Xem fails to initial o [2003/07/29] kern/55028 The broken FAT12 filesystem causes system o [2003/08/02] kern/55175 alfred LOR in select and poll o [2003/08/05] gnu/55278 Externs on implicit declarations o [2003/08/05] kern/55297 [vfs_subr.c] kernel panic after running X o [2003/08/07] bin/55346 /bin/sh eats memory and CPU infinitely o [2003/08/07] bin/55349 mbr Amd mixes up symlinks in it's virtual fil o [2003/08/08] bin/55366 le [vinum] [patch] vinum makes /dev/vinum wi s [2003/08/08] ports/55371 ports-bugs xfig dumps core (unaligned access), if US o [2003/08/08] kern/55379 [vm_page_inserti] kernel crashes randomly o [2003/08/10] bin/55448 dbm_nextkey() misbehaves after dbm_store( o [2003/08/11] bin/55457 marcel GDB gets confused debugging libc_r thread a [2003/08/13] kern/55542 andre [patch] discard oversize frame (ether typ o [2003/08/13] i386/55555 i386 system freezes with access to /dev/ums0 o [2003/08/13] i386/55561 i386 SMbus and I2C don't attach when loaded as o [2003/08/15] i386/55603 unable to reboot when system runs from My o [2003/08/15] i386/55615 i386 machine freezes - goes on after key press o [2003/08/16] kern/55617 [smbfs] Accessing an nsmb-mounted drive v o [2003/08/17] i386/55661 acpi ACPI suspend/resume problem on ARMADA M70 o [2003/08/20] kern/55727 rl(4) not working in recent 4.8-STABLE: w o [2003/08/20] sparc64/55773jake Conversion from long to long double is br f [2003/08/20] kern/55784 glebius [netgraph] [panic] (with trace) in using o [2003/08/20] kern/55822 acpi No ACPI power off with SMP kernel o [2003/08/21] bin/55829 __stderrp not defined in libc.so.3 (compa o [2003/08/21] bin/55846 and conflict a [2003/08/24] i386/55930 i386 partly configured serial port freezes sys o [2003/08/24] kern/55934 le [vinum] [workaround] kernel panics while p [2003/08/25] bin/55947 stefanf printf(1) mishandles \0 o [2003/08/25] bin/55956 passwd chat script not backward compatibl o [2003/08/25] bin/55965 sshd: problems with HostBasedAuthenticati o [2003/08/25] kern/55975 thomas ATAPICAM- READ_6(0x08) fails for ATAPI ta o [2003/08/26] kern/56008 scottl ps shows L flag erroneously with certain o [2003/08/27] kern/56024 acpi ACPI suspend drains battery while in S3 o [2003/08/27] kern/56031 luigi ipfw hangs on every invocation o [2003/08/29] bin/56147 FreeBSD/NetBSD /bin/sh mishandles positio f [2003/08/31] kern/56233 bms IPsec tunnel (ESP) over IPv6: MTU computa o [2003/09/02] kern/56339 select() call (poll() too) hangs, yet cal a [2003/09/03] ports/56363 perky The graphics/py-opengl port is broken o [2003/09/03] i386/56372 acpi acpi don't work on TYAN tiger100 M/B a [2003/09/03] kern/56381 das [unionfs] panic: page fault in fifo_close f [2003/09/04] docs/56456 blackend Initial import of the ro_RO.ISO889-2 doc/ s [2003/09/04] kern/56461 [rpc] FreeBSD client rpc.lockd incompatib p [2003/09/05] bin/56500 roam rpc.lockd needs to use reserved ports o [2003/09/06] kern/56513 [panic] panic in ugen w/ moused -p /dev/u p [2003/09/08] bin/56606 [2TB] df cannot handle 2TB NFS volumes o [2003/09/09] kern/56617 sound [sound] Hang on boot w/Neomagic audio on f [2003/09/10] kern/56659 acpi ACPI trouble on IBM ThinkPad X31 o [2003/09/10] kern/56675 Syncer "giving up" on buffers and ext2 fi o [2003/09/14] kern/56873 qa [boot] system hangs on boot at Buslogic d o [2003/09/17] i386/56937 i386 panic: system panic during high network l o [2003/09/20] i386/57043 i386 [hang] ar driver with 2 port PCI card loc o [2003/09/22] kern/57085 sanpei [umass] umass0 problems, with Sony Vio/US f [2003/09/22] i386/57097 i386 [hang] Promise Ultra 100 TX2 causes locku a [2003/09/22] kern/57100 bms disable hardware checksums when using bri s [2003/09/24] kern/57174 sos 4.9-PRERELEASE panic: ata_dmasetup: trans o [2003/09/24] kern/57192 emulation linux-ibm-java1.4 freeze o [2003/09/24] kern/57195 [mfs] mount_mfs -i 512 => panic? o [2003/09/25] kern/57206 [backtrace] softdep_lock locks against it o [2003/09/26] bin/57255 usb usbd and multi-function devices a [2003/09/29] kern/57344 bms KMEM exhaustion from cloned routes o [2003/09/29] kern/57350 [panic] using old monocrome printer port s [2003/09/30] kern/57398 scsi Current fails to install on mly(4) based o [2003/10/01] kern/57453 [patch] if_kue hangs boot after warm boot o [2003/10/01] bin/57456 Telnet encryption gets out of sync o [2003/10/01] bin/57466 dialog(1) does not read stdin, breaks sub a [2003/10/01] kern/57479 bms FreeBSD Not in compliance with RFC 1122, p [2003/10/01] i386/57480 i386 Removing very large files using rm doesn' p [2003/10/02] bin/57484 bms routed not ignoring cloned routes o [2003/10/02] kern/57487 sound [sound] [patch] Sound stops working on my o [2003/10/04] bin/57554 sh(1) incorrect handling of quoted parame o [2003/10/05] kern/57603 [bktr] bktr driver: freeze on SMP machine o [2003/10/06] kern/57631 jhb Boot failing for ALi chipsets, patch atta o [2003/10/07] kern/57722 [kern_resource.c] [patch] uidinfo list co o [2003/10/08] kern/57760 bms IPsec policy on inbound trafic is not enf o [2003/10/09] kern/57790 cdparanoia triggers kernel panic o [2003/10/09] i386/57818 i386 4.9-RC panics when kernel is built with a o [2003/10/10] kern/57832 scottl softdep_deallocate_dependencies: dangling o [2003/10/10] bin/57833 gad [PATCH] bin/ps cannot change title for ke o [2003/10/13] kern/57961 le [vinum] kmem_malloc(65536): kmem_map too o [2003/10/14] kern/57985 rwatson [patch] Missing splx in ether_output_fram o [2003/10/16] i386/58139 i386 [panic] -CURRENT panics on Thinkpad A31p o [2003/10/17] kern/58154 mckusick Snapshots prevent disk sync on shutdown o [2003/10/17] kern/58169 panic: vnode_pager_getpages: unexpected m o [2003/10/22] kern/58391 le [vinum] Trap 12 with heavy disk load on i o [2003/10/23] i386/58458 i386 ATAPI-CDROM DMA Support on ALi Aladdin V f [2003/10/24] kern/58491 [panic] loading amr driver o [2003/10/24] conf/58504 /etc/periodic/daily/100.clean-disks trave o [2003/10/26] i386/58580 i386 After sysinstall, F2 fails; wrong device o [2003/10/26] kern/58581 [hang] System call gettimeofday hang 5.x o [2003/10/28] ports/58655 obrien A replacement patch is necessary for deve o [2003/10/29] bin/58687 deischen gethostbyname leaks kqueue file descripto o [2003/10/30] i386/58718 i386 need to remove battery before booting lap o [2003/10/31] kern/58752 le [vinum] vinum panics on create/resetconfi o [2003/10/31] kern/58787 peter [panic] pmap_enter: attemped pmap_enter o o [2003/11/02] i386/58826 i386 reboot on an IBM PC Server 315 merely hal o [2003/11/02] kern/58831 panic: vinvalbuf: flush failed o [2003/11/02] conf/58832 /etc/rc.d/ipsec starts not in time f [2003/11/03] kern/58870 bms page fault in kernel mode with ifconfig a f [2003/11/03] kern/58888 4.9-RELEASE installation fails (xl causes o [2003/11/04] kern/58930 [backtrace] Page fault when unplugging Al o [2003/11/05] kern/58941 rwatson acl under ufs2 doesn't handle disk corrup o [2003/11/05] bin/58951 [sysinstall] some problems with 4.9-RELEA o [2003/11/05] kern/58953 [patch] detect NetMOS-based six serial po o [2003/11/09] bin/59095 kientzle tar(1) process hangs in endless loop o [2003/11/09] kern/59098 sound [sound] Dell Dimension 8300 integrated So o [2003/11/10] alpha/59116 alpha [ntfs] mount_ntfs of a Windows 2000-forma f [2003/11/11] kern/59172 bms Zebra interface route causes kernel panic o [2003/11/11] kern/59183 imp wi problems with wi_cmd o [2003/11/11] kern/59185 [backtrace] 4.9-RELEASE kernel panic (pag o [2003/11/11] i386/59192 i386 ATA drive not spotted with SCSI drive o [2003/11/12] kern/59203 imp Panic with wi and newcard a [2003/11/12] kern/59211 [nwfs] System crashes when moving files f o [2003/11/13] i386/59248 4.9-RELEASE, ACPI Panic with Dell Latitud o [2003/11/13] i386/59251 Failure of 4.8-RELEASE/4.9-RELEASE/5.1-RE o [2003/11/13] i386/59260 Panic by integer divide fault in Thinkpad o [2003/11/15] kern/59296 Serial Line Noise Causes System Hang in L o [2003/11/15] kern/59303 le [vinum] vinum crashes kernel if concurren p [2003/11/15] kern/59306 matk patch to augment /dev/sndstat to show whi o [2003/11/16] kern/59349 sound [sound] [patch] include locking for es137 f [2003/11/22] kern/59594 [hang] I/O operations freeze system when f [2003/11/24] bin/59638 des passwd(1) does not use PAM to change the o [2003/11/24] kern/59652 cannot redirect kernel output to serial c a [2003/11/24] ports/59657 trevor emulators/linux_base-8 cpio for install w o [2003/11/24] kern/59659 tackerman em driver cannot handle VLANs o [2003/11/25] i386/59683 i386 panic: signal 12 4.9-STABLE - frequent cr o [2003/11/26] i386/59701 i386 System hungup, after resume from suspend. o [2003/11/26] amd64/59714 amd64 device timeout and ad0: WARNING - WRITE_D o [2003/11/26] i386/59719 [crash] 4.9 Crashes on SuperMicro with SM o [2003/11/27] kern/59728 mjacob Qlogic adapter DMA setup failure with PAE o [2003/11/28] bin/59777 ftpd(8)/FreeBSD 5: potential username enu o [2003/12/01] kern/59878 le [vinum] vinum panics 5.1 system s [2003/12/02] misc/59890 bugmeister send-pr database is spam harvested o [2003/12/02] i386/59895 i386 [hang] system hangs from disk IO errors [ f [2003/12/02] i386/59897 i386 [hang] problems with swap-pager with grea f [2003/12/02] i386/59898 i386 [boot] pxe boot: BTX halted o [2003/12/03] kern/59912 bms mremap() implementation lacking o [2003/12/04] kern/59945 [nullfs] [patch] nullfs bug: reboot after o [2003/12/04] i386/59959 machine can not reboot itself with Mylex o [2003/12/05] gnu/59971 peter assertion "strncmp (repository, current_p o [2003/12/08] i386/60050 Toshiba/3Com 3CXM056-BNW: Open Causes Int s [2003/12/09] ports/60083 phantom Unsafe use of getaddrinfo in jvm 1.4.2-p5 f [2003/12/11] kern/60131 usb [usb] Page fault on disconnect of USB dev f [2003/12/11] kern/60153 Kernel no longer boots due to lost interr o [2003/12/11] kern/60154 ipfw ipfw core (crash) o [2003/12/11] ports/60161 trevor Linux emulator (linux_base-8-8.0_3) doesn o [2003/12/14] i386/60226 [patch] ichsmb driver doesn't detects SMB o [2003/12/14] kern/60235 phk some /dev-entries missing for newly auto- o [2003/12/15] ports/60245 knu new ruby16-shim-ruby18 bug in included re a [2003/12/15] kern/60247 le mutex problems in geom_io s [2003/12/15] kern/60276 usb [usb] Kernel panic when plugging in USB ( f [2003/12/17] i386/60317 acpi FreeBSD 5.2rc1 doesn't boot with ACPI ena o [2003/12/17] i386/60328 panic: installing 5.1, 5.2RC and 5-CURREN o [2003/12/17] i386/60344 i386 [boot] Intel ICH5 SATA RAID boot problems o [2003/12/18] bin/60349 scottl [sysinstall] 5.2-RC1 cannot do NFS instal o [2003/12/19] bin/60385 vmstat/iostat/top all fail to report CPU o [2003/12/21] bin/60477 deischen need thread safe gethostent() and getserv o [2003/12/21] bin/60478 deischen getaddrinfo not thread safe o [2003/12/23] kern/60526 Post-PAE stable SMP machine freezes o [2003/12/26] kern/60598 scsi wire down of scsi devices conflicts with o [2003/12/27] i386/60603 i386 dd causes error when copying cd from ATA o [2003/12/27] i386/60633 i386 [hang] SIS motherboard with the SIS 5591 o [2003/12/27] i386/60641 i386 Sporadic SCSI bus resets with 53C810 unde o [2003/12/28] i386/60646 VIA C3 system hangs on reboot o [2003/12/28] i386/60671 i386 FreeBSD 5.2RC2 installation process doesn o [2003/12/29] docs/60679 doc pthreads documentation does not describe o [2003/12/29] i386/60681 i386 wicontrol -L critical crash (sigbus) o [2003/12/29] kern/60685 Intel 82559 NICs don't work in 4.9 o [2003/12/29] i386/60690 i386 atapicd driver causes spontaneous uncondi o [2004/01/01] standards/60772standards _Bool and bool should be unsigned p [2004/01/03] kern/60856 bms [patch] panic: at tcp_output(), with TCPD o [2004/01/04] i386/60887 i386 can't boot when fbsd exists with other op o [2004/01/08] ports/61053 lawrance opengk cause cored dump version 4.9 and 5 o [2004/01/08] i386/61063 i386 [ata] ata hangs in smp system o [2004/01/09] kern/61108 kensmith Port linux_base-8-8.0_3: bash ls -l cause o [2004/01/09] kern/61129 thomas atapicam / UDMA cdrom loop o [2004/01/10] bin/61152 qa [sysinstall] installer refuses to mount U a [2004/01/10] kern/61165 scsi [panic] kernel page fault after calling c f [2004/01/11] kern/61191 usb [usb] panic: USB vs. Serial problems f [2004/01/12] kern/61228 panic: 4.9-RELEASE install floppy panic ( o [2004/01/12] i386/61253 i386 [panic] page fault on installation freebs o [2004/01/13] i386/61303 i386 5.2-REL hangs during boot with 3-port pyr o [2004/01/13] i386/61326 i386 Reboot while booting from 5.2-RELEASE CD o [2004/01/14] i386/61342 i386 [hang] CD-based installation crashes [4.9 o [2004/01/14] bin/61355 login(1) does not restore terminal owners o [2004/01/14] kern/61358 phk boot freezes while ATA GEOM slice detecti o [2004/01/15] kern/61390 [hang] Machine freeze when creating gif i o [2004/01/16] kern/61404 andre RFC1323 timestamps with HZ > 1000 f [2004/01/16] java/61407 phantom jdk14 port aborts making html32dtd f [2004/01/17] kern/61483 [jail] Jail security is not honored using o [2004/01/17] bin/61498 obrien [patch] Please MFC flex patch for gcc 3.x f [2004/01/18] kern/61509 panic: unknown fatal double fault o [2004/01/18] kern/61544 ip6fw breakage on (at least) sparc64 o [2004/01/19] docs/61558 doc New SMC 2602W cards, using the ADM8211, a o [2004/01/19] bin/61587 qa [patch] [sysinstall] installation problem o [2004/01/20] docs/61605 doc Improve documentation for i386 disk geome o [2004/01/20] kern/61627 usb [usb] [patch] New USB printer not support o [2004/01/20] i386/61646 i386 [workaround] Strange irq20 weirdness caus o [2004/01/21] bin/61658 qa [sysinstall] 5.2R error "Add of package q o [2004/01/21] kern/61669 [twe] writing to 3ware escalade spends 90 f [2004/01/21] kern/61686 FreeBSD 5.2-RELEASE crashes when ACPI is o [2004/01/22] bin/61701 Segmentation fault on OPIE when sequence o [2004/01/22] i386/61709 i386 [panic] 5.2-REL i386 Crashes hard; panics o [2004/01/22] bin/61716 mckusick newfs: code and manpage are out of sync o [2004/01/22] kern/61733 imp panic: resource_list_release: resource en o [2004/01/22] kern/61746 [boot] system locks up on boot if both ap o [2004/01/23] ports/61760 openoffice OpenOffice-1.1 still stalls in install on o [2004/01/23] kern/61774 [nis] nis security issue o [2004/01/24] bin/61811 qa [sysinstall] 5.2 release no resolv.conf c o [2004/01/24] kern/61841 usb [boot] 5.2 Boot freeze if memorybird (USB p [2004/01/24] i386/61852 alc i386 pmap SMP race condition can cause lo o [2004/01/25] i386/61890 i386 [fdisk] FDisk uses incorrect calculations f [2004/01/25] i386/61907 5.2 hangs when booting with cbb in kernel o [2004/01/26] bin/61937 qa [sysinstall] cannot install 5.2-REL via s o [2004/01/26] alpha/61940 alpha Can't disklabel new disk from FreeBSD/alp a [2004/01/26] kern/61960 sos [Patch] BigDrive support for PC-98 archit o [2004/01/26] i386/61970 [panic] on boot, 5.1/5.2 (but not 5.0), S o [2004/01/27] alpha/61973 alpha Machine Check on boot-up of AlphaServer 2 o [2004/01/28] bin/62040 pkg_add(1) won't run because the ELF dyna o [2004/01/29] bin/62058 burncd doesn't work with Creative RW8438E f [2004/01/30] kern/62088 usb [usb] Logitech Cordless/Optical Mouse not o [2004/01/30] kern/62091 [hang] Random Lockups on Boot (Timecounte f [2004/01/30] kern/62123 usb [usb] LaCie 160GB USB drive umass: BBB re o [2004/02/01] ports/62213 trevor Cannot install any emulators/linux_base o [2004/02/01] kern/62216 perl syswrite not writing the buffer unde o [2004/02/01] ports/62217 knu runidn does nothing o [2004/02/01] kern/62228 le [vinum] Kernel improperly identifies part f [2004/02/02] i386/62248 i386 [boot] 5.2 current hangs on boot o [2004/02/02] bin/62255 peter 2003-12-18: Stable CVS Version 1.11.11 Re a [2004/02/02] kern/62278 iedowse [nfs] NFS server may not set eof flag whe o [2004/02/02] i386/62280 i386 em0 broken after resume in 5.2-CURRENT o [2004/02/02] kern/62284 panic: GENERIC panics on FreeBSD 5.X imme o [2004/02/03] amd64/62295 obrien ipsec failure on 5.2.1-RC amd64 o [2004/02/03] kern/62309 jmg panic: ugen driver o [2004/02/05] bin/62367 qa [sysinstall] 5.2.1-RC installation proble o [2004/02/05] kern/62374 darrenr panic: free: multiple frees o [2004/02/05] bin/62375 qa [sysinstall] sysinstall core dump o [2004/02/06] conf/62417 luigi diskless op script failed o [2004/02/06] kern/62438 [patch] viapm patch for VT8235 o [2004/02/07] kern/62468 panic: system crashes when serial getty e o [2004/02/08] kern/62502 [modules] panic under double loading vinu o [2004/02/08] kern/62519 sound [sound] Intel ICH4 (82801DB) sound card d o [2004/02/09] i386/62565 i386 device.hints are not honored in 5.2.1-RC o [2004/02/10] kern/62658 [boot] loader/kernel answer to `boot -a' o [2004/02/13] kern/62762 trhodes [msdosfs] Fsync for msdos fs does not syn o [2004/02/13] i386/62807 i386 4.9 SMP does not work with Compaq Smart o [2004/02/14] kern/62824 [panic] softdep_setup_inomapdep: found in o [2004/02/14] bin/62833 qa [sysinstall] can't install: integer divid o [2004/02/15] kern/62864 cognet Machine not reboot. o [2004/02/15] i386/62888 i386 ad4: WARNING - WRITE_DMA interrupt was se a [2004/02/16] kern/62906 peadar [patch] AGP misconfigures i845G chipset, o [2004/02/16] gnu/62937 Compilation of base src Perl with static o [2004/02/18] kern/63040 panic: kernel panic (sf_buff_alloc) f [2004/02/21] kern/63190 mlaier [rl] Realtek driver rl(4) halts on oversi f [2004/02/23] i386/63251 usb [usb] USB stops working after 2nd APM sus o [2004/02/24] i386/63305 i386 reading udf filesystem on dvd+rw leads to o [2004/02/25] kern/63343 [boot] manual root filesystem specificati o [2004/02/25] i386/63356 [fdisk] new installation fails on HP Prol o [2004/02/25] kern/63360 [panic] page fault in ath kernel module i o [2004/02/26] bin/63391 Burncd DAO fails on some CD recorders o [2004/02/26] ports/63409 phantom jdk-1.4.2p6_3 plugin crashes Mozilla-1.6_ o [2004/02/27] i386/63430 i386 [ata] TIMEOUT - ATA READ o [2004/02/27] kern/63431 [rtc] motherboard going to suspend mode s o [2004/02/27] i386/63441 i386 [panic] fatal trap 12 in pmap.c [4.9 with o [2004/02/27] i386/63449 [boot] FreeBSD 5.2 and 5.2.1 releases won o [2004/02/27] i386/63467 i386 [ata] Sil 3114: RAID not detected using S o [2004/02/28] bin/63489 top, finger segfault when using NIS group o [2004/02/29] bin/63535 getpwent segfaults when NIS groups used b o [2004/02/29] kern/63557 thomas ATAPICAM broken in 5.2-CURRENT (REQUEST_S f [2004/03/01] kern/63621 usb [usb] USB MemoryStick Reader stalls/crash o [2004/03/02] kern/63629 thomas mounting atapicam volume through cd0c cau o [2004/03/02] ports/63631 obrien vim port does aktivate python interpreter p [2004/03/02] kern/63662 [nullfs] using read-only NULLFS leads to f [2004/03/02] kern/63666 acpi [acpi] Network card 3c575B do not work af o [2004/03/03] ports/63670 perl 'Unable to read from thread kernel pipe' o [2004/03/03] i386/63678 i386 5.2.1 installation hangs on t30 o [2004/03/03] kern/63724 ipfw IPFW2 Queues dont t work o [2004/03/04] i386/63731 [boot] PATA to SATA converter on Promise o [2004/03/04] i386/63776 i386 [boot] hang during boot on a toshiba p25 o [2004/03/06] i386/63828 i386 [hang] when installing Release 5.2.1 (i38 o [2004/03/06] www/63854 www PR-web page loses text o [2004/03/07] i386/63871 i386 [panic] kernel panic in swi8 after 1 hour a [2004/03/09] kern/63954 rc devfs loses permissions o [2004/03/09] i386/63992 i386 [hang] XFree86 4.3 hangs on IBM ThinkPad o [2004/03/09] i386/64002 acpi acpi problem p [2004/03/11] kern/64091 peadar [nfs] nfs data corruption at end of file o [2004/03/12] kern/64151 [jail] jailer can't control all jail proc o [2004/03/12] i386/64158 5.2.1-RELEASE CD won't boot on acer Trave p [2004/03/12] kern/64169 linux binaries dump core on exit o [2004/03/12] i386/64183 i386 5.1-RELEASE Install hung at "Probing devi o [2004/03/13] ports/64191 ume cyrus-sasl2 port Makefile doesn't obey Ma o [2004/03/13] kern/64196 [patch] remove the arbitrary MAXSHELLCMDL o [2004/03/13] gnu/64231 libstdc++ on FreeBSD 5.2+ is non-usable i f [2004/03/14] kern/64250 panic: 5.2.1 kernel panics on ifconfig wh f [2004/03/15] ports/64305 jedgar dbf2mysql -q option broken with mysql323- s [2004/03/15] kern/64313 threads FreeBSD (OpenBSD) pthread implicit set/un o [2004/03/17] kern/64363 [panic] ffs_blkfree: freeing free block [ o [2004/03/18] kern/64406 panic: ffs_clusteralloc: map mismatch o [2004/03/19] bin/64445 peter "ypwhich -m" map enumeration is broken o [2004/03/19] i386/64450 i386 Lucent Technologies WaveLAN/IEEE (PCI) fr p [2004/03/22] kern/64573 alc mmap with PROT_NONE, but still could be r o [2004/03/22] kern/64594 [rl] 5.2-CURRENT: driver 'rl' (RealTek 81 o [2004/03/24] ports/64678 openoffice openoffice 1.1 upgrade fails due to JDK c o [2004/03/25] i386/64680 i386 5.2.1 pci-cfgintr steals serial mouse irq f [2004/03/25] kern/64694 ipfw [ipfw] UID/GID matching in ipfw non-funct o [2004/03/25] i386/64697 i386 5.2.x BTX loader halts with Promise FastT o [2004/03/25] i386/64716 i386 [nis] mv crashes FreeBSD 5.2.1-p3 o [2004/03/25] bin/64720 tail will not ctrl c o [2004/03/25] i386/64727 i386 [boot] cannot find disk on asus p4s533mx o [2004/03/26] bin/64738 [sendmail] SO_REUSEADDR doesn't seem to w a [2004/03/27] kern/64816 peadar [nfs] mmap and/or ftruncate does not work o [2004/03/28] kern/64826 [panic] with IPv6 on 4-STABLE after FreeB f [2004/03/28] kern/64831 tackerman [hang] Multiple em devices force system l o [2004/03/29] kern/64879 sound [sound] [hang] 4.9 freezes when I try to o [2004/03/29] kern/64903 [modules] panic: multiple kldload of a mo o [2004/03/31] ports/64963 tobez Perl 5.8: make package deletes installed o [2004/03/31] bin/64990 /bin/sh unable to change directory but cu o [2004/04/02] java/65054 glewis Diablo 1.3.1 JVM runs out of file descrip o [2004/04/02] i386/65072 hang on reboot not syncing drives on ibm o [2004/04/03] ports/65128 cy security/aide port fails with SIGBUS ever o [2004/04/03] i386/65137 i386 [boot] 5.2.1 Intall Boot from floppies pa f [2004/04/05] kern/65212 [hang] running startx hangs the system (a o [2004/04/05] bin/65223 fsck of 5.2 makes UFS1 inconsistent for 4 o [2004/04/07] kern/65282 [panic] Trap 12 kernel panic upon boot du f [2004/04/07] kern/65292 usb [panic] random page faults (usb-related?) o [2004/04/07] kern/65300 [udf] Can't use sendfile(2) to download f f [2004/04/10] bin/65410 [sysinstall] choosing installation media: o [2004/04/11] kern/65428 panic: uscanner(4)-related repeatable ker f [2004/04/11] kern/65446 panic: kernel crash with 4.10-BETA GENERI o [2004/04/12] i386/65457 BTX Halted when trying boot after success o [2004/04/14] i386/65523 i386 [patch] PXE loader malfunction in multipl o [2004/04/14] bin/65546 qa [sysinstall] 4.10-BETA fails to install f o [2004/04/15] ports/65578 knu japanese/mecab problem on FreeBSD 4.9. o [2004/04/15] ports/65579 knu japanese/ruby-mecab segmentation fault on o [2004/04/16] kern/65616 bms IPSEC can't detunnel GRE packets after re o [2004/04/16] gnu/65641 Use of llabs() in C++ fails as ambiguous o [2004/04/17] i386/65648 imp cardbus("TI1131") won't work on Dell Lati o [2004/04/17] kern/65658 panic: kernel panic on i386 5.2.1 release o [2004/04/18] bin/65693 wildcarded device names in /etc/devfs.con o [2004/04/18] kern/65702 panic: kernel panic on i386 5.2.1 with nv o [2004/04/19] bin/65774 qa [sysinstall] cannot run repair disk when o [2004/04/19] i386/65775 i386 [panic] Transmeta crusoe without longrun s [2004/04/20] kern/65817 panic: kernel panic with GENERIC 5.2.1 an f [2004/04/22] gnu/65869 cvs generates invalid cvs command lines f [2004/04/22] i386/65896 i386 [panic] 5.2-RELEASE re(4) driver, kernel o [2004/04/22] ports/65900 perl (non-maintainer) IGNORE p5-ExtUtils-MakeM o [2004/04/22] kern/65901 [smbfs] smbfs fails fsx write/truncate-do a [2004/04/23] ports/65906 phantom Compile of JDK-1.4 under FBSD-5.2.1 fails o [2004/04/23] kern/65920 [nwfs] Mounted Netware filesystem behaves f [2004/04/23] kern/65923 panic: 5.2.1 with SD-Sil680-RAID card f [2004/04/25] i386/65954 i386 [panic] Sil0680 panic [5.2.1-p5] o [2004/04/26] kern/66004 [panic] kernel panic on access to /dev/ul o [2004/04/27] kern/66025 panic: kernel panic in pagedaemon with vm o [2004/04/27] kern/66029 [patch] MD5 alignment problem on a TriMed o [2004/04/27] bin/66036 restore crashes (reproducable, core file s [2004/04/29] kern/66066 [unionfs] panic: ufs_direnter: compact2 o [2004/04/29] i386/66087 i386 [install] hang at PCI config [5.2.1] o [2004/04/30] bin/66103 macro HISADDR is not sticky in filters o [2004/05/01] i386/66133 i386 [boot] nvidia motherboard installer locks o [2004/05/01] java/66151 java JBuilderX (sun jvm 1.4.1 builtin) crashes o [2004/05/01] kern/66152 [unionfs] laying unionfs over another uni p [2004/05/02] bin/66156 smkelly rpcgen generates a CPP macro that won't c o [2004/05/02] kern/66162 phk gbde destroy error p [2004/05/04] bin/66242 maxim endless loop in sh(1) o [2004/05/05] kern/66270 mckusick [hang] dump causes machine freeze o [2004/05/05] kern/66290 imp pccard initialization fails with "bad Vcc o [2004/05/06] i386/66306 i386 pnpbios_identify() queries for more devic f [2004/05/06] i386/66339 i386 [hang] XFree86 initialization with an Lap a [2004/05/07] kern/66348 rik FR mode of cx (Cronyx Sigma) does not wor o [2004/05/07] i386/66350 i386 [sysinstall] sysinstall creates a partiti o [2004/05/07] i386/66368 i386 [install] 4.9 install fails with MODE_SEN o [2004/05/11] bin/66523 atacontrol allows to detach a channel in o [2004/05/13] kern/66611 [nfs] Crashing NFS servers (with workarou a [2004/05/14] kern/66634 tackerman hard lock with em driver o [2004/05/18] kern/66786 [nfs] panic: exporting msdosfs causes nfs o [2004/05/18] conf/66791 Old dev.db leads to the wrong program beh o [2004/05/18] kern/66829 [unionfs] mounting fdesc union on /dev pa o [2004/05/18] bin/66830 chsh/ypchsh do not change user informatio o [2004/05/19] kern/66848 imp cardbus power support breaks cardbus supp o [2004/05/19] i386/66876 i386 [patch] Cannot extract tar(1) multi-volum o [2004/05/20] bin/66950 qa [sysinstall] upgrading to 4.10-RC3: packa o [2004/05/20] kern/66960 [patch] filesystems not unmounted during o [2004/05/21] bin/66984 [2TB] [patch] teach sysinstall about larg o [2004/05/22] i386/67047 i386 mpt driver does not recognize messages fr o [2004/05/22] i386/67050 imp CardBus (PCI ?) resource allocation probl o [2004/05/25] bin/67167 FreeBSDs ftpd has problems under -CURRENT o [2004/05/27] i386/67273 acpi [hang] system hangs with acpi and Xfree o [2004/05/28] kern/67301 panic: uftdi, RTS and system panic o [2004/05/29] kern/67326 [msdosfs] crash after attempt to mount wr o [2004/05/29] conf/67328 Usermode PPP hangs on boot when NIS confi o [2004/05/31] ports/67413 openoffice OpenOffice 1.1 PDF Export is BROKEN f [2004/06/01] kern/67455 [patch] EHCI controller is being programm o [2004/06/01] i386/67469 i386 src/lib/msun/i387/s_tan.S gives incorrect p [2004/06/03] kern/67546 [2TB] Coredumps > 2Gb do not work (on 64b o [2004/06/06] ports/67625 trevor Linux_base fails to install f [2004/06/06] alpha/67626 alpha X crashes an alpha machine, resulting reb o [2004/06/07] i386/67688 i386 5.2.1 initial floppy boot fails with Fata p [2004/06/08] kern/67702 [patch] Radeon DRM does not recognize cer p [2004/06/09] i386/67760 jhb [PATCH] Getting AGP/DRM working for VIA K f [2004/06/09] kern/67769 Fxtv 1.03 cause the Desk top (KDE) to Fre o [2004/06/10] kern/67794 panic: ffs panic during high filesystem a o [2004/06/11] i386/67833 i386 [boot] 4.10 does not boot after enabling o [2004/06/14] kern/67919 imagemagicks convert image to movie conve f [2004/06/15] i386/67955 i386 [panic] -current on T40p kernel trap 12 i o [2004/06/16] bin/67995 Morse plays beeps 10 times faster than it p [2004/06/16] kern/68013 jeff tp->snd_wl1 & snd_wl2 are not updated in o [2004/06/17] bin/68047 [sysinstall] unattended install of FreeBS o [2004/06/18] kern/68076 [modules] Page fault when the sequence "k o [2004/06/19] i386/68103 [panic] ASUS P4P8X mb at ffs/ffs_softdep. o [2004/06/20] kern/68131 emulation java/linux-ibm-jdk14: linux ibm jdk 1.4.1 o [2004/06/20] i386/68149 FreeBSD 4.10 installation blocking on ASU s [2004/06/23] ports/68234 leeym mail/pop3vscan pass viruses to clients. o [2004/06/24] ports/68260 markm [PATCH] Removal of -lcompat from freebsd- o [2004/06/24] i386/68277 [kbd] Compact Evo N610c (Laptop): Using e s [2004/06/24] i386/68286 IBM PCNet Ethernet (AMD chip) seen as Tri o [2004/06/25] kern/68324 panic: Duplicate free of item 0xc3121908 o [2004/06/25] kern/68325 panic: _mtx_lock_sleep: recursed on non-r f [2004/06/25] ports/68341 clsung xsysinfo memory leak o [2004/06/26] kern/68351 bge0 watchdog timeout on 5.2.1 and -curre o [2004/06/26] ports/68396 sumikawa Racoon racoon-20040617a Interoperability o [2004/06/27] i386/68411 i386 VMware Virtual Machine - Network Fails Du o [2004/06/28] i386/68438 i386 bootloader cannot read from icp vortex ar o [2004/06/28] kern/68442 [panic] acquiring duplicate lock of same o [2004/06/28] kern/68445 [bge] bge autonegotiation broken o [2004/06/29] i386/68486 [video] logo screensaver kills compaq ML3 o [2004/07/01] kern/68546 [ata] system seems to hang during stress o [2004/07/01] i386/68554 i386 [hang] system freeze on Compaq Evo 600c [ o [2004/07/02] kern/68576 rwatson UFS2 snapshot files can be mounted read-w o [2004/07/06] bin/68727 marcel gdb coredumps after recent CURRENT upgrad o [2004/07/10] kern/68889 rwatson [panic] m_copym, length > size of mbuf ch o [2004/07/10] i386/68899 i386 Problems reading and writing DVD-RAM disc o [2004/07/11] i386/68900 i386 5.x install CDs fail to boot on Toshiba S f [2004/07/13] java/68972 java unpack crashes during make install of lin o [2004/07/13] kern/68978 [crash] firewire crashes with failing har o [2004/07/13] kern/68987 panic: kmem_malloc(163840): kmem_map too o [2004/07/13] kern/69006 usb [patch] Apple Cinema Display hangs USB po o [2004/07/13] kern/69019 [if_wi] wlan stalling after 2-3 hrs of mo o [2004/07/14] i386/69049 i386 [install] error "anic: page fault" o [2004/07/14] kern/69058 panic: kernel reads unmapped memory while o [2004/07/14] kern/69066 panic: nmdm page fault when slattach on a o [2004/07/15] kern/69092 [rl] kernel: rl0: watchdog timeout o [2004/07/15] kern/69100 [nwfs] panic: 5.2.1p9 kernel panics when o [2004/07/16] kern/69141 panic: softdep_lock [5.2.1-RELEASE, SMP] o [2004/07/16] kern/69158 [if_an] Cisco MPI350 wireless card proble o [2004/07/18] i386/69218 simokawa [boot] failure: 4.10-BETA and later do no o [2004/07/19] i386/69260 i386 [install] Problem starting the installati o [2004/07/19] i386/69281 i386 init dies when MAXSSIZ, MAXDSIZ, and DFLD a [2004/07/20] ports/69322 ports-bugs ghostscript-afpl (8.14_5.1) fails if I tr o [2004/07/21] ports/69365 nobutaka libxine crashes on some wmv files o [2004/07/24] ports/69512 portmgr OPTIONS and NO_(CHECKSUM|BUILD|INSTALL|PA o [2004/07/26] kern/69607 [crash] system crashes in if_tap module [ o [2004/07/26] kern/69612 [panic] 4.10-STABLE crashes everyday: pag o [2004/07/26] kern/69629 panic: Assertion td->td_turnstile o [2004/07/27] kern/69663 ddb's panic comand can not dump o [2004/07/27] ports/69675 java Eclipse slow typing o [2004/07/28] amd64/69704 amd64 ext2/ext3 unstable in amd64 o [2004/07/28] amd64/69707 amd64 IPC32 dont work OK in amd64 FreeBSD o [2004/07/28] bin/69723 sysinstall: allow to continue from packag o [2004/08/01] ports/69873 obrien shells/bash2 patch is not applied to sour o [2004/08/03] kern/69934 kan lockmgr can concurrently grant two exclus o [2004/08/03] bin/69942 [sysinstall] sysinstall changes /etc/rc.c f [2004/08/03] i386/69945 i386 "Page fault" while shutting down on VIA K s [2004/08/03] kern/69953 anholt System reboots on startx with DRI enabled o [2004/08/03] kern/69964 kan [patch] lockmgr can forget to unblock cli o [2004/08/04] ports/69969 roam vpopmail default setup doesn't allow use o [2004/08/05] i386/70028 i386 umass isuue in the boot prcess on SONY La p [2004/08/05] kern/70037 [panic] ALI AGP fails / panics system o [2004/08/07] bin/70147 [PATCH] Globbing bug in /bin/sh f [2004/08/07] kern/70148 [panic] Kernel Panic 5.2.1-R and -CURRENT o [2004/08/11] ports/70309 sumikawa [patch] racoon disrupt manually-keyed IPS o [2004/08/11] ports/70317 x11 xvideo problems using XFree86-4.4.0 o [2004/08/11] i386/70330 i386 Re-Open 33262? - gdb does not handle pend o [2004/08/12] kern/70360 [twe] Random lock-ups with 3ware RAID 5 u o [2004/08/13] i386/70386 i386 IBM x345 Freezes Randomly o [2004/08/15] i386/70482 i386 Array adapter problems o [2004/08/16] i386/70525 i386 [boot] boot0cfg: -o packet not effective o [2004/08/16] i386/70531 i386 [patch] boot0 hides Lilo in extended slic o [2004/08/17] kern/70587 [patch] NULL pointer dereference in vm_pa o [2004/08/18] bin/70600 [fsck] fsck throws files away when it can o [2004/08/18] docs/70616 simon incompleteness and error in su(1) man pag o [2004/08/19] kern/70649 [rtc] system clock slows down when heavil o [2004/08/19] i386/70663 i386 Freebsd 4.10 ncplogin + Netware 4.11 = nw o [2004/08/20] ports/70695 hrs teTeX (port source print/teTeX) ends with o [2004/08/20] ports/70744 clement www/mod_fastcgi doesn't build without Mak o [2004/08/20] i386/70747 i386 ddos attack causes box to crash on kernel o [2004/08/21] kern/70753 [boot] Device for firewire hard disk not o [2004/08/21] bin/70803 truss wedges if child exits at the wrong f [2004/08/21] i386/70805 i386 [apm] page fault early during boot with a o [2004/08/22] kern/70809 panic: ufs_direnter: compact1 o [2004/08/25] i386/70925 i386 [hang] 5.3Beta1 acpi-pci driver failure, f [2004/08/25] kern/70931 panic: page fault at end of boot on Athlo o [2004/08/26] conf/70973 [patch] script 800.loginfail does not rep o [2004/08/26] bin/70974 [rpc] SIGSEGV in rpc.lockd o [2004/08/26] threads/70975threads unexpected and unreliable behaviour when o [2004/08/26] ports/70981 hrs LaTeX, tex and teTeX ports tangled o [2004/08/26] i386/71000 i386 [boot] BTX halted when booting from CD on o [2004/08/27] i386/71035 [kbd] SMP boot hangs in bus_space_write_1 o [2004/08/27] i386/71048 i386 [hang] ASUS TUV4X hangs when SONY CRX140E a [2004/08/28] kern/71073 andre [vlan] a media ioctl to vlan(4) causes pa o [2004/08/28] kern/71086 [panic] in vm_page_remove() (referencing o [2004/08/28] i386/71087 i386 [hang] 5.3-beta(2-5) fail to install on e o [2004/08/29] kern/71109 alc [patch] Possible race conditions in pmap. o [2004/08/30] kern/71131 [panic] profile.sh causes bfe to panic o [2004/08/30] i386/71144 i386 FBSD5.3b2 doesn't boot on a Compaq Armada o [2004/08/30] bin/71147 sshd(8) will allow to log into a locked a o [2004/08/30] kern/71155 usb [usb] misbehaving usb-printer hangs proce o [2004/08/30] i386/71158 i386 pci bus number 3 devices are missing on l o [2004/08/30] gnu/71160 gdb gets confused about active frame o [2004/08/31] i386/71190 i386 Dead thinkpad R31 after installing 5.2.1 o [2004/08/31] kern/71198 Lack of PUC device in GENERIC kernel caus o [2004/08/31] i386/71208 i386 Intel EtherExpress not working o [2004/09/02] bin/71290 [PATCH] passwd cannot change passwords ot o [2004/09/02] kern/71310 jeff [panic] kernel crash on rtprio pid priori o [2004/09/03] bin/71323 qa [sysinstall] FTP download from floppy boo o [2004/09/04] kern/71354 brooks [kbd] USB Keyboard bumped by non-existent f [2004/09/04] kern/71357 le [vinum] Panic when starting vinum at boot p [2004/09/05] kern/71388 rwatson [panic] due mac_policy_list_conditional_b o [2004/09/05] kern/71391 [nfs] [panic] md via NFS file + mount -t o [2004/09/05] i386/71392 i386 5.3-Beta[2-5] crash after final sync when o [2004/09/05] kern/71394 [boot] unable to mount troot device in bo o [2004/09/05] kern/71402 rwatson panic with lomac o [2004/09/06] kern/71421 [hang] filesystem operations lockups [SCH o [2004/09/06] i386/71428 i386 DMA does not work on VIA 82C586 [4.10] o [2004/09/07] kern/71443 brooks [kbd] usb keyboard not detected on 5.3 o [2004/09/07] i386/71470 i386 [hang] Asus P4P800-E Promise 20378 RAID 1 o [2004/09/07] amd64/71471 amd64 Can not install 5.3beta3/amd64 on IBM eSe o [2004/09/07] ports/71475 ports-bugs ACID (snort DB) detects versions incorrec o [2004/09/08] kern/71478 [nis] NIS/NFS: res_mkquery failed [4.2] o [2004/09/08] ports/71479 girgen mod_jk2-apache2 - various issues o [2004/09/10] kern/71547 anholt R200 (8500) hang on startx (nforce2) a [2004/09/10] kern/71568 brooks [kbd] [patch] unable to install FreeBSD u o [2004/09/11] bin/71594 [patch] pkg_install (sign) - variables ma o [2004/09/11] bin/71602 [PATCH] uninitialized "len" used instead o [2004/09/11] bin/71603 "systat -v" enters infinite loop o [2004/09/12] kern/71638 anholt Radeon 9200 SE with Xorg 6.7 and DRI 5.0. o [2004/09/12] i386/71641 i386 5.3-BETA3: wi0 hangs during kernel load f [2004/09/12] amd64/71644 amd64 5.3-BETA4 crash when heavy load o [2004/09/12] bin/71651 [PATCH] cron may attept to close unopened o [2004/09/12] kern/71677 rwatson MAC Biba / IPFW panic o [2004/09/13] ports/71692 knu portupgrade fails to find packages in por f [2004/09/13] kern/71695 brooks [hang] ifconfig hanging box o [2004/09/14] ports/71723 markus net/simicq port produces broken executabl o [2004/09/14] threads/71725threads Mysql Crashes frequently giving Sock Erro o [2004/09/14] sparc64/71729sparc64 printf in kernel thread causes panic on S f [2004/09/15] kern/71755 le [vinum] vinum bootstrapping problem o [2004/09/15] kern/71771 Hang during heavy load with amr raid cont o [2004/09/15] kern/71778 scsi 5.3 BETA3 doesnt see Adaptec 2015S FW Rev o [2004/09/16] kern/71785 panics in X (Xorg and XFree86) with ATI c f [2004/09/16] bin/71786 [patch] adduser breaks if /sbin/nologin i f [2004/09/16] kern/71791 Fatal trap 12: page fault while in kernel o [2004/09/16] kern/71792 [patch] Wrong/missing 'goto' target label o [2004/09/17] kern/71827 jeff [panic] Running java applications causes o [2004/09/19] kern/71910 andre [patch] ipfw forward does not work [5.3-B o [2004/09/19] kern/71918 4.5 disklabel gets damaged when mounted b f [2004/09/20] ports/71934 andreas Apsfilter (or lpr) operates erratically o [2004/09/22] kern/71999 recurring panic in 4.10: ata_dmasetup: tr o [2004/09/22] i386/72004 i386 [boot] FreeBSD 5.2.1 install hangs with e o [2004/09/22] kern/72007 [panic] clist reservation botch [4.10] o [2004/09/22] ports/72014 java Eclipse doesn't work (SigBus 10) if it ha o [2004/09/23] kern/72022 packet loss on loopback interface [5.3-BE o [2004/09/23] kern/72041 [hang] Deadlock when disk is destroyed wh o [2004/09/24] i386/72065 i386 4.x and 5.2.1 doesn't recognize PCnet/ISA o [2004/09/26] i386/72112 sound [sound] sound problems with builtin sound o [2004/09/26] ports/72114 ports-bugs [PATCH] libtool15 chokes on gcc34 on 4-ST o [2004/09/27] ports/72122 mharo sudo 1.6.8p1 with pam-krb5 authentication o [2004/09/27] kern/72130 Promise Fastrack sx4000 boot problem f [2004/09/27] kern/72131 le panic when starting vinum on system boot o [2004/09/28] ports/72149 nectar [PATCH] heimdal with LDAP backend - bad s o [2004/09/28] java/72151 phantom JVM crash on 5.2.1-R o [2004/09/29] kern/72163 ACPI Panics on boot with 5.3-BETA-3 and u o [2004/09/29] bin/72177 [patch] camcontrol's getdevtree fails o [2004/09/30] gnu/72200 bzXgrep fails to detect that its matcher o [2004/09/30] kern/72208 panic: bio_completed can't be greater tha o [2004/09/30] kern/72210 andre ipnat problem with IP Fastforward enable o [2004/09/30] kern/72211 Cannot boot 5.3-BETA6 with both SCSI and o [2004/09/30] i386/72215 i386 with acpi enabled network card will not w f [2004/10/01] kern/72223 wpaul ndis crashes kernel [5.3-BETA6] o [2004/10/03] kern/72278 Installworld crashes machine [5.3-BETA7] o [2004/10/03] docs/72285 doc GCC manuals are out of sync o [2004/10/04] kern/72305 boot hangs after discovering disks when a o [2004/10/04] bin/72307 kan offsetof() macro emits non-compliant code o [2004/10/04] i386/72334 i386 7) i386|[boot] FreeBSD 5.3 Beta6 and Beta o [2004/10/05] i386/72343 i386 Suspend resets system on Inspiron 5160. o [2004/10/05] threads/72353threads Assertion fails in /usr/src/lib/libpthrea o [2004/10/06] bin/72370 obrien awk in -current dumps core o [2004/10/06] kern/72372 radeon 9200se atlantis dri hangs X o [2004/10/06] kern/72376 acpi is mutually exclusive with snd_mss o o [2004/10/06] i386/72378 i386 NFS hangs in 5.3-BETA7 [3Com gbit card] o [2004/10/06] kern/72396 [patch] Incorrect network accounting with o [2004/10/07] ports/72414 openoffice Precompiled el-openoffice-1.1.2_1 first t o [2004/10/07] i386/72416 i386 FreeBSD 5.3-BETA7: The alternate systemcl f [2004/10/07] kern/72423 wpaul Loading if_ndis for Intel Wireless 2200BG o [2004/10/07] kern/72424 panic: ffs_blkfree: freeing free block in o [2004/10/07] threads/72429threads threads blocked in stdio (fgets, etc) are o [2004/10/08] i386/72439 sound [sound] Sound not functioning for VIA_823 o [2004/10/08] i386/72441 i386 HP Proliant DL380 hangs on reboot with 5. o [2004/10/09] i386/72456 i386 5.xx Releases Do Not Identify ATA when 4. o [2004/10/09] kern/72466 brooks [kbd] USB keyboard does not respond in si o [2004/10/10] kern/72490 Panic mounting cdrom with RWCombo Abort trap (core dumped) o [2004/11/04] kern/73538 problem with the Broadcom BCM5788 Gigabit o [2004/11/06] bin/73617 qa [sysinstall] fdisk editor unmarks active o [2004/11/07] amd64/73650 amd64 5.3-release panics on boot o [2004/11/07] bin/73651 Mergemaster on 4x -> 5.x pre-buildworld o [2004/11/08] i386/73658 i386 ed(4) can't get correct MAC address o [2004/11/08] i386/73666 i386 5.3 UDMA error WD1600 can't partition dri o [2004/11/09] i386/73706 jhb ATA_IDENTIFY timed out under FreeBSD 5.3 o [2004/11/09] kern/73719 rwatson Page fault in bpf_mtap () o [2004/11/09] kern/73740 [Panic] & [nfs(?)] 5-3-R#3 panic when acc o [2004/11/09] kern/73744 printing via cups causes "Interrupt storm o [2004/11/09] ports/73745 eik ports/databases/gnats4: gnatsd receives s f [2004/11/10] ports/73758 novel logjam port does not link o [2004/11/10] amd64/73775 amd64 Kernel panic (trap 12) when booting with o [2004/11/10] sparc64/73782sparc64 libc is missing the _Qp_cmp function o [2004/11/11] ports/73797 portmgr Be causious compiling with -O2 (use -fno- o [2004/11/11] kern/73830 le kernel panic when raid5 member disk is re o [2004/11/12] kern/73850 thomas atapicam and Zip drive causes reboots upo o [2004/11/12] kern/73852 [patch] [firewire] Not htonl() but ntohl( o [2004/11/12] kern/73871 Intersil Prism wireless wi0 locks up, "bu f [2004/11/12] ports/73882 hrs teTeX fails to install o [2004/11/13] kern/73910 ipfw [ipfw] serious bug on forwarding of packe o [2004/11/14] i386/73934 i386 fdisk sees disk as empty s [2004/11/15] ports/73980 dinoex heimdal port conflicts with apache+mod_ss o [2004/11/15] ports/73982 lev upgrade of apr to use DB4.2 broke subvers o [2004/11/16] i386/73987 sound Nfirce2 MB sound problem o [2004/11/16] i386/74008 i386 IBM eServer x225 cannot boot any v5.x - e o [2004/11/16] kern/74012 FreeBSD 4.10 stops responding while playi o [2004/11/16] amd64/74014 amd64 5.3-RELEASE-AMD64 freezes on boot during o [2004/11/16] misc/74019 Not NOMAN requires NO_CXX in make.conf o [2004/11/17] bin/74043 [PATCH] sh trap builtin does not properly o [2004/11/17] i386/74044 i386 ServerWorks OSB4 SMBus interface does not o [2004/11/18] i386/74074 i386 hw.ata.wc=0 / but write cache still enabl f [2004/11/18] kern/74088 usb ohci ehci uhub: port disabled on connecti o [2004/11/19] kern/74104 ipfw ipfw2/1 conflict not detected or reported p [2004/11/19] kern/74105 rwatson IPX protocol support doesn't work o [2004/11/19] i386/74124 i386 ata0 failure on HP(Vectra) VL6/350 [intro o [2004/11/19] bin/74127 [patch] patch(1) may misapply hunks with o [2004/11/19] kern/74136 FreeBSD 5.3 does not see RAID 1 drive onl o [2004/11/20] kern/74171 [serial] Fatal trap 12: page fault while o [2004/11/20] ports/74177 ports-bugs misc/linux-edonkey-tool-recovermet proble a [2004/11/21] gnu/74193 gcc 3.4 internal compiler error while com o [2004/11/21] i386/74217 i386 init died [Presario 2500] o [2004/11/22] kern/74230 periodic Fatal trap 12: page fault while o [2004/11/22] kern/74238 [firewire] fw_rcv: unknown response; fire o [2004/11/22] kern/74242 phk Write to fifo with no reader fails in 6.0 p [2004/11/22] bin/74255 des sshd produces Zombies with UsePam and Pri o [2004/11/22] ports/74263 obrien [update] security/super o [2004/11/22] ports/74265 x11 XFree86 Version 4.4.0 with KDE 3.1 freeze o [2004/11/22] kern/74272 Interrupt storm detected on "irc10:atapci o [2004/11/23] ports/74278 mharo ftp/proftpd: Update mod_ldap to 2.8.14 (n o [2004/11/24] kern/74309 xterm -C and rxvt -C do not grab /dev/con o [2004/11/24] kern/74319 system reboots after few hours [5.3] [smp o [2004/11/25] threads/74370threads Cannot get lwp 0 registers in gdb o [2004/11/25] kern/74386 phk [patch] Killing watchdogd does not shutdo o [2004/11/26] ports/74432 ports-bugs ohphone 1.4.1 crashes in 5.3 Stable o [2004/11/29] kern/74495 wi wlan driver device freeze (5.3-STABLE) o [2004/11/29] ports/74518 openoffice openoffice-1.1 build failure on 4-stable: o [2004/11/29] gnu/74531 gcc doesn't link correctly if -pg specifi o [2004/11/29] i386/74532 i386 Install will not boot on Toshiba Satalite o [2004/12/01] i386/74576 i386 FAILURE - ATA_IDENTIFY no interrupt o [2004/12/01] kern/74592 le removing a (probably nonexistent) plex/vo o [2004/12/01] i386/74601 i386 Cardbus fails after busdma_machdep.c upda o [2004/12/02] i386/74605 i386 5.3 networking impossibly slow on 32M p15 o [2004/12/02] kern/74607 scsi FreeBSD 5.3 install CD crashes on SCSI de o [2004/12/02] conf/74610 Hostname resolution failure causes firewa o [2004/12/02] ports/74622 girgen Apache2 + mod_jk2 - default socket timeou o [2004/12/02] kern/74627 scsi Adaptec 2940U2W Can't boot 5.3 o [2004/12/03] kern/74635 [panic] vlan over fxp driver IP assignmen o [2004/12/04] kern/74690 [patch] support for SanDisk 8-in-1 in uma s [2004/12/05] kern/74708 UMAPFS kernel panic o [2004/12/05] amd64/74747 amd64 System panic on shutdown when process wil o [2004/12/05] ports/74748 eik slapd will not terminate properly p [2004/12/06] standards/74751trhodes swab() should be declared in , o [2004/12/06] ports/74760 java javavmwrapper messes up amavisd-new o [2004/12/06] kern/74771 mounting write-protected umass device as o [2004/12/06] kern/74778 ipsec passthrough / nat-t crash freebsd f o [2004/12/06] bin/74779 Background-fsck checks one filesystem twi o [2004/12/07] bin/74801 cpio -p --sparse creates truncated files o [2004/12/07] kern/74809 smbfs panic o [2004/12/07] i386/74816 i386 OS crash with kernel trap 12 in different o [2004/12/08] kern/74852 page fault: after a few days init causes s [2004/12/08] ports/74857 ports-bugs clamav socket problem o [2004/12/08] ports/74866 portmgr Update Mk/bsd.port.mk to support python p o [2004/12/08] kern/74877 Panic after halting the system - vrele: n o [2004/12/09] ports/74878 vs Update port: science/py-scipy 0.3.2 o [2004/12/09] ports/74879 ade devel/gmake gives a segfault when $(eval o [2004/12/09] ports/74898 lev devel/subversion-python does not build o [2004/12/10] kern/74915 le vinum: kernel panic with dumpconfig while o [2004/12/10] i386/74923 i386 kernel panic with ncplist on 5.3-release a [2004/12/10] bin/74926 dds look(1) will silently ignore input from n o [2004/12/10] bin/74929 DES/BLF login.conf classes not working wi o [2004/12/11] kern/74935 andre [patch] TCP simultaneous open fails. o [2004/12/12] kern/74968 cdparanoia torture wedges CD-drive and PA o [2004/12/12] kern/74976 5.3-STABLE: vn_finished_write triggered p o [2004/12/12] i386/74988 i386 dma errors with large maxtor hard drives p [2004/12/13] kern/75014 rwatson When close ipx socket kernel panic o [2004/12/14] ports/75039 openoffice OpenOffice 1.1.2 javaldx crashes at start o [2004/12/14] i386/75041 i386 Sk driver gets "Corrupt MAC on input" dur o [2004/12/14] ports/75048 seanc www/mod_backhand nsswitch problem : nss_d o [2004/12/15] kern/75099 OpenOffice makes the system freeze o [2004/12/15] kern/75122 [PATCH] Incorrect inflight bandwidth calc o [2004/12/16] kern/75157 Cannot print to /dev/lpt0 with HP Laserje o [2004/12/16] kern/75159 (SC|VGA)_NO_FONT_LOADING in kernel config o [2004/12/17] kern/75172 Computer hangs o [2004/12/17] i386/75201 i386 nge driver causes FreeBSD 5.3-RELEASE and o [2004/12/18] amd64/75209 amd64 5.3-Release panics on attempted boot from o [2004/12/18] kern/75233 breaking fdformat /dev/fd0 resets device o [2004/12/19] kern/75249 [boot] 5.x install CD hangs on VirtualPC o [2004/12/19] kern/75250 gibbs timedout_scbs is not initialized with LIS o [2004/12/19] bin/75258 [patch] dd(1) has not async signal safe i o [2004/12/19] threads/75273threads FBSD 5.3 libpthread (KSE) bug o [2004/12/20] ports/75315 obrien the shells/bash2 port is broken on -CURRE f [2004/12/21] ports/75348 java Tomcat port overwrites server.xml config o [2004/12/21] kern/75368 initiate_write_inodeblock_ufs2() panic o [2004/12/21] threads/75374threads pthread_kill() ignores SA_SIGINFO flag o [2004/12/22] kern/75407 an0: no carrier after short time o [2004/12/23] ports/75416 ports-bugs x11-toolkits/xview broken from removal of o [2004/12/23] amd64/75417 amd64 ACPI: SATA Hard-disk o [2004/12/23] i386/75441 i386 fxp device timeout o [2004/12/25] kern/75482 simokawa bug in fwohci_pci.c causes cdrom installa o [2004/12/25] i386/75483 ipfw ipfw count does not count o [2004/12/26] kern/75510 panic: kmem_malloc(4096): kmem_map too sm o [2004/12/27] i386/75531 i386 Various DMA errors result in system panic o [2004/12/27] kern/75532 gibbs aic79xx.c has two incorrect references to o [2004/12/27] kern/75541 [patch] Forgotten tunables for sysvmsg mo p [2004/12/27] kern/75542 rwatson Inconsistent naming of a tunable and weir p [2004/12/30] ports/75645 trevor Fix errors in emulators/linux_base-8 for o [2004/12/30] ports/75646 trevor x11/linux-XFree86-libs: enable for amd64 o [2004/12/30] kern/75648 panic while loading usb.ko on 4.11-PRE o [2004/12/31] kern/75687 sound [patch] [sound] No sound on PC which is i o [2005/01/01] kern/75705 PANIC: da0 attach / Optio S4 o [2005/01/01] docs/75711 keramida opendir manpage o [2005/01/03] kern/75733 ATM driver problem. o [2005/01/03] ports/75748 edwin [patch] vmware3 install broken o [2005/01/03] kern/75755 kmem_malloc(45056): kmem_map too small: 3 o [2005/01/03] kern/75773 sysctl -a panic o [2005/01/04] kern/75780 [backtrace] [5.3R panic] panic: vm_page_f f [2005/01/04] ports/75785 obrien lang/gcc32 uses libc_r instead of libpthr o [2005/01/04] kern/75794 tackerman em driver alignment problems o [2005/01/04] threads/75795threads applications linked with -lc_r can't clos o [2005/01/04] kern/75797 5.3-STABLE(2005 1/4) detect USB headset, o [2005/01/04] kern/75823 wi0 interface self-destructs after a coup o [2005/01/05] ports/75832 nobutaka editors/emacs : byte-compile-file fails o o [2005/01/05] kern/75850 Reboot hangs when swap resides on disks t o [2005/01/06] kern/75875 acd0: FAILURE - READ_BIG ILLEGAL REQUEST o [2005/01/06] i386/75887 i386 with vt0.disabled=0 and PCVT in kernel vi o [2005/01/08] bin/75931 Got "bus error" on running certain apps o [2005/01/09] kern/75978 Linksys WPC11 ver 3 wifi card locks up 5 p [2005/01/09] bin/75980 expand(1) breaks tab columns in Japanese o [2005/01/10] kern/76023 xmms causes panic o [2005/01/10] ports/76029 mita misc/mgp-mode.el is already included in m o [2005/01/11] kern/76080 "bio_completed .. greater than bio_length o [2005/01/11] i386/76105 i386 PF on renamed interfaces page fault while o [2005/01/11] ports/76120 tobez coredump in perl 5.8.5 in malloc()-call f o [2005/01/12] kern/76126 [patch] [nfs] 4.11 client will send a NFS o [2005/01/12] bin/76134 fetch(1) doesn't like 401 errors with -A o [2005/01/12] amd64/76136 amd64 system halts before reboot f [2005/01/12] ports/76174 cy problem with ftp/sftp o [2005/01/13] usb/76204 usb panic while using usb attached modem o [2005/01/13] kern/76207 [patch] Null pointer dereference in xl_de o [2005/01/14] ports/76231 knu Existance of PHP5 installation breaks dev o [2005/01/14] kern/76237 le vinum panics on ufs_baddir, possible link o [2005/01/15] ports/76289 eik security/digest with sha256 output miss-m o [2005/01/15] ports/76293 ports-bugs port graphics/togl VERY broken a [2005/01/15] i386/76294 kientzle builtin gzip in tar fails o [2005/01/17] amd64/76336 amd64 racoon/setkey -D cases instant "Fatal Tra o [2005/01/17] i386/76372 i386 cannot burn iso image disk2 of any releas o [2005/01/18] usb/76395 usb USB printer does not work, usbdevs says " o [2005/01/18] kern/76398 stdio can lose data in the presence of si o [2005/01/18] kern/76410 [patch] Null pointer dereference in net/b o [2005/01/18] ports/76434 ports-bugs sysutils/lcdproc coredumps when started w s [2005/01/19] ports/76459 gerald Wine-20050111 raises "Uninitialized mutex o [2005/01/19] kern/76464 mlaier PF, set loginterface & non existing inter o [2005/01/20] i386/76487 i386 Compiled GENERIC kernel (and non-GENERIC) o [2005/01/20] kern/76504 silby Keep-alives doesn't work on half-closed s f [2005/01/20] ports/76506 cy Fvwm2-devel port requires additional pac o [2005/01/21] kern/76525 select() hangs on EOF from named pipe (FI o [2005/01/21] kern/76538 nfs-write on gbde partition stalls and co o [2005/01/21] usb/76554 usb Panram "yoyo" USB MP3 player causes panic o [2005/01/22] bin/76578 uniq truncates long lines to LINE_MAX o [2005/01/23] bin/76588 OpenSSL fails on loading keyfiles from BI o [2005/01/24] java/76631 java any port linux-*-jdk12 will core dump if o [2005/01/24] ports/76633 kwm Totem will not play DVDs> o [2005/01/25] ports/76644 emulation FreeBSD 5.3 will freeze or crash when run o [2005/01/25] ports/76658 clive font.properties actual font file cannot p o [2005/01/25] kern/76663 panic with FAST_IPSEC and IPv6 o [2005/01/25] i386/76666 i386 Booting and Sound are mutually exclusive o [2005/01/25] kern/76672 Problem with cardbus and vlans f [2005/01/25] usb/76684 usb Toshiba PDR-M4 camera connected via USB h o [2005/01/26] threads/76694threads fork cause hang in dup()/close() function f [2005/01/26] usb/76727 usb usb printing locks machine o [2005/01/27] i386/76737 i386 CardBus problem (cbb1: Could not map regi o [2005/01/28] kern/76780 re NIC driver update for D-Link DGE-528T o [2005/01/28] ports/76781 mharo [PATCH] mail/p5-Mail-IMAPClient: missing f [2005/01/28] i386/76785 i386 Installation Errors o [2005/01/28] kern/76792 le vinum not working with aac disk devices f [2005/01/30] ports/76838 edwin multimedia/pvr250 problems in 4.x with co f [2005/01/30] kern/76840 vs aureal-kmod locks the STABLE snapshot of f [2005/01/30] usb/76847 usb ukbd panics on boot o [2005/01/30] kern/76848 amr hangs o [2005/01/30] bin/76858 [PATCH] Bug in pkg_{info,delete} package o [2005/01/30] kern/76871 le vinum / does not find its second drive p [2005/01/31] kern/76890 glebius [patch] em driver does not send routing m o [2005/01/31] kern/76893 Fatal divide in booting processes with Bu o [2005/01/31] i386/76925 i386 standard pci-ide, install - "NO DISKS FOU o [2005/02/01] kern/76937 Page fault while in kernel mode under hea o [2005/02/01] i386/76944 i386 [patch] i386 bus_dmamap_create() bug o [2005/02/01] i386/76948 i386 Slow network with rl0 (rl0 driver problem o [2005/02/01] kern/76968 Failing to boot into machine o [2005/02/02] amd64/77011 amd64 consisten 5.3-p5 make crash on installwor f [2005/02/02] kern/77016 linimon Problem starting a jail in FreeBSD 5.2.1- o [2005/02/02] kern/77026 umount-ing non-existent device panics sys o [2005/02/03] bin/77067 /bin/sh premature termination when 'set - o [2005/02/03] kern/77074 RELENG_4 -> 5 regression regards msdosfs f [2005/02/03] ports/77075 ache no apache13 in ports! o [2005/02/04] amd64/77101 amd64 Please include ULi M1689 LAN, SATA, and A o [2005/02/04] kern/77111 After pppd establishes connection, if "op o [2005/02/05] ports/77115 phantom jdk15 and amd64, ${ARCH} bug o [2005/02/06] i386/77154 i386 5.3 refuses to boot when IDE channel2 is o [2005/02/06] kern/77181 [patch] [newfs] newfs -g largevalue, mkdi o [2005/02/06] usb/77184 usb kernel panic on USB device disconnect o [2005/02/07] ports/77185 ports-bugs (re)add PCL3 driver to print/ghostscript- o [2005/02/07] i386/77189 anholt DRM: Kernel panic "pmap_mapdev: Couldn't o [2005/02/07] kern/77195 [patch] Ipfilter ioctl SIOCGNATL does not o [2005/02/08] kern/77251 phk kernel panic on jail with unionfs o [2005/02/09] ports/77287 openoffice OOo2 cannot build without Mozilla o [2005/02/09] kern/77289 system hangs while trying to unmount prev o [2005/02/09] ports/77290 openoffice OOo2 moz needs GTK2 o [2005/02/09] usb/77294 usb ucom + ulpcom panic o [2005/02/09] i386/77325 dfr valgrind hangs at program completion, see o [2005/02/10] i386/77335 i386 Can not initial Ethernet Broadcom UDI PXE f [2005/02/10] ports/77336 openoffice OpenOffice 2.0 needs python dependency o [2005/02/10] kern/77337 Samba3+FAT32->Reboot o [2005/02/10] conf/77340 rc awk used in /etc/rc.d/nsswitch when not a o [2005/02/10] ports/77356 knu avr-libc 1.2.1 installs but does not ins p [2005/02/11] conf/77384 brooks /etc/rc.d/var uses commands from /usr/bin o [2005/02/11] ports/77391 apache Apache 2.x Modules depending on wrong Apa o [2005/02/12] sparc64/77417sparc64 [panic] with high usage of cpu when lan u o [2005/02/13] kern/77432 [PATCH] It is not possible to load nfs4cl o [2005/02/13] kern/77439 WAG511 NETGEAR pccard does not attach (De o [2005/02/13] i386/77443 i386 Can't access floppy - "/dev/fd0: Input/ou o [2005/02/13] bin/77455 [natd] fatal trap 19 in natd o [2005/02/13] kern/77463 [PATCH] Local DoS from user-space in NFS o [2005/02/14] ports/77488 knu devel/p5-String-Ediff seg faults o [2005/02/14] kern/77493 [named pipes] freebsd 5.3 + bash process o [2005/02/14] ports/77515 sobomax ZapTel crashes on some hardware o [2005/02/14] i386/77529 i386 installation of freebsd 5.3 in laptop an o [2005/02/15] ports/77574 nectar net/nss_ldap locks out when cd'ing to see o [2005/02/16] ports/77584 ports-bugs New ports: games/sear, games/sear-media. o [2005/02/16] kern/77588 PREEMPTION problems in combination with e o [2005/02/16] usb/77604 usb Sluggish Logitch LX700 USB Mouse o [2005/02/17] amd64/77629 amd64 aMule hardlocks AMD64 system o [2005/02/17] kern/77631 [if_sis] sis network driver broken in 5.3 o [2005/02/17] i386/77643 i386 SATA PCI controllers fail with WRITE_DMA o [2005/02/17] bin/77651 init can loose shutdown related signals o [2005/02/17] ports/77656 phantom java/jdk15 - (AMD64) install problem. o [2005/02/18] kern/77665 multicast sockets + interface removal = p f [2005/02/18] kern/77680 Too many files in a single directory slow o [2005/02/18] kern/77684 tx(4) driver causes machine to lockup o [2005/02/19] i386/77710 emulation Linux page fault sigcontext information i f [2005/02/19] ports/77727 skv Can't compile /usr/ports/textproc/sablotr o [2005/02/20] kern/77753 DVD-writer fails to fixate DVD f [2005/02/20] kern/77799 Panic on attach of a mp3 player to USB f [2005/02/20] kern/77805 Boot hangs with ACPI enabled o [2005/02/21] gnu/77818 GDB locks in wait4() when running applica o [2005/02/21] i386/77825 i386 dc driver pagefaults on bootup o [2005/02/21] ports/77873 portmgr New variable: USE_BSD_MK o [2005/02/22] conf/77932 pf and ipfw periodic scripts not working o [2005/02/22] i386/77935 i386 Can't boot with 5.x CD or floppy o [2005/02/23] kern/77940 insertion of usb keyboard panics system o [2005/02/23] amd64/77949 amd64 Pb boot FreeBSD 64 o [2005/02/23] ports/77954 trevor emulators/linux_base for amd64 fails to i o [2005/02/23] kern/77982 [patch] lnc0 can NOT be detected in vmwar o [2005/02/24] kern/78024 [panic] ufs2 panic o [2005/02/25] docs/78062 doc Sample Echo Pseudo-Device Driver for Free o [2005/02/25] i386/78075 i386 filesystem corruption o [2005/02/25] bin/78085 id command inconsistency o [2005/02/25] ports/78086 bms multimedia/dirac: install failure (patch o [2005/02/25] bin/78087 groups program inconsistency o [2005/02/26] kern/78110 bp [patch] fixed multibyte treatment of Samb o [2005/02/27] ports/78144 portmgr Force INSTALLDIRS="site" for perl ports o [2005/02/27] docs/78154 doc [PATCH] Make en_US FreeBSD Handbook more o [2005/02/27] gnu/78161 typo in gzexe o [2005/02/28] kern/78179 bus_dmamem_alloc() with BUS_DMA_NOWAIT ca o [2005/02/28] kern/78216 WRITE_DMA UDMA ICRC errors while copying o [2005/03/01] i386/78218 i386 kue not detected on Sony PCG-F370 VAIO o [2005/03/01] i386/78219 i386 Netgear FA-410TX is incorrectly detected o [2005/03/01] kern/78227 Destroying a network interface leaks kern f [2005/03/01] ports/78245 linimon make no longer working in /usr/ports o [2005/03/02] ports/78286 gnome [PATCH] Add support for multilang for www o [2005/03/02] ports/78287 gnome [NEW PORT]firefox simplified chinese vers o [2005/03/02] ports/78288 gnome [NEW PORT]firefox traditional chinese ver o [2005/03/02] ports/78289 gnome [NEW PORT]firefox japanese version o [2005/03/02] i386/78301 i386 Fatal trap 12 o [2005/03/02] ports/78302 sumikawa net/zebra patch for ospfd lost database u o [2005/03/02] ports/78325 cy -current behaves differently than 4.X w.r o [2005/03/03] i386/78339 i386 BTX loader crashes on boot on HP Proliant o [2005/03/03] standards/78357standards getaddrinfo() doesn't appear to support A o [2005/03/03] kern/78382 wpaul dhclient on ndis0 causes kernel panic o [2005/03/04] kern/78384 [panic] Reproducible panic with port iplo o [2005/03/04] ports/78396 java Java 1.4 fails to compile under FreeBSD 4 o [2005/03/04] amd64/78406 amd64 [panic]AMD64 w/ SCSI: issue 'rm -r /usr/p o [2005/03/04] ports/78428 openoffice Openoffice-1.1.4 stops compiling -> dmake o [2005/03/05] kern/78434 [patch] vfs_mount: -current does not cdbo o [2005/03/05] ports/78451 apache www/mod_perl not compilled p [2005/03/06] kern/78478 rwatson writing to closed socket does not generat o [2005/03/07] i386/78517 i386 WRITE_DMA and READ_DMA timeouts with ATI f [2005/03/07] ports/78527 x11 wrong x11-toolkits/Xaw3D version o [2005/03/07] amd64/78558 amd64 installation o [2005/03/08] bin/78570 "wicontrol -i wi0 -C" outputs garbage o [2005/03/08] ports/78597 portmgr [PATCH] bsd.port.mk's add-plist-docs fail s [2005/03/09] ports/78645 pav libgphoto2-2.1.5 broken o [2005/03/09] standards/78650standards ttyname_r() is not standards compliant o [2005/03/10] i386/78657 i386 error installing 5.3-RELEASE due to Compa o [2005/03/10] threads/78660threads Java hangs unkillably in STOP state after o [2005/03/10] kern/78664 jeffr truss does not work on 5-STABLE(5.4-PRERE o [2005/03/10] i386/78666 i386 ata0-master: FAILURE ATA-IDENTIFY timed o o [2005/03/11] kern/78707 New nvidia MCP2S chipset SATA no supporte o [2005/03/13] conf/78762 /etc/rc.d/ipfw should excecute $firewall_ s [2005/03/13] ports/78777 pav security/doorman: lexer collision with pc o [2005/03/13] kern/78791 xl input errors and speed problem o [2005/03/14] kern/78801 mux ping: sendto: No buffer space available o [2005/03/14] ports/78811 tobez Add WITH_DEBUGGING option to lang/perl5.8 f [2005/03/14] kern/78818 mlaier pf crash on high load if use route-to o [2005/03/14] kern/78821 ALLMULTI on Vlan Interfaces o [2005/03/14] kern/78824 rwatson race condition close()ing and read()ing t o [2005/03/14] ports/78830 ports-bugs New port: print/latex-auto-greek Auto-swi o [2005/03/14] ports/78834 ambrisko [PATCH] net/etherboot: gcc-3.4 fix o [2005/03/14] ports/78847 des Can't require 'asdf-install with current o [2005/03/14] amd64/78848 amd64 sis driver on FreeBSD 5.x does not work o f [2005/03/15] kern/78868 gibbs Adaptec 29160 fails with IBM LTO-2 drive o [2005/03/16] standards/78907standards does not define pthread typ o [2005/03/16] i386/78929 i386 atapicam prevents boot, system hangs o [2005/03/16] i386/78930 i386 SuperMicro web server with 5.3-RELEASE ke o [2005/03/17] kern/78946 vm_pageout_flush: partially invalid page o [2005/03/17] kern/78953 bp smbfs getdirentries() failure causes CVS o [2005/03/17] kern/78956 Only one write operation attempted on RAI o [2005/03/17] bin/78964 qa [sysinstall] can not write labels to hdd o [2005/03/17] kern/78968 FreeBSD freezes on mbufs exhaustion (netw o [2005/03/18] kern/78987 scottl udf fs: readdir returns error when it sho o [2005/03/18] usb/78989 usb please add USB keyboard support to instal o [2005/03/19] ports/79011 portmgr [PATCH] USE_MYSQL breaks dependency track o [2005/03/19] ports/79012 portmgr [PATCH] USE_PGSQL breaks dependency track o [2005/03/19] ports/79014 nork building www/linuxpluginwrapper fails. o [2005/03/19] kern/79025 [patch] && in /usr/src/etc/Makefile needs o [2005/03/21] i386/79073 i386 System panic and hang after creating a la o [2005/03/21] i386/79080 acpi acpi thermal changes freezes HP nx6110 o [2005/03/21] i386/79081 acpi ACPI suspend/resume not working on HP nx6 f [2005/03/21] i386/79097 i386 mount new partition maps / a [2005/03/22] ports/79114 roam stunnel calls execvp with broken argument o [2005/03/22] usb/79140 usb WD Firewire/USB Combo hangs under load on f [2005/03/22] i386/79141 i386 5.4Beta1 does not recognize my intel grap o [2005/03/23] kern/79148 DHClient / Ethernet Card not communicatin o [2005/03/23] kern/79160 xl_detach cause panic o [2005/03/23] kern/79168 Problems running two firewire disks on on o [2005/03/23] i386/79169 i386 freeze with striped USB Drives under high o [2005/03/24] kern/79208 [nfs] Deadlock or starvation doing heavy f [2005/03/24] ports/79212 haskell upgrade net/ginsu port o [2005/03/24] kern/79214 [nfs] iozone hurts tcp-based NFS p [2005/03/25] bin/79229 brooks Wrong Makefile path at /usr/src/sbin/ifco o [2005/03/25] ports/79231 x11 XORG / FBSD5.4 stuck at 640x480 on HP XE2 f [2005/03/26] ports/79250 ports-bugs devel/strace 4.5.1 Broken o [2005/03/26] ports/79253 sobomax Asterisk port has errors in some config f o [2005/03/26] kern/79255 Fixating CDRW with burncd(8) hangs system o [2005/03/26] docs/79261 doc exttatr_list_file() wrongly documented in o [2005/03/26] kern/79262 [if_dc] Adaptec ANA-6922 not fully suppor o [2005/03/26] bin/79263 find -exec {} + fails with -or and ! o [2005/03/27] i386/79268 i386 5.3-RELEASE won't boot on Compaq Armada 4 o [2005/03/27] i386/79269 i386 USB ohci da0 plug/unplug causes crashes a o [2005/03/27] usb/79287 usb UHCI hang after interrupt transfer o [2005/03/28] kern/79295 umount oddity with NFS (fwe) over VIA Fir o [2005/03/28] i386/79323 i386 authmod setup with ifconfig on dlink wlan o [2005/03/29] kern/79324 [if_bge] Broadcom bge chip initialization o [2005/03/29] kern/79332 [patch] "ffs_mountroot: can't find rootvp o [2005/03/29] kern/79333 pjd GEOM MIRROR mount root problem o [2005/03/29] kern/79334 [ata] ATA_IDENTIFY timed out for 5.3 and o [2005/03/29] kern/79336 [nfs] NFS client doesn't detect file upda o [2005/03/29] kern/79339 [patch] Kernel time code sync with improv o [2005/03/30] ports/79353 ports-bugs zh-CJK Makefile broken for teTeX 3.0 f [2005/03/30] ports/79356 pav security/openssh-portable 4.0.0.1,1 break o [2005/03/30] kern/79357 [patch] uiovcnt not initialized for exatt o [2005/03/30] bin/79376 moused causes random mouse events with a o [2005/03/31] ports/79386 kwm patch multimedia/gstreamer-plugins: wrong o [2005/03/31] ports/79397 clement news/inn fails to build nnrpd under RELEA o [2005/03/31] i386/79409 i386 [ataidle?] Come back from idle make the s o [2005/04/02] usb/79436 usb Panic: ohci_abort_xfer: not in process co o [2005/04/02] kern/79493 [PATCH] [if_tun] Reproducible if_tun pani o [2005/04/04] usb/79524 usb printing to Minolta PagePro 1[23]xxW via f [2005/04/04] ports/79535 pav mozilla and firefox hang repeatedly o [2005/04/04] docs/79543 doc doc change to firewall section of handboo o [2005/04/05] kern/79546 glebius dummynet & ipfw tee: kernel may hang (end o [2005/04/05] ports/79550 trevor print/acroread7 fails to open files when o [2005/04/07] kern/79621 sysinstall does not create a device when o [2005/04/07] usb/79622 imp USB devices can be freed twice o [2005/04/07] usb/79656 usb [usb] RHSC interrupts lost o [2005/04/07] docs/79658 doc Freebsd Handbook incorrect about ATAPI CD o [2005/04/08] kern/79660 ATAPI CD driver /dev/acd0tNN fails if dev o [2005/04/08] kern/79665 [panic] "unmount: dangling vnode" on amd f [2005/04/08] kern/79677 sos Really broken SATA support in FreeBSD 6-C o [2005/04/08] threads/79683threads svctcp_create() fails if multiple threads o [2005/04/08] i386/79686 i386 Spurious notebook disk errors from ATA dr o [2005/04/08] kern/79693 jhb SMP: msleep and sleepq_broadcast race o [2005/04/08] kern/79700 [nfs] suspending nfs file access hangs ot o [2005/04/09] kern/79703 [hang] RocketRaid 1820A has problems with o [2005/04/09] ports/79711 ports-bugs fail to build japanese/eijiro-fpw o [2005/04/09] conf/79712 ntpdate in startup sequence fails. o [2005/04/09] usb/79722 usb [usb] wrong alignments in ehci.h o [2005/04/09] i386/79729 i386 umass, da0 not detected by devfs for o [2005/04/09] i386/79730 i386 SLIM DRIVE COMBO fails with READ_BIG erro o [2005/04/10] ports/79762 lev [REPOCOPY] graphics/nip to graphics/nip2 f [2005/04/11] ports/79774 ports-bugs mod_fastcgi builds but won't install (wro o [2005/04/11] i386/79779 i386 If system memory is above 4GB, one parts o [2005/04/11] ports/79782 ale ports/Mk/bsd.php.mk 1.15 breaks oracle o [2005/04/11] kern/79783 ata: hw.ata.atapi_dma=1 reduces HDD writi o [2005/04/11] i386/79784 i386 Broadcom BCM4401 (bfe) : no carrier o [2005/04/11] kern/79785 realtek NIC will crash a heavy BSD system f [2005/04/11] i386/79797 i386 [panic] pmap_dev: Coud't alloc kernel vir o [2005/04/12] i386/79807 i386 Lock Up on Old Acer P1 Comp o [2005/04/12] amd64/79813 amd64 Will not install/run on amd64 nForce 4 pl o [2005/04/12] ports/79817 gnome finance/gnucash fails to build properly w f [2005/04/12] ports/79826 pav multimedia/transcode builds without optim o [2005/04/12] i386/79833 i386 BTX crashes on boot when using Promise TX o [2005/04/13] docs/79857 doc manpage about ntp is wrong o [2005/04/14] kern/79895 darrenr 5.4-RC2 breaks ipfilter NAT when using ne o [2005/04/14] kern/79905 sound [sound] sis7018 sound module problem o [2005/04/14] bin/79910 qa [sysinstall] Cannot escape from failed po o [2005/04/14] i386/79912 i386 Sound broken for 2 VIA chipsets o [2005/04/14] kern/79940 [panic] 5.3 with kernel debug causes pani o [2005/04/14] ports/79941 openoffice Openoffice 1.1.4_1 binary packages (i386) o [2005/04/14] i386/79943 i386 Very High interupt rate on PCM o [2005/04/16] kern/79988 darrenr [trap] page faults while in kernel mode o [2005/04/16] kern/79989 [panic] nfs_inactive() / sched_switch() p o [2005/04/16] i386/79990 glebius ng_mppc_decompress dies with ADAPTIVE_GIA o [2005/04/16] kern/80005 [if_re] re(4) network interface _very_ un o [2005/04/16] ports/80012 steve [FIX] Unbreak make package of x11-toolkit o [2005/04/16] ports/80015 erwin PATCH - databases/p5-DBD-CSV - Missing $P o [2005/04/17] kern/80035 glebius netgraph is causing crash (free()->panic) o [2005/04/17] usb/80040 usb [hang] Use of sound mixer causes system f o [2005/04/17] kern/80041 sound [sound] snd_via8233 does not support VIA8 o [2005/04/17] kern/80042 FreeBSD 5.4 RC2: Promise PDC20265 on A7V o [2005/04/18] ports/80069 tobez lang/perl5.8 doesn't make a valid symlink o [2005/04/18] bin/80074 Bug in OpenSSL's sk_insert() causes segfa o [2005/04/19] kern/80088 [smbfs] Incorrect file time setting on NT o [2005/04/19] ports/80106 sergei [PATCH] mail/maildrop flock() failure o [2005/04/19] amd64/80114 amd64 kldload snd_ich causes interrupt storm wh o [2005/04/20] kern/80130 [patch] sigprocmask erronously cleared on o [2005/04/20] kern/80136 [crash] mdconfig can reboot the system o [2005/04/20] kern/80166 ups [panic] Debugger SMP race panic o [2005/04/21] ports/80175 openoffice japanese/openoffice-templates is now fetc f [2005/04/21] ports/80212 ports-bugs advice after installing Zabbix f [2005/04/22] ports/80245 vs net-mgmt/zabbix: Error in Zabbix rc.d fil o [2005/04/22] kern/80246 [patch] Wrong mtx_unlock in IPS morpheus- o [2005/04/22] kern/80266 rwatson [patch] IPX routing doesn't work o [2005/04/23] ports/80288 ports-bugs [PATCH] samba: processing of symlinks bro f [2005/04/24] ports/80308 ports-bugs Update port o [2005/04/25] ports/80319 ports-bugs patch lang/elisp-manual: only the index f o [2005/04/25] ports/80320 hq Maintainer update: unbreak www/resin3 o [2005/04/25] kern/80321 serial db problems 1706 problems total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- a [1996/01/31] bin/981 fenner clnt_broadcast() is not aware of aliases a [1996/07/07] bin/1375 eivind Extraneous warning from mv(1) [PATCH] s [1996/10/14] kern/1791 tegge syslimits.h does not allow overriding def s [1996/11/23] bin/2090 clients may bind to FreeBSD ypserv refusi s [1996/12/02] bin/2137 tegge vm statistics are bad s [1996/12/27] kern/2298 [patch] support for DSR/DCD swapping on s s [1996/12/30] kern/2325 quota.user enlarged, no boot on 2.2-BETA a [1997/02/02] bin/2641 wpaul login_access.c doesn't work with NIS by d o [1997/02/19] kern/2768 ktrace(1) -i dumps corrupted trace data o [1997/03/11] bin/2934 sh(1) has problems with $ENV f [1997/05/16] bin/3608 jkoshy Telnet in linemode will break apart long o [1997/06/24] kern/3944 paul if_le doesnt receive ether multicast pack o [1997/07/02] kern/4012 [nfs] 2.2-RELEASE/Digital UNIX NFSv3 0 le f [1997/07/18] kern/4115 [nfs] SunOS NFS file has wrong owner if c o [1997/07/18] bin/4116 Kerberized login as .root fails to s [1997/07/26] bin/4172 des suggest reconnection option added to fetc s [1997/07/28] kern/4184 [PATCH] minor nits in sys/netatalk o [1997/07/30] kern/4194 kernel pci driver for Digital 21041 Ether o [1997/08/12] kern/4284 paul le0 goes OACTIVE after some time o [1997/08/29] kern/4413 No way to unmount a floppy that goes bad o [1997/08/29] bin/4419 man can display the same man page twice o [1997/08/30] bin/4420 imp find -exedir doesn't chdir for first entr p [1997/09/03] bin/4459 bde No prototype for moncontrol(3) and monsta o [1997/09/25] bin/4629 grog calendar doesn't print all dates sometime o [1997/09/28] bin/4646 qa [sysinstall] can't fixit with an NFS-moun o [1997/10/16] kern/4782 Under certain conditions, several krsh's o [1997/11/13] bin/5031 gad lpr does not remove original file if -s i s [1997/11/28] bin/5173 [PATCH] restore ought to deal with root s s [1997/12/15] bin/5296 slattach fails creating pidfile with ioct o [1997/12/22] kern/5362 [mount] mount incorrectly reports / as an o [1998/01/12] bin/5483 Login(1) clears utmp entry o [1998/01/27] kern/5577 bde Unnecessary disk I/O and noatime ffs fixe o [1998/01/27] kern/5587 des session id gets dropped o [1998/01/31] bin/5609 gad lpd cannot send long files to HP's JetDir o [1998/02/11] bin/5712 mikeh /bin/chio code cleaup and option added o [1998/02/14] bin/5745 nik [PATCH] Add /usr/local/share/mk to defaul o [1998/02/28] kern/5877 kbyanc sb_cc counts control data as well as data p [1998/03/31] kern/6184 No error if resulting file pos in lseek i a [1998/04/07] kern/6238 sound [sound] [patch] sound-driver patch for MA o [1998/04/19] conf/6346 joe Kernel version strings need to relate to s [1998/05/17] kern/6668 babkin [PATCH] new driver: Virtual Ethernet driv s [1998/05/29] bin/6785 place for all the default dump flags a [1998/07/01] bin/7136 markm kerberized telnetd doesn't use gettytab % s [1998/07/10] bin/7232 qa [sysinstall] suggestion for FreeBSD insta f [1998/07/10] kern/7234 [kbd] keyboard problems during login imme o [1998/07/12] kern/7264 gibbs Buslogic BT 950 scsi card not detected o [1998/07/13] bin/7265 A warning flag is added to ln(1). f [1998/07/13] i386/7266 PSM detection failure with Linksys consol o [1998/07/15] bin/7287 Incorrect domain name for MAP_UPDATE in m a [1998/07/20] bin/7324 mtm Suggestions for minor modifications to ad s [1998/08/10] kern/7556 sl_compress_init() will fail if called an s [1998/08/13] conf/7606 [PATCH] NIS Makefile.dist: NOPUSH replace s [1998/08/23] kern/7722 Changes to acct format s [1998/09/09] bin/7868 [almost patch]Morse Code Fixups o [1998/09/18] bin/7973 gad lpd: Bad control file owner in case of re o [1998/10/03] bin/8133 markm [patch] bug in telnetd (Kerberos IV) a [1998/10/28] bin/8479 dd Final \'s in /etc/exports did not work in f [1998/10/30] kern/8498 dwmalone Race condition between unp_gc() and accep o [1998/11/27] bin/8867 qa [sysinstall] [patch] /stand/sysinstall co a [1998/12/18] bin/9123 pax can't read tar archives that contain s [1998/12/29] bin/9233 gmp's mpq_add and mpq_sub are buggy f [1999/01/14] kern/9478 [patch] support for running a script from o [1999/01/19] kern/9570 dfr ed(4) irq config enhancement o [1999/01/22] kern/9619 Restarting mountd kills existing mounts o [1999/01/25] kern/9679 fix for uninterruptible open in portal fi f [1999/01/29] bin/9770 jmallett An openpty(3) auxiliary program o [1999/01/29] i386/9777 sound [sound] [patch] generic AD1816 sound supo o [1999/02/02] bin/9868 Patch to add "date -a" o [1999/02/02] kern/9869 When using macros out of function, they s s [1999/02/06] kern/9927 gibbs the ahc driver doesn't correctly grok swi o [1999/02/11] bin/10030 markm Kerberized telnet fails to encrypt when a o [1999/03/02] bin/10358 yar ftp(1) has problems with long pathnames o [1999/03/16] bin/10611 timed enhancement o [1999/03/19] gnu/10670 peter cvs doesn't allow digits in local keyword o [1999/03/19] kern/10673 wpaul Non-ASCII chars on serial console with Re a [1999/03/24] kern/10778 ru "ipforward_rt" is not cleared when routin a [1999/04/08] kern/11024 mtm getpwnam(3) uses incorrect #define to lim o [1999/04/11] bin/11085 Per-host configuration for syslog.conf f [1999/04/13] bin/11114 harti make(1) does not work as documented with o [1999/04/16] i386/11165 emulation IBCS2 don't work correctly with PID_MAX 9 o [1999/04/23] bin/11294 direct logging to other hosts (no local s o [1999/05/05] kern/11525 dwmalone [PATCH] Networking patches to increase # o [1999/05/19] kern/11789 obrien ELF machine definition missing for ARM o [1999/06/03] kern/12014 alfred Fix SysV Semaphore handling o [1999/06/07] kern/12071 fanf [PATCH] large scale IP aliasing o [1999/06/08] i386/12088 imp Enhancement to ed driver for Linksys 10/1 o [1999/06/21] bin/12324 qa [sysinstall] fdisk partition editor is mi o [1999/07/07] kern/12543 dg [PATCH] cumulative error counters for fxp o [1999/07/07] bin/12545 peter kldload(8) should be more sensitive to er o [1999/07/25] bin/12801 nvi infinite recursion with options "left f [1999/08/06] i386/12993 gibbs "ahc0: Data Parity Error Detected during o [1999/08/09] bin/13042 make doesn't handle wildcards in subdirec o [1999/08/12] bin/13108 authunix_create_default includes egid twi a [1999/08/13] bin/13128 cy pkg_delete doesn't handle absolute pathna o [1999/08/14] kern/13141 se Multiple LUN support in NCR driver is bro o [1999/08/21] bin/13309 billf Fixes to nos-tun o [1999/08/23] kern/13326 additional timeval interfaces for tags o [2000/07/20] bin/20054 yar ftpd: rotating _PATH_FTPDSTATFILE losts x f [2000/07/27] kern/20214 kernel routing bug for nexthop is routed o [2000/07/30] kern/20297 sound [sound] [patch] Joystick is not enabled w s [2000/08/01] kern/20333 des [libpam] ftp login fails on unix password s [2000/08/02] ports/20359 demon New port: www/Apache-mod_perl_guide o [2000/08/03] kern/20389 ken "device pass" required for CD ripping o [2000/08/04] bin/20391 jhb [sysinstall] sysinstall should check debu o [2000/08/04] kern/20410 sio support for high speed NS16550A, ST16 o [2000/08/09] bin/20501 mjacob extra flag to dump to offline autoloaders f [2000/08/09] i386/20507 Mouse freezes in 4.0-release after some u s [2000/08/10] ports/20520 olgeni New port: lang/mercury o [2000/08/10] kern/20529 wpaul gigabit cards fail to link o [2000/08/21] bin/20742 ps Weird problem with 'more' on 4-1-STABLE o [2000/08/23] bin/20799 peter top's problem o [2000/08/23] i386/20803 mdodd ep0 driver finds additional "shadow" ep c o [2000/08/27] bin/20881 There's no reason not to build DNSsec-DSA o [2000/08/27] bin/20889 dwmalone syslogd.c still uses depreciated domain A o [2000/08/28] bin/20908 qa [sysinstall] /stand/sysinstall too limite o [2000/08/30] bin/20944 natd enhancements, default config file an o [2000/09/03] bin/21008 gad Fix for lpr's handling of lots of jobs in o [2000/09/04] docs/21024 bde pow() ERANGE bug f [2000/09/05] i386/21042 mdodd [kbd] Keyboard driver problems with PS/2 f [2000/09/06] bin/21080 mjacob dump doesn't use eject tape device correc f [2000/09/10] kern/21156 [PATCH] inconsistency in scmouse vs xterm o [2000/09/12] kern/21222 [nfs] wrong behavior of concurrent mmap() o [2000/09/12] kern/21229 [nfs] [patch] Proper value for vfs.nfs.ac o [2000/09/16] bin/21312 more incorrectly redraws screen on xterm o [2000/09/16] bin/21315 Shells often behave oddly when executing s [2000/09/19] kern/21384 greid [sound] pcm driver has static in recorded o [2000/09/24] bin/21519 standards sys/dir.h should be deprecated some more f [2000/09/26] bin/21570 dougb [PATCH] Add -r option to /usr/bin/mail, q s [2000/09/30] bin/21659 Berkeley db library is statically compile o [2000/10/01] i386/21672 obrien AMD Duron Rev. A0 reports incorrect L2 ca o [2000/10/01] conf/21675 Better and more disktab entries for MO dr o [2000/10/04] bin/21751 ken libcam's cam_real_open_device() may lose o [2000/10/05] kern/21768 rwatson shouldn't trailing '/' on regular file sy a [2000/10/07] kern/21807 [patch] Make System attribute correspond p [2000/10/07] docs/21826 bms ARP proxy feature lacks documentation o [2000/10/09] kern/21859 fanf Allow the syncer to be slowed down o [2000/10/15] conf/21994 qa [sysinstall] Config of Anonftp (at instal s [2000/10/17] bin/22034 nfsstat lacks useful features found in So o [2000/10/21] bin/22182 vi options noprint/print/octal broken o [2000/10/21] kern/22190 threads A threaded read(2) from a socketpair(2) f p [2000/10/21] bin/22198 bms inet_ntop may set errno to ENOSPC and nee o [2000/10/26] conf/22308 [nfs] mounting NFS during boot blocks if o [2000/10/31] bin/22442 greid [PATCH] Increase speed of split(1) f [2000/11/05] bin/22612 dds crontab -e failures o [2000/11/10] bin/22730 fenner tcpslice doesn't handle long file offsets o [2000/11/15] bin/22873 markm [perl] Perl's core.h conflicts with ncurs o [2000/11/17] misc/22914 [bootinst] bootinst messages are not upda o [2000/11/24] conf/23063 bms [PATCH] for static ARP tables in rc.netwo o [2000/11/24] bin/23082 dwmalone ntpd has only one reference-clock parser p [2000/11/28] kern/23148 getopt(3) works non-intuitively? p [2000/11/29] bin/23178 'talk' not doing right thing o [2000/11/29] bin/23180 Certain KOI8 characters are treated as "w a [2000/12/04] bin/23254 fenner yacc accepts bad grammer p [2000/12/05] kern/23304 kbyanc POSIX clock_gettime, clock_getres return o [2000/12/06] kern/23314 scsi aic driver fails to detect Adaptec 1520B a [2000/12/09] bin/23402 qa [sysinstall] upgrade ought to check parti p [2000/12/11] bin/23472 mp gdb weirdness on programs compiled with - o [2000/12/13] kern/23520 sound [sound] sb0 old style audio support in 4. o [2000/12/14] kern/23546 tanimura [PATCH] csa DMA-interrupt problem o [2000/12/15] kern/23561 emulation Linux compatibility mode does not support o [2000/12/15] bin/23562 markm [patch] telnetd doesn't show message in f o [2000/12/19] bin/23635 mike [PATCH] whois enhancement - smarter whois o [2000/12/25] ports/23822 trevor mtree entries for German X11 man pages a [2000/12/28] bin/23912 underflow of cnt in vs_paint() by O_NUMBE o [2001/01/04] bin/24066 marcel gdb can't detach from programs linked wit p [2001/01/07] gnu/24132 mp gdb output is wrong (same as #13427 ?) f [2001/01/08] kern/24141 sound [sound] emu10k1 has trouble playing non-4 o [2001/01/16] bin/24390 standards Replacing old dir-symlinks when using /bi o [2001/01/18] bin/24435 qa [libdisk] changing slice type causes Auto o [2001/01/20] bin/24485 [PATCH] to make cron(8) handle clock jump o [2001/01/21] bin/24513 peter new options for pppd p [2001/01/21] conf/24515 dougb Fix for find(1) warning in /etc/rc o [2001/01/22] kern/24528 Bad tracking of Modem status s [2001/01/24] standards/24590standards timezone function not compatible witn Sin o [2001/01/24] bin/24592 cjc dmesg.boot Gets Overwritten without Reboo o [2001/01/27] alpha/24663 alpha Console output gets scribbled into /var/l o [2001/01/31] bin/24757 yar ftpd not RFC compliant o [2001/02/02] docs/24786 doc missing FILES descriptions in sa(4) f [2001/02/03] kern/24827 Erratic Intellimouse Explorer in 4.1 and o [2001/02/05] kern/24882 ktrace not syncing .out file before panic o [2001/02/06] bin/24907 qa [sysinstall] Options screen at MenuMedia o [2001/02/08] bin/24953 green adduser ignores passwd_format in login.co o [2001/02/08] kern/24959 andre proper TCP_NOPUSH/TCP_CORK compatibility o [2001/02/09] i386/24963 perfmon(4) doesn't work on SMP systems o [2001/02/11] bin/25013 mv(1) cannot move unresolvable symlinks a o [2001/02/11] bin/25015 cp: options -i and -f do not work as docu o [2001/02/11] kern/25018 lstat(2) returns bogus permissions on sym o [2001/02/15] kern/25109 Fujitsu MO device MCC3064AP could't be c o [2001/02/20] bin/25218 mailwrapper(1) invokes sendmail when reso o [2001/02/22] bin/25273 add fs type feature to vnconfig(8) to all f [2001/02/22] bin/25278 dd bs accepts -s -c but not -sc o [2001/02/22] alpha/25284 alpha PC164 won't reboot with graphics console o [2001/02/26] kern/25386 sound [sound] Incorrect mixer registers (line & o [2001/02/28] kern/25445 kernel statistics are displayed in wrong o [2001/03/01] bin/25477 billf pam_radius fix to allow null passwords fo o [2001/03/02] ports/25490 wosch [PATCH] fix various bugs in stat(1) p [2001/03/02] kern/25499 [kbd] [patch] buffer paste functionality o [2001/03/04] i386/25521 Laptop with FreeBSD4.2 freezes in battery s [2001/03/08] bin/25598 yar patch to let ftpd output message when cha o [2001/03/12] kern/25733 mismatch between error reporting in smbus o [2001/03/12] bin/25736 ac -d option probrem with overdays logon f [2001/03/13] kern/25777 atime not updated on exec o [2001/03/15] conf/25829 IPSec config in rc.network doesn't allow o [2001/03/17] kern/25866 more than 256 ptys, up to 1302 ptys. f [2001/03/22] docs/26003 rwatson getgroups(2) lists NGROUPS_MAX but not sy o [2001/03/22] bin/26005 delphij MIME quoted-printable encoding added to v p [2001/03/23] kern/26016 iedowse VMWare is crash on SMP machine f [2001/03/29] ports/26192 ports-bugs apel appeared both in xemacs/site-package o [2001/04/01] i386/26261 silo overflow problem in sio driver o [2001/04/02] docs/26286 doc *printf(3) etc should gain format string o [2001/04/03] kern/26323 [patch] Quota system creates zero-length a [2001/04/04] kern/26348 [pcvt] scon -s, page fault in HP mode p [2001/04/04] bin/26359 bms [PATCH] a minor nit in how netstat detect o [2001/04/09] kern/26454 sound [sound] mixer volume settings on Maestro- a [2001/04/13] kern/26534 ipfw Add an option to ipfw to log gid/uid of w o [2001/04/13] kern/26547 ambrisko "lnc" problem with shared memory mode wit o [2001/04/14] i386/26562 /dev/lpt0 returns EBUSY when attempting t o [2001/04/15] kern/26584 kernel boot messages aren't logged correc o [2001/04/16] kern/26618 iedowse unmount(2) can't unmount a filesystem who p [2001/04/17] kern/26646 ache srand() provides only 8-bit table o [2001/04/18] conf/26658 grog update to src/usr.bin/calendar/calendars/ o [2001/04/18] kern/26686 Freeze at boot from 4.3-RC4 floopies - US o [2001/04/19] bin/26695 change request: kill(1)/killall(1) -l out o [2001/04/23] kern/26787 dd sysctl change request s [2001/04/23] bin/26803 des Fix fetch to allow FTP puts in '-o' & all o [2001/04/24] i386/26812 peter old bootstrap /sys/i386/boot/... still in a [2001/04/25] kern/26854 sound [sound] [patch] Better fix for ESS Techno o [2001/04/26] docs/26879 darrenr [ipf] mkfilter not installed, yet referre o [2001/04/28] bin/26919 qa [sysinstall] fdisk should ONLY set one bo o [2001/05/01] kern/27008 kernel function sysbeep(xxx, 0) does prod f [2001/05/07] bin/27188 jon fix of rsh non-interactive mode behaviour o [2001/05/08] bin/27216 qa [sysinstall] can not get to shell prompt o [2001/05/09] kern/27232 [nfs] On NFSv3 mounted filesystems, stat o [2001/05/10] bin/27258 getty didn't check if if= isn't empty o [2001/05/11] kern/27269 Cannot mount linux extended (logical) par o [2001/05/12] bin/27281 vidcontrol(1) does not have error codes o [2001/05/13] i386/27306 marcel hw watchpoints work unreliable under gdb o [2001/05/14] bin/27319 obrien df displays amd pid processes o [2001/05/17] kern/27403 lpt driver doesn't handle flags anymore o [2001/05/18] kern/27429 'dependant' is a misspelling o [2001/05/21] bin/27483 qa [sysinstall] [patch] make sysinstall ask o [2001/05/23] kern/27571 bp [unionfs] Changing policy of shadowing fi f [2001/05/25] conf/27633 Mapping for serbian keyboards, follows IS o [2001/05/26] kern/27660 Kernel does not return error if adding du o [2001/05/27] bin/27687 fsck wrapper is not properly passing opti o [2001/06/02] bin/27829 pax's uid/gid cache is read-only a [2001/06/02] docs/27833 cjc No man page for locate.rc o [2001/06/02] kern/27835 execve() doesn't conform to execve(2) spe s [2001/06/03] docs/27843 doc [PATCH] make.conf WITH_* variables aren't o [2001/06/04] bin/27872 qa [sysinstall] "Load Config" hangs Compaq D o [2001/06/07] alpha/27930 alpha NE2000 not supported on FreeBSD Alpha 4.x o [2001/06/07] alpha/27933 alpha Time jitter under load on FreeBSD 4.3 alp s [2001/06/07] ports/27936 mi Update /usr/ports/deskutils/xmdiary 3.0.1 o [2001/06/08] bin/27972 losing information with talk a [2001/06/11] bin/28081 qa [sysinstall] /stand/sysinstall errs out i f [2001/06/14] ports/28155 portmgr [patch] DESTDIR is used incorrectly in bs a [2001/06/16] gnu/28189 [PATCH] fix for detecting empty CVS commi f [2001/06/16] kern/28206 bp [nullfs] [patch] umapfs/umap_vfsops.c sho o [2001/06/17] conf/28236 [PATCH] iso-8859-1_to_cp437.scm doesn't c o [2001/06/18] misc/28255 small picobsd documentation still references ol s [2001/06/18] kern/28260 standards UIO_MAXIOV needs to be made public o [2001/06/22] bin/28333 rtprio/idprio setuid problems o [2001/06/23] bin/28364 lex(1) generated files fail to compile cl f [2001/06/23] ports/28365 wosch Typical use of devel/portcheckout breaks p [2001/06/27] gnu/28455 GNU readline should be updated to 4.2 o [2001/06/30] docs/28555 trhodes [PATCH] style(9) isn't explicit about boo o [2001/07/02] bin/28620 ru xinstall has no way to pass options to st o [2001/07/03] ports/28678 wosch portcheckout doesn't allow flexible build o [2001/07/07] bin/28789 /usr/bin/last does not filter for uucp co o [2001/07/08] ports/28803 cy [patch] comms/conserver does not support o [2001/07/11] kern/28888 mbr Acer 8000 NIC not detected correctly o [2001/07/12] i386/28928 wpaul dual starfire nic doesn't seem to work (a o [2001/07/14] bin/28972 dwmalone gamma returns same result as lgamma f [2001/07/14] i386/28975 mjacob RocketPort problems o [2001/07/15] kern/28980 sound [sound] Fujitsu/Siemens Lifebook E-6540 s o [2001/07/18] bin/29062 markm krb4 and krb5 multiply defined version sy o [2001/07/18] kern/29067 sound [sound] Yamaha OPL3Sa2 pcm/pnp stops play o [2001/07/21] bin/29119 menu of fdisk editor in 4.3R does not lis o [2001/07/23] ports/29154 nik TeX resource settings from MAKE_ENV in pr f [2001/07/23] kern/29169 mjacob FC loop that 'goes away' never times out o [2001/07/26] docs/29245 doc top(1) manpage doesn't understand SMP s [2001/07/29] bin/29292 sos The functional addtion to burncd(8) f [2001/07/29] alpha/29299 alpha FreeBSD 4.3 Alpha + Tekram SCSI adapter p o [2001/07/30] kern/29312 sound [sound] Using mixer on pcm misbehaves wit f [2001/07/30] kern/29318 mjacob Exabyte 8200 needs SA_QUIRK_1FM and SA_QU o [2001/08/01] kern/29355 mux [patch] lchflags support o [2001/08/01] bin/29363 gad [PATCH] newsyslog can support time as ext o [2001/08/04] kern/29423 [PATCH] kernel security hooks implementat o [2001/08/07] bin/29516 markm telnet from an non FreeBSD host still use f [2001/08/08] kern/29538 joerg Mounting /dev/fd0 never completes o [2001/08/09] bin/29581 nectar proposed gethostbyXXXX_r() implementation o [2001/08/14] kern/29698 emulation linux ipcs doesn'work o [2001/08/15] kern/29727 scsi [amr] [patch] amr_enquiry3 structure in a a [2001/08/17] docs/29807 trhodes [PATCH] XFREE86_VERSION is undocumented o [2001/08/17] i386/29809 rsm pb Xircom Eth Card with Freebsd 4.4RC1 : o [2001/08/20] bin/29893 qa [sysinstall] suggestions for 4.4 sysinsta o [2001/08/20] bin/29897 des pam_unix patch, which uses loginclass pas a [2001/08/23] docs/30008 doc This document should be translated, comme o [2001/08/24] kern/30052 mbr dc(4) driver queues outgoing pkts indefin o [2001/08/29] kern/30186 getaddrinfo does not handle incorrect ser o [2001/09/03] i386/30276 CPUTYPE=486 built on a CPUTYPE=p3 WORLD b o [2001/09/04] conf/30301 Default printcap "mx" config too small o [2001/09/04] bin/30321 strftime(3) '%s' format does not work pro s [2001/09/05] ports/30331 portmgr [patch] Conflict between bsd.port.mk MAKE o [2001/09/05] bin/30360 vmstat returns impossible data o [2001/09/07] kern/30412 [patch] rtdl/dlopen() fails to merge comm s [2001/09/07] kern/30422 [patch] add WDT hardware watchdog driver o [2001/09/07] bin/30424 Generalization of vipw to lock pwdb while o [2001/09/09] docs/30442 trhodes remove broken referemce to gettime(9) fro o [2001/09/09] kern/30461 sound [sound] no audio cd with cmi8330 o [2001/09/09] threads/30464threads pthread mutex attributes -- pshared o [2001/09/12] bin/30517 qa [sysinstall] using sysinstall with instal o [2001/09/13] bin/30542 [PATCH] add -q option to shut up killall o [2001/09/15] conf/30590 /etc/hosts.equiv and ~/.rhosts interactio p [2001/09/16] kern/30608 kern.ps_showallproc=0 doesn't limit queri o [2001/09/18] bin/30654 gad Added ability for newsyslog to archive lo f [2001/09/19] bin/30661 alfred FreeBSD-current fails to do partial NFS f o [2001/09/21] kern/30700 sound [sound] Applications cannot synchronize s o [2001/09/22] ports/30732 obrien bash2 - pkg-plist fix and sample files ad a [2001/09/22] bin/30737 qa sysinstall leaks file descriptors on rest o [2001/09/24] ports/30777 portmgr add a 'make pkg-plist' make target in por o [2001/09/25] bin/30812 giant termcap database update o [2001/09/25] bin/30819 /bin/mv results in warnings when /bin/cp o [2001/09/26] bin/30854 bootpd/bootpgw change - skip ARP modifica p [2001/09/27] kern/30857 [patch] intr_machdep.c allows access out o [2001/09/27] bin/30863 bootpd/dovend.c Win95 compatibility impro p [2001/09/27] docs/30873 jcamou ``ip'' man page does not specify byte ord o [2001/09/30] conf/30929 usb [patch] use usbd to initialize USB ADSL m o [2001/09/30] conf/30938 Improving behavior of /etc/periodic/daily o [2001/10/01] alpha/30970 alpha Ensoniq 1371 (Creative chipset) does not o [2001/10/04] bin/31034 dwmalone regularly add original address logging fo o [2001/10/04] kern/31048 des linprocfs:/proc/meminfo cannot handle mul p [2001/10/05] bin/31052 fenner Traceroute needs update o [2001/10/07] docs/31109 doc replace gif images w/ png ones due to pat o [2001/10/10] bin/31199 tunefs error is incorrect when enabling s o [2001/10/10] bin/31201 [patch] add free_space(chunk) to libdisk o [2001/10/18] i386/31353 'shutdown -p' does not work on SMP Tyan T o [2001/10/19] kern/31380 [nfs] NFS rootfs mount failure message to o [2001/10/20] bin/31387 When getuid()=0, mailwrapper should drop o [2001/10/21] kern/31398 sound [sound] newpcm does not play back the tai o [2001/10/22] i386/31427 davidxu [patch] minor incorrect code in sys/i386/ o [2001/10/22] bin/31432 umount(8) and unmount(2) don't corespond o [2001/10/23] kern/31445 sound [sound] [patch] cat sound.au > /dev/audio o [2001/10/23] kern/31456 [patch] register number definition for AM f [2001/10/25] kern/31490 [panic] [patch] Panic in sysctl_sysctl_ne o [2001/10/27] kern/31521 sound [sound] pcm0 plays too fast on Intel 8280 o [2001/10/27] i386/31535 Can't reboot system: Tyan Thunder K7+ Dua o [2001/10/29] bin/31588 change request to allow mount(1) to set t o [2001/10/30] kern/31624 writev may return undocumented ECONNRESET o [2001/10/30] kern/31647 socket calls can return undocumented EINV s [2001/11/01] kern/31686 bms Problem with the timestamp option when fl o [2001/11/02] kern/31708 VM system / fsync / flushing delayed inde o [2001/11/05] gnu/31772 New option in dialog(1) o [2001/11/10] kern/31890 [syscons] [patch] new syscons font o [2001/11/11] bin/31906 No method available to unwind atexit(3) s o [2001/11/12] bin/31933 pw can interpret numeric name as userid d o [2001/11/14] kern/31981 [patch] (mis)feature in getnetent parsing o [2001/11/14] bin/31985 New /etc/remote flag for tip to append LF o [2001/11/14] bin/31987 patch to allow dump(1) to notify operator o [2001/11/15] docs/32020 trhodes loader.8 manpage missing tunables f [2001/11/18] conf/32067 Problems with spanish keyboard in console o [2001/11/19] conf/32108 Proposed Firewall (IPv4) configuration sc p [2001/11/20] standards/32126standards getopt(3) not Unix-98 conformant f [2001/11/20] bin/32144 qa [sysinstall] unattended install with sysi o [2001/11/26] bin/32288 qa [sysinstall] After install: /etc/rc compl a [2001/11/29] bin/32375 qa [sysinstall] sysinstall doesn't respect U a [2001/11/30] bin/32411 shutdown's absolute-time handling could b o [2001/12/03] kern/32480 [syscons] Missing graphic characters in s o [2001/12/04] bin/32501 trhodes quot(8) is stupid regarding the filesyste f [2001/12/08] kern/32605 nsouch SMBus driver broken o [2001/12/09] kern/32652 usb [patch] A new ioctl to uscanner s [2001/12/09] ports/32653 usb Added patches to improve USB scanner supp o [2001/12/10] kern/32659 VM and VNODE leak with vm.swap_idle_enabl o [2001/12/10] gnu/32661 dd send-pr uses $LOGNAME for From and Reply o [2001/12/10] bin/32667 systat waste too much time reading input o [2001/12/10] bin/32680 [PATCH] Allows users to start jail(1) by o [2001/12/13] bin/32808 dwmalone [PATCH] tcpd.h lacks prototype for hosts_ o [2001/12/13] kern/32812 [bktr] bktr driver missing tuner for eepr o [2001/12/14] bin/32828 w incorrectly handles stale utmp slots wi o [2001/12/18] docs/32979 hmp manpages are not installed for k5admin an f [2001/12/19] kern/33007 umass device timeout after successive use s [2001/12/19] kern/33013 sound [sound] mixer does not have treble/bass f o [2001/12/21] bin/33066 rwatson sysinstall does not write to new disks as o [2001/12/22] kern/33097 sound [sound] Crystal 4237b mixer problems o [2001/12/23] kern/33124 jhb kthread_create doesnt mark kthreads as kt s [2001/12/24] bin/33133 keyinit outputs wrong next login password o [2001/12/26] bin/33182 marcel gdb seg faults when given handle SIGALRM o [2001/12/26] kern/33203 [nfs] "got bad cookie" errors on NFS clie o [2002/01/05] docs/33589 doc Patch to doc.docbook.mk to post process . a [2002/01/07] bin/33661 PAP AuthAck/AuthNak parsing problem in pp o [2002/01/08] kern/33707 sound [sound] ICH (82801AA) cannot be used for o [2002/01/09] docs/33724 doc [patch] fix Handbook error about Advanced o [2002/01/10] bin/33774 Patch for killall(1) o [2002/01/11] bin/33778 joe crunchgen enhancements o [2002/01/12] bin/33809 mux mount_nfs has trouble with embedded ':' o [2002/01/13] bin/33834 strptime(3) is misleading o [2002/01/14] docs/33852 doc split(1) man page implies that input file o [2002/01/14] docs/33877 doc Documented behaviour of SF_flags for non- o [2002/01/16] bin/33941 /usr/sbin/dev_mkdb dumps core a [2002/01/16] kern/33963 bde Messages at the serial IO port device pro o [2002/01/16] kern/33965 [kbd] [patch] programmable keys of the ke a [2002/01/17] bin/34010 [patch] keyinit takes passwords less than o [2002/01/22] bin/34146 newfs defaults and vfs.usermount=1 tug at s [2002/01/22] bin/34171 yar ftpd indiscrete about unprivileged user a f [2002/01/23] kern/34195 iedowse setting the action for SIGCHLD to SIG_IGN o [2002/01/23] bin/34199 dwmalone [PATCH] top(1) RES/rss display incorrect o [2002/01/24] alpha/34232 alpha rpc.statd throws alignment errors o [2002/01/24] docs/34239 trhodes tunefs(8) man page doesn't describe argum o [2002/01/26] bin/34309 gad lpd does not garantie that controlfiles b o [2002/01/29] bin/34394 peter tgetent returns wrong value in libtermcap o [2002/01/29] bin/34412 tftp will still try and receive traffic e o [2002/01/31] bin/34497 grog calendar(1) does not understand calendars s [2002/01/31] bin/34498 Error in vi manpage. o [2002/02/01] bin/34519 pkg_check(8) does not return exit code >0 o [2002/02/01] gnu/34538 mp_set_memory_functions not extern "C"'d a [2002/02/03] kern/34591 andre ICMP bandwidth limiting does not indicate o [2002/02/05] bin/34628 jkh pkg-routines ignore the recorded md5 chec o [2002/02/06] kern/34665 darrenr ipfilter rcmd proxy "hangs". o [2002/02/07] gnu/34709 marcel [patch] Inaccurate GDB documentation o [2002/02/08] bin/34728 DHCP hostname set as Hexadecimal string o [2002/02/09] bin/34759 Phantasia does not accept [enter] key o [2002/02/10] bin/34788 dwmalone dmesg(1) issues with console output o [2002/02/11] bin/34832 /usr/share/man/cat3/setkey.3.gz linked to p [2002/02/11] bin/34843 fenner `tcpdump port echo' filters for port 4 in o [2002/02/12] kern/34854 sound [sound] /src/sys/dev/sound doesn't work c p [2002/02/12] bin/34874 bms Netstat output to small o [2002/02/12] kern/34880 luigi Impossibility of grouping IP into a pipe o [2002/02/14] kern/34942 sound [sound] Attempt to play -> "pcm0: play in a [2002/02/16] docs/35011 doc There are no commands called "diskless" o f [2002/02/17] bin/35018 brian enhancing daily/460.status-mail-rejects s [2002/02/18] bin/35070 math(3) references section "3m", etc. f [2002/02/19] kern/35101 cvusupit and other packages won't extract o [2002/02/19] bin/35109 [PATCH] games/morse: add ability to decod o [2002/02/19] bin/35113 grdc enhancement: countdown timer mode o [2002/02/22] docs/35222 doc mailing list archive URL regexp suboptima o [2002/02/23] kern/35234 scsi World access to /dev/pass? (for scanner) o [2002/02/24] conf/35262 [patch] generation of boot block for head o [2002/02/25] kern/35289 [bktr] [patch] Brooktree device doesnt pr o [2002/02/25] kern/35324 Plug and Play probe fails to configure Di s [2002/02/26] bin/35333 send-pr(1) vim syntax highlighting suppor o [2002/02/27] kern/35377 process gets unkillable (-9) in "ttywai" o [2002/02/27] misc/35381 standards incorrect floating-point display of large o [2002/02/28] bin/35400 qa [sysinstall] sysinstall could improve man o [2002/03/01] bin/35451 PATCH: pkg_add -r able to save local copy o [2002/03/04] misc/35542 bde BDECFLAGS needs -U__STRICT_ANSI__ o [2002/03/04] conf/35545 [patch] enhanced periodic scripts: 100.cl o [2002/03/05] bin/35568 make declares target out of date, but $? o [2002/03/06] docs/35608 doc mt(1) page uses "setmark" without explana o [2002/03/06] docs/35609 doc mt(1) page needs explanation of "long era o [2002/03/06] docs/35612 doc ps(1) page "state" description doesn't me o [2002/03/07] kern/35635 [patch] missing dep in libiconv prevents o [2002/03/07] docs/35642 doc lo(4) page maybe should document optional o [2002/03/07] docs/35644 doc lo(4) page presumes familiarity with prin o [2002/03/07] docs/35646 doc cp(1) page needs a "Bugs" section. o [2002/03/07] www/35647 www www; combine query-by-number and multi-fi o [2002/03/07] docs/35652 trhodes bsd.README seriously obsolete o [2002/03/08] docs/35686 doc blackhole(4) page seems to contradict its o [2002/03/08] docs/35687 doc /etc/nsmb.conf missing mention of readers o [2002/03/09] docs/35696 trhodes mount_smbfs(8) references a nonexistent n o [2002/03/09] www/35711 bugmeister the "gnats page" should move to its own s o [2002/03/09] bin/35717 which(1) returns wrong exit status for m o [2002/03/10] docs/35732 doc adduser(8) page has obsolete reference an o [2002/03/11] ports/35767 portmgr make_index script does not deal with syml o [2002/03/11] bin/35769 w does not correctly interpret X sessions o [2002/03/11] kern/35774 [logwtmp] Suboptimal auditing possibiliti o [2002/03/13] kern/35846 imp timeout in wi_cmd 11, machine hangs for a o [2002/03/14] bin/35886 [patch] Enhancement: custom time format f p [2002/03/14] bin/35894 [patch] popen.c in cron won't build witho o [2002/03/16] docs/35943 doc at(1) config files are misplaced in /var/ p [2002/03/16] docs/35951 trhodes disklabel(8) manual confuses partitions a o [2002/03/16] docs/35953 doc hosts.equiv(5) manual is confusing or wro s [2002/03/19] standards/36076standards Implementation of POSIX fuser command o [2002/03/20] bin/36118 re [sysinstall] 4.5 Upgrade says it won't to o [2002/03/20] kern/36143 [patch] Dynamic (non linear) mouse accele o [2002/03/21] kern/36170 an(4) does an_init() even if interface is o [2002/03/24] bin/36262 [PATCH] Fixed rusers idle-time reporting o [2002/03/27] bin/36374 Patch (against core dumps) and improvemet o [2002/03/27] bin/36385 luigi crunchgen does not handle Makefiles with o [2002/03/27] conf/36392 [feature request] cron starts before vi r o [2002/03/28] kern/36425 [patch] bump up SYS_NMLN in sys/utsname.h o [2002/03/28] docs/36432 doc Proposal for doc/share/mk: make folded bo o [2002/03/29] docs/36449 doc symlink(7) manual doesn't mention trailin a [2002/03/29] i386/36451 [bktr] [patch] Japan IF frequency is inco s [2002/03/29] gnu/36460 cu(1) program does not work very well. f [2002/03/29] bin/36477 gshapiro mailwrapper doesn't handle rmail calls o [2002/03/29] bin/36501 grog /usr/bin/calendar can't handle recurring o [2002/03/30] bin/36553 gad Two new features in newsyslog(8) o [2002/03/31] bin/36556 [patch] regular expressions for tcpwrappe o [2002/04/01] bin/36626 login_cap(3) incorrectly claims that all o [2002/04/02] bin/36646 dwmalone [patch] top(1) does not work correctly in o [2002/04/04] docs/36724 darrenr ipnat(5) manpage grammar is incomplete an o [2002/04/04] bin/36740 make ps obey locale (particularly for tim o [2002/04/04] bin/36757 which(1) ought to append @ if result is s o [2002/04/05] bin/36786 make ps use 24-hour time by default s [2002/04/08] java/36901 glewis WITHOUT_X11 Knob for port java/jdk13 o [2002/04/08] bin/36902 [patch] proposed new format code %N for s o [2002/04/09] kern/36916 qa [libdisk] DOS active partition flag lost o [2002/04/10] kern/36952 ldd comand of linux does not work o [2002/04/10] bin/36960 grog calendar doesn't effect -t option. o [2002/04/11] kern/36983 CD9660 unicode to utf-8 [hack] o [2002/04/12] bin/37013 ls directory name output trailing slash d o [2002/04/14] bin/37074 bp [PATCH] Typographical error in output of o [2002/04/15] bin/37083 small improvement to talk(1): add clocks o [2002/04/15] bin/37096 Fixes to fsdb command-line handling [patc f [2002/04/16] bin/37137 qa [sysinstall] doesn't recognize version nu o [2002/04/16] bin/37160 qa [sysinstall] coredumps when trying to loa o [2002/04/23] i386/37379 /dev/MAKEDEV entry for RocketPort is brok o [2002/04/23] kern/37380 jhb [patch] boot0 partition list is outdated o [2002/04/23] conf/37387 grog bsdmainutils/calendar Hungarian addon fil o [2002/04/24] bin/37424 nfsstat reports negative values o [2002/04/25] bin/37434 mbr dhclient(1) generates pointless log messa o [2002/04/25] bin/37437 Add HTTP-style support to {vis,unvis}(1). o [2002/04/25] bin/37442 [PATCH] sleep.c to support time multiplie p [2002/04/25] bin/37448 obrien [PATCH] ldd/rtld support for more informa o [2002/04/26] kern/37482 sound [sound] Weird behaviour under relatively o [2002/04/29] kern/37554 jmg [PATCH] Make ELF shared libraries immutab o [2002/04/29] kern/37555 [patch] vnode flags appear to be changed o [2002/04/29] conf/37569 [PATCH] Extend fstab(5) format to allow f o [2002/04/30] kern/37600 sound [sound] [partial patch] t4dwave drive doe o [2002/05/02] kern/37657 sound [sound] /dev/dsp and /dev/audio skip the o [2002/05/02] bin/37672 pw(8) prints warnings after successful NI o [2002/05/02] threads/37676threads libc_r: msgsnd(), msgrcv(), pread(), pwri o [2002/05/03] bin/37715 "pkg_info -g package_name_version" fail o [2002/05/03] docs/37719 kensmith Detail VOP_ naming in a relevant man-page o [2002/05/04] bin/37733 su(1) does not behave the way it is descr s [2002/05/07] docs/37843 doc manual for pthread_setschedparam is wrong o [2002/05/07] bin/37844 [PATCH] make knob to not install progs wi f [2002/05/09] ports/37904 thierry New Port: database/isql-viewer (a JDBC 2. o [2002/05/09] gnu/37910 PATCH: make send-pr(1) respect &'s in /et o [2002/05/13] alpha/38031 alpha osf1.ko not loaded during boot-time of li o [2002/05/13] ports/38034 glewis compaq-cc (under linux-emu) installes man o [2002/05/14] bin/38055 qa [sysinstall] Groups (creation) item shoul o [2002/05/14] bin/38056 qa [sysinstall] User (creation)'s "Member gr o [2002/05/14] bin/38057 qa [sysinstall] "install" document doesn't d o [2002/05/14] docs/38061 ume Typos in man pages for faith & faithd o [2002/05/16] bin/38156 quotacheck chokes on user -2 o [2002/05/17] bin/38168 installing curses programs and terminfo d o [2002/05/18] bin/38256 linking pax to pax_{cpio|tar} o [2002/05/20] kern/38347 [patch] new library function abs2rel and o [2002/05/22] kern/38429 [PATCH] getgpid and getsid work for proce o [2002/05/23] kern/38445 suggestion: centralize ptrace() permissio o [2002/05/24] bin/38477 qa [sysinstall] in Choose Distributions scre o [2002/05/24] bin/38478 qa [sysinstall] In Choose Distributions scre o [2002/05/24] bin/38480 qa [sysinstall] sysinstall should prompt for s [2002/05/24] www/38500 www gnats web form is overenthusiastic about o [2002/05/24] i386/38524 cons25 doesn't support F-keys beyond 12 o [2002/05/25] docs/38540 blackend sysinstall application name should be Sys o [2002/05/25] docs/38556 doc EPS file of beastie, as addition to exist o [2002/05/26] bin/38583 qa [sysinstall] sysinstall installs crypto s o [2002/05/27] ports/38593 portmgr Third level ports o [2002/05/27] bin/38610 qa [sysinstall] should be able to mount ISO o [2002/05/27] docs/38620 doc Committers Guide and CVS o [2002/05/27] kern/38626 luigi dummynet/traffic shaper: RED: max_th and o [2002/05/30] bin/38727 [patch] mptable(1) should complain about f [2002/05/30] kern/38730 philip Memorex scrollpro mouse is not fully func o [2002/05/30] kern/38749 kientzle Diskless booting fails with some DHCP ser o [2002/05/31] docs/38772 doc firewall_type feature not mentioned on Ha o [2002/06/01] kern/38794 sound [sound] ESS Solo driver truncates output o [2002/06/02] i386/38826 RFE: BootMgr should provide more identify o [2002/06/02] kern/38828 scsi [feature request] DPT PM2012B/90 doesn't o [2002/06/02] conf/38829 bootblock recompile instructions in handb f [2002/06/02] bin/38835 qa [sysinstall] sysinstall always installs c p [2002/06/03] docs/38850 keramida handbook/kernelopts/ should be in Develop o [2002/06/03] bin/38854 qa [sysinstall] resetting during setup cause o [2002/06/06] misc/38937 delay between tracks in digital audio dum o [2002/06/06] bin/38940 Change: an option to *stat to allow supre o [2002/06/07] kern/38967 sound [sound] 4/22/02 pcm driver merge appears o [2002/06/07] docs/38982 doc developers-hanbook/Jail fix o [2002/06/08] kern/39047 IPSEC Compression (IPCOMP) broken in tunn p [2002/06/10] bin/39116 eik /usr/bin/printf o [2002/06/12] kern/39201 emulation ptrace(2) and rfork(RFLINUXTHPN) confuse o [2002/06/13] docs/39213 doc No rc(4) man page o [2002/06/14] standards/39256standards [v]snprintf aren't POSIX-conformant for s o [2002/06/14] conf/39306 The /etc/rc file should know if is runnin p [2002/06/15] conf/39347 brooks use of /usr/bin/* utils in /etc/rc.diskle o [2002/06/15] docs/39348 doc kenv fetch of hostname requires dhcp/boot o [2002/06/16] bin/39360 qa [sysinstall] if linux emu is added as a d o [2002/06/17] kern/39425 [amd] Auto mounted directory was not foun o [2002/06/17] bin/39439 tcopy will not duplicate tapes with block o [2002/06/18] bin/39463 mtm [PATCH] Add several options to fingerd o [2002/06/18] conf/39466 /etc/security: find -xdev hangs on dead N f [2002/06/19] conf/39505 automate BUILDNAME variable for releases o [2002/06/19] kern/39527 dwmalone getcwd() and unreadable parent directory o [2002/06/19] docs/39530 doc access(2) man page has unnecessarily broa o [2002/06/20] bin/39574 qa [sysinstall] error mounting /dev/acd0c on s [2002/06/20] conf/39580 insecure default settings s [2002/06/22] ports/39660 portmgr [patch] add ${PKGNAMEPREFIX} to (DOCS|EXA o [2002/06/23] kern/39681 [patch] add hidden kernel boot tunables t o [2002/06/24] kern/39772 imp pccardd is slow to install a PCCARD. o [2002/06/25] bin/39819 cleaning bin/sh code from warnings o [2002/06/25] docs/39824 doc Various tweaks for doc/en_US.ISO8859-1/bo o [2002/06/26] bin/39864 robert hostname instead of IP in w(1) -n output o [2002/06/26] bin/39893 setusercontext library call differs umask o [2002/06/27] bin/39905 johan cleaning sbin/restore code from warnings o [2002/06/29] conf/39976 vi recovery halting boot process o [2002/06/29] kern/40017 [patch] allows config(8) to specify confi o [2002/06/29] kern/40021 [patch] use ld(1) to build kernel with li p [2002/07/01] gnu/40057 bugmeister send-pr -a flag does not work with -f o [2002/07/01] kern/40081 sound [sound] noise in sound output with built- o [2002/07/02] bin/40127 [PATCH] Add functions for PID-file handli o [2002/07/03] kern/40132 sound [sound] [patch] enabling the joystick int f [2002/07/06] bin/40273 dougb some more fortunes o [2002/07/07] conf/40298 [patch] /etc/rc: using swapfile as /tmp o [2002/07/09] kern/40369 [patch] rman_reserve_resource - when "cou o [2002/07/09] kern/40378 standards stdlib.h gives needless warnings with -an o [2002/07/09] bin/40391 imp [sysinstall] sysinstall with PCCARD<->ISA o [2002/07/10] docs/40423 doc Keyboard(4)'s definition of parameters to o [2002/07/13] kern/40516 [if_ti] [patch] ti driver has no baudrate f [2002/07/13] bin/40538 dougb mergemaster fixes and enhancements o [2002/07/14] conf/40548 list of /etc/defaults/make.conf undocumme p [2002/07/14] kern/40563 bms gif driver can clobber route/arp table o [2002/07/14] bin/40572 vipw prints silly message if $EDITOR fail o [2002/07/15] bin/40597 add /sbin/fdisk ability of showing extend s [2002/07/16] threads/40671threads pthread_cancel doesn't remove thread from o [2002/07/17] kern/40711 sound [sound] CT5880-C sometimes fails to outpu p [2002/07/18] kern/40745 bms Inconsistency between net/if.c and struct o [2002/07/19] conf/40777 disktab does not support 2.88MB floppies o [2002/07/21] docs/40851 doc [PATCH] "mergemaster -p" in UPDATING's "C o [2002/07/23] kern/40919 usage of ucred->cr_uid in sys/netinet/in_ o [2002/07/23] kern/40926 qa [boot] After Upgrading or Clean Installin o [2002/07/23] kern/40927 sound [sound] Acer Labs M5451 dies with pcm:pla f [2002/07/24] kern/40948 usb [usb] USB HP CDW8200 does not work o [2002/07/24] i386/40958 i386 apm on Acer TravelMate 351 could not resu o [2002/07/25] bin/40980 du(1)'s -h and -k options interact confus o [2002/07/27] bin/41060 ready to import gzip 1.3.3 o [2002/07/28] docs/41089 doc pax -B option does not mention interactio o [2002/07/30] bin/41159 new sed -c option to allow ; as a separat o [2002/07/30] misc/41179 LD_LIBRARY_PATH security checks o [2002/07/31] bin/41190 in sed, report the { linenum instead of E o [2002/07/31] bin/41213 top(1) blocks if NIS-related entries in p o [2002/07/31] kern/41215 [kbd] console revert back to kbd0 (AT) af o [2002/08/01] bin/41238 qa [sysinstall] problems with FreeBSD instal o [2002/08/02] docs/41270 doc confusing directions for kernelconfig cha o [2002/08/02] bin/41271 Non-suid-crontab. o [2002/08/04] bin/41307 libalias: logging of links lifecycle (add o [2002/08/04] www/41312 cvsadm RCS IDs are off-by-one in the NetBSD cvsw o [2002/08/06] i386/41364 imp pccard: NewMedia "Bus Toaster" SCSI card o [2002/08/06] www/41379 Cannot browse directory tree on FreeBSD m o [2002/08/07] kern/41415 usb [usb] [patch] Some USB scanners cannot ta o [2002/08/09] kern/41490 sound [sound] C-Media 8738 sound card static o [2002/08/10] bin/41526 symlinked mount points get mounted more t o [2002/08/11] kern/41543 emulation Easier wine/w23 support f [2002/08/11] bin/41556 obrien [PATCH] wtmp patch for lukemftpd o [2002/08/12] bin/41566 obrien file(1) out of date o [2002/08/12] i386/41569 silo overflow p [2002/08/12] standards/41576standards POSIX compliance of ln(1) a [2002/08/12] bin/41583 assorted mtree bugs (+fixes) o [2002/08/15] bin/41674 ken iostat column formatting overlaps o [2002/08/17] kern/41743 sound [sound] No sound from SiS630s controller o [2002/08/17] bin/41744 qa [sysinstall] cannot stop comat22 from bei o [2002/08/19] misc/41771 '/etc/ttys' and X o [2002/08/20] docs/41807 doc natd -punch_fw "bug" o [2002/08/20] bin/41817 pw groupshow doesn't include the login gr o [2002/08/20] docs/41820 doc Device driver confusion in Handbook (2.3) o [2002/08/21] conf/41855 improvment of /etc/rc.diskless2 script o [2002/08/21] i386/41856 i386 VESA splash screen problems on ThinkPad 2 o [2002/08/22] docs/41879 hrs cleanup to DOCROOT/share/sgml/freebsd.dsl o [2002/08/23] docs/41919 blackend MINI kernel for bootfloppy (Handbook p.34 o [2002/08/23] kern/41930 declaration clash for ffs() and ${CXX} a [2002/08/23] ports/41945 ports-bugs [patch] bsd.port.mk: does not run ACLOCAL o [2002/08/23] bin/41947 hexdump(1) unprintable ASCII enhancement o [2002/08/23] bin/41949 qa [sysinstall] sysinstall sorts /etc/rc.con o [2002/08/24] kern/41966 sound [sound] audio/play: sblive, can cause "D o [2002/08/26] bin/42018 pkg_info with PKG_PATH searches through t o [2002/08/26] bin/42022 qa [sysinstall] non-interactive mode prompts a [2002/08/27] docs/42058 doc Documentation: Installing Oracle 8i onto o [2002/08/27] kern/42065 [patch] kern.ps_showallprocs has no effec o [2002/08/27] bin/42084 luigi [netstat] PicoBSD's 'netstat -i' reports o [2002/08/29] bin/42162 qa [sysinstall] installation crashes, md0c f o [2002/08/30] docs/42182 trhodes Making Dedicated Mode disks doc out of da o [2002/08/30] bin/42217 libdisk segfaults with 1024 bytes/sector o [2002/09/01] kern/42274 [patch] Convert defined variable into tun o [2002/09/02] bin/42336 [PATCH] ISO-fication of /usr/src/contrib/ o [2002/09/03] bin/42386 cleaning code from warnings in libkvm o [2002/09/03] bin/42387 cleaning code of librpcsvc from warnings p [2002/09/04] kern/42404 emulation TIOCSCTTY not implemented in linuxulator o [2002/09/04] kern/42422 dbm_delete returns -1 instead of 1 when t o [2002/09/04] kern/42429 [patch] hash_action called with HASH_DELE o [2002/09/05] kern/42442 problem in idlequeue/debugging mode ? o [2002/09/06] kern/42461 mdodd if_wi_pci.c,if_wi_pccard.c lack device_re s [2002/09/06] kern/42466 emulation linux: 'ipc' typ=258 not implemented o [2002/09/06] bin/42468 mount_smbfs incorrectly handled configura o [2002/09/06] bin/42469 After mounting by mount_smbfs directories o [2002/09/08] www/42558 www http://www.freebsd.org/search produces in o [2002/09/08] kern/42564 sound [sound] record bug with emu10k1 driver o [2002/09/09] bin/42609 pkg_info -qg doesn't handle missing files o [2002/09/10] kern/42638 sound [sound] CS4326/4327 (MSS) buggy output pl o [2002/09/11] bin/42663 pw(1): pw useradd assigns unique UID's to o [2002/09/13] kern/42728 small many problems in src/usr.sbin/ppp/* afte f [2002/09/13] bin/42732 [NFS] seg fault in mount_nfs o [2002/09/14] i386/42766 [patch] proposal to perform reboot via ju o [2002/09/15] bin/42803 tconv, tic, captoinfo binaries missing fr o [2002/09/18] bin/42934 qa [sysinstall] installation procedure on in o [2002/09/19] kern/42956 libc bug: dlclose gives "invalid shared o o [2002/09/19] bin/42974 [patch] ISO 8601 date format option p [2002/09/20] bin/43139 bms /sbin/route -host option doesn't always s o [2002/09/21] kern/43154 [patch] tunwrite() does not allocate clus o [2002/09/21] conf/43167 Ability to have vnode based file systems o [2002/09/22] i386/43262 command 'shutdown -r' (also reboot) cause o [2002/09/25] kern/43355 idad driver will work if logical drives d o [2002/09/25] bin/43367 incorrect report from 'who' after 'shutdo o [2002/09/25] bin/43368 pkg_create fails if target directory does o [2002/09/25] bin/43372 Broken struct ufs_args in ufsmount.h o [2002/09/27] bin/43434 New option to 'dmesg' which allow to disp o [2002/09/29] docs/43470 blackend Solid State / x109 article out of date. o [2002/09/29] kern/43474 [nfs] [patch] dhcp.* values not set in ke o [2002/09/29] bin/43497 mount -t nfs -> crunchgen incompatible o [2002/09/30] conf/43500 rc.syscons "allscreens" improvements o [2002/09/30] i386/43539 Cannot mout floppy on Compaq Proliant ML3 o [2002/10/02] kern/43577 [PATCH] New kernel option SHUTDOWN_BEEP o [2002/10/02] bin/43582 passwd(1) fails on nonexistent users o [2002/10/02] bin/43596 pkg_add does not propogate 'remote' to de o [2002/10/03] kern/43610 [patch] static-ize some symbols in digi d o [2002/10/03] kern/43611 [patch] static-ize some symbols in sys/cr o [2002/10/03] kern/43613 [smbfs] [patch] static-ize symbol in smbf o [2002/10/03] kern/43616 [patch] static-ize some functions in sys/ o [2002/10/04] docs/43651 doc stab(5) incorrectly states to include jus o [2002/10/05] kern/43716 [patch] puc driver does not recognize Lav s [2002/10/07] ports/43771 ports-bugs LaTeX ports mixed between print and textp o [2002/10/08] bin/43819 changed truss output for utrace calls o [2002/10/08] docs/43823 simon [PATCH] update to environ(7) manpage o [2002/10/08] misc/43825 qa please remove object files in source (src o [2002/10/09] bin/43857 [patch] conflicting types in /usr/src/usr o [2002/10/09] docs/43861 doc non-trivial typo in wicontrol man page o [2002/10/11] kern/43905 [patch] kqueues: EV_SET(kevp++, ...) is n o [2002/10/11] kern/43916 [hang] Olicom OC-2220 (PC-card) hangs on o [2002/10/11] docs/43941 doc Rationale for Upgrade Sequence o [2002/10/14] docs/44034 trhodes Multiple sysctl variables are not documen o [2002/10/14] misc/44058 /dev/ch* is created without group write p o [2002/10/15] docs/44074 doc ln(1) manual clarifications [patch] o [2002/10/15] kern/44098 RealTec-based NIC initialization problem o [2002/10/15] bin/44122 tun0 gets a second ip adress after a disc o [2002/10/17] conf/44170 Add ability to run multiple pppoed(8) on o [2002/10/17] www/44181 www www "Release Information" organization o [2002/10/18] bin/44212 Unify 'recursive' options -r and -R o [2002/10/19] i386/44262 tanimura Problems with nrp driver o [2002/10/19] kern/44267 [patch] One more modem PNP id for /usr/sr o [2002/10/19] bin/44277 devinfo is not C++ safe o [2002/10/19] conf/44286 roberto /etc/defaults/rc.conf uses the obsolete n o [2002/10/20] kern/44293 thomas Unable to access audio CD under Linux emu o [2002/10/22] kern/44365 [patch] introduce ulong and unchar types o [2002/10/22] kern/44372 roberto some kernel options prevent NTP clock syn o [2002/10/22] kern/44379 [libutil] property.c, properties_read() b o [2002/10/23] standards/44425standards getcwd() succeeds even if current dir has o [2002/10/26] kern/44497 NIC Lags? o [2002/10/26] i386/44500 [patch] bge(4): add AC1001 Gigabit NIC as o [2002/10/27] kern/44512 sound [sound] pcm driver generates static half o [2002/10/29] kern/44580 [nfs] NFS updates file access time when f o [2002/10/29] kern/44587 scsi dev/dpt/dpt.h is missing defines required o [2002/10/29] docs/44594 doc Handbook doesn't mention drivers.flp for f [2002/10/30] conf/44717 dougb update login.conf and unify login capabil o [2002/11/04] kern/44872 [patch] dgb driver update o [2002/11/04] bin/44894 markm telnet(1): as a local non-root user and r o [2002/11/05] bin/44915 qa [sysinstall] 'choose installation media' o [2002/11/06] gnu/44984 Send-pr can use environmental variable $F o [2002/11/06] docs/45011 trhodes style(9): '->' and '.' don't require spac o [2002/11/07] kern/45026 [nis] Can't set next password change date o [2002/11/08] gnu/45137 peter [PATCH] CVS 1.11.2 cannot reuse log messa o [2002/11/09] www/45169 linimon suggested update for ports index page on o [2002/11/10] kern/45182 sound [sound] fm801.c does not recognize a FM80 o [2002/11/10] bin/45193 [PATCH] truss can't truss itself o [2002/11/11] ports/45216 joerg devel/bcc port is incomplete o [2002/11/11] conf/45222 daily rejected mail hosts report too long o [2002/11/12] conf/45226 mtm Fix for rc.network, ppp-user annoyance o [2002/11/12] bin/45229 restore(8) -i: ls reports mising files as p [2002/11/12] alpha/45240 alpha pstat -f column headings misaligned on Al o [2002/11/12] gnu/45246 sobomax tar --listed-incremental fails for Solari o [2002/11/13] bin/45254 qa [patch] [sysinstall] sysinstall installs f [2002/11/14] ports/45289 hrs ja-dvi2ps-3.2 does not handle \special co o [2002/11/14] kern/45293 kevent denies to observe /dev/tty o [2002/11/16] bin/45333 [PATCH] New option -r for chown and chgrp o [2002/11/18] ports/45414 portmgr make update in /usr/ports missing default o [2002/11/19] bin/45486 Support for human readble (-h/-H) output s [2002/11/21] bin/45547 sos a patch to make burncd handle .wav files. a [2002/11/22] bin/45584 read builtin function of sh does not read o [2002/11/23] bin/45608 qa [sysinstall] install should config all et s [2002/11/23] ports/45613 portmgr make update doesn't o [2002/11/24] kern/45679 sound [sound] [patch] Cannot record except 8bit o [2002/11/24] kern/45682 sound [sound] [patch] Sometime failed to record o [2002/11/24] kern/45684 systat -vmstat reports "alternate system o [2002/11/25] bin/45701 markm spelling error in rogue o [2002/11/25] conf/45704 [PATCH] request to change cp866b font to o [2002/11/25] bin/45729 make rbootd transfere the default file if o [2002/11/27] kern/45793 [patch] invalid media subtype aliases in o [2002/11/28] bin/45830 nectar [kerberos] KDC has problems when listenin p [2002/11/30] conf/45874 ache [PATCH] FreeBSD does not know about ca_ES o [2002/12/01] bin/45896 dwmalone setnetgrent() should return error code o [2002/12/02] docs/45940 doc burncd missing info o [2002/12/07] conf/46062 kris Remove skel from BSD.root.dist. f [2002/12/09] bin/46110 [growfs] why does fsck work with / mounte o [2002/12/09] i386/46113 [patch] busspace bugs in parameter checki o [2002/12/09] standards/46119standards Priority problems for SCHED_OTHER using p f [2002/12/09] bin/46123 fenner PATCH: tcpdump needs -a flag if netmask i o [2002/12/10] kern/46159 ipfw ipfw dynamic rules lifetime feature o [2002/12/10] bin/46163 gad lpc problem. Only root can modify despit o [2002/12/11] docs/46196 doc Missing return value in (set_)menu_format o [2002/12/13] bin/46235 rwatson [sysinstall] NTP servers for Finland requ o [2002/12/14] kern/46250 sound [sound] Sound driver not working correctl o [2002/12/16] docs/46291 doc correlation between HZ kernel config para o [2002/12/16] docs/46295 doc please add information to Nvi recovery em o [2002/12/17] bin/46328 gad patch for lpd o [2002/12/19] kern/46368 [patch] MAXDEP in isa/pnpparse.c is too s s [2002/12/19] bin/46382 ps(1) could use a "repeat" mode o [2002/12/20] conf/46409 Certain periodic scripts check broken NFS o [2002/12/21] standards/46441 /bin/sh does not do parameter expansion i o [2002/12/22] conf/46453 [INTERNATIONALIZATION] cons25l2, ISO8859- o [2002/12/31] conf/46645 [PATCH] rc.shutdown state table saving ha a [2003/01/03] docs/46709 peter tables in terminfo.5 are broken o [2003/01/03] kern/46734 [patch] joystick driver doesn't allow for o [2003/01/03] kern/46736 sound [sound] ISA audio CS4232 (HP Omnibook 500 s [2003/01/04] conf/46746 No way to set link addresses through rc.c o [2003/01/04] bin/46758 moused enhancements p [2003/01/05] docs/46787 trhodes compress(1) manpage missing BUGS; other c p [2003/01/06] docs/46793 trhodes DEVICE_POLLING can not be used with SMP, o [2003/01/09] bin/46888 gad Add script run hook to newsyslog(8) o [2003/01/09] bin/46905 qa [sysinstall] FreeBSD 5.x cannot be instal s [2003/01/10] conf/46913 darrenr ipf denied packets of security run output o [2003/01/10] bin/46925 sysctl -a goes into an infinite loop... o [2003/01/11] kern/46973 [patch] syscons virtual terminals switchi f [2003/01/13] ports/47018 sf Teach ftp/wget new very useful feature - o [2003/01/13] kern/47029 sound [sound] Static and popping with Hercules o [2003/01/19] bin/47204 qa [sysinstall] base + XFree86 install fails o [2003/01/19] i386/47223 [PATCH] pcvt(4), ESC sequences do not cha o [2003/01/20] bin/47235 top reports inaccurate cpu usage o [2003/01/20] kern/47243 sound [sound] Onboard CMedia CMI8738 playback n o [2003/01/21] kern/47311 mdodd [PATCH] Kernel support for NVIDIA nForce2 o [2003/01/21] bin/47314 qa [sysinstall] wish: install should not req p [2003/01/22] kern/47349 emulation Fake a sound ioctl (plus linux hook) o [2003/01/22] bin/47350 rc.network supports only one ppp profile o [2003/01/22] kern/47352 sound [sound] pcm/ac'97, dsp device busy o [2003/01/22] i386/47376 [PATCH], pcvt(4), COLOR_KERNEL_FG, 2nd ch o [2003/01/23] bin/47387 [PATCH] gprof -K still requires "a.out" a f [2003/01/25] kern/47452 le [vinum] df(1) reports filesystem empty wh o [2003/01/27] bin/47540 Make natd configurable in running state w o [2003/01/27] conf/47566 le [vinum] [patch] add vinum status verifica o [2003/01/28] docs/47575 doc Clarify requirements for IPFW2 in STABLE o [2003/01/28] bin/47576 [PATCH] factor(6)ing of negative numbers o [2003/01/28] docs/47594 doc [PATCH] passwd(5) incorrectly states allo o [2003/01/28] bin/47596 daily security run complains if timezone o [2003/02/02] bin/47815 stty -all should work. f [2003/02/02] docs/47818 doc ln(1) manpage is confusing o [2003/02/04] bin/47908 qa [sysinstall] /stand/sysinstall can't disp o [2003/02/06] docs/47991 trhodes Handbook section on upgrading kernel says o [2003/02/08] docs/48101 brueffer There's no documentation on the fixit dis o [2003/02/09] conf/48105 /etc/disktab has incomplete duplication o o [2003/02/09] misc/48110 change CVSROOT/log_accum.pl to not send m o [2003/02/10] conf/48133 /etc/rc: improved vi recovery notificatio o [2003/02/11] kern/48172 ipfw ipfw does not log size and flags o [2003/02/12] conf/48195 /var/db/mounttab error on diskless boot o [2003/02/14] ports/48281 obrien Patch editors/vim to use fetch instead of o [2003/02/15] bin/48309 pppoe connections fail to establish if th o [2003/02/16] kern/48338 sound [sound] pcm audio driver hogs /dev/dsp?.? o [2003/02/16] bin/48342 usb [PATCH] usbd dynamic device list. o [2003/02/18] bin/48443 mtm /usr/sbin/periodic executes too many file o [2003/02/18] conf/48444 [patch] count connection attempts instead o [2003/02/19] kern/48471 pjd [patch] private IPC for every jail o [2003/02/22] conf/48566 [PATCH] /etc/defaults/make.conf stales af o [2003/02/23] kern/48599 [PATCH] syscons cut-n-paste logic is brok o [2003/02/23] bin/48603 Getopt is broken. Patch included. o [2003/02/24] gnu/48638 [PATCH] some bug fixs in libdialog o [2003/02/25] alpha/48676 alpha Changing the baud rate of serial consoles o [2003/02/27] kern/48738 sound [sound] ForteMedia FM801 chipset based so o [2003/02/27] kern/48759 demon kldstat shows module after unsuccessfull f [2003/02/28] conf/48775 iso8859-15 termcap entries needed o [2003/03/02] kern/48837 mbr dc cannot handle DC21142/3 PCI/CardBus 10 o [2003/03/03] conf/48870 [PATCH] rc.network: allow to cancel inter o [2003/03/03] kern/48894 [nfs] Suggested improvements to the NFS r s [2003/03/06] bin/48962 des [PATCH] modify /usr/bin/fetch to allow ba o [2003/03/06] kern/48976 nwfs.ko oddity o [2003/03/06] docs/48980 doc [PATCH] nsgmls -s errors and sect. 3.2.1 o [2003/03/06] bin/48989 qa [sysinstall] Sysinstall's partition edit o [2003/03/07] i386/49023 gad [patch] to LPD (printjob.c) to pass sourc o [2003/03/08] kern/49037 sound [sound] [patch] ESS Maestro chip misdetec o [2003/03/08] kern/49039 add support for RS485 hardware where dire o [2003/03/10] ports/49082 knu portupgrade runs slow o [2003/03/10] kern/49086 ipfw [patch] Make ipfw2 log to different syslo f [2003/03/12] ports/49955 portmgr [PATCH] bsd.port.mk: add target to automa p [2003/03/12] kern/49957 naddy CRC32 generator should be the common rout o [2003/03/18] misc/50106 Make 'make release' more flexible behind f [2003/03/19] kern/50110 usb [usb] Astra 2100U scanner being detected o [2003/03/19] bin/50118 grog calendar(1) dumps core if there is ./cale p [2003/03/21] conf/50160 ache sl_SI.ISO8859-2 collation sequence is wro o [2003/03/23] docs/50211 doc [PATCH] Fix textfile creation p [2003/03/24] docs/50248 ceri New FreeBSD books o [2003/03/25] bin/50300 Make the loader's use of terminal-control o [2003/03/26] bin/50310 natd / libalias fix to allow dcc resume i p [2003/03/27] bin/50328 kris ctm_smail doesn't handle large deltas wel o [2003/03/27] bin/50331 Changing uid with pw causes duplicate use o [2003/03/27] bin/50365 [PATCH] rc.sysctl cannot handle values co o [2003/04/01] kern/50526 [patch] update to #! line termination o [2003/04/03] bin/50569 /bin/sh doesn't handles ${HOME}/.profile o [2003/04/03] docs/50573 doc return values for res_query/res_search/re o [2003/04/06] bin/50656 /bin/cp - wrong error on copying of multi o [2003/04/07] docs/50677 doc [PATCH] update doc/en_US.ISO8859-1/books/ o [2003/04/07] kern/50687 ioctl(.., CDIOCCAPABILITY, ...) always re p [2003/04/08] docs/50735 brueffer Small diff to the developers handbook & o o [2003/04/09] bin/50749 ipfw ipfw2 incorrectly parses ports and port r o [2003/04/10] docs/50773 jmg NFS problems by jumbo frames to mention i o [2003/04/12] ports/50866 ports-bugs [PATCH] Introduce patch to qmail-1.03 to o [2003/04/12] alpha/50868 alpha fd0 floppy device is not mapped into /dev p [2003/04/14] bin/50924 "vmstat -f" says "unimplemented" but data s [2003/04/14] i386/50929 AMD K6-2+ processor is identified incorre o [2003/04/14] bin/50949 BUG: mtree doesn't honor the -P when chec o [2003/04/14] bin/50955 [PATCH] natd / libalias support for multi o [2003/04/14] conf/50956 daily_status_disks_df_flags in /etc/defau o [2003/04/15] bin/50971 du(1) doesn't understand UF_NODUMP flag o [2003/04/15] bin/50988 [Patch] find -size -- express argument in o [2003/04/15] kern/51009 [patch] buggy aue driver fixed. o [2003/04/16] bin/51070 add -p option to pom [PATCH] p [2003/04/17] kern/51082 bms FEATURE: More descriptive message on drop o [2003/04/18] kern/51120 MSGBUF_SIZE doesn't work in makefiles a [2003/04/18] docs/51133 murray RSH environmental variable not described s [2003/04/18] bin/51137 config(8) should check if a scheduler is o [2003/04/18] kern/51145 sound [sound] Audio Slows during Heavy I/O o [2003/04/19] bin/51148 Control the cache size for pwd_mkdb to sp f [2003/04/19] ports/51152 portmgr [patch] bsd.port.mk: generic SHEBANG_FILE o [2003/04/21] bin/51205 dwmalone openssl in base system is not compiled th o [2003/04/22] bin/51296 grog calendar wrong for dates based on day+-nu o [2003/04/27] docs/51480 dds Multiple undefined references in the Free o [2003/04/28] bin/51488 Compat patch: more(1) allowed filename to p [2003/04/28] conf/51504 ache New file: src/share/mklocale/zh_CN.GBK.sr a [2003/05/01] ports/51663 roam [PATCH] vpopmail-stable fix for using vmo p [2003/05/03] conf/51729 ache A patch that can make freebsd support zh_ o [2003/05/06] docs/51875 doc atkbd(4) adjustment o [2003/05/06] docs/51891 doc DIAGNOSTICS in ed driver manpage don't ma o [2003/05/06] ports/51900 trevor [Update Port]: audio/fest* to last versio o [2003/05/07] conf/51920 Collation for no_NO.ISO8859-1 o [2003/05/07] docs/51921 doc ls(1) manpage lacks some information abou o [2003/05/08] ports/51947 mharo Analog port does not include anlgform.htm o [2003/05/08] kern/51958 usb [usb] [patch] update for urio driver o [2003/05/10] kern/52026 usb [usb] feature request: umass driver suppo o [2003/05/11] docs/52071 doc [PATCH] Add more information about soft u f [2003/05/12] ports/52106 phantom New port: java/javaws: Java Web Start 1.2 o [2003/05/13] bin/52190 dwmalone [Patch] decode more syscalls in truss o [2003/05/14] i386/52249 i386 [PATCH] Bootmanager shows NTFS partitions o [2003/05/14] misc/52255 small picobsd build script fails under FreeBSD o [2003/05/14] misc/52256 small picobsd build script does not read in use o [2003/05/15] kern/52258 imp pccard non-functional, repeated "card ins o [2003/05/15] bin/52271 qa [sysinstall] sysinstall panics in machine o [2003/05/19] i386/52427 i386 DVD replay under MSI "655 MAX" mobo inter f [2003/05/19] bin/52432 usb [sysinstall] drivers.flp won't load with o [2003/05/19] docs/52448 simon [patch] Misc man page reference fixes o [2003/05/20] bin/52469 ppp: Multiple devices using UDP don't wor o [2003/05/21] bin/52517 murray New functionality for /usr/bin/Mail f [2003/05/23] bin/52601 mbr [PATCH] rpc.yppasswdd fails if master.pas o [2003/05/23] kern/52623 [if_ex] [patch] IRQ error in driver for t o [2003/05/25] docs/52672 doc Porter's Handbook: couple of corrections o [2003/05/26] ports/52706 portmgr [patch] bsd.port.mk issues warning if a s o [2003/05/27] kern/52725 [PATCH] installincludes for kmods f [2003/05/28] bin/52746 tcsh fails to handle large arguements o [2003/05/28] kern/52752 [PATCH] SMBus controller on ICH4 not reco o [2003/05/28] kern/52764 Impossible to build kernel with COPTFLAGS s [2003/05/28] ports/52765 portmgr [PATCH] Uncompressing manual pages may fa o [2003/05/29] bin/52782 user ppp dumps core when doing pppctl "sh s [2003/05/31] bin/52826 Feature Request: Adding Timestamps to pkg o [2003/06/01] i386/52835 pdeuskar em driver does not work with mobile-chips o [2003/06/03] bin/52907 phk [PATCH] more malloc options for debugging s [2003/06/03] ports/52917 portmgr [PATCH] bsd.port.mk: update default value p [2003/06/05] kern/52960 jmg [kbd] kbdcontrol macros don't work when l o [2003/06/05] kern/52971 bad macro LIST_HEAD in /usr/include/sys/q o [2003/06/06] kern/52980 mbr [patch] dc(4) driver fails to init Intel o [2003/06/08] kern/53025 usb [PATCH] ugen does not allow O_NONBLOCK fo o [2003/06/10] bin/53131 qa [sysinstall] "ALL" could not turn check B o [2003/06/11] conf/53197 re default tag of RELENG_5_1 standard-supfil o [2003/06/13] kern/53265 imp Make Sierra A555 work in FreeBSD o [2003/06/13] docs/53271 hmp the bus_dma man page fails to document al o [2003/06/13] bin/53288 tail will sometimes display more lines th f [2003/06/14] bin/53324 pam_group problems (PAM_RUSER used instea o [2003/06/15] bin/53341 qa [sysinstall] [patch] dump frequency in sy p [2003/06/16] bin/53377 [PATCH] su does not return exit status of o [2003/06/16] kern/53383 [bktr] [patch] adding Terratec TValue to o [2003/06/17] kern/53417 sound [sound] Bad Recordings on AC97 onboard au o [2003/06/19] bin/53475 cp(1) copies files in reverse order to de o [2003/06/19] kern/53506 [partial patch] support gzipped modules o [2003/06/19] bin/53520 su to another user does not update utmp o [2003/06/20] bin/53560 logging domain names in wtmp is retarded o [2003/06/21] docs/53575 doc Change to Handbook Section 20.9 o [2003/06/21] docs/53596 doc Updates to mt manual page o [2003/06/24] www/53676 simon [patch] Don't make people contact doc@ fo o [2003/06/24] bin/53682 le [PATCH] add fuser(1) utitity o [2003/06/25] docs/53732 doc quota output and man page do not document o [2003/06/26] docs/53751 hmp bus_dma(9) incorrectly documents BUS_DMA_ a [2003/06/28] bin/53870 das C++ undeclares standard math functions li o [2003/06/29] bin/53899 mktime gives wrong result in Central time o [2003/06/29] conf/53901 dd Suggest MFC of include keyword to config( p [2003/07/01] conf/53944 [PATCH] ARMSCII-8 (Armenian) LOCALE and C o [2003/07/01] kern/53987 [smbfs] smbfs can't access to files with o [2003/07/02] ports/54002 ports-bugs QMTPC patch for qmail-1.03 o [2003/07/02] docs/54009 trhodes Clarify the location of the splash image o [2003/07/02] bin/54026 bms [patch] Add support for non-standard port o [2003/07/02] ports/54041 ports-bugs libtool13 (as installed) doesn't recogniz o [2003/07/03] kern/54049 sound [sound] Sound driver reports device busy o [2003/07/03] kern/54078 sound [sound] Sound Plays ~10% Slow [4.8] o [2003/07/06] bin/54141 wrong behavour of cu(1) o [2003/07/07] conf/54170 error from weekly periodic script 330.cat s [2003/07/07] bin/54185 rwatson UFS2 filesystem ACL flag not enforced o [2003/07/08] kern/54220 [PATCH] /usr/src/Makefile has wrong instr o [2003/07/09] bin/54274 udp-proxy support is not implemented in l o [2003/07/11] bin/54365 [PATCH] add -u option to install(1) for S o [2003/07/11] kern/54383 net [nfs] [patch] NFS root configurations wit o [2003/07/13] kern/54439 Protecting sysctls variables by given mut o [2003/07/13] docs/54451 doc [patch] i386_{get|set}_ldt manual page is o [2003/07/14] docs/54461 kensmith Possible addition to Handbook o [2003/07/17] bin/54594 Apply regexps to the entire variable -- a o [2003/07/18] kern/54604 pjd Made 'ps -e' procfs-independent [PATCH]. o [2003/07/19] kern/54625 sumikawa [PATCH] IPv6 stealth forwarding o [2003/07/21] bin/54683 sh, redundant history o [2003/07/22] docs/54752 hmp bus_dma explained in ISA section in Handb o [2003/07/23] bin/54784 find -ls wastes space o [2003/07/24] standards/54809standards pcvt deficits o [2003/07/25] standards/54833standards more pcvt deficits o [2003/07/25] standards/54839standards pcvt deficits s [2003/07/26] bin/54878 incorrect divisor in /usr/bin/jot -r o [2003/07/26] docs/54879 doc man 1 jot, -r description o [2003/07/26] kern/54884 mckusick FreeBSD -stable and -current free space h o [2003/07/27] bin/54891 libalias/natd and exporting connection-in o [2003/07/27] bin/54897 [PATCH] -y flag for mount_mfs f [2003/07/28] kern/54981 sanpei QUIRK: Add support for Lexar 256MB USB dr p [2003/07/28] docs/54995 bms Error in accept(2) man page o [2003/07/29] conf/55015 [patch] 700.kernelmsg: Security check out o [2003/07/30] kern/55031 getgrent() failure with large groups o [2003/07/31] standards/55112standards glob.h, glob_t's gl_pathc should be "size o [2003/08/01] kern/55163 [patch] hide kld system details from jail o [2003/08/03] bin/55215 le [PATCH] add wu-ftpd style xferlog format p [2003/08/07] conf/55341 Adding ko_KR.CP949 locale o [2003/08/08] misc/55387 [patch] users LD_LIBRARY_PATH can interfe o [2003/08/08] gnu/55394 marcel GDB on FreeBSD 4.8: Deprecated bfd_read. o [2003/08/08] kern/55395 matk ICH sampling rate changes after resume fr o [2003/08/08] ports/55401 ache mod_auth_digest for ports/www/apache13 o [2003/08/11] conf/55470 [PATCH] new pccard.conf entry (I-O DATA W o [2003/08/12] docs/55482 doc DUMP has access to block devices in a JAI a [2003/08/13] ports/55515 portmgr [patch] extract perl stuff from bsd.port. o [2003/08/13] bin/55539 [patch] Parse fstab(5) with spaces in pat o [2003/08/13] bin/55546 cdcontrol play tr m:s.f interface is part p [2003/08/16] docs/55641 roam [PATCH] catch up tl(4) with hardware note p [2003/08/16] docs/55643 roam [PATCH] catch up aue(4) with hardware not p [2003/08/16] docs/55645 roam [PATCH] catch up kue(4) with hardware not o [2003/08/17] ports/55669 nobutaka emacs20 and emacs21 override each other a o [2003/08/20] bin/55788 le [vinum] Growfs does not work on vinum con o [2003/08/20] i386/55793 Flaky behavior of if_dc when initializing o [2003/08/20] kern/55802 Make kernel.GENERIC suitable for diskless o [2003/08/21] kern/55835 emulation Linux IPC emulation missing SETALL syscal o [2003/08/21] i386/55838 [kbd] Dual characters from keyboard in X o [2003/08/21] ports/55841 portmgr [patch] Mk/bsd.port.mk: add routines to u o [2003/08/22] ports/55866 ports-bugs port devel/libtool13 installs .la files o [2003/08/22] docs/55883 kensmith [patch] handbook advanced-networking/chap p [2003/08/23] conf/55895 [patch]fix short weekday names in zh_CN.* f [2003/08/23] ports/55896 thierry [NEW PORT] www/mozplugger o [2003/08/24] conf/55916 Change to /etc/rc.network & /etc/defaults o [2003/08/24] kern/55917 tun# devices cannot be created in 4.8-STA p [2003/08/24] docs/55925 roam mt, mtio, tcopy man pages refers to *rsa o [2003/08/24] gnu/55936 send-pr does not set mail envelope from o [2003/08/26] kern/55984 ipfw [patch] time based firewalling support fo o [2003/08/26] bin/56012 [patch] MAKEDEV does not allow creation o s [2003/08/28] ports/56091 ports-bugs hp220 driver for print/ghostscript-gnu do o [2003/08/28] kern/56095 QUIRK: Apacer Pen Drive fails to work o [2003/08/29] conf/56144 rc [PATCH] /etc/rc.d/ipmon, /etc/rc.d/ipfilt o [2003/08/30] kern/56165 bms if_baudrate is not correct for rl, xl, dc o [2003/08/31] kern/56245 [bktr] Distorted and choppy video with bk o [2003/08/31] bin/56249 obrien lukemftpd has two bugs (motd, munged utmp o [2003/08/31] kern/56250 ums doesn't work with MCT based PS/2 conv o [2003/09/02] ports/56301 knu portupgrade: -O ineffective o [2003/09/04] kern/56441 andre bpf_tap() used incorrectly in bpf o [2003/09/04] bin/56447 Extend mt command for AIT-2 tape drives o [2003/09/04] kern/56451 /compat/linux/proc/cpuinfo gives wrong CP o [2003/09/05] standards/56476standards cd9660 unicode support simple hack o [2003/09/07] gnu/56554 re add Cc: maintainer feature to send-pr o [2003/09/07] bin/56558 [PATCH] locate(1) cannot be safely used w o [2003/09/09] kern/56632 MTIO incorrect mt_fileno status after MTE o [2003/09/09] bin/56648 le [PATCH] enable rcorder(8) to use a direct o [2003/09/10] kern/56664 bad file# in MTIO status buffer after MTE o [2003/09/11] misc/56720 [feature request] UNICODE support in Reso o [2003/09/12] conf/56736 mtm [PATCH] rcNG: enable packages to particip o [2003/09/16] docs/56915 jcamou [patch] articles/fonts: update links f [2003/09/16] ports/56928 java jce-aba port should install to $JAVA_HOME o [2003/09/16] conf/56934 rc.firewall rules for natd expect an inte o [2003/09/16] docs/56936 hmp [patch] articles/java-tomcat: add applica o [2003/09/17] conf/56940 pccard.conf entry for PCET10-CL causes sy o [2003/09/17] bin/56952 re [sysinstall] floppy install error s [2003/09/18] ports/56980 portmgr unprivileged user, extracting of tarballs a [2003/09/18] docs/56981 peter man terminfo(5) from libncurses does not f [2003/09/19] kern/56999 usb FreeCom USB CD/RW problem on FreeBSD 5.1 o [2003/09/19] bin/57018 le [PATCH] convert growfs to use libufs(3) o [2003/09/19] bin/57024 a new option for xargs(1) -- only treat \ o [2003/09/19] bin/57026 [PATCH] Therer is no way to know the labe o [2003/09/20] kern/57036 No media detected by 3c905b-tx on 4.9-rel o [2003/09/20] bin/57045 trpt(8) option -t was disabled on -curren o [2003/09/21] bin/57054 let test(1) compare the mtime of a file t o [2003/09/22] bin/57088 [PATCH] for a possible fd leak in libcam. o [2003/09/22] bin/57089 "w" does not honor the -n option o [2003/09/24] docs/57153 doc S_IRWXU missing in fstat(2) man page? o [2003/09/26] kern/57230 [patch] psm(4) incorrectly identifies an o [2003/09/26] amd64/57250 obrien Broken PTRACE_GETFPREGS and PTRACE_SETFPR o [2003/09/26] ports/57259 portmgr [patch] Building a port as root using an o [2003/09/27] standards/57295harti make's handling of MAKEFLAGS is not POSIX o [2003/09/27] docs/57298 blackend [patch] add using compact flash cards inf o [2003/09/30] docs/57388 doc INSTALL.TXT enhancement: mention ok promp f [2003/09/30] bin/57407 bms [patch] Better NTP support for dhclient(8 o [2003/10/01] misc/57464 [boot] loader(8) seems to confuse files [ o [2003/10/01] kern/57469 scsi [patch] Quirk for Conner CP3500 o [2003/10/02] ports/57498 portmgr HEIMDAL_HOME should be defined in src or o [2003/10/02] ports/57502 eik ports that define USE_* too late o [2003/10/02] conf/57517 add parameter for /etc/periodic/daily/210 o [2003/10/03] kern/57522 [PATCH] New PID allocater algorithm from p [2003/10/03] docs/57541 trhodes Some suggestions for the Basics chapter o o [2003/10/04] docs/57569 doc error on gensetdefs(8) man page p [2003/10/06] bin/57630 lptcontrol gives "device busy" if device o [2003/10/06] bin/57641 dd [patch] missing option in mdmfs (mount_mf a [2003/10/07] kern/57696 [nfs] NFS client readdir terminates prema o [2003/10/07] bin/57715 [patch] tcopy enhancement f [2003/10/07] kern/57721 sound [sound] [patch] Dell built in SB Live not o [2003/10/08] conf/57748 [patch] rc.network doesn't allow for -a i a [2003/10/12] standards/57911tjr fnmatch ("[[:alpha:]]","x", FNM_PATHNAME) o [2003/10/13] docs/57926 doc amd.conf.5 poorly format as it has both m o [2003/10/13] docs/57974 doc man page apropos for select macros (FD_SE o [2003/10/13] kern/57976 simple kernel DDB enhancement o [2003/10/13] docs/57978 doc Type miss of GPIB in Hardware Notes o [2003/10/14] bin/58008 qa [patch] [sysinstall] sysinstall postfix i o [2003/10/14] bin/58012 Multihomed tftpd enhancement o [2003/10/16] docs/58111 doc Handbook 12.4.3 Rebuilding ATA RAID1 Arra o [2003/10/18] docs/58202 kensmith handbook doesn't mention kldload'ness of o [2003/10/18] bin/58206 [Patch] 460.status-mail-rejects incompati o [2003/10/20] bin/58293 vi replace with CR (ASCII 13) doesn't wor o [2003/10/22] kern/58373 mckusick [ufs] ufs inconsistency between 4.9-RC an o [2003/10/22] ports/58387 mharo [PATCH] security/sudo: Utilize EXAMPLESDI o [2003/10/22] bin/58390 bsdlabel fails to display an error messag o [2003/10/24] bin/58483 [PATCH] allows type special or node relat o [2003/10/24] kern/58497 sysctl knob to return current process' ji f [2003/10/25] kern/58529 dwmalone [patch] RDWR bpf in pcap. o [2003/10/26] ports/58545 joerg devel/avr-gcc: fix libintl and libiconv d o [2003/10/26] conf/58557 Summer/Winter-time change causes daily cr o [2003/10/26] gnu/58583 kan gcc.1, cpp.1 and gcov.1 manpages are outd o [2003/10/27] conf/58595 Default NTP configuration o [2003/10/28] docs/58615 doc update for Vinum chapter of Handbook: des f [2003/10/28] ports/58653 trevor [Ports Update]:: audio/fest* 1.4.1 -> 1.4 o [2003/10/28] gnu/58656 marcel gdb not ready for prime time o [2003/10/29] standards/58676standards grantpt(3) alters storage used by ptsname o [2003/10/29] conf/58680 dougb [PATCH] RCNG: shouldn't ldconfig be start o [2003/10/29] bin/58696 /sbin/natd feature request & possible pat o [2003/10/30] docs/58710 doc killpg(2) contains an error regarding sen o [2003/10/31] i386/58784 i386 ATA DMA fails and vx0 creates panic o [2003/11/01] kern/58803 [patch] kern.argmax isn't changeable even o [2003/11/03] bin/58893 OPIE implementation bug o [2003/11/04] ports/58926 obrien latest port of editors/vim has problem dr o [2003/11/04] bin/58939 dumb little hack for /etc/rc.firewall{,6} o [2003/11/05] kern/58967 Kernel kills processes in spite of cputim o [2003/11/05] bin/58970 truss coredumps for the no significant re o [2003/11/07] docs/59044 doc doc.docbook.mk does not properly handle a o [2003/11/09] kern/59067 [patch] PS/2 mouse unstable p [2003/11/10] bin/59144 stefanf [patch] Allow a trailing / for mount -u t f [2003/11/10] i386/59147 usb [usb] USB active extension cable not reco o [2003/11/11] ports/59165 cy fvwm2 port glitches/bugs o [2003/11/11] kern/59169 usb [patch] ulpt is missing read operation o [2003/11/12] bin/59207 uustat list limit of 201 jobs o [2003/11/12] kern/59208 matk [sound] [patch] reduce pops and crackles o [2003/11/12] bin/59220 obrien systat(1) device select (:only) broken o [2003/11/13] docs/59240 blackend handbook update: linux MATLAB f [2003/11/13] ports/59254 eik ports that write something after bsd.port o [2003/11/14] kern/59289 [bktr] [patch] ioctl METEORGBRIG in bktr_ f [2003/11/14] ports/59292 hrs dvips one line paper sizes broken? f [2003/11/15] ports/59297 x11 RADEON 7500 Warning message o [2003/11/15] www/59307 remko [patch] xml/xsl'ify & update publications o [2003/11/19] kern/59456 fdescfs stat / compress creates only empt o [2003/11/19] docs/59477 doc Outdated Info Documents at http://docs.fr o [2003/11/20] bin/59530 strange bug in /bin/sh o [2003/11/21] bin/59551 marcel Problem with GDB on latest -CURRENT f [2003/11/21] ports/59553 hrs teTeX installs texdoctk without depending o [2003/11/21] bin/59564 Added an option (-S) to from command to a f [2003/11/21] bin/59569 nullfs gives fts_read problem with du(1) f [2003/11/21] ports/59571 java improvements of www/jakarta-tomcat4[1] Ma o [2003/11/23] conf/59600 [PATCH] Improved us.emacs.kbd mapping o [2003/11/23] kern/59624 [PATCH] HightPoint HPT371 support for Fre o [2003/11/24] docs/59649 doc Outdated 4.4BSD Documents at http://docs. o [2003/11/25] ports/59682 knu portupgrade uses ports when you want it t a [2003/11/26] ports/59695 ade [PATCH] devel/gmake: add two patches to a o [2003/11/26] kern/59698 [kbd] [patch] Rework of ukbd HID to AT co o [2003/11/26] bin/59708 [patch] add sSMTP support for Mail select o [2003/11/27] bin/59730 isdnd crashes with signal 11 if cannot cr o [2003/11/27] kern/59732 jhb acpi causes boot to hang o [2003/11/27] docs/59735 kensmith Adding a reference to Icelandic Rsync o [2003/11/27] docs/59736 kensmith Updating size of archives o [2003/11/27] kern/59739 rmdir(2) and mkdir(2) both return EISDIR o [2003/11/28] bin/59772 ftpd(8)/FreeBSD 5: support for tcp_wrappe o [2003/11/28] bin/59774 ftpd(8)/FreeBSD 5: syslog facility may be o [2003/11/28] bin/59775 ftpd(8)/FreeBSD 5: incorrect reply for "u o [2003/11/29] ports/59788 knu sysutils/portupgrade ignores line breaks p [2003/11/29] conf/59799 New locale: zh_HK.Big5HKSCS s [2003/11/29] ports/59802 linimon [patch] make devel/py-ncurses depend on d o [2003/11/29] i386/59806 tackerman [patch] Suspend/resume breaks em0 o [2003/11/30] kern/59814 FreeBSD mknod refuses to create pipes and o [2003/11/30] docs/59835 doc ipfw(8) man page does not warn about acce f [2003/11/30] i386/59854 i386 System panics when AMD 762 AGP is loaded o [2003/12/02] kern/59896 trm driver is not in GENERIC o [2003/12/02] docs/59900 kuriyama out of date README.txt and .message files o [2003/12/02] kern/59903 [patch] "pci_find_device" returns [only/a o [2003/12/03] bin/59922 Toshiba Portege hangs with Eicon DIVA T/A p [2003/12/09] docs/60088 simon [PATCH] add additional MLINKS for rman(9) o [2003/12/09] kern/60089 scottl UDF filesystem appends garbage to files o [2003/12/10] conf/60106 /etc/hosts mentions AfriNIC which does no o [2003/12/12] kern/60174 marcel debugging a kernel module in load/attach o [2003/12/12] kern/60183 sobomax [patch] No WCCPv2 support in gre o [2003/12/15] kern/60248 usb [patch] Problem with USB printer HP Laser a [2003/12/16] kern/60293 bms FreeBSD arp poison patch o [2003/12/16] kern/60307 [patch] wrong product id in pccarddevs fo o [2003/12/17] i386/60319 i386 [hang] read error 34/0 during installatio o [2003/12/18] bin/60350 qa [sysinstall] in Choose Distributions scre o [2003/12/18] misc/60352 [PATCH] buildworld fails in sysinstall if o [2003/12/20] ports/60440 ports-bugs [New Features] Port: mail/qmail o [2003/12/21] kern/60448 PF_KEY protocol does not have a correspon o [2003/12/21] ports/60472 ports-bugs [New Port] devel/doxymacs Doxymacs is Dox p [2003/12/21] kern/60474 Temporary fix for DRM support for Radeon o [2003/12/22] misc/60503 [modules] small error in modules installa o [2003/12/22] bin/60510 [PATCH] change to less for compressed fil o [2003/12/23] ports/60521 ports-bugs sane-backends-1.0.13_1 coredumps in use w o [2003/12/23] docs/60529 doc resolver(5) man page is badly out of date o [2003/12/24] docs/60544 doc getenv(3) manpage doesn't state the retur o [2003/12/25] kern/60550 silby [PATCH] hitting process limits produces s f [2003/12/25] ports/60558 portmgr [PATCH] bsd.port.mk: automatically verify p [2003/12/26] standards/60597standards FreeBSD's /usr/include lacks of cpio.h o [2003/12/26] kern/60599 sound [sound] [partial patch] No sound for ATI o [2003/12/27] bin/60632 UI bug in partition label screen in sysin o [2003/12/27] bin/60636 Enhancement to adduser script. f [2003/12/27] conf/60637 /etc/resolv.conf not created after fresh o [2003/12/28] bin/60642 mbr dhclient has mysterious option -D o [2003/12/28] bin/60662 qa [sysinstall] 5.2 Anonymous FTP server out o [2003/12/29] conf/60677 [patch] No reaction of volume controy key o [2003/12/29] kern/60697 [patch] pseudo-tty hack versus telnet rac f [2003/12/29] kern/60699 DVD Multidrive udma mode autosensed wrong o [2003/12/29] i386/60702 i386 can't boot 5.2-RC2 iso's to install o [2003/12/30] kern/60719 ipfw ipfw: Headerless fragments generate cryp o [2003/12/30] kern/60737 sound [sound] Sound card Turtle Beach Santa Cru o [2003/12/31] kern/60761 sound [sound] pcm performance on emu10k1 driver o [2004/01/02] bin/60834 [ftp] ftpd send_data()+oldway: anonymous o [2004/01/03] kern/60874 [feature request] auto-assign devfs rules o [2004/01/04] kern/60892 [patch] added -p option to kldxref to all o [2004/01/04] kern/60900 During shutdown sync fails: "giving up on f [2004/01/05] misc/60919 linimon No login possible (sporadic) o [2004/01/06] i386/60963 i386 [PATCH] Win32 Applications abort on PECOF o [2004/01/06] kern/60982 [PATCH] ID for VIA 686A Power Management a [2004/01/07] ports/61001 arved help2man is misfiled o [2004/01/07] i386/61005 i386 [boot] The Boot Manager in FreeBSD 5.2RC o [2004/01/08] docs/61070 doc handbook: Installation docs misleading: o [2004/01/09] kern/61109 bge on TYAN AMD762-based Thunder/Tiger pa o [2004/01/09] ports/61147 trevor lang/gcc295 doesn't compile when CPUTYPE o [2004/01/11] amd64/61209 amd64 ppc0: cannot reserve I/O port range o [2004/01/12] bin/61234 usb [usb] [patch] usbhidaction doesn't suppor o [2004/01/12] bin/61239 [patch] bootp enhancement, places the dhc o [2004/01/12] kern/61261 obrien generated header, emu10k1-alsa%diked.h no o [2004/01/12] bin/61264 qa [sysinstall] unable To Use VT100 Terminal o [2004/01/13] conf/61289 /etc/pccard_ether: please use ifn value o f [2004/01/13] kern/61296 bz dhclient fails to start with SysKonnect L o [2004/01/13] kern/61300 [patch] Enabling HomePNA PHY on aue(4) fo o [2004/01/13] docs/61301 doc [patch] Manpage patch for aue(4) to enabl o [2004/01/13] i386/61308 i386 Maxproc Limits counts Zombie Processes wh o [2004/01/13] misc/61322 bsd.dep.mk disallows shell generated flag o [2004/01/14] i386/61348 i386 Adaptec 1460D PCI SCSI Card does not work o [2004/01/16] bin/61405 cperciva A faster ffs(3) o [2004/01/16] kern/61415 [PATCH] disable broadcast ssid if_wi and o [2004/01/16] kern/61438 5.2 nfs tasks running and not selected at o [2004/01/16] i386/61442 i386 Highpoint RocketRAID 1520 uses only UDMA2 s [2004/01/17] ports/61471 ports-bugs Suggested mini-patch to ports/graphics/sa o [2004/01/17] i386/61481 i386 [patch] a mechanism to wire io-channel-ch o [2004/01/17] kern/61497 ups [patch] __elfN(map_insert) bug o [2004/01/17] bin/61502 dwmalone Incorrect ip6fw output when adding rules o [2004/01/18] kern/61503 [smbfs] mount_smbfs does not work as non- o [2004/01/18] conf/61504 mtm [patch] New RC script: accf_http o [2004/01/18] i386/61545 5.2 release cannot see NIC on Dell 1750 o [2004/01/19] i386/61579 [hang] sis 645dx is not working (but on t o [2004/01/20] i386/61603 i386 [sysinstall] wrong geometry guessed s [2004/01/20] kern/61622 Intel Pro/100 Intelligent Server Adapter o [2004/01/20] conf/61641 grog Martin Luther King, Jr. Day missing from f [2004/01/20] kern/61651 linimon [ed] IC-Card+ probe_and_attach returns 6 o [2004/01/21] bin/61666 peter [patch] mount_nfs parsing bug, segmentati o [2004/01/21] docs/61667 doc Obsolete documentation on FreeBSD PnP f [2004/01/21] kern/61677 Unable to open CDROM tray if boot_cdrom i o [2004/01/21] kern/61685 andre [patch] ipnat + dummynet on same interfac o [2004/01/21] bin/61690 fsdb seqfaults in cmd. parsing routine f [2004/01/22] i386/61703 acpi ACPI + Sound + Boot = Reboot o [2004/01/22] kern/61744 andre [patch] TCP hangs onto mbufs with no tcp o [2004/01/24] bin/61808 [PATCH] Update RPC prgs to allow binding s [2004/01/24] kern/61810 mounts done within a chroot show up wrong o [2004/01/24] www/61824 www Misleading documentation on FreeBSD insta o [2004/01/24] i386/61838 i386 Realtek -8139C Card Not Supported o [2004/01/24] i386/61843 i386 Intel PRO/100 VE adapter is not recognize o [2004/01/24] conf/61847 Additions to file /usr/share/misc/pci_ven o [2004/01/25] i386/61858 bms bus_dmamap_sync with BUS_DMASYNC_POSTREAD o [2004/01/25] docs/61859 doc Incorrect informaiton about trace command f [2004/01/25] i386/61889 i386 Have to reinsert pccard after reboot o [2004/01/25] kern/61909 5.2-Current fails to notice change of CD o [2004/01/26] bin/61971 k5init --renewable fails o [2004/01/27] bin/61975 ume [PATCH] sync src/usr.sbin/traceroute6.c w o [2004/01/27] bin/61978 [PATCH] sync src/usr.sbin/setkey/token.l a [2004/01/27] ports/61998 roam PostgreSQL support for vpopmail-5.3.30 (c o [2004/01/27] i386/62003 i386 [patch] make /boot/loader "reboot" code s o [2004/01/28] kern/62042 luigi ipfw can't no more reject icmp (icmptypes o [2004/01/29] bin/62077 Make it possible to abbreviate device nam f [2004/01/30] kern/62094 3com 940 gigabit ethernet dhcp failure o [2004/01/30] kern/62098 [pccard] [patch] Bad CISTPL_VERS_1 and cl o [2004/01/30] kern/62102 alc obreak update o [2004/01/30] docs/62116 keramida PMake manual in DocBook format f [2004/01/31] bin/62139 User cannot login through telnet or ssh b o [2004/02/01] bin/62207 ppp crashes with option 'nat punch_fw' wh o [2004/02/02] ports/62256 ports-bugs New port: chinese/mozilla-sclp o [2004/02/02] kern/62257 card reader UCR-61S2B is only half-suppor o [2004/02/03] i386/62288 reopened raid disks on a running system o [2004/02/03] bin/62300 gcc/config/freebsd-spec.h 1.6 is incomple o [2004/02/04] kern/62323 [kbd] Logitech Cordless MX Duo Keyboard/M o [2004/02/04] i386/62324 Onboard Broadcom BCM5705 controller not i o [2004/02/04] kern/62333 syslog: kernel: dc0: discard oversize fra o [2004/02/04] bin/62334 vipw doesn't see changes if re-edit for t o [2004/02/05] bin/62379 marcel gdb apropos command crashes o [2004/02/05] docs/62402 doc easily circumventable Blade150 problem o [2004/02/06] docs/62412 doc one of the diskless boot methods describe o [2004/02/06] kern/62435 [WISH] make device hme work on non sparc6 o [2004/02/06] bin/62456 johan WARNS fixes for games/pom and games/caesa o [2004/02/08] bin/62513 Errant /usr/bin/krb5-config on 4-STABLE p [2004/02/08] gnu/62555 readline 4.3 should be patched o [2004/02/09] kern/62597 [asr] [patch] /dev/rdpti# patch o [2004/02/10] ports/62607 hrs textproc/text2html conflicts with tex por o [2004/02/10] ports/62657 portmgr Port linux-jpeg have decreaseed version n o [2004/02/11] bin/62702 qa [sysinstall] backup of /etc and /root dur o [2004/02/11] kern/62705 [feature request] Netgear WG511T wireless o [2004/02/11] bin/62711 qa [sysinstall] installation: "Insert Next C o [2004/02/12] docs/62719 doc cross-reference pccardd and devd o [2004/02/12] docs/62724 doc host(1) manpage does not include informat o [2004/02/12] kern/62742 [hang] system "hangs" for a some time whi o [2004/02/12] kern/62746 tjr [smbfs] SMBFS and vfs.usermount. User can f [2004/02/13] ports/62761 portmgr patch for phasing out distinfo files o [2004/02/13] bin/62766 ``systat -vm'' does not work on diskless f [2004/02/13] kern/62788 usb need quirks for Super Talent Flash USB 2. o [2004/02/13] ports/62791 nobutaka emacs 21 : comparison is always true due f [2004/02/14] ports/62829 portmgr Mk file bsd.linux.rpm.mk supporting Linux o [2004/02/14] java/62837 phantom linux-sun-jdk14 executables hang with COM o [2004/02/14] ports/62840 ports-bugs New Port: dns/bind9-sdb-ldap, bind9 patch s [2004/02/14] standards/62858standards malloc(0) not C99 compliant o [2004/02/15] kern/62862 sound [sound] [patch] fix pcm vchans related cr o [2004/02/15] ports/62876 nork www/linux-flashplugin6 fails library path o [2004/02/15] bin/62885 des pam_radius doesn't maintain multiple stat o [2004/02/15] kern/62890 ups proc pointer set by fork1 can be stale in o [2004/02/17] bin/62965 eik pkg_add -r fails if fetching multiple pac o [2004/02/17] i386/62977 i386 Mouse daemon during install/setup o [2004/02/18] ports/62990 knu portupgrade fails to use package even wit o [2004/02/18] misc/62994 Terminal locks up o [2004/02/18] ports/63018 obrien editors/vim: dependency to ruby/python is o [2004/02/19] bin/63064 strptime fails on %z o [2004/02/19] docs/63084 des Several Man-pages reference non-existant o [2004/02/20] kern/63096 rwatson [patch] MAC entry point for route manipul o [2004/02/20] ports/63108 obrien amd64/bento-fix: devel/gdb52 and devel/gd p [2004/02/21] standards/63173standards Patch to add getopt_long_only(3) to libc o [2004/02/21] amd64/63188 amd64 ti(4) broken on amd64 o [2004/02/22] bin/63197 tftp Bus error, core dumped o [2004/02/22] kern/63204 sound [sound] /dev/mixer broken with ESS Maestr o [2004/02/22] docs/63215 doc Wrong prototypes in mi_switch(9) (ref doc o [2004/02/22] ports/63216 portmgr 'BROKEN' or 'IGNORED' ports exit their "m s [2004/02/22] ports/63238 thierry New ports: french/mozilla-flp & french/fi o [2004/02/24] bin/63319 burncd fixate error f [2004/02/25] ports/63357 ports-bugs [patch] www/linux-mozillafirefox port cre o [2004/02/26] bin/63413 dbm_delete return value incorrect o [2004/02/29] conf/63527 AM/PM date format should be localized. o [2004/02/29] ports/63543 clsung New port: chinese/phpbb-zh_TW o [2004/02/29] www/63551 ceri Lack of DTD in cgi scripts o [2004/02/29] www/63552 www Validation errors due to CAPs in attribut o [2004/03/01] docs/63570 ceri Language cleanup for the Handbook's DNS s o [2004/03/01] bin/63608 Add a -c option to time(1) to display csh o [2004/03/02] i386/63628 bms patch to i.386 master boot record to allo o [2004/03/02] bin/63659 /usr/sbin/pw does not honor symlinks in s s [2004/03/03] ports/63716 portmgr [patch] Mk/bsd.port.mk: move sysctl to ${ f [2004/03/03] i386/63721 bms VT6103 NIC broken since 5.2 o [2004/03/04] kern/63746 vmnet0 makes vmnet4096 o [2004/03/04] kern/63768 Must access /dev/acd0c before using /dev/ f [2004/03/04] kern/63779 usb [usb] USB-mass storage (USB to IDE Conver o [2004/03/05] docs/63808 doc No manpage for devfs.conf o [2004/03/05] i386/63815 i386 boot loader waste a lot of time (10 min) o [2004/03/06] kern/63837 usb [patch] USB: hid_is_collection() only loo o [2004/03/07] kern/63863 glebius [patch] implement NGM_ELECTROCUTE s [2004/03/07] kern/63897 makeoptions CONF_CFLAGS are ignored when f [2004/03/09] kern/63982 tackerman em0 hardware checksum offloading causes b o [2004/03/10] bin/64036 Linux application Sophos Mailmonitor not o [2004/03/10] kern/64040 sound [sound] crackling sound on 5.2.1-RELEASE f [2004/03/11] bin/64079 wes mount_mfs (md) refuses to use permissions o [2004/03/11] kern/64114 [PATCH] bad vertical refresh for console o [2004/03/11] kern/64118 sound [sound] [patch] fm801 driver does not wor a [2004/03/12] ports/64136 arved [NEW PORT] devel/ice: The Internet Commun o [2004/03/12] bin/64153 mdmfs features via fstab o [2004/03/12] kern/64178 jmg kqueue does not work with bpf when using o [2004/03/13] bin/64198 init(8) may keep zombies f [2004/03/13] ports/64202 ports-bugs New Port: x11/kde_api_reference_32, the k o [2004/03/15] ports/64304 portmgr geography category o [2004/03/15] ports/64307 ports-bugs [NEW PORT] databases/linux-unixODBC: RPM o [2004/03/16] bin/64327 [PATCH] make(1): document surprising beha o [2004/03/17] kern/64365 acpi ACPI problems o [2004/03/17] conf/64381 qa lo0 not up and no IPs assigned after inst f [2004/03/18] ports/64393 eik establish proper master-slave relations b p [2004/03/19] bin/64464 rwatson pam_krb5 module ignores no_ccache option o [2004/03/19] bin/64476 dougb [PATCH] mergemaster: support for keeping p [2004/03/20] ports/64490 obrien link error in manpage of editors/vim o [2004/03/20] kern/64522 3COM 3C920B onboard Asus P4R800-VM not su o [2004/03/22] kern/64556 if_sis short cable fix problems with NetG o [2004/03/22] kern/64588 [patch] Extend joystick driver architectu o [2004/03/23] i386/64626 i386 AP initialization problem on GIGABYTE GA- o [2004/03/24] ports/64650 knu portupgrade: missing dependency on perl a [2004/03/24] bin/64664 bms Reboot command needs to protect itself fr o [2004/03/26] ports/64769 knu portupgrade mplayer-plugin not reading pk o [2004/03/26] kern/64772 Mouse Movement Problem o [2004/03/26] kern/64788 nsswitch with ldap and starting ppp on bo o [2004/03/27] docs/64807 doc Handbook section on NAT incomplete o [2004/03/27] bin/64811 systat can't display big numbers in some o [2004/03/28] ports/64838 ports-bugs new port: chinese/msttf o [2004/03/29] kern/64875 standards [patch] add a system call: fdatasync() o [2004/03/29] i386/64878 tackerman Intel 82547 CSA Driver forces system lock o [2004/03/29] ports/64898 ports-bugs new port: misc/heyu2 for X10 control o [2004/03/30] bin/64921 vmstat -i is not reporting IRQ usage on a o [2004/03/30] ports/64930 kris ports/Tools/portbuild/scripts/makeworld d o [2004/03/31] kern/64971 A squid process larger than 3G f [2004/03/31] ports/64980 ale New port: mail/qscanq f [2004/03/31] kern/64997 sanpei QUIRK: Getting a Philips USB mp3 player t o [2004/04/01] bin/65045 ftp doesn't remember binary mode if setti o [2004/04/02] docs/65065 doc improper language ntpd man pages o [2004/04/03] i386/65124 i386 Unable to disable TERM_EMU cleanly o [2004/04/05] kern/65206 adding floppy drive seems to force PIO mo o [2004/04/05] bin/65228 [Patch]Allow rup to parse hostnames from o [2004/04/06] bin/65258 save /etc/rc.firewall from changing for s o [2004/04/07] kern/65278 ups [patch] sio: kgdb debugger port initializ o [2004/04/07] bin/65299 vi temp path contains double / o [2004/04/08] bin/65306 obrien [patch] Portability fixes for FreeBSD bui f [2004/04/09] ports/65344 portmgr USE_ macros for graphics libraries o [2004/04/09] kern/65355 [patch] TC1000 serial ports need enabling o [2004/04/10] ports/65408 trevor patch to shorten 133 DESCR files o [2004/04/10] ports/65409 trevor big whitespace cleanup o [2004/04/11] kern/65436 usb QUIRK: [patch] to add support for PNY Att o [2004/04/12] kern/65448 jhb _mtx_unlock_sleep() race condition if ADA o [2004/04/12] ports/65452 vs new port: sysutils/i8xxwd (Intel i8xx TCO o [2004/04/13] docs/65477 doc Installation Instruction fail to mention o [2004/04/13] bin/65483 vi -r crashes o [2004/04/14] i386/65528 i386 mouse cursor disapears on moving o [2004/04/14] docs/65530 doc minor improvement to getgrent.3 o [2004/04/15] bin/65557 passwd uses passwd_format of default logi s [2004/04/15] ports/65587 blackend Update emulators/linux-winetools to 1.30 o [2004/04/16] kern/65627 [patch] store P3 serial number in sysctl o [2004/04/17] bin/65649 Add `-u name' option to env(1) o [2004/04/18] bin/65707 scp does not deal with local file copies o [2004/04/19] kern/65769 usb [usb] Call to tcflush(x, TCIFLUSH) stops o [2004/04/19] kern/65786 [vfs_syscalls.c] Incorrect fifo semantics s [2004/04/20] ports/65794 joe net/ripetools is obsolete o [2004/04/20] bin/65803 gad bin/ps enhancements (posix syntax, and mo s [2004/04/20] ports/65804 portmgr [PATCH] bsd.port.mk is gratuitously slow o [2004/04/20] ports/65828 trevor Returned mail: address is restricted o [2004/04/20] ports/65829 trevor Returned mail: address is restricted o [2004/04/21] ports/65865 roam [PATCH] dns/djbdns: add WITH_JUMBO - coll a [2004/04/22] docs/65895 murray incorrect "omshell" link in "dhclient" ma f [2004/04/23] ports/65915 portmgr [PATCH] bsd.port.mk: handle interactive c o [2004/04/24] ports/65934 nork [NEW PORT] japanese/ja-xmms: X Multimedia o [2004/04/25] bin/65973 Problem logging in to the NIS slave and N o [2004/04/26] docs/65988 doc incorrect references to ppp.conf in handb o [2004/04/27] ports/66032 portmgr [PATCH] bsd.port.mk: clean room installat o [2004/04/28] ports/66042 ports-bugs new port: www/suexec13 (standalone suexec o [2004/04/29] kern/66079 bms route change default causes panic in cert o [2004/04/29] docs/66091 doc ppp(8) docs out-of-date for -CURRENT o [2004/04/29] bin/66095 template_user is broken in pam_radius o [2004/04/30] ports/66109 portmgr [PATCH] bsd.port.mk: inconsistent use of o [2004/04/30] ports/66110 portmgr [PATCH] bsd.port.mk: MLINKS error detecti o [2004/05/03] kern/66185 twe driver generates gratuitous warning o o [2004/05/03] kern/66225 [patch] extend ng_eiface(4) control messa o [2004/05/04] ports/66246 ports-bugs new ports: textproc/docbook-utils, textpr o [2004/05/04] docs/66264 doc [patch] libexec/rtld/rtld.1 typo fixes no o [2004/05/04] docs/66265 doc [patch] Document what -f and LD_TRACE_LOA o [2004/05/04] kern/66268 glebius [PATCH] Socket buffer resource limit (RLI f [2004/05/05] ports/66275 petef New port: net/cnupm The BPF Traffic Colle o [2004/05/05] gnu/66279 less(1) -- add support for stty(1) erase2 f [2004/05/05] ports/66282 ports-bugs [NEW PORT] mail/p5-Mail-Vispan: PERL scri p [2004/05/05] docs/66289 brueffer [patch] lib/libc/gen/ualarm.3 refers to n o [2004/05/05] docs/66296 doc [patch] contrib/amd/amq/amq.8 uses log_op p [2004/05/06] bin/66311 fenner TCPDUMP ISAKMP payload handling denial-of o [2004/05/07] ports/66342 portmgr [PATCH] fix ECHO_MSG breakage in java por o [2004/05/07] docs/66343 doc unlisted supported card on man page for w o [2004/05/07] standards/66357standards make POSIX conformance problem ('sh -e' & o [2004/05/08] ports/66389 portmgr [PATCH] bsd.port.mk: follow MOVED ports o [2004/05/09] kern/66422 sound [sound] [patch] no sound on modern Sony V o [2004/05/09] kern/66425 jhb [patch] Extending dual console support (/ o [2004/05/09] docs/66426 doc handbook update (desktop section): web br o [2004/05/10] bin/66445 Add options to last(1) to ignore ftp logi f [2004/05/10] ports/66476 adamw [NEW PORT] misc/gaim-talkfilters: A neat o [2004/05/10] alpha/66478 alpha unexpected machine check: panic for 4.9, o [2004/05/10] ports/66480 openoffice openoffice-1.1.1 port uses root's $HOME f o [2004/05/10] docs/66483 doc [patch] share/man/man4/csa.4 grammar nits o [2004/05/10] bin/66492 cpio -o -Hustar creates broken timestamps o [2004/05/11] docs/66505 trhodes escaping '~' and '$' characters in login. f [2004/05/11] ports/66511 x11 xdm xlogin*background color issue o [2004/05/11] standards/66531standards _gettemp uses a far smaller set of filena f [2004/05/11] kern/66547 usb [usb] Palm Tungsten T USB does not initia o [2004/05/12] i386/66564 3c920-MV00 PHY detection problem s [2004/05/12] ports/66566 portmgr [PATCH] bsd.port.mk: fix build when /usr/ o [2004/05/12] kern/66589 processes get stuck in "inode" state when o [2004/05/13] bin/66594 marcel gdb dumps core o [2004/05/14] kern/66642 sound [sound] pcm0: play: 0: play interrupt tim o [2004/05/16] bin/66677 mv incorrectly copies somedir/.. to ./.. o [2004/05/17] conf/66726 /etc/periodic/security/ 800.loginfail scr f [2004/05/17] ports/66762 jylefort Update port: games/xpilot-ng (split into o [2004/05/17] bin/66763 mdmfs: sync arguments with those of newfs o [2004/05/17] docs/66768 doc 4_RELENG share/man/man4/ng_one2many.4 MFC o [2004/05/17] docs/66770 doc [patch] share/man/man4/ng_pppoe.4 tyops, o [2004/05/17] docs/66771 imp [patch] usr.sbin/pccard/pccardc/pccardc.8 o [2004/05/17] docs/66775 roam Clarification to committer's guide that p s [2004/05/18] ports/66808 portmgr bsd.port.mk: bsd.autotools.mk appears too o [2004/05/19] ports/66892 portmgr possible bug in philosophy of ports/MOVED o [2004/05/19] bin/66893 [patch] LINUX NIS clients connecting to F o [2004/05/20] bin/66941 [patch] gcc2.95 (FreeBSD-specific): fix u o [2004/05/21] kern/66981 Can't read audio CDs with a samsung sw-25 o [2004/05/21] bin/66988 [Patch] apm.c check validation of the ret f [2004/05/21] i386/66996 i386 Problem with CD/DVD ROM o [2004/05/21] i386/66997 [if_bge] Problem with Broadcom BCM5705M a o [2004/05/21] i386/67011 mdodd [patch] MFC of vpd driver for IBM xSeries o [2004/05/22] bin/67041 "fortune -m" peeks in "fortune" file only o [2004/05/22] i386/67055 i386 Mouse (wheel) detection problem on SIS748 o [2004/05/23] docs/67078 doc [patch] MFC of a rtld(1) man page is inco o [2004/05/24] bin/67142 rpc.yppasswdd incorrectly throws errors a o [2004/05/25] bin/67172 w,finger display the remote host incorrec o [2004/05/25] ports/67183 cy security/pam_krb5 requires updating f [2004/05/25] i386/67189 acpi ACPI S3 reboot computer on Dell Latitude s [2004/05/25] ports/67192 ports-bugs mod_perl-related regressions in the newes o [2004/05/26] bin/67231 [patch] pam_krb5 doesn't honor default fl o [2004/05/27] kern/67242 tackerman [PATCH] dev/em/if_em.c isn't ctags compat o [2004/05/28] bin/67307 ready to import bootstrap_cmds/decomment o [2004/05/28] bin/67308 ready to import bootstrap_cmds/relpath fr o [2004/05/28] kern/67309 acpi zzz reboot computer (ACPI S3) a [2004/05/29] bin/67317 bms patch to nfsd.c to make it slightly more o [2004/05/29] bin/67334 mount_cd9660 gives dscheck: negative b_bl p [2004/05/29] kern/67357 brooks Patch for uftdi to support Intrepidcs.com o [2004/05/30] i386/67383 i386 [patch] do a better job disassembling cod f [2004/06/01] ports/67436 portmgr patch for bsd.port.mk: GNU_CONFIGURE_PREF o [2004/06/01] ports/67437 portmgr patch for bsd.port.mk: NO_BUILD and PKGNA o [2004/06/01] i386/67456 bz [LOR] LOR on dual-xeon w/ ht o [2004/06/02] ports/67500 danfe new port for irc/thales: an irc to mysql o [2004/06/02] misc/67502 cvs cvs-all commit message did not include al s [2004/06/03] ports/67531 portmgr New spanish virtual branch f [2004/06/03] kern/67545 [nfs] NFS Diskless Mount Option Suggestio p [2004/06/03] conf/67549 No Cents for es_ES monetdef (Euro) o [2004/06/03] bin/67550 Add BLK_SIZE option to tftpd server s [2004/06/04] ports/67553 sumikawa ports/devel/cvs+ipv6 - add mirror o [2004/06/04] www/67554 www man-cgi visual glitch on 3-word titles f [2004/06/04] ports/67562 portmgr patch for bsd.port.mk - USE_BDB, WANT_BDB o [2004/06/04] gnu/67565 SIGPIPE processing in cvs 1.11.5 may lead o [2004/06/04] ports/67572 ports-bugs New port: mnogosearch-devel: Full feature o [2004/06/04] i386/67578 [kbd] Keyboard error IBM xSeries 335 o [2004/06/04] kern/67580 request to add hints for boot failures f [2004/06/05] kern/67603 No driver found: PCMCIA Cardbus, D-Link D f [2004/06/06] kern/67627 phk [panic] gbde kernel panic o [2004/06/07] www/67651 hrs Update early-adopter post-4.10 o [2004/06/07] bin/67687 iostat does not provide read vs. write st s [2004/06/08] kern/67706 [unionfs] cvs update over a union mount s o [2004/06/08] bin/67723 FreeBSD 5.x restore cannot handle other p o [2004/06/09] ports/67762 roam portupgrade of stunnel asks for input eve o [2004/06/09] i386/67763 i386 [patch] PCMCIA: MELCO manufacturer code s o [2004/06/10] i386/67773 i386 5.x series - md5 on dev no longer works e f [2004/06/10] docs/67806 doc [patch] Let 5.x users know how to boot in s [2004/06/11] ports/67815 ports-bugs ImageMagick no longer recognizes FlashPix f [2004/06/11] i386/67818 bz Marvell if_sk driver watchdog timeout iss o [2004/06/11] kern/67830 [patch] CPU affinity problem with forked o [2004/06/11] ports/67832 jdp Change request: net/cvsup (STATIC -> WANT f [2004/06/11] ports/67839 girgen www/mod_jk2-apache2 2.0.2: uri /*.jsp mat o [2004/06/13] docs/67893 doc boot.8's -m description is insufficient. o [2004/06/13] alpha/67903 alpha hw.chipset.memory: 1099511627776 - thats o [2004/06/14] bin/67943 find(1) fails when current directory is n s [2004/06/15] ports/67970 gnome ports textproc/libxml, textproc/libxslt: o [2004/06/16] bin/68014 stty -pendin does not turn off pendin mod o [2004/06/16] bin/68016 Bug in visual bell on console (kbdcontrol o [2004/06/17] kern/68026 jdp [patch] add net_remove_domain, domain ref f [2004/06/17] ports/68061 knu databases/ruby-bdb1 has hardcoded install o [2004/06/17] bin/68062 standalone repeat(1) command o [2004/06/18] kern/68081 [patch] sys/time.h (lint fix) o [2004/06/18] i386/68087 i386 wget core dumps with: Assertion failed: ( o [2004/06/19] conf/68108 [patch] Adding mac-address /conf selector o [2004/06/19] kern/68110 hsu [PATCH] RFC 3522 for -HEAD o [2004/06/19] i386/68117 i386 serious network collisions after NIC "med o [2004/06/19] kern/68122 sound [sound] Device busy (/dev/dsp)- insane, n o [2004/06/20] bin/68134 rwatson 'invalid hostname' displayed in w/who out o [2004/06/20] i386/68140 i386 Problem with Sony AIT ATAPI Tape dirve a [2004/06/22] kern/68189 luigi arp -a discloses non-jail interfaces with o [2004/06/22] kern/68192 Cannot use quotas on jailed systems o [2004/06/22] docs/68201 keramida [patch] pthread_atfork(3) man page f [2004/06/23] i386/68219 acpi ACPI + snd_maestro3 problem o [2004/06/23] kern/68225 sound [sound] trouble with sound on Dell Latitu o [2004/06/23] kern/68232 [patch] ugen(4) isochronous handling corr o [2004/06/25] kern/68311 [patch] it is impossible to override defa o [2004/06/25] bin/68312 be able to create fdisk partions using si o [2004/06/25] kern/68315 [patch] atacontrol addspare for 4.x o [2004/06/25] kern/68317 [patch] on soft (clean) reboots clean dme o [2004/06/25] bin/68328 enable configuration of extra listen sock s [2004/06/25] ports/68337 portmgr patch so that README.html files in ports s [2004/06/25] ports/68346 portmgr Nested port install requires user interve o [2004/06/27] kern/68412 usb [usb] [patch] QUIRK: Philips KEY013 USB M o [2004/06/27] kern/68435 wpaul xl driver in freebsd 5.x only works if pr o [2004/06/28] bin/68437 conscontrol DEVDIR -> _PATH_DEV fix and m o [2004/06/28] docs/68453 doc [patch] rc.subr.8 o [2004/06/28] kern/68458 Burning DVD causes lots of FAILURE - READ o [2004/06/28] kern/68459 Patches to mknod(2) behave more like Linu o [2004/06/30] i386/68514 i386 Realtek driver halts on oversized frames o [2004/06/30] kern/68515 sound [sound] sound card noise (ES1938, 5.0) o [2004/06/30] i386/68518 i386 Hangs while loading 82443BX agp during bo p [2004/06/30] conf/68524 Including the Basque in the system o [2004/06/30] conf/68525 rc Loader's verbose boot mode has rc.d/local o [2004/06/30] bin/68527 Resizing 'top' running in a terminal to o o [2004/07/01] bin/68552 tip(1) does not set noncanonical mode inp o [2004/07/01] ports/68569 knu bsd.ruby.mk should not use `.error' o [2004/07/02] bin/68586 dwmalone [patch] allow syslogd to forward to non-d o [2004/07/02] kern/68594 sound [sound] [patch] enable S/PDIF output for o [2004/07/02] docs/68606 doc Porter's Handbook: document how to write o [2004/07/03] kern/68623 [patch] sf(4) (Adaptec StarFire) multiple o [2004/07/04] kern/68665 sound [sound] pcm doesn't detect Realtek ac97 o o [2004/07/05] kern/68690 write(2) returns wrong value when EFAULT p [2004/07/05] bin/68691 dwmalone syslogd - correct program name handling o [2004/07/05] kern/68692 andre [patch] Move ARP out of routing table o [2004/07/05] ports/68697 roam [PATCH] dns/djbdns: use bsd.port.pre.mk o [2004/07/05] ports/68707 roam [PATCH] mail/vpopmail: Add option to use o [2004/07/06] i386/68719 usb [usb] USB 2.0 mobil rack+ fat32 performan o [2004/07/06] ports/68728 se update ftp/jftpgw to 0.13.5 + rcNG'ify o [2004/07/07] conf/68745 rc /etc/rc.d/devfs runs after ntpd so links o [2004/07/07] i386/68754 i386 [hang] SMP reset bug (Tyan Thunder100, 44 o [2004/07/07] kern/68765 [mmap] a little data can be stored beyond o [2004/07/08] bin/68797 cut(1) patches to fflush after each write o [2004/07/08] ports/68826 ports-bugs various anomalies with xemacs port o [2004/07/09] bin/68840 [PATCH] Add Solaris-style -x flag to iost o [2004/07/09] docs/68843 doc Dates on rc.subr(8) & rc(8) are whack. o [2004/07/09] docs/68845 doc The .At macro produces unexpected results o [2004/07/09] bin/68848 [patch] find(1) shows pathname as optiona f [2004/07/09] sparc64/68869sparc64 netcard: Unexpect packet size, drop packe a [2004/07/11] bin/68904 eik pkg_install fixes (_PATH_*, sprintf -> sn o [2004/07/11] misc/68905 core dump ownership issue o [2004/07/11] ports/68908 knu x11/kde3 depends on missing port o [2004/07/11] conf/68916 Named starts PRIOR to ldconfig o [2004/07/13] bin/68981 unlogic jot behaviour. o [2004/07/13] kern/68991 le [vinum] vinum doesn't care which type a p o [2004/07/13] bin/69010 [patch] Portability fixes for FreeBSD bui o [2004/07/13] threads/69020threads pthreads library leaks _gc_mutex o [2004/07/14] kern/69064 [patch] No multiple ip4/6's could assigne o [2004/07/15] bin/69083 [patch] basic modelines for contrib/nvi o [2004/07/15] kern/69084 sound [sound] Error while initializing the soun o [2004/07/15] ports/69097 knu portupgrade's portsdb can't run without P o [2004/07/15] ports/69104 portmgr bsd.port.mk assumes "fetch" as FETCH_CMD o [2004/07/17] bin/69164 marcel GDB/amd64: coredump while debugging a cor o [2004/07/17] ports/69191 roam SRV patch for dnbs/djbdns o [2004/07/18] ports/69243 knu portupgrade - portinstall can't find port o [2004/07/18] i386/69257 i386 [patch] in_cksum_hdr is non-functional wi o [2004/07/19] bin/69268 wpaul Fix ndiscvt to warn you if it's going to o [2004/07/19] docs/69271 doc Porter's Handbook: hint on proper pkg-mes o [2004/07/19] kern/69283 sound [sound] Via 8233 driver records at half s o [2004/07/19] ports/69288 mharo [PATCH] security/sudo: Fix deinstall o [2004/07/19] ports/69309 ale mysql database backup script for periodic o [2004/07/20] kern/69356 LOR in rtsock.c/route.c o [2004/07/21] bin/69362 mbr amd (automounter) does not properly detec o [2004/07/21] docs/69383 doc disklabel = bsdlabel in 5.X or later o [2004/07/22] bin/69398 [patch] cleartext display of password in f [2004/07/22] ports/69421 perl perl5-related distfiles are in common dis o [2004/07/22] kern/69448 socket.h: cmsghdr macros don't work with f [2004/07/23] i386/69460 i386 the nic's speed slow down when both side f [2004/07/23] ports/69475 vs xemacs invalidly calls xargs (witj unexis o [2004/07/23] kern/69502 kldload will load modules that are in the o [2004/07/24] ports/69537 knu Portupgrade cannot be run by cron properl o [2004/07/25] ports/69586 ports-bugs New port: chinese/PCManX o [2004/07/26] kern/69633 sound [sound] fm801 kernel module does not work o [2004/07/27] kern/69650 [patch] make getserv* functions work with o [2004/07/28] amd64/69705 amd64 IPC problem (msq_queues) o [2004/07/28] amd64/69709 amd64 ACPI enabled then floppy don't work (5.2. o [2004/07/28] i386/69722 i386 wi0: init failed o [2004/07/29] i386/69730 i386 [patch] puc driver doesn't support PC-Com o [2004/07/29] i386/69750 acpi Boot without ACPI failed on ASUS L5 o [2004/07/29] bin/69763 [patch] /usr/bin/tip strips hi-bit s [2004/07/30] www/69780 keramida query-pr-summary.cgi generates very large o [2004/07/30] conf/69821 'what kernel' doesn't work o [2004/07/30] kern/69825 [setgroups] 1st group supplied to setgrou o [2004/07/30] kern/69826 [setgroups] 16th group has no effect when p [2004/07/31] kern/69858 Intel E7205 Chipset AGP Support o [2004/08/01] docs/69861 doc [patch] usr.bin/csplit/csplit.1 does not o [2004/08/01] bin/69875 `mlxcontrol status ' hangs wit f [2004/08/02] kern/69931 linimon PS/2 Optical Mouse (Micro Innovations) mi o [2004/08/03] kern/69963 ipfw ipfw: install_state warning about already o [2004/08/03] ports/69965 portmgr check for moved ports in "make deinstall- o [2004/08/04] bin/69986 [patch] sysinstall: No job control in fix o [2004/08/04] kern/69989 killing process that uses snp + unloading o [2004/08/04] ports/69997 portmgr [PATCH] Change USE_LINUX in bsd.port.mk t o [2004/08/04] bin/70002 qa [sysinstall] fails to locate FTP dirs if o [2004/08/05] ports/70017 ports-bugs New port: japanized strings(1) command (j o [2004/08/05] ports/70026 billf net/mtr port does not follows WITH_IPV6 s f [2004/08/05] i386/70036 i386 pcn device not recognizing device o [2004/08/05] docs/70048 magic(5) file has a typo at second test f o [2004/08/06] ports/70062 ports-bugs tetxproc/p5-Bloom-Filter - A new port of o [2004/08/08] ports/70156 sergei [PATCH] devel/porttools: fix finding orig o [2004/08/08] bin/70182 [patch] fortune -e implementation bug a [2004/08/09] ports/70205 roam ports/net/datapipe shouldn't bind to list o [2004/08/09] docs/70217 doc Suggested rewrite of docproj/sgml.sgml o [2004/08/10] bin/70245 re Change to src/release/Makefile to aid doc o [2004/08/10] conf/70252 add System Administrator Appreciation Day o [2004/08/10] bin/70283 mtm adduser aborts in batch mode with comment o [2004/08/11] java/70292 java jdk14 compile problem o [2004/08/11] kern/70296 sound [sound] [patch] Add support for AD1888 AC o [2004/08/11] bin/70297 request to make amd timeouts per-mount lo a [2004/08/11] ports/70300 sergei devel/porttools does not use EMAIL from ~ f [2004/08/11] ports/70308 lawrance finance/openhbci port update o [2004/08/12] bin/70335 inconsistent syslog behavior when max chi o [2004/08/12] bin/70336 telnetd always exits with value 1 o [2004/08/12] bin/70355 [patch] dhclient-script is chatty with RE f [2004/08/12] kern/70362 sanpei QUIRK: [patch] LaCie 160GB USB drive o [2004/08/12] ports/70365 knu sysutils/portupgrade incorrectly give inf o [2004/08/12] ports/70366 lev devel/subversion causes incorrect swig13/ o [2004/08/13] ports/70400 jedgar databases/p5-Mysql is incompatible with d o [2004/08/13] kern/70401 darrenr [modules] Could not load ipl.ko when no I o [2004/08/15] bin/70476 sbin/reboot change, -p behavior default f o [2004/08/15] amd64/70500 amd64 bge driver for 3Com 3C996B on amd64 preve o [2004/08/16] ports/70503 steve open-motif demos should not be installed o [2004/08/16] docs/70507 doc RE in BUG section of re_format(7) in obso o [2004/08/16] bin/70511 When fread()ing with buffering turned off o [2004/08/16] kern/70523 usb [usb] [patch] umct sending/receiving wron o [2004/08/16] bin/70528 No libffi on amd64, either with native co o [2004/08/16] bin/70536 reboot -dp tries to dump when powering of o [2004/08/16] docs/70555 keramida [patch] changes to freebsd-glossary o [2004/08/17] docs/70583 ceri [PATCH] Update freebsd-glossary o [2004/08/18] kern/70608 [irq] ethernet-error (card uses duplicate o [2004/08/18] i386/70610 i386 [patch] spkr(4): hardcoded assumption HZ o [2004/08/19] docs/70652 hmp New man page: portindex(5) f [2004/08/19] kern/70673 harti gensnmptree is called from base and not / o [2004/08/20] docs/70697 pcm(4) is out of date o [2004/08/20] kern/70708 [nfs] gcore/procfs not finding /proc/pid/ o [2004/08/20] conf/70715 Lack of year in dates in auth.log can cau o [2004/08/21] bin/70756 [PATCH] indent mishandles code that is pr o [2004/08/21] bin/70795 [PATCH] misc nanobsd fixes and improvemen o [2004/08/21] kern/70798 Compatibility: Sun/Solaris has an fcntl() f [2004/08/21] ports/70801 ports-bugs [NEW PORT] mail/crm114-devel: An Markov b o [2004/08/21] ports/70802 knu portupgrade cannot find downloaded packag o [2004/08/22] i386/70810 i386 [patch] Enable SMBus device on Asus P4B s o [2004/08/22] standards/70813standards [PATCH] ls not Posix compliant o [2004/08/22] ports/70831 tobez make perl5.8 port SU_CMD aware o [2004/08/22] i386/70832 i386 Serious problems with RealTek NIC using r f [2004/08/22] kern/70835 sanpei QUIRK: [patch] scsi_da does not recognize o [2004/08/23] kern/70852 sound [sound] via82xx PCM driver does not enabl o [2004/08/23] kern/70880 peter [nfs] 5.3 beta1 nfs problem o [2004/08/24] ports/70900 edwin [patch] devel/sdl12 inconsistency between o [2004/08/24] kern/70904 darrenr ipfilter ipnat problem with h323 proxy su o [2004/08/24] docs/70916 roam msync.2 manpage update o [2004/08/25] i386/70926 i386 [boot] 5.3Beta-1 bootstrap error: "atapci o [2004/08/25] kern/70942 usb [usb] Genius Wireless USB mouse: moused d o [2004/08/26] docs/70985 standards [patch] sh(1): incomplete documentation o o [2004/08/26] ports/70999 ports-bugs New port: graphics/evas1 Hardware acceler o [2004/08/27] kern/71045 [dhcp] DHCP-Request is sets other device' s [2004/08/28] ports/71064 maho /usr/ports/math/atlas-devel o [2004/08/29] bin/71098 CVS keywords are not expanded with CVS 1. o [2004/08/30] kern/71142 delphij [patch] add vesa [1024x768] mode support o [2004/08/30] docs/71153 simon [ftp download] Doc packages install in /l o [2004/08/31] kern/71184 andre tcp-sessions hangs on FIN_WAIT_2 state o [2004/08/31] gnu/71210 Update to GNU sdiff: add user-preference o [2004/09/01] kern/71219 /proc/*/map dont tell file offset o [2004/09/01] conf/71254 ncurses: xterm vs. cons* termtypes or sc( o [2004/09/01] kern/71258 [patch] anonymous mmappings not always pa o [2004/09/02] kern/71280 aue0 device (linksys usb100tx) doesn't wo p [2004/09/02] kern/71317 sanpei [sound] [patch] Add nForce2 sound support o [2004/09/03] kern/71334 [ PATCH ] mem_range_attr_{set|get} are no o [2004/09/04] ports/71363 sergei [PATCH] devel/porttools: check extra dire o [2004/09/04] kern/71366 ipfw "ipfw fwd" sometimes rewrites destination o [2004/09/05] conf/71386 loader.conf: hint.apic.0.disabled="YES" d o [2004/09/05] kern/71398 damien [patch] Intel PRO/Wireless 2100 (Centrino o [2004/09/06] conf/71415 [PATCH] /etc/rc.subr - devfs ruleset pars o [2004/09/06] kern/71416 usb [usb] Cryptoflex e-gate USB token (ugen0) o [2004/09/06] kern/71417 usb [usb] Cryptoflex e-gate USB token (ugen0) o [2004/09/06] kern/71422 rwatson LOR in sys/net/bpf o [2004/09/07] kern/71450 [if_de] MAC address change on 21040 "Tuli o [2004/09/07] kern/71455 usb [usb] Slow USB umass performance of 5.3 o [2004/09/07] kern/71469 default route to internet magically disap o [2004/09/07] kern/71474 route lookup does not skip interfaces mar p [2004/09/08] conf/71488 brooks [patch] create spooldirs for lpd (in a di f [2004/09/08] ports/71489 ports-bugs [PATCH] www/slash: initial support for mo o [2004/09/08] ports/71498 tobez update port: databases/p5-GDBM: update an o [2004/09/09] ports/71512 james vncserver problems on amd64 and x.org o [2004/09/09] bin/71513 [PATCH] allow -user/group +/-id construct o [2004/09/09] kern/71532 Multiple SCSI-Busses are seen differently o [2004/09/09] ports/71535 ports-bugs port sysutils/xbatt modification o [2004/09/09] ports/71536 silby emulators/rtc: kernel msg "rtc: [number] p [2004/09/09] ports/71544 arved devel/tvision might need these extra patc o [2004/09/10] conf/71549 /etc/termcap missing passthrough printing s [2004/09/10] ports/71550 thierry New port: devel/plan9port port of Plan9 s o [2004/09/10] docs/71555 doc how to run matlab on 5.2 f [2004/09/11] bin/71580 Sendmail is built and installed on a buil o [2004/09/11] i386/71586 i386 FreeBSD 5.3-BETA3 #3 hang during boot on o [2004/09/11] kern/71605 usb [usb] [patch] umass doesn't recognize mul o [2004/09/11] kern/71608 XIRCOM REM56-100 Ethernet 10/100 can't co o [2004/09/12] bin/71613 [PATCH] cleanup of the usr.sbin/tracerout o [2004/09/12] bin/71616 [PATCH] cleanup of the usr.sbin/yp_mkdb c o [2004/09/12] bin/71617 [PATCH] cleanup of the usr.sbin/ypserv co o [2004/09/12] bin/71618 [PATCH] cleanup of the usr.sbin/timed cod o [2004/09/12] bin/71619 [PATCH] cleanup of the usr.sbin/tcpdump c o [2004/09/12] bin/71620 [PATCH] cleanup of the usr.sbin/sysinstal o [2004/09/12] bin/71621 [PATCH] cleanup of the usr.sbin/sliplogin o [2004/09/12] bin/71622 [PATCH] cleanup of the usr.sbin/sicontrol o [2004/09/12] bin/71623 [PATCH] cleanup of the usr.sbin/pcvt code o [2004/09/12] bin/71624 [PATCH] cleanup of the usr.sbin/rtadvd co o [2004/09/12] bin/71625 [PATCH] cleanup of the usr.sbin/rpc.ypupd o [2004/09/12] bin/71626 [PATCH] cleanup of the usr.sbin/rpc.statd o [2004/09/12] bin/71627 [PATCH] cleanup of the usr.sbin/rpc.lockd o [2004/09/12] bin/71628 [PATCH] cleanup of the usr.sbin/rpcbind c o [2004/09/12] bin/71629 [PATCH] cleanup of the usr.sbin/pppstats o [2004/09/12] bin/71630 [PATCH] cleanup of the usr.sbin/pppd code o [2004/09/12] bin/71631 [PATCH] cleanup of the usr.sbin/pppctl co o [2004/09/12] bin/71632 [PATCH] cleanup of the usr.sbin/ndp code o [2004/09/12] bin/71633 [PATCH] cleanup of the usr.sbin/mrouted c o [2004/09/12] bin/71653 [PATCH] usr.sbin/asf may use uninialised o [2004/09/12] bin/71659 [PATCH] cleanup of the usr.sbin/mount_por o [2004/09/12] bin/71660 [PATCH] cleanup of the usr.sbin/kgmon cod o [2004/09/12] bin/71661 [PATCH] cleanup of the usr.sbin/keyserv c o [2004/09/12] bin/71663 [PATCH] cleanup of the usr.sbin/i4b code o [2004/09/12] bin/71664 [PATCH] cleanup of the usr.sbin/fwcontrol o [2004/09/12] bin/71665 [PATCH] cleanup of the usr.sbin/dconschat o [2004/09/12] bin/71666 [PATCH] cleanup of the usr.sbin/btxld cod o [2004/09/12] bin/71667 [PATCH] cleanup of the usr.sbin/bootparam o [2004/09/12] bin/71669 [PATCH] cleanup of the usr.sbin/atm code o [2004/09/12] bin/71671 [PATCH] cleanup of the usr.sbin/apmd code o [2004/09/12] kern/71683 [nis] NIS/NFS problem [4.8] o [2004/09/13] docs/71690 inaccurate information in systat(1) manpa s [2004/09/13] ports/71693 thierry [NEW PORT] x11-clocks/9clock: This is a s o [2004/09/13] ports/71706 ports-bugs Update of net/linux-edonkey-core o [2004/09/13] kern/71708 [PATCH] MAKEDEV create n+1 bpf devices o [2004/09/13] kern/71711 [PATCH] generate a single bpf timestamp f o [2004/09/14] ports/71724 x11 x11/XFree86-4-clients: luit does not reco p [2004/09/14] kern/71726 sanpei [sound] [patch] nForce3 250(CK8S) audio s o [2004/09/14] docs/71739 doc amd.8 points to old web-page o [2004/09/15] bin/71748 [patch] make vidcontrol accept mode names o [2004/09/15] bin/71749 [PATCH] truss -f causes circular wait whe f [2004/09/15] conf/71757 brooks no /etc/rc.d/diskless script in FreeBSD 5 o [2004/09/15] conf/71767 [patch] French translations for keyboards s [2004/09/15] bin/71773 des [patch] genericize.pl -c misses some comm o [2004/09/15] kern/71774 NTFS cannot "see" files on a WinXP filesy o [2004/09/16] docs/71782 doc mount_nfs man page is a bit out of date o [2004/09/16] ports/71790 mi devel/icu2: add koi8-u converter to stand o [2004/09/16] bin/71801 [patch] Add ncurses utility programs: inf o [2004/09/17] kern/71809 wifi hostap mode speed problem [6-CURRENT o [2004/09/17] kern/71813 I get a geometry error on my wd 200gb hd f [2004/09/17] kern/71818 sanpei QUIRK: support for DMR1000 USP flash pen/ o [2004/09/17] kern/71833 multiple process disc access / injustice s [2004/09/18] bin/71855 [patch] making kdump WARNS=6 clean o [2004/09/19] ports/71905 okazaki new port: Irrlicht, a real time 3d engine o [2004/09/20] i386/71924 i386 timeouts with ata+hpt366 controller on BE o [2004/09/20] bin/71928 Disk quota doesn't work with numeric logi o [2004/09/20] conf/71952 missing past participles in /usr/share/di o [2004/09/21] ports/71953 ports-bugs New port: x11-themes/kde-splash-freebsd: o [2004/09/21] kern/71965 andre TCP MSS issue in combination with ipfw fw o [2004/09/21] threads/71966threads Mlnet Core Dumped : Fatal error '_pq_inse f [2004/09/21] docs/71980 doc Handbook says that no other software is k o [2004/09/22] conf/71994 [patch] Login shell may unnecessarily pri o [2004/09/22] ports/71997 ports-bugs New port:math/webwork used to create prob o [2004/09/22] standards/72006standards floating point formating in non-C locales f [2004/09/22] ports/72016 joe Setiathome doesn't run on my second proce o [2004/09/24] ports/72067 obrien [PATCH] editors/vim: i18n and extra suppo o [2004/09/25] conf/72076 [patch] German locales use old %d.%m.%y d o [2004/09/25] ports/72084 perky [patch] German locales use old %d.%m.%y d o [2004/09/26] ports/72113 green New port: misc/XScreenSaver.app: WindowMa o [2004/09/27] bin/72124 [patch] rm -P can't unlink u-w files o [2004/09/27] conf/72135 [patch] ipsec belongs to /etc/rc.d/NETWOR f [2004/09/29] ports/72167 ports-bugs New port: lang/xharbour An extended xBase f [2004/09/29] ports/72170 jylefort [PATCH] www/mozilla-bonobo - build also w o [2004/09/29] bin/72173 csplit(1) ver 1.9 wrong behaviour with ne o [2004/09/29] i386/72179 i386 Inconsistent apm(8) output regarding the f [2004/09/29] ports/72184 vs New port: editors/freemind: Mind-mapping o [2004/09/30] ports/72190 clsung [NEW PORT] textproc/p5-Text-NSP: Perl5 mo f [2004/09/30] bin/72193 pjd sysinstall crash with geom_raid3.ko o [2004/09/30] kern/72194 stack backtrace after wakeup from sleepin o [2004/09/30] ports/72202 eik portaudit warns about the CVS server vuln o [2004/09/30] kern/72217 [patch] Bug in calculation of the paramet o [2004/09/30] kern/72218 sound [sound] audio recording broken with emu10 o [2004/09/30] conf/72219 Sysinstall doesn't enable 3rd party MTA i o [2004/10/01] kern/72221 sound [sound] emu10k1 stereo channels are rever a [2004/10/01] kern/72224 anholt umass devices broken by DRM (AGP issue?) o [2004/10/01] bin/72232 qa [sysinstall] Installer installs gui-enabl p [2004/10/01] kern/72238 rwatson [patch] mac_seeotheruids restricts root o [2004/10/02] kern/72263 gifconfig output corruption f [2004/10/03] kern/72273 Problem with pppoe dialup [5.3-BETA6] o [2004/10/03] conf/72277 [patch] update for /usr/share/skel f [2004/10/03] kern/72286 mlaier altq queueing in combination with bfe(4) o [2004/10/04] kern/72293 de(4) NIC performance degradation with de o [2004/10/04] kern/72296 bfe0: discard oversize frame (ether type o [2004/10/04] ports/72298 anders thttpd update (move to rc_subr) f [2004/10/04] ports/72336 sergei add RCng to mail/maildrop (was: update ma o [2004/10/04] kern/72338 calcru: runtime wen backwards from ... o [2004/10/04] ports/72339 marius security/ssh2 port startup script needs t p [2004/10/05] i386/72340 des [PATCH] add Pentium M, P3 M, P4 M support o [2004/10/05] kern/72344 usb [usb] [patch] QUIRK: Dane-Elec zMate 512 o [2004/10/05] kern/72352 [PATCH] Support for VScom PCI-100L is mis o [2004/10/05] bin/72355 Can't run "strings" on a (disk) device, e o [2004/10/05] bin/72357 [patch] WARNS?=5 cleanup for src/tools/to o [2004/10/06] ports/72373 knu portupgrade/pkg_info falsely complains it f [2004/10/06] i386/72380 usb [usb] USB does not work [dual Celeron Abi o [2004/10/06] bin/72381 [patch] ifconfig lladdr does not set inte o [2004/10/06] docs/72383 doc manpage for awk(1) is terribly small and o [2004/10/06] ports/72398 jmz emulators/mtools man pages are too funky o [2004/10/07] ports/72417 sobomax [patch] enable options for net/ser o [2004/10/07] ports/72421 ports-bugs new port: py-Levenshtein o [2004/10/07] kern/72433 [patch] AMR raid, amrreg.h struct amr_enq o [2004/10/08] kern/72440 [patch] Not increment ifp->if_snd.ifq_dro f [2004/10/09] conf/72465 [patch] United States International keybo o [2004/10/09] kern/72468 OS does not know how to handle broadcast. f [2004/10/10] bin/72485 eik pkg_add -r unnecessarily downloads packag o [2004/10/11] kern/72498 Libc timestamp code on jailed SMP machine o [2004/10/11] bin/72501 cperciva script(1) loops after EOF is read p [2004/10/11] conf/72505 brian [patch] Fix rc.d/ppp-user to make use of o [2004/10/11] bin/72517 Minor Bug in /etc/login.access o [2004/10/11] ports/72520 obrien asr-utils not working in 5.3BETA7 with Ad o [2004/10/12] ports/72550 ports-bugs [NEW PORT] mail/itraxp: Advanced perl sup o [2004/10/12] kern/72560 jeff [patch] small cleanup of SCHED_ULE o [2004/10/12] kern/72585 [patch] [syscons] iso05-8x16.fnt lacks le o [2004/10/12] bin/72588 [patch] iostat tty stats field concatenat a [2004/10/13] kern/72639 5.3-BETA7 kernel config option ALT_BREAK_ o [2004/10/13] kern/72659 jeff [patch] little bug in sched_ule interract o [2004/10/14] bin/72674 [patch] make /usr/bin/whois use SK-NIC's o [2004/10/15] kern/72728 brooks [patch] keyboard debug and reboot qualifi o [2004/10/15] kern/72732 Kyocera 7135 quirk. o [2004/10/15] kern/72733 Kyocera 7135 Palm OS connection problem. o [2004/10/15] misc/72741 qa ssh broken on fixit cd (missing /dev/rand o [2004/10/16] ports/72758 ports-bugs New port: latex-schedule o [2004/10/17] bin/72787 gtar in base system doesn't seem to honor o [2004/10/17] kern/72793 [patch] wicontrol prints out non-printabl a [2004/10/18] bin/72814 bms [patch] libpcap opens bpf as O_RDONLY - d o [2004/10/19] ports/72865 emulation emulators/vmware3 crashes on 5.3-STABLE o [2004/10/19] bin/72875 des Some utilities used in debugging do not f o [2004/10/19] bin/72881 yppush pushes map to local server o [2004/10/19] i386/72887 sound [sound] emu10k1: sound lag o [2004/10/20] conf/72901 [PATCH]: Prevent printing when doing an s o [2004/10/20] conf/72910 [patch] /etc/rc.d/sendmail does not corre o [2004/10/20] bin/72915 [cron] Cron will not send emails via Exim o [2004/10/20] kern/72920 emulation linux emulation : path "prefixing" is not o [2004/10/20] kern/72933 [patch] promisc mode on vlan interface do o [2004/10/20] ports/72938 ports-bugs Work-around for palm/pose BROKENess s [2004/10/21] ports/72956 ports-bugs x11/dgs incorrectly marked as IGNORE o [2004/10/21] conf/72964 [patch] rc.d script needed to create wire a [2004/10/21] conf/72978 [patch] add danish syscons keymap with ac o [2004/10/22] kern/72987 ipfw/dummynet pipe/queue 'queue [BYTES]KB o [2004/10/22] kern/72995 sound [sound] Intel ICH2 (82801BA) - sound near o [2004/10/22] kern/72997 [if_sk] Network performance down [6-CURRE o [2004/10/22] sparc64/72998sparc64 [patch] set_mcontext() change syscalls pa o [2004/10/22] ports/73009 x11 5.3-RC1 ports refer to XF86Config - shoul o [2004/10/23] kern/73034 libalias does not handle lowercase port/e o [2004/10/23] kern/73051 tun0: Warning: ff02:5::/32: Change route o [2004/10/23] i386/73056 usb [usb] Sun Microsystems Type 6 USB mouse n o [2004/10/24] ports/73061 clsung Update port: devel/p5-Glib2 (enable threa o [2004/10/25] kern/73098 sound [sound] Scan rate of sound card shifts wh p [2004/10/25] bin/73110 rwatson [patch] ffsinfo conversion from atol() to o [2004/10/25] amd64/73111 obrien Optimized libc string functions missing f p [2004/10/25] bin/73112 rwatson [patch] change atol() to strtol() in bads o [2004/10/26] kern/73145 severe network slowdown with DEC 21140 ne o [2004/10/26] ports/73150 clsung [NEW PORT] textproc/p5-Search-VectorSpace o [2004/10/26] ports/73152 ports-bugs [NEW PORT] graphics/chartdirector: Charti o [2004/10/26] kern/73165 emulation [patch] getting rid of COMPAT_43 dependan o [2004/10/27] ports/73186 dougb [PATCH] dns/bind: minor fixes o [2004/10/27] kern/73195 bad PATH, missing HOME and TERM env var o o [2004/10/29] kern/73276 ipfw2 vulnerability (parser error) o [2004/10/29] ports/73285 billf net-mgmt/flow-tools port improvements o [2004/10/29] kern/73294 [hang] hangs in default mode when AcceleP o [2004/10/30] i386/73308 i386 unable to install on AMD 2500+,NF2,GF MX4 o [2004/10/30] ports/73320 ports-bugs New Port: kde_head_api_reference, the kde o [2004/10/30] bin/73327 [PATCH] iostat - extended mode display o [2004/10/30] kern/73328 top shows NICE as -111 on processes start o [2004/10/31] bin/73337 nsswitch: potential invalid free o [2004/11/01] kern/73375 panic: vinvalbuf: dirty bufs o [2004/11/01] kern/73388 brooks [usb] usb-keyboard stops working f [2004/11/01] ports/73395 vs science/py-scipy will not build and some o [2004/11/02] bin/73411 [patch] FTPD could set attributes to 0600 f [2004/11/02] i386/73421 usb [usb] USB not recgnized/working on Toshib o [2004/11/03] ports/73448 nectar [PATCH] nss_ldap - getpwnam does not retu o [2004/11/03] ports/73487 clsung [New Port] devel/p5-Bundle-Perl6, A bundl o [2004/11/03] kern/73492 [feature request] Reliable Temporary File o [2004/11/03] kern/73496 [feature request] A more flexible version o [2004/11/04] kern/73514 mount_ntfs: can't access to a large file o [2004/11/04] kern/73517 pfil_hooks (ipfw,pf etc) and ipsec proces o [2004/11/04] ports/73529 fenner [PATCH] mbone/vic: Unbreak vic compilatio o [2004/11/05] www/73549 www Mail list archive navigation difficulty o [2004/11/05] www/73551 www List archive 'quoted-printable' corruptio o [2004/11/05] kern/73553 brooks [usb] Microsoft USB Internet Keyboard not o [2004/11/06] docs/73583 doc [patch] add missing instructions to ndis( f [2004/11/06] ports/73609 haskell New port: x11-toolkits/wxhaskell o [2004/11/07] ports/73632 edwin [patch] support of rc_subr for net-mgmt/n o [2004/11/07] kern/73636 usb microsoft mouse with ps/2 converter p o [2004/11/07] docs/73638 doc ipfw(8): Clarify syntax for use of tables o [2004/11/07] kern/73646 I/O performance: with/without MEMIO optio o [2004/11/07] conf/73653 Proposal of changes to the GENERIC kernel o [2004/11/08] i386/73663 i386 module_register_init: MOD_LOAD (ibcs2, 0x o [2004/11/08] i386/73673 i386 ifconfig tun0 destroy report: ifconfig: S o [2004/11/08] kern/73675 atapicam causes interrupt storm o [2004/11/08] conf/73677 [patch] add support for powernow states t o [2004/11/08] docs/73679 doc FreeBSD 5.3 Release notes mention new nat o [2004/11/08] kern/73686 [panic] problems mounting a pen drive for f [2004/11/09] ports/73717 edwin Update port: multimedia/pvr250 Support Mi s [2004/11/09] ports/73721 ports-bugs [MAINTAINER] lang/pike76: Fix 64bits brea o [2004/11/09] i386/73742 i386 5.3 rel i386 disk2 image not copying o [2004/11/09] ports/73743 x11 XOrg/XFree xauth add/startx problem o [2004/11/10] kern/73757 le [vinum] vinum fails to load from rc.conf o [2004/11/10] ports/73773 eik [PATCH] shells/bash: Add WITH_SYSLOG knob o [2004/11/10] kern/73777 emulation [patch] linux emulation: root dir special f [2004/11/10] bin/73785 qa I have just downloaded 5.3 ISO to try.. N o [2004/11/10] conf/73786 added WARNING in spanish to stable-supfil f [2004/11/11] conf/73799 Move the last stuff out of usbd.conf o [2004/11/11] i386/73822 acpi acpi / thermal support o [2004/11/11] kern/73823 acpi / power-on by timer support f [2004/11/11] ports/73833 ports-bugs sysutils/smartmontools: smartctl -a /dev/ o [2004/11/11] conf/73834 Bad dependencies for /etc/rc.d/savecore o [2004/11/12] i386/73847 i386 volume label - 5.3 cd 1 o [2004/11/12] kern/73865 [patch] NOINET6=yes in /etc/make.conf ign o [2004/11/12] bin/73884 Add NetBSD's rawrite32 to install tools o [2004/11/13] conf/73909 [patch] rc.d/sshd does not work with port f [2004/11/13] ports/73917 ports-bugs [PATCH] Update audio/cheesetracker to 0.9 o [2004/11/14] i386/73921 i386 sysctlbyname for machdep.tsc_freq doesn't o [2004/11/14] conf/73929 [patch] /etc/rc.d/named will not work wit o [2004/11/15] kern/73961 floppy disk drive performance problem [ne o [2004/11/15] i386/73978 i386 an error message appears during loading o o [2004/11/16] bin/73988 ISDN - first dial attempt fails f [2004/11/16] bin/73989 output of "top" cmd is incorrect o [2004/11/16] conf/73992 periodic security not showing daily firew o [2004/11/16] conf/74004 [PATCH] add fam support to inetd.conf o [2004/11/16] conf/74005 [PATCH] aditional support for /etc/rc.ini o [2004/11/16] conf/74006 dougb [PATCH] /etc/rc.d/named minor fixes o [2004/11/17] kern/74025 cardbus devices detected, but no /dev/car o [2004/11/17] kern/74030 Unplugging AC causes battery % to stay lo o [2004/11/17] kern/74037 ppc(4) cannot find parallel port. o [2004/11/18] bin/74062 ifconfig(8) does not display tunnel endpo o [2004/11/18] kern/74066 acd driver fault: READ_BIG timeout o [2004/11/18] ports/74086 ports-bugs New port:chinese/chmsee A viewer for Micr o [2004/11/18] kern/74091 [patch] PCMCIA: MELCO Manufacturer code s o [2004/11/20] bin/74140 [ntpdate] ntpdate does not try all IPs fo o [2004/11/20] i386/74153 i386 FreeBSD 5.3 cannot boot ftom pst o [2004/11/20] kern/74159 [patch] fix warnings concerned with heade o [2004/11/20] bin/74178 [patch] grdc(6) - scrolling does not work f [2004/11/20] ports/74179 sem [PATCH] Fix build of security/sfs o [2004/11/21] threads/74180threads KSE problem. Applications those riched ma o [2004/11/21] i386/74188 i386 no sound on a7v600-x with chipset VT8237 o [2004/11/21] i386/74191 i386 Notebook PC2001 Compliant AC97 audio work s [2004/11/21] ports/74195 ports-bugs fix build error of devel/swarm for gcc 3. f [2004/11/21] bin/74206 sos burncd: ioctl(CDRIOCFIXATE): Input/output o [2004/11/21] i386/74211 i386 USB flash drive causes CAM status 0x4 on o [2004/11/21] conf/74213 [PATCH] Connect src/etc/periodic/security o [2004/11/21] kern/74215 acpi [request] add ACPI headers to /usr/includ o [2004/11/21] i386/74216 i386 system halts o [2004/11/21] i386/74218 i386 boot floppy (2nd time) read error o [2004/11/22] conf/74228 periodic 470.status-named doesn't work wi o [2004/11/23] kern/74281 Digiboard PCI Xem (64-ports) detection/in f [2004/11/23] bin/74282 [patch] leading zero for tcsh's %P prompt f [2004/11/23] ports/74298 arved cnet update from 1.7.7_2 to 2.0.9 o [2004/11/24] kern/74314 DNS resolver broken under certain jail co o [2004/11/24] i386/74327 i386 mlock() causes physical memory leakage o [2004/11/24] ports/74340 ports-bugs New port: sysutils/pcfclock - userland ac f [2004/11/24] ports/74344 java [proposal] tomcat41ctl: support for passi o [2004/11/25] kern/74352 PXEBoot problems using md as root device o [2004/11/25] kern/74358 [umass] unplugging at boot time an umass o [2004/11/25] bin/74360 [patch] ndiscvt(8) generate a driver whic o [2004/11/25] ports/74369 eik Makefile for ports/devel/pcre does not al a [2004/11/25] bin/74387 linprocfs can be mounted on top of itself o [2004/11/26] ports/74394 demon [Update Port] Update of x11-fm/xnc to ver o [2004/11/26] misc/74396 [patch] "make release" fails if the cdrto o [2004/11/26] bin/74404 sh does not handle signals to subshells p o [2004/11/26] bin/74406 qa [sysinstall] sysinstall accepts but disca o [2004/11/26] ports/74416 fenner update for rtpmon o [2004/11/26] ports/74417 fenner attempt to unbreak vic on FreeBSD 5.x o [2004/11/26] ports/74435 ports-bugs [PATCH] devel/automake19: [SUMMARIZE CHAN o [2004/11/27] ports/74442 ports-bugs Upgrade multimedia/dvdrip to the latest r o [2004/11/27] bin/74450 [patch] enable libalias/natd to create sk o [2004/11/27] kern/74453 Q-lity CD-RW USB ECW-043 (ScanLogic SL11R o [2004/11/27] i386/74454 i386 [PATCH] Adding VIA Eden family to bsd.cpu o [2004/11/28] docs/74477 doc [patch] Correct several links in the cont o [2004/11/29] conf/74498 [patch] new CIS id for Intersil WiFi, pcc o [2004/11/29] bin/74500 [PATCH] allow chflags to set flags on sym o [2004/11/29] bin/74506 [patch] bad top command display o [2004/11/29] bin/74509 [PATCH] ifconfig allows setting 33-byte S o [2004/11/29] ports/74537 obrien editors/vim issue: report invalid size of o [2004/11/30] kern/74549 [patch] [modules] Allow third party KLDs o [2004/11/30] usb/74557 usb imation 500mb usb key can only be written o [2004/11/30] bin/74567 [patch] [2TB] du doesn't handle sizes >1T o [2004/12/01] misc/74577 [patch] decorating space in Beastie menu o [2004/12/01] bin/74593 qa [sysinstall] [patch] Installer installs t o [2004/12/02] amd64/74608 amd64 mpt hangs 5 minutes when booting o [2004/12/02] kern/74609 allowing cdma modems to work at full spee o [2004/12/02] docs/74612 doc Updates to the glossary o [2004/12/02] ports/74615 ports-bugs new port: net/quoted s [2004/12/02] ports/74625 ports-bugs outdated GNU gatekeeper port o [2004/12/02] kern/74626 [patch] NDIS kernel translation layer bre o [2004/12/03] i386/74650 i386 System Reboot with umount command o [2004/12/03] gnu/74654 libsupc++.a lacks necessary functions o [2004/12/03] kern/74658 ATAPI CD not recognized after booting Fre o [2004/12/04] ports/74664 danfe New port: x11-clocks/bdesktopclock f [2004/12/04] ports/74686 mbr [PATCH] www/mod_auth_mysql_another: updat o [2004/12/05] docs/74724 ceri handbook network-inetd webpage o [2004/12/05] ports/74740 danfe Update port: x11-wm/wampager - Update to o [2004/12/05] kern/74743 [patch] wctype.c declares static array on o [2004/12/06] ports/74752 eik make takes a little while before anything o [2004/12/06] kern/74777 Bootup "beep" in 5.3 should be disabled b o [2004/12/06] kern/74786 Smartlink Modem causes interrupt storm on o [2004/12/07] i386/74803 i386 3Com509B o [2004/12/07] amd64/74811 amd64 df, nfs mount, negative Avail -> 32/64-bi o [2004/12/07] conf/74817 [patch] Fixed automatic configuration of o [2004/12/07] conf/74820 /etc/rc deletes /var/run/log by mistake, o [2004/12/07] kern/74827 Problem writing data to floppies [5.3-spe o [2004/12/08] i386/74829 i386 [patch] FreeBSD 5.3-RELEASE hangs during o [2004/12/08] kern/74849 [patch] Samsung SPH-i500 does not attach o [2004/12/08] kern/74868 [acpi] ACPI enabled in 5.3 Release make K o [2004/12/08] kern/74876 Can not receive Hop by Hop options o [2004/12/09] kern/74880 Samsung N400 cellphone/acm fails to atach s [2004/12/09] ports/74882 hq [New port] java/httpunit: web test framew o [2004/12/09] docs/74889 wosch S_ISREG etc marcos missing from stat man o [2004/12/09] kern/74893 sound [patch] [sound] Channels of USB audio can o [2004/12/09] ports/74907 apache [PATCH] www/mod_perl: cleanups o [2004/12/10] ports/74913 pat I can't see anything in X11 applications o [2004/12/10] ports/74919 ale [PATCH] lang/php4: Add hardened-php.org p o [2004/12/10] kern/74920 3Com 3C509-Combo Etherlink III panics sys o [2004/12/10] ports/74921 jmallett update: emulators/mips64emul (0.2.1 to 0. o [2004/12/12] i386/74966 i386 Realtek driver seems to misinterpret some o [2004/12/12] kern/74971 le [vinum] vinum creates (shows) incorrect v o [2004/12/12] kern/74977 [modules] dcons.ko requires KDB support o [2004/12/12] kern/74986 tackerman sysctlize a parameter of if_em's interrup o [2004/12/12] usb/74989 usb (regression) Lost USB support between 5.2 o [2004/12/12] ports/74993 danfe graphics/svgalib: SVGALIB-1.4.3_4 segfaul f [2004/12/12] ports/74996 ports-bugs [NEW PORT] sysutils/logwatch: Logwatch is o [2004/12/12] bin/75001 hushlogin and nocheckmail attributes don' o [2004/12/13] kern/75008 ALPS GlidePoint not recognized FreeBSD 5. o [2004/12/13] ports/75015 amd64 cvsup on amd64 with runsocks (socks5) cor f [2004/12/14] ports/75050 ports-bugs new port: net/ventrilo o [2004/12/14] bin/75053 eik pkg_delete is stupid o [2004/12/14] docs/75068 doc login.conf(5) manual page says nothing ab o [2004/12/15] i386/75090 i386 READ_BIG errors with Sony CRX1611 o [2004/12/15] kern/75121 Wrong behaviour of IFF_LINK2 bit in 6in6 o [2004/12/15] ports/75130 danfe [NEW PORT] www/mono-xsp: A light-weight w o [2004/12/15] kern/75132 jhb [Patch] add support for the Davicom 56PDV o [2004/12/15] conf/75137 jhb add snd_* modules support to /etc/rc.d/mi o [2004/12/16] ports/75143 java There is no way to specify jvm parameters f [2004/12/16] ports/75147 ports-bugs [PATCH] Several improvements to security/ o [2004/12/17] bin/75175 jot duplicates numbers in simple invocati o [2004/12/17] bin/75177 philip Bug selecting psm operation level in mous o [2004/12/17] conf/75180 INIT -> /etc/rc.d - IPFILTER IPMON confli o [2004/12/17] kern/75185 ACPI doesn't power off Tyan S2460 o [2004/12/17] ports/75188 knu sysutils/portupgrade fails to install dep f [2004/12/17] ports/75193 sobomax asterisk build on 5.3: work around tr bug o [2004/12/18] kern/75211 le Vinum writes several errors to stdout. o [2004/12/19] i386/75251 anholt Beginnings of an ATI AGP driver. o [2004/12/19] kern/75254 [patch] [if_wi] PRISM3-based adapter ZCOM o [2004/12/19] kern/75274 sound [patch] [sound] Updating of USB audio cod o [2004/12/19] kern/75276 sound [patch] [sound] Volumes of USB audio can f [2004/12/19] kern/75277 netstat -m 'mbufs in use' output appears o [2004/12/20] ports/75291 nork [PATCH] net/DarwinStreamingServer: must l o [2004/12/20] kern/75298 [PATCH] add missing device id for pccard o [2004/12/20] ports/75301 portmgr new USE_LINUX_X11 macro f [2004/12/20] ports/75302 sem Patches for cleaning problems reported by o [2004/12/20] kern/75311 sound [patch] [sound] Enable to record with USB o [2004/12/20] kern/75312 [if_rl] RealTek RTL8281BL not detected o [2004/12/20] kern/75316 sound [patch] [sound] Enable to select a record f [2004/12/20] ports/75341 python Unable to install py-imaging port python o [2004/12/21] bin/75362 contrib/smbfs mount_smbfs No buffer space o [2004/12/21] ports/75369 ports-bugs new port net/p5-Perlbal o [2004/12/22] bin/75378 [/bin/login] login/wtmp/utmp not updating o [2004/12/22] kern/75380 [nfs] can not open("..") from top-level d o [2004/12/22] i386/75387 i386 Future support of Promise SATAII150 TX4 w o [2004/12/23] i386/75420 i386 CMD 648 PCI not work o [2004/12/23] ports/75424 niels new port: security/bdc (BitDefender Conso o [2004/12/23] docs/75433 doc No manual pages for devfs.conf and devfs. o [2004/12/24] ports/75464 portmgr bsd.port.mk install default configuration o [2004/12/25] bin/75479 qa [sysinstall] sysinstall time servers list o [2004/12/25] amd64/75488 amd64 ntfs_iconv not working on amd64 o [2004/12/25] ports/75496 knu [repocopy] databases/ruby-sqlite -> datab o [2004/12/26] conf/75502 Fix LC_NUMERIC and LC_MONETARY for de_CH o [2004/12/27] docs/75544 trhodes typos in man3 manual pages, acl.3, assert o [2004/12/27] docs/75545 trhodes typos in man3 manual pages, form_field_op o [2004/12/27] ports/75555 ports-bugs [NEW PORT] x11-toolkits/py-gtksourceview: a [2004/12/28] ports/75569 dougb pine4 dependant upon ispell (should be op o [2004/12/28] bin/75570 chflags nosappnd directory doesn't work o [2004/12/28] docs/75577 doc typos in man3 manual pages, login_class.3 o [2004/12/28] usb/75578 usb [patch] QUIRK: PNY USB flash key o [2004/12/28] kern/75582 [patch] [if_dc] Add support for Linksys P o [2004/12/28] i386/75583 i386 Installation fails o [2004/12/28] bin/75585 [unionfs] mount -p on unionfs results in o [2004/12/29] i386/75589 i386 O2Micro pccard1 slot not functioning whil o [2004/12/29] docs/75610 doc Advanced Networking Wireless section clea o [2004/12/29] bin/75632 le gvinum commands not consistent with vinum f [2004/12/29] kern/75634 The proxy arp wrong functionality o [2004/12/30] ports/75643 danfe New Port: x11/PyPanel (A lightweight tran o [2004/12/30] gnu/75662 less -f behavior contradicts man page o [2005/01/01] misc/75702 dwmalone -O5 flag breaks some compiles in /usr/src o [2005/01/01] kern/75710 cue0 device configuration causes kernel p o [2005/01/02] ports/75720 ports-bugs The 4.10-RELEASE samba 3 package smbpassw o [2005/01/03] bin/75742 [patch] pkg_add does not honour prefix fo o [2005/01/03] kern/75764 [patch?] "umass0: Phase Error" - no devic o [2005/01/03] bin/75766 [patch] nfsd loops with TCP + multiple -h o [2005/01/03] bin/75767 WANTED: "fdclose" function in libc o [2005/01/04] i386/75776 i386 NO ps/2 keyboard using USB keyboard under o [2005/01/04] kern/75800 ucom1: init failed STALLED error in time o [2005/01/04] kern/75829 wireless keeps crashing and x server o [2005/01/05] www/75830 www ports.cgi used ports/INDEX from CVS o [2005/01/05] bin/75842 /sbin/mount: valid, but double, fstab mou o [2005/01/05] ports/75852 phantom [patch] Make java/linux-sun-jdk14 install o [2005/01/05] bin/75855 getpwent functions on 5.3 with large pass o [2005/01/05] ports/75859 seanc [PATCH] devel/tla: update to 1.3 o [2005/01/05] kern/75860 sound [sound] no support for the ADI AD1888 onb o [2005/01/05] docs/75864 doc FreeBSD 5.3 kern-developer install does n o [2005/01/05] docs/75865 doc comments on "backup-basics" in handbook o [2005/01/06] kern/75873 Usability problem with non-RFC-compliant o [2005/01/06] kern/75881 ACPI suspend/resume doesn't work on ASUS o [2005/01/06] ports/75883 demon mrtg + ucd-snmp give wrong results o [2005/01/06] bin/75884 m4(1): syscmd's output is out of sync wit f [2005/01/06] kern/75894 sound [sound] shuttle ST62K sound not actually o [2005/01/06] i386/75898 i386 Exception and reboot: Loader and kernel u o [2005/01/07] ports/75911 mharo Proftpd does not work with NIS on FreeBSD f [2005/01/07] ports/75916 thierry New port: net/decv o [2005/01/07] ports/75921 danfe [new port] flpsed, a WYSIWYG pseudo PostS o [2005/01/07] usb/75928 usb Cytronix SmartMedia card (SMC) reader has o [2005/01/08] bin/75934 [PATCH] missing blowfish functionality in o [2005/01/08] ports/75939 nork smartd can not found SMART device, Only S o [2005/01/08] ports/75966 ports-bugs [patch] improve samba-vscan port o [2005/01/08] kern/75969 sound [patch] [sound] Support for Sigmatel STAC o [2005/01/08] kern/75970 [patch] support for Sandisk Cruzer Micro o [2005/01/09] ports/75992 hrs [PATCH] japanese/latex2html: Unbreak this o [2005/01/09] docs/75995 hcreate documentation(?) bug o [2005/01/09] docs/75997 doc Handbook section on DNS needs updating o [2005/01/09] kern/76002 [Patch] for PixelView PlayTv Pro Rev o [2005/01/10] ports/76021 knu portupgrade: package delete can remove ne o [2005/01/10] sparc64/76052marius Incorrect panic strings in sparc64 files o [2005/01/10] gnu/76069 FreeBSD's definition of offsetof isn't go o [2005/01/10] ports/76073 mharo ftp/proftpd: make install does not create o [2005/01/11] kern/76081 [patch] [if_rl] Add support for CardBUS N o [2005/01/11] bin/76089 The "-n" option in /usr/bin/w is broken o [2005/01/11] docs/76094 doc Incorrect statement about partition d o [2005/01/11] ports/76109 ale [NEW PORT] www/eaccelerator 0.9.2.a p [2005/01/11] ports/76116 ports-bugs PORT UPDATE: graphics/lcms (with PATCH) o [2005/01/12] conf/76124 Mistake in /usr/share/misc/pci_vendors o [2005/01/12] ports/76131 ports-bugs New port: x11-toolkits/py-wxPython-devel o [2005/01/12] kern/76144 poll doesn't set POLLHUP when FIFO is clo o [2005/01/12] ports/76150 ale allow php4-dba to use Berkeley DB 4.3 p [2005/01/12] bin/76153 des Significant memory leak in libfetch (fix f [2005/01/12] ports/76166 thierry [NEW PORT] databases/oracle-instantclient o [2005/01/12] bin/76169 [PATCH] Add PAM support to cvs pserver o [2005/01/12] ports/76170 cy misc/screen -- Support for NONETHACK o [2005/01/12] amd64/76176 obrien misc/compat4x are mismarked unsupported o o [2005/01/12] kern/76178 Problem with ahd and large SCSI Raid syst o [2005/01/13] ports/76202 perky [UPDATE] devel/py-cheetah from 0.9.15 to o [2005/01/13] kern/76205 [patch] support for AVM BlueFritz! USB bl o [2005/01/13] kern/76225 [patch] WITHOUT_MODULES option for sys/mo o [2005/01/13] conf/76226 Default local.9600 gettytab initially use f [2005/01/13] ports/76227 ports-bugs RLE support for graphics/fbm o [2005/01/14] ports/76242 ale php5 build error o [2005/01/14] ports/76247 grog Port Update o [2005/01/14] ports/76257 danfe nvidia_driver breaks xorg-clients build o [2005/01/15] conf/76298 fstab doesn't pass mntops properly o [2005/01/16] bin/76305 dhclient resets configured interfaces on o [2005/01/17] ports/76330 openoffice editors/openoffice-1.1 calls uname needle o [2005/01/17] docs/76333 doc EOF indicator can be cleared by not only o [2005/01/17] ports/76358 vs xlockmore PAM support o [2005/01/17] bin/76362 sys directory link points to wrong locati o [2005/01/17] ports/76365 ports-bugs NEW PORT net/xdb_auth_cpile A user auth/c o [2005/01/17] ports/76379 ports-bugs New port:biology/p5-Bio-Das o [2005/01/18] bin/76401 sysinstall to set "host name" for dhclien f [2005/01/18] ports/76409 ports-bugs cfengine2 compile problems, berkeleydb re o [2005/01/18] kern/76432 [patch] [net/route.h] recursive locking i o [2005/01/19] usb/76461 usb disklabel of umass(4)-CAM(4)-da(4) not us o [2005/01/20] kern/76485 sched_getparam returns weird priority num o [2005/01/20] conf/76491 Addition into /etc/security few new funct o [2005/01/20] bin/76494 [patch] passwd(1) does not indicate a suc p [2005/01/20] bin/76497 tcpdump dumps core on ppp ipv6cp packets o [2005/01/20] conf/76509 [patch] New locale uk_UA.CP1251 support o [2005/01/20] ports/76510 ports-bugs [NEW PORT] sysutils/fanout: Allow you to o [2005/01/20] threads/76513threads libpthread is not working o [2005/01/20] docs/76515 doc missleading use of make -j flag in handbo o [2005/01/21] kern/76520 [patch] Add new kernel-side libiconv conv o [2005/01/21] ports/76527 ale [PATCH]lang/php4: Add WITH_MULTIBYTE knob o [2005/01/21] kern/76539 ipnat + dummynet on output on same interf o [2005/01/21] kern/76551 re0: watchdog timeout o [2005/01/23] www/76586 re [patch] minor updates to en/releng/index. o [2005/01/23] i386/76587 i386 ps2 mouse weird... o [2005/01/23] bin/76590 adding -mapall in nfs exports requires re o [2005/01/23] ports/76602 clsung Pick up www/wordpress, www/p5-Kwiki-NewPa o [2005/01/23] kern/76611 i4b itjc bad enums for PIB cycle time o [2005/01/24] conf/76626 460.status-mail-rejects shows destination o [2005/01/25] ports/76638 sergei [PATCH] devel/porttools: "port submit" ha o [2005/01/25] ports/76643 eik sysutils/pkg_install-devel with openssl f [2005/01/25] i386/76653 i386 Problem with Asahi Optical usb device (Pe o [2005/01/25] ports/76670 olgeni Add pkg-message to java/netbeans o [2005/01/25] kern/76678 rwatson Allow pam_krb5 to authenticate no local u o [2005/01/26] ports/76695 trevor RPM complaints on installation of linux_b o [2005/01/26] bin/76697 newsyslog keeps one more archive files th o [2005/01/26] ports/76702 roam nsping breaks when executed with pid > 65 o [2005/01/26] kern/76710 [patch] [sys/dev/mii] rgephy does not dea o [2005/01/26] bin/76711 parse error in rm.c:check() while parsing o [2005/01/26] ports/76731 ports-bugs [PATCH] make cups-pstoraster GHOSTSCRIPT_ o [2005/01/27] usb/76732 usb Mouse problems with USB KVM Switch o [2005/01/27] bin/76736 dwmalone syslogd pipelines losing messages o [2005/01/27] ports/76748 haskell New port: devel/hs-plugins. Loading Haske o [2005/01/27] bin/76752 /usr/bin/login o [2005/01/27] bin/76756 des function pw_equal in pw_util.c does not t o [2005/01/27] ports/76770 openoffice openoffice-2.0-devel cannot build -DWITHO o [2005/01/29] kern/76818 rwatson ACL modifications touch file's mtime o [2005/01/29] ports/76820 ports-bugs isc-dhcp3-server build for use in jail sh o [2005/01/29] ports/76825 ports-bugs isc-dhcp3-server port should allow listen o [2005/01/30] kern/76857 Samsung mouse misbehaviour f [2005/01/30] ports/76868 lawrance Gnofract4D port is out of date - new vers o [2005/01/30] ports/76875 ports-bugs security/cryptopp crashes if build with d o [2005/01/31] ports/76908 ports-bugs [patch] port net/arla (AFS client) is mar f [2005/01/31] ports/76914 arved /usr/ports/audio/xmms-osssurround (build o [2005/01/31] ports/76915 portmgr [patch] Handle port deinstall scripts whe o [2005/01/31] ports/76917 knu [PATCH] security/ruby18-acl: Fix install o [2005/01/31] kern/76918 sound [sound] ATI AD1981 AC'97 Audio Controller o [2005/01/31] ports/76928 ports-bugs New port: www/WebCalendar, web-based cale o [2005/02/01] ports/76936 trevor print/acroread with native mozilla and li o [2005/02/01] threads/76938threads include/unistd.h: ttyname_r prototype mis o [2005/02/01] kern/76950 ACPI wrongly blacklisted on Micron Client o [2005/02/01] kern/76966 udp/520 reply packets when routed is not o [2005/02/01] kern/76971 ipfw antispoof incorrectly blocks broadca o [2005/02/01] kern/76972 64-bit integer overflow computing user cp p [2005/02/01] docs/76981 trhodes [PATCH] cap_mkdb could be more prominentl o [2005/02/02] ports/76986 ports-bugs New port: print/pmx a pre-processor of Mu o [2005/02/02] bin/77001 sysinstall binary upgrade clobbers /etc/l o [2005/02/02] ports/77010 skv [patch] conflict between p5-XML-SAX and p f [2005/02/02] ports/77015 ports-bugs /usr/ports/net/linpopup/ (linpopup-1.2.0_ f [2005/02/02] ports/77022 sem Fix russian/pscyr o [2005/02/02] bin/77031 [patch] comm(1) unable to handle lines gr f [2005/02/03] ports/77042 ports-bugs new port: games/hattrickorganizer o [2005/02/03] ports/77059 ports-bugs New port: devel/atlas60. f [2005/02/03] ports/77068 lawrance Update port: java/eclipse-EPIC o [2005/02/03] bin/77082 src/usr.sbin/pkg_install - Add 3 new macr o [2005/02/04] docs/77087 doc The bootvinum script given in the handboo o [2005/02/04] bin/77089 /sbin/natd: natd ignores -u with passive o [2005/02/04] kern/77091 Keyboard quits working under X with MAXCO o [2005/02/06] kern/77156 FreeBSD does not redirect packets on prop o [2005/02/06] bin/77158 mikeh Buffer Overflow in lukemftp o [2005/02/06] ports/77170 eik [REPOCOPY] net/openldap22{,-sasl}-{server a [2005/02/06] ports/77173 kris dsniff installation doesn't work under fr o [2005/02/06] ports/77182 des ifd-gempc410 marked broken o [2005/02/07] conf/77197 calendar.judaic is out of date o [2005/02/07] bin/77212 src/usr.sbin/pkg_install - make directory o [2005/02/07] i386/77239 i386 3Com 3CXFEM656C does not seem to be suppo o [2005/02/08] ports/77246 portmgr update "make index" target to use "make f o [2005/02/08] kern/77253 meminfo in linprocfs returns bad value ab o [2005/02/08] bin/77259 /bin/sh: shell command "command -v cmd" d o [2005/02/08] bin/77260 df behaviour has changed between 4.x and o [2005/02/08] bin/77261 login doesn't chdir into a group-protecte o [2005/02/08] kern/77273 ipfilter breaks ipv6 statefull filtering o [2005/02/08] ports/77282 clsung [NEW PORT] graphics/p5-GraphViz-Makefile: o [2005/02/09] ports/77295 sergei [ patch ] security/gnutls-devel: update t o [2005/02/09] kern/77308 ALTQ doesn't seem to be working on tun0 o [2005/02/10] kern/77341 problems with IPV6 impementation s [2005/02/10] ports/77342 thierry New port : lang/cduce An XML oriented fun p [2005/02/10] ports/77346 vs Update port dns/drill: New version, bug f o [2005/02/10] kern/77353 [patch] grow SysV IPC kernel limits o [2005/02/10] kern/77355 [patch] Detect i*86 subarches for uname o [2005/02/10] ports/77359 ports-bugs New port: graphics/gephex Software-based o [2005/02/10] kern/77365 [patch] amdpm driver has wrong PCI device o [2005/02/11] ports/77373 ports-bugs new port for squidclamav-1.1 o [2005/02/11] kern/77377 Slow downloading from FreeBSD server with p [2005/02/11] conf/77386 brooks let /etc/rc.d/var create spool dirs for l o [2005/02/12] ports/77426 niels new port: security/sancp, a network conne o [2005/02/13] ports/77444 eik devel/porkmk ignores FETCH_BEFORE_ARGS= - o [2005/02/13] bin/77445 [ntpd] too many recvbufs(40) when ntpd st s [2005/02/13] ports/77453 ports-bugs [request] new port: print/ghostpcl o [2005/02/13] amd64/77470 amd64 Using of cyrillic filenames conversion le o [2005/02/14] ports/77471 ports-bugs New port: Device driver for Voicetronix O o [2005/02/14] i386/77477 i386 AHA-1542CP SCSI failed to probe o [2005/02/14] ports/77495 niels new port: security/sav o [2005/02/14] ports/77512 anders mail/cclient port: imap-uw IMAPS not work o [2005/02/15] kern/77537 Conditional breakpoints hang on SMP machi o [2005/02/15] i386/77541 i386 em driver if_oerrors book keeping error o [2005/02/15] bin/77554 type mismatch in IPv6 firewall rule parse o [2005/02/15] kern/77570 [PATCH] ipfw: Multiple rules may have the o [2005/02/16] ports/77608 roam nsping does not understand IPv6 o [2005/02/17] bin/77648 compiling syslog.c fails on 5-STABLE o [2005/02/18] kern/77662 diskless hostname set via DHCP only if AC o [2005/02/18] conf/77663 Suggestion: add /etc/rc.d/addnetswap afte o [2005/02/18] ports/77690 ports-bugs new port submission - security/sguil-serv f [2005/02/19] ports/77740 ports-bugs [patch] www/mod_fastcgi allow select NO_S o [2005/02/20] ports/77756 ale Update port: www/eaccelerator fixes o [2005/02/21] ports/77820 portmgr bsd.port.mk 1.508 and PORTDOCS globbing b o [2005/02/21] misc/77821 error at libkvm while doing make buildwor o [2005/02/21] kern/77826 ext2fs usb filesystem will not mount RW o [2005/02/21] bin/77835 [patch] libc file res_debug.c needs const o [2005/02/21] kern/77841 [patch] cast away const in getpublickey() o [2005/02/21] ports/77857 kwm [PATCH] net/gnomemeeting: correctly deter o [2005/02/21] ports/77876 portmgr Ensure uniqueness of (DOCS|EXAMPLES|DATA) o [2005/02/22] ports/77899 ports-bugs [Maintainer Update] graphics/bugle 0.0. o [2005/02/22] kern/77902 [nfs] NFS client should use VA_UTIMES_NUL o [2005/02/22] kern/77904 [nfs] NFS server should set VA_UTIMES_NUL o [2005/02/22] kern/77913 [PATCH] Add the APDL-325 WLAN pccard to w f [2005/02/22] kern/77915 vs Makefile problem : /usr/src/bin/domainnam o [2005/02/22] bin/77918 ceri quota does not exit with a status != 0, i o [2005/02/22] ports/77924 ports-bugs [MAINTAINER-UPDATE] devel/ruby18-freeride o [2005/02/22] conf/77929 periodic/security/550.ipfwlimit ignores l o [2005/02/23] kern/77958 can't delete read-only files via smbfs o [2005/02/23] ports/77980 ports-bugs New Port: www/p5-POE-Component-Server-HTT o [2005/02/24] ports/78012 ports-bugs [NEW PORT] net/abills: Billing system fro o [2005/02/24] bin/78021 sem_open(3) doesn't mention fnctl.h inclu f [2005/02/24] ports/78023 eik Problem Instaling openldap22-client via p f [2005/02/24] ports/78030 ports-bugs New port: net/p5-IP-Country - Perl module o [2005/02/24] docs/78041 doc docs for md need further explanation of t o [2005/02/25] kern/78057 ad0: FAILURE - READ_DMA status=51 error=4 o [2005/02/25] kern/78070 [patch] Potential null pointer dereferenc o [2005/02/25] kern/78072 [Patch] Potential memory leak in lge(4) o [2005/02/25] kern/78090 ipf filtering on bridged packets doesn't f [2005/02/26] ports/78102 ports-bugs /usr/ports/mail/qmail-scanner doesn't det o [2005/02/26] kern/78114 phk [PATCH] Solaris/x86 label structures for s [2005/02/26] ports/78119 clement [REPOCOPY REQUEST] move www/apache2 to ww o [2005/02/26] bin/78125 rees Remove unused code from idmapd.c o [2005/02/26] bin/78131 gbde "destroy" not working. o [2005/02/26] kern/78133 vmware3 port causes crash o [2005/02/27] ports/78134 openoffice editors/openoffice: typo o [2005/02/27] docs/78138 doc Error in pre-installation section of inst o [2005/02/27] ports/78150 ports-bugs Update Port: devel/libtool15 to 1.5.14 o [2005/02/27] bin/78170 [patch] Fix signal handler in bootpd a [2005/02/28] docs/78174 trhodes Update for Bluetooth-related manpages o [2005/02/28] kern/78176 sound sound doesnt work o [2005/02/28] ports/78186 gioria Update to new stable (and more secure) ve o [2005/02/28] bin/78207 add MEINBERG clock support to the base nt o [2005/02/28] ports/78213 ports-bugs [MAINTAINER] Update port: mail/milter-bog o [2005/03/01] ports/78234 olgeni x11/eterm invalids compose character defi o [2005/03/01] ports/78235 ale lang/php4 segfaults with both xslt and Ze o [2005/03/01] docs/78240 doc Replace with around a # s [2005/03/01] ports/78246 tobez [PATCH] textproc/p5-YAML: update to 0.36 o [2005/03/01] conf/78257 [PATCH] /etc/rc.d/memdisk for /dev/md* cr f [2005/03/02] ports/78274 danfe [new port] benchmarks/N-queen o [2005/03/02] docs/78275 doc Keyword size needs to be changed to lengt o [2005/03/02] ports/78279 ports-bugs New port:japanese/mell (an emacs lisp lib o [2005/03/02] ports/78280 ports-bugs New port:japanese/suikyo (a romaji-kana c o [2005/03/02] ports/78281 ports-bugs New port:japanese/prime (a japanese kana- o [2005/03/02] ports/78282 ports-bugs New port:japanese/prime-el (an elisp fron o [2005/03/02] ports/78284 ports-bugs New port:japanese/prime-dict (dictionary o [2005/03/02] ports/78293 edwin Proposition for the review of multimedia/ o [2005/03/02] bin/78304 Signal handler abuse in comsat(8) f [2005/03/02] ports/78327 hq new port java/jakarta-poi o [2005/03/02] ports/78332 openoffice [PATCH] no help content in polish/open-of o [2005/03/03] ports/78337 ale Feature Request: cpdf for lang/php5-exten o [2005/03/03] kern/78342 jeff top -S shows potentially incorrect CPU us o [2005/03/03] ports/78345 x11 [PATCH] xorg-server/powerpc: server loada o [2005/03/03] ports/78346 x11 [PATCH] xorg-server/powerpc: os-support/I o [2005/03/03] ports/78348 x11 [PATCH] xorg-server/powerpc: mouse signed o [2005/03/03] ports/78352 x11 [PATCH] xorg-server/powerpc: common/compi o [2005/03/03] ports/78353 x11 [PATCH] xorg-server/powerpc: bus/Imakefil o [2005/03/03] ports/78354 x11 [PATCH] xorg-server/powerpc: os-support/b o [2005/03/03] ports/78355 x11 [PATCH] xorg-server/powerpc: Imake.cf mod o [2005/03/03] ports/78356 x11 [PATCH] xorg-server/powerpc: FreeBSD.cf d o [2005/03/03] ports/78358 x11 [PATCH] xorg-server/powerpc: pkg-plist pa o [2005/03/03] ports/78359 x11 [PATCH] xorg-server/powerpc: port Makefil f [2005/03/03] usb/78371 usb Philips Wearable Audio Player (128) fails o [2005/03/04] kern/78388 vr network drivers cause watchdog timeout f [2005/03/04] ports/78393 ports-bugs [maintainer-update] update mail/sccmilter o [2005/03/04] ports/78397 ports-bugs [port update] print/foomatic-db - changed o [2005/03/04] conf/78419 /etc/termcap is a symbolic link o [2005/03/04] bin/78424 Internal IPs on router, natd/libalias bre f [2005/03/05] ports/78436 ports-bugs Maintainer Update: multimedia/dvd-slidesh o [2005/03/05] docs/78440 phantom POSIX semaphores don't work by default in o [2005/03/05] ports/78443 gnome finance/gnucash-1.8.11 HCBI dependence fa o [2005/03/05] kern/78444 jeff [sched_ule] doesn't keep track of the sle o [2005/03/05] kern/78464 Rename /proc/mtab to /proc/mounts f [2005/03/06] ports/78473 ports-bugs New port: graphics/opencv (Open Source Co o [2005/03/06] kern/78474 Swapped out procs not brought in immediat o [2005/03/06] docs/78479 doc SO_NOSIGPIPE socket option undocumented o [2005/03/06] docs/78480 doc Networked printer setup unnecessarily com o [2005/03/06] ports/78490 portmgr Update port: Mk/bsd.port.mk add PORTEXAMP o [2005/03/06] ports/78492 openoffice [PORT UPDATE] editors/ooodict-all: adds o [2005/03/07] docs/78520 doc error in man(5) lpd.conf, lpd.perms pages o [2005/03/07] kern/78526 problem with ST380011A Segate and FreeBSD o [2005/03/07] bin/78529 'df' shows wrong info about hard drive af o [2005/03/07] standards/78537phk times(2) not functioning per the Posix sp o [2005/03/07] usb/78543 usb [patch] Support for Trip-Lite USB 2 Seria o [2005/03/07] ports/78554 portmgr [patch] bsd.port.mk: allow install port w o [2005/03/07] bin/78562 Add numerical sorting option to join(1) o [2005/03/07] i386/78569 i386 seg fault compiling after install on AMD o [2005/03/08] ports/78592 roam mail/qmailadmin update o [2005/03/08] ports/78596 portmgr bsd.port.mk does not match tradition or P o [2005/03/08] docs/78605 jcamou ppp man page errors o [2005/03/08] ports/78607 portmgr Remove superfluous (and irritating) messa o [2005/03/09] ports/78621 sobomax Invalid dependency of net/ser o [2005/03/09] bin/78640 [patch] pkg_version show plist.origin in o [2005/03/09] bin/78646 [patch] libmap should canonicalize pathna o [2005/03/09] ports/78648 clement [UPDATE] bring sysutils/ldap-account-mana o [2005/03/10] kern/78673 nfs client open resets attrstamp ever if o [2005/03/11] bin/78692 [PATCH] add support for line buffered out o [2005/03/11] ports/78700 perl mail/p5-Mail-SpamAssassin: sa-spamd scrip o [2005/03/11] ports/78712 perky [Update Ports] Rename ja-pycodec to ja-py o [2005/03/12] bin/78728 ntpd -- noisy when IPv4 or IPv6 interface o [2005/03/12] kern/78756 phantom src/lib/libc/nls/fr_FR.ISO8859-1.msg for o [2005/03/13] kern/78758 sos [patch] Add support for re-sizing ATA dis o [2005/03/13] bin/78759 patch: verbosity for bin/chflags a [2005/03/13] ports/78760 lioux [PATCH] multimedia/kmplayer: Make TV view o [2005/03/13] bin/78763 pjd [PATCH] Added jail support to ps o [2005/03/13] bin/78768 pjd [Patch] Added jail support to top f [2005/03/13] ports/78776 dinoex Apache (mod_ssl) crashes when php module o [2005/03/13] bin/78785 [patch] ipfw verbosity locks machine if / o [2005/03/13] kern/78787 sysconf(_SC_CLK_TCK) may return incorrect o [2005/03/14] kern/78812 [workaround] logitech cordless mouse with o [2005/03/14] ports/78836 knu [UPDATE] math/ruby-netcdf 0.6.0 o [2005/03/15] kern/78849 phk Problems with GBDE encrypted partitions o [2005/03/15] ports/78857 perky lang/python23: wchar_t type definition co o [2005/03/15] kern/78884 nfs client cache negative lookups o [2005/03/15] ports/78898 ports-bugs new ports chinese/lumaqq: General QQ-like o [2005/03/16] conf/78906 Allow mixer_enable="NO" in rc.conf o [2005/03/16] docs/78915 doc rfork()'s RFTHREAD is not documented o [2005/03/16] ports/78916 dougb PORT UPDATE: sysutils/nut 2.0.0 -> 2.0.1 o [2005/03/16] ports/78931 gnome graphics/gimp OPTIONS'ify and tweak pkg-p o [2005/03/17] conf/78949 [patch] rc.d/fsck: when netbooting, fsck o [2005/03/17] amd64/78954 amd64 kerberos 5 failed to build o [2005/03/17] kern/78957 time counter per process stops (syscall: f [2005/03/18] ports/78978 des Please update SBCL port to 0.8.20 o [2005/03/18] usb/78984 usb Creative MUVO umass failure o [2005/03/18] ports/78990 ache [update] {news,chinese}/tin: integrate pa o [2005/03/19] bin/79008 add option for pom(6) to specify EPOCH o [2005/03/19] ports/79009 emulation [patch] Some linux ports are incorrectly o [2005/03/19] ports/79010 ports-bugs [patch] bsd.port.mk - all-depends-tree ta o [2005/03/19] ports/79021 ports-bugs New port: linux_base-fedora o [2005/03/19] ports/79024 green Update port: databases/sqlite3 to 3.1.6 f [2005/03/19] ports/79030 ports-bugs New port: deskutils/kchm A KDE viewer for o [2005/03/20] kern/79035 le [vinum] gvinum unable to create a striped o [2005/03/20] ports/79038 ports-bugs New port: misc/krecipes recipe manager fo o [2005/03/20] ports/79040 ports-bugs New Port: games/marathon2-data o [2005/03/20] bin/79048 phk realloc() copies data even when the size o [2005/03/20] ports/79049 ports-bugs New port net-mgmt/netdump-server:RedHat s o [2005/03/20] standards/79055standards Add an IFS regression test for shells o [2005/03/20] standards/79056standards regex(3) regression tests o [2005/03/20] kern/79058 floppy umount crash o [2005/03/20] bin/79063 grep(1) - strange behaviour (most likely o [2005/03/21] kern/79066 bktr eating about 10% CPU load once it wa o [2005/03/21] standards/79067standards /bin/sh should be more intelligent about o [2005/03/21] ports/79069 grog "make install" in instant-workstation fai o [2005/03/21] ports/79070 tobez [NEW PORT] mail/policyd: Greylisting/send o [2005/03/21] i386/79091 i386 [patch] Small optimization for i386/suppo o [2005/03/21] ports/79093 mi net/rdist6 ignore ssh transport o [2005/03/21] ports/79094 sem A lot of changes on qmail master and all o [2005/03/21] ports/79104 openoffice make(-ing) /usr/ports/editors/openoffice- o [2005/03/22] bin/79109 devfs.conf not honored at boot f [2005/03/22] ports/79112 pav [MAINTAINER] www/zope-parsedxml: Unbreak o [2005/03/22] ports/79115 lth audio/daapd should depend on mpeg4ip subp o [2005/03/22] kern/79117 iavc(4) for AVM B1 PCI does not attach p [2005/03/22] ports/79119 ports-bugs [PATCH] mplayer with optimized cflags on a [2005/03/22] ports/79120 roam security/stunnel tries to create pid file o [2005/03/22] ports/79123 portmgr [patch] bsd.port.mk - add SHA256 support o [2005/03/22] i386/79136 i386 disk controller not detected o [2005/03/22] kern/79138 rwatson close while sending on connected UNIX-dom o [2005/03/22] kern/79139 [patch] Support for more PCIe chipsets o [2005/03/22] i386/79143 i386 Broadcom NIC driver do not work for IPMI o [2005/03/23] ports/79149 barner [maintainer update] security/rkhunter o [2005/03/23] ports/79155 sergei PORT UPDATE: x11/gromit to latest version o [2005/03/23] docs/79156 doc buffersize knob for sound(4) is a tunable o [2005/03/23] kern/79164 [patch] QUIRK: Qware BeatZkey! Pro USB mp f [2005/03/23] ports/79177 ports-bugs games/alephone update [PATCH] o [2005/03/24] ports/79178 ports-bugs new port games/alphabet_sounds_fr: french o [2005/03/24] ports/79179 ports-bugs new port: games/childsplay_plugins o [2005/03/24] ports/79188 sergei Missing patch file info in security/snort o [2005/03/24] ports/79195 ports-bugs New port: textproc/p5-String-Format o [2005/03/24] conf/79196 [PATCH] configurable dummynet loading fr o [2005/03/24] ports/79211 ports-bugs NEW PORT: security/p5-Digest-SHA256 SHA{2 f [2005/03/25] ports/79216 ports-bugs Maintainer update: devel/flyspray 0.9.5 - f [2005/03/25] ports/79224 lawrance New Port: deskutils/sugarcm: a web based o [2005/03/25] bin/79228 [ PATCH ] extend /sbin/arp to be able to o [2005/03/25] bin/79232 WARNS6 clean libexec/comsat f [2005/03/25] ports/79233 ports-bugs ports update biology/paml o [2005/03/25] ports/79235 ports-bugs [maintainer update] sysutils/dtc: v0.17.0 o [2005/03/25] ports/79237 billf Updating ports/net/mtr to 0.69 o [2005/03/25] www/79239 remko [PATCH] rewrite usergroups to xml o [2005/03/26] kern/79245 pjd jls loops o [2005/03/26] kern/79251 [2TB] newfs fails on 2.6TB gbde device o [2005/03/26] kern/79266 [patch] RELENG_4 pci CONF1_ENABLE_MSK dep o [2005/03/27] i386/79272 i386 "ata" detects and enables UDMA66 or UDMA1 o [2005/03/27] i386/79274 i386 Autoconfigure fails for O2Micro OZ6812/68 f [2005/03/27] ports/79279 thierry ports update net/mpich 1.2.5.2 -> 1.2.6 o [2005/03/27] ports/79285 des update port: lang/sbcl to 0.8.21 o [2005/03/28] bin/79296 "umount -a -t msdos" not work o [2005/03/28] ports/79297 ports-bugs New port: audio/p5-MP3-ID3Lib o [2005/03/28] docs/79298 doc intro(2) man page has incorrect descripti o [2005/03/28] docs/79309 doc Mistake in Porter's Handbook, Chapter 14. o [2005/03/28] i386/79317 i386 Freebsd Erasing NVRAM o [2005/03/28] docs/79318 doc Example in archive_read man page is incor o [2005/03/29] kern/79329 data for new ati radeon x800 card o [2005/03/29] ports/79330 portmgr [PATCH] devel/p5-Module-Build: add .packl o [2005/03/29] ports/79337 sem [Maintainer Update] split databases/fireb o [2005/03/29] ports/79338 clsung [PATCH] sysutils/xosview: update to 1.8.2 o [2005/03/29] ports/79341 sergei [PATCH] devel/pychecker: unbroke port o [2005/03/29] ports/79343 jylefort Update port: net/linux-nx-client (fix des f [2005/03/29] ports/79345 ports-bugs Update for mail/crm114 o [2005/03/30] ports/79346 ports-bugs New port: devel/gobo-eiffel. Libraries an o [2005/03/30] i386/79350 i386 "ata" unrequested increase in xDMAx speed o [2005/03/30] ports/79351 lofi Character passing error in security/pinen o [2005/03/30] kern/79352 [feature request] double tagged q-in-q ne o [2005/03/30] ports/79360 ports-bugs [new port] Add ripmake, a ripping makefil f [2005/03/30] ports/79368 pav "make search ..." doesn't work unless in o [2005/03/30] ports/79374 tobez [PATCH] mail/mb2md: Replace ${PERL} with o [2005/03/30] ports/79382 ume package information for cyrus-sasl2-sasla o [2005/03/31] ports/79398 portmgr New port: archivers/unmakeself, and make o [2005/03/31] ports/79400 ache news/tin build fails when WITH_TIN_CANLOC o [2005/03/31] docs/79414 jcamou Error in handbook 24.5.20 port redirectio o [2005/03/31] conf/79415 Fix "Mothers Day" in calendar.french. o [2005/03/31] kern/79416 darrenr ipf in 4.11 breaks POLA o [2005/04/01] bin/79418 [patch] libedit sync from netbsd cvs o [2005/04/01] kern/79427 sound [sound] No sound on Compaq Armada 100S la o [2005/04/01] ports/79428 trevor fetchyahoo v2.8.6 broken; use v2.8.5 o [2005/04/02] kern/79437 [patch] linux emulation/linprocfs: extern o [2005/04/02] kern/79441 problem writing on mounted msdos-fs at /m o [2005/04/02] ports/79460 ahze Update port: audio/glame to 2.0.1 o [2005/04/02] ports/79494 pb [patch] multimedia/kino has no Quicktime o [2005/04/03] kern/79498 sound [sound] sndfile-play (and many other play o [2005/04/03] ports/79509 portmgr add .desktop file facilities to bsd.port. o [2005/04/03] ports/79511 lioux [REQUEST:REPOCOPY] multimedia/ffmpeg -> m o [2005/04/03] kern/79513 pccard ipf.rules loading problem. o [2005/04/04] threads/79526threads A memory leak in pthread_rwlock_init() o [2005/04/04] ports/79529 ports-bugs new port: misc/gopod o [2005/04/04] ports/79536 pat sysutils/wmmemload install problem from t o [2005/04/04] ports/79540 pat sysutils/wmcpuload feature o [2005/04/05] ports/79561 trevor [update] x11-fm/gprename to 1.24 o [2005/04/05] ports/79566 jylefort Update port: x11-themes/linux-gtk-bluecur o [2005/04/05] bin/79570 Dynamic OpenSSL engine load disabled o [2005/04/05] ports/79571 danfe Upgrade/update x11/nvidia-driver from 613 o [2005/04/05] kern/79575 [PATCH] Fixes order of disks in 'mdconfig o [2005/04/06] ports/79599 ports-bugs patch for dhcp lease query, used in cisco o [2005/04/06] ports/79604 portmgr Switch default MySQL version to 4.1 o [2005/04/06] bin/79607 grok and default to bzip2-compressed manu o [2005/04/07] ports/79611 ale Port build failure in php4-imap-4.3.11 o [2005/04/07] ports/79627 sergei [PATCH] security/p5-Authen-Krb5: update t o [2005/04/07] kern/79635 em0 The EEPROM Checksum Is Not Valid o [2005/04/07] ports/79637 cjh [PATCH] print/magicfilter: update to 2.3. f [2005/04/07] ports/79639 thierry biology/deft: patch for compilation on Fr o [2005/04/07] kern/79649 [patch] quirk: Gembird MP3 player o [2005/04/07] ports/79650 cjh net/ztelnet: patch for compilation on Fre o [2005/04/07] ports/79651 clement [patch] mail/ssmtp: add per-user smtp aut o [2005/04/07] ports/79655 emulation linux_base-8 fails to install as non-root o [2005/04/08] ports/79661 des emulators/doscmd outdated man info o [2005/04/08] ports/79666 lawrance [PATCH] big list of ports to be removed o [2005/04/08] docs/79667 doc Some sections of the handbook refer to /e o [2005/04/08] ports/79671 perky [PATCH] net/py-google: update to 0.6 o [2005/04/08] ports/79673 roam security/apg incorrectly depends on ${LOC o [2005/04/08] ports/79675 kuriyama net-snmp-5.2.1 compile error: structure h o [2005/04/08] ports/79676 ports-bugs NEW PORT: A tool that, installed on a gat o [2005/04/08] kern/79678 sound [sound] sound works except recording from f [2005/04/08] ports/79687 dinoex Update port: ftp/vsftpd to 2.0.3 o [2005/04/08] ports/79689 roam [Patch] Update ftp/curl port o [2005/04/08] bin/79690 [patch] mdmfs does not accept numeric uid f [2005/04/08] ports/79691 pav Update port: net/bindtest - fixed size an o [2005/04/08] ports/79694 kuriyama net-mgmt/net-snmp: net-snmp-5-2-1.1 witho o [2005/04/08] kern/79698 des [PATCH] [ichwd] ICH watchdog driver broke o [2005/04/08] www/79699 remko Website vendor listing o [2005/04/08] conf/79701 [PATCH] wcwidth(3) returns wrong value ab o [2005/04/09] kern/79705 mac_seeotheruids not blocking root f [2005/04/09] conf/79713 dougb sysctl(1) in /usr/libexec/save-entropy is o [2005/04/09] bin/79714 kgdb user I/O nits o [2005/04/09] conf/79715 MNT_NODEV should be removed from sys/moun o [2005/04/09] usb/79723 usb [usb] prepare for high speed isochronous o [2005/04/09] usb/79725 usb [patch] [usb] USB device speed is not dou o [2005/04/09] ports/79733 mph ports/devel/p5-ReadLine-Gnu build failed f [2005/04/10] ports/79735 hq Update Proguard to 3.2 o [2005/04/10] ports/79759 portmgr Improving the linuxolator part of bsd.por o [2005/04/10] ports/79760 marius [PATCH:ADD_FEATURE] bsd.port.mk support f f [2005/04/10] ports/79768 pav New port: www/zope-externaleditor (Edit Z o [2005/04/11] ports/79775 seanc Update mail/dbmail to 2.0.4 o [2005/04/11] ports/79799 fenner Update port: dns/dnstop p [2005/04/11] kern/79806 glebius [PATCH] ng_cisco(4) allocates too much me o [2005/04/12] ports/79810 lth building www/p5-CGI-SpeedyCGI port requir o [2005/04/12] ports/79823 portmgr Add an ability to depend on versioned ins o [2005/04/12] i386/79840 i386 Partitioning and formating a new disk fai f [2005/04/13] ports/79844 lawrance Update port: net/olsrd o [2005/04/13] ports/79846 oliver unclean courier-authlib deinstall o [2005/04/13] ports/79862 knu portupgrade-20041226_2 has faulty IGNORE o [2005/04/13] docs/79877 doc 'command' command is missing in builtin(1 p [2005/04/13] kern/79884 glebius [PATCH] ng_echo(4) should use "error" fro o [2005/04/13] ports/79885 ports-bugs New Port: security/p5-CSP, a CA managemen o [2005/04/13] threads/79887threads [patch] freopen() isn't thread-safe o [2005/04/14] i386/79890 i386 burncd fails on a Pioneer DVD drive o [2005/04/14] kern/79893 New usbdevs/umass quirks derived from Lin o [2005/04/14] bin/79903 Request to add a new tool: getent(1). o [2005/04/14] ports/79906 clsung [PATCH] www/snownews: unbreak port o [2005/04/14] ports/79917 nork [NEW PORT] java/eclipse-devel: An open ex o [2005/04/15] kern/79944 virtual floppy controller of Virtual PC d o [2005/04/15] ports/79948 petef Update port: devel/libevent to 1.0c o [2005/04/15] ports/79962 sem [MAINTAINER] www/mod_perl2: update to 2.0 o [2005/04/15] bin/79965 top messes up narrow terminals while disp o [2005/04/15] ports/79978 ports-bugs Script error of /usr/ports/chinese/CJK o [2005/04/15] ports/79983 sobomax stund port does not have an rc script o [2005/04/16] kern/79998 bz [PATCH] Give sk(4) VLAN MTU capabilities f [2005/04/16] ports/80001 pav New port: www/mediawiki14 as a clone from o [2005/04/16] ports/80006 vanilla [NEW PORT] www/b2evo: A multilingual, mul f [2005/04/16] ports/80007 ports-bugs New port: net/evaq (QQ IM Client for KDE3 p [2005/04/16] standards/80008delphij Unnecessary requirement of sa_len in getn o [2005/04/16] usb/80010 usb Add support for the AEI USB to LAN adapte o [2005/04/17] ports/80023 portmgr [bsd.port.mk]: make PORTDOCS= * work prop o [2005/04/17] ports/80025 sem new port: comms/smstools o [2005/04/17] kern/80031 [Patch] Remove insque/remque from kernel o [2005/04/17] ports/80037 lioux maintainer-update: net/mldonkey-devel o [2005/04/17] ports/80043 ports-bugs New port: devel/metaEnv CWI MetaEnvironme o [2005/04/18] kern/80048 [patch] support for HP ML110 G2 SATA RAID o [2005/04/18] docs/80052 den Typo in Russian translation of the Handbo o [2005/04/18] ports/80054 port-bugs dns/dnsmasq: dns-servers are started too o [2005/04/18] ports/80055 ports-bugs [NEW PORT] chinese/libiconv: A character o [2005/04/18] bin/80058 adduser -f exits silently if file has emp o [2005/04/18] docs/80070 doc [patch] Wrong dbm_close return value desc o [2005/04/18] i386/80081 i386 Problem loading a NDIS kernel module. o [2005/04/19] i386/80092 i386 PC Cards do not work at all on laptop Com o [2005/04/19] i386/80095 i386 ld-elf.so.1 crashes with executables prod o [2005/04/19] i386/80097 i386 df reports incorrect stats with gmirror o [2005/04/19] ports/80111 ume patch to make WITH_KERBEROS4 working for f [2005/04/19] ports/80113 linimon databases/slony1: add Slony-I rc.d script o [2005/04/19] bin/80117 [patch] [sysinstall] smbfs install option o [2005/04/19] ports/80118 dinoex lang/gcc-objc doesn't compile on -current o [2005/04/19] ports/80121 jedgar update emulators/sim to 3.3.2 o [2005/04/20] ports/80129 ports-bugs First-cut port of cups-pstoraster for esp o [2005/04/20] ports/80132 portmgr [PATCH] bsd.port.mk -- Add support for -j f [2005/04/20] docs/80133 brueffer twe(4) man page typos o [2005/04/20] kern/80137 It is possible to set the same IP on diff f [2005/04/20] ports/80141 novel [PATCH] ftp/ftpmirror: Unbreak, pacify po o [2005/04/20] ports/80143 roam Update port: security/stunnel to 4.09 o [2005/04/20] ports/80145 knu [PATCH] lang/ruby18-perl: Unbreak o [2005/04/20] kern/80147 sound panic with the vibra16x when trying to re o [2005/04/20] kern/80149 sound problems with an soundblaster-8 (original o [2005/04/20] kern/80151 sound Missing PCI-ID o [2005/04/20] kern/80152 sound SIMPLEX flag is not set properly in sound o [2005/04/20] conf/80158 request configuration option for specifin o [2005/04/20] i386/80159 doc rtld(1) mentions "%m" but it's not implem f [2005/04/20] ports/80160 pav [PATCH] lang/pnet: update to 0.6.12, lang f [2005/04/20] ports/80165 ports-bugs [PATCH] x11/xdialog: added options --with f [2005/04/20] ports/80169 vs ports/devel/libusb doesn't require GCC 3. o [2005/04/20] ports/80171 pat [PATCH] games/qstat: update to 2.8 f [2005/04/20] ports/80173 ports-bugs unixstat port broken under FreeBSD 5.3 (b o [2005/04/21] bin/80176 des fetch does not always work with https wit o [2005/04/21] ports/80179 danfe Update nvidia-driver to version 7174. o [2005/04/21] ports/80183 seanc [PATCH] databases/memcached: update to 1. o [2005/04/21] docs/80186 doc Footnote is wrong in the /usr/src/UPDATIN o [2005/04/21] ports/80187 roam devel/libelf master site changed o [2005/04/21] ports/80196 sem [update] games/freeciv to 2.0.0 o [2005/04/21] ports/80197 roam devel/libelf master site changed o [2005/04/21] ports/80200 roam Update port: mail/vpopmail to 5.4.10 o [2005/04/21] ports/80211 ports-bugs [NEW PORT] bruteforceblocker o [2005/04/21] ports/80213 roam misc/rname homepage changed o [2005/04/21] ports/80214 roam Update port: net/libnids to 1.20 o [2005/04/21] ports/80216 '' [Maintainer] databases/mysqlman f [2005/04/21] ports/80219 linimon Chicken $(includedir) its not on the BASE f [2005/04/21] ports/80225 novel [PATCH] www/trac: update to 0.8.1 o [2005/04/22] ports/80226 bms [PATCH] net/ldapbrowser: changed spaces f o [2005/04/22] ports/80227 sobomax net/ser does not have an rc script. It sh o [2005/04/22] ports/80228 gerald lang/gcc34 build/Makefile uses incorrect f [2005/04/22] ports/80233 vs apcupsd does not build if WITH_USB=yes in o [2005/04/22] kern/80234 sound [patch] add entry for Analog Devices AD19 o [2005/04/22] i386/80236 i386 atacontrol outputs minimal usage o [2005/04/22] ports/80237 clement [update] irc/weechat to 0.1.1 o [2005/04/22] ports/80238 roam Update port: security/mhash to 0.9.2 o [2005/04/22] ports/80239 lioux update textproc/libebml to 0.7.4 o [2005/04/22] ports/80240 lioux update multimedia/libmatroska to 0.7.6 o [2005/04/22] ports/80241 lioux update multimedia/mkvtoolnix to 1.4.2 o [2005/04/22] bin/80242 [patch] jail(8) should be able to set ker o [2005/04/22] conf/80244 rc [PATCH] rc.conf + rc.d/jail should enable o [2005/04/22] ports/80247 bms [PATCH] net/ldapbrowser: added in java ca o [2005/04/22] ports/80248 roam Update port: sysutils/safecat to 1.12 o [2005/04/22] ports/80251 ports-bugs New port: devel/mcpp a C/C++ preprocessor s [2005/04/22] ports/80254 ports-bugs update net/poptop and rename to net/pptpd o [2005/04/22] ports/80255 ports-bugs New Port : print/lpr-wrapper A user level o [2005/04/22] bin/80256 /rescue/vi doesn't work without terminal f [2005/04/22] ports/80257 vs [PATCH] Update port: sysutils/smartmontoo o [2005/04/22] bin/80258 [PATCH] Comment why some Binaries are sta o [2005/04/22] i386/80265 i386 D-Link NIC with VIA Rhine II has no carr o [2005/04/23] kern/80269 [PATCH] libtacplus tac_get_av_value will o [2005/04/23] ports/80272 ports-bugs [MAINTAINER] devel/svk: update to 0.992 o [2005/04/23] ports/80274 ports-bugs GDB console problem (ddd-3.3.10 with Free o [2005/04/23] kern/80283 [reboot] SMP problem o [2005/04/23] ports/80284 ports-bugs New port: misc/p5-Asterisk. Asterisk perl s [2005/04/23] ports/80286 knu Please update ruby-fcgi to 0.8.6 o [2005/04/23] ports/80289 lth Update port: net/smokeping to 1.40. o [2005/04/23] ports/80291 anholt repocopy request from xorg-server to x11- o [2005/04/23] www/80292 remko FreeBSD Solution Provider Index o [2005/04/23] kern/80293 sysconf() does not support well-defined u o [2005/04/24] www/80301 remko Remove references to (defunct) freebsd-ne o [2005/04/24] ports/80305 oliver repocopy of mail/courier-authlib o [2005/04/24] ports/80306 gerald Please repocopy lang/gcc40 to lang/gcc41 o [2005/04/24] ports/80307 ports-bugs [PATCH] net/jit: Fixed linking with -lc_r o [2005/04/24] ports/80310 ports-bugs New port: net/ruby-mpi MPI binding for Ru o [2005/04/24] ports/80312 des update port: lang/sbcl to 0.9.0 f [2005/04/25] ports/80316 vs [PATCH] net/xipmsg update o [2005/04/25] ports/80317 ports-bugs update port: mail/imapsync from 1.123 up o [2005/04/25] ports/80318 ports-bugs MAINTAINER UPDATE: security/amavisd-new 2869 problems total. From owner-freebsd-bugs@FreeBSD.ORG Mon Apr 25 12:20:28 2005 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B05C916A4DE for ; Mon, 25 Apr 2005 12:20:28 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 748AB43D53 for ; Mon, 25 Apr 2005 12:20:27 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j3PCKRKd075683 for ; Mon, 25 Apr 2005 12:20:27 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j3PCKRr5075682; Mon, 25 Apr 2005 12:20:27 GMT (envelope-from gnats) Resent-Date: Mon, 25 Apr 2005 12:20:27 GMT Resent-Message-Id: <200504251220.j3PCKRr5075682@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Jan Srzednicki Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9E6AC16A4CE for ; Mon, 25 Apr 2005 12:16:57 +0000 (GMT) Received: from miranda.expro.pl (miranda.expro.pl [193.25.166.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id B7E2643D5C for ; Mon, 25 Apr 2005 12:16:56 +0000 (GMT) (envelope-from winfried@miranda.expro.pl) Received: by miranda.expro.pl (Postfix, from userid 1001) id 68D6E153CA; Mon, 25 Apr 2005 14:16:50 +0200 (CEST) Message-Id: <20050425121650.68D6E153CA@miranda.expro.pl> Date: Mon, 25 Apr 2005 14:16:50 +0200 (CEST) From: Jan Srzednicki To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: kern/80322: TCP socket support broken on a busy port X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Apr 2005 12:20:29 -0000 >Number: 80322 >Category: kern >Synopsis: TCP socket support broken on a busy port >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Apr 25 12:20:26 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Jan Srzednicki >Release: FreeBSD 4.10-RELEASE i386 >Organization: Expro >Environment: System: FreeBSD miranda 4.10-RELEASE FreeBSD 4.10-RELEASE #19: Tue Jan 4 12:11:01 CET 2005 >Description: There appears to be a rather weird problem with TCP sockets implementation. After a server daemon listening on a very busy unprivileged (>1024) port dies (I'm not able to repeat that with a low-usage port), the port is closed as it should, sockstat doesn't show anything listening on it, everything looks fine. But an attempt to bind to that port with UID != 0 results in failure -- EADDRINUSE. Here is a strace snap from a netcat process trying to bind to that port (UID!=0): socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 3 setsockopt(3, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0 setsockopt(3, SOL_SOCKET, SO_REUSEPORT, [1], 4) = 0 bind(3, {sa_family=AF_INET, sin_port=htons(3306), sin_addr=inet_addr("0.0.0.0")}, 16) = -1 EADDRINUSE (Address already in use) But, when I swich to root everything is fine: socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 3 setsockopt(3, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0 setsockopt(3, SOL_SOCKET, SO_REUSEPORT, [1], 4) = 0 bind(3, {sa_family=AF_INET, sin_port=htons(3306), sin_addr=inet_addr("0.0.0.0")}, 16) = 0 listen(3, 1) = 0 (I can repeat that subsequently, once for root, once for user; it's not a timeout issue of any kind) There are no ipfw nor ipf rules on that host. There's no apparent reason why the 3306 port is treated in a different way, provided that in the begining the server daemon started succesfully. So, it appears that the dead server daemon leaves the port in some weird state. Maybe it's some socket cleaning issue. I haven't found any way to fix this behaviour except rebooting that machine. I have checked the CVS tree for RELENG_4, but I haven't found any relevant changes since 4.10-RELEASE in that area. >How-To-Repeat: 1. Get a quite busy machine with a very busy port (SQL port is a good example) 2. Kill the server. Don't let it shutdown cleanly. 3. Try binding to that port first with UID!=0, then with UID==0. >Fix: >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Mon Apr 25 14:34:03 2005 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C718516A4CE; Mon, 25 Apr 2005 14:34:03 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id A0E0143D31; Mon, 25 Apr 2005 14:34:03 +0000 (GMT) (envelope-from ups@FreeBSD.org) Received: from freefall.freebsd.org (ups@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j3PEY3L1091045; Mon, 25 Apr 2005 14:34:03 GMT (envelope-from ups@freefall.freebsd.org) Received: (from ups@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j3PEY3Np091041; Mon, 25 Apr 2005 14:34:03 GMT (envelope-from ups) Date: Mon, 25 Apr 2005 14:34:03 GMT From: Stephan Uphoff Message-Id: <200504251434.j3PEY3Np091041@freefall.freebsd.org> To: ups@FreeBSD.org, freebsd-bugs@FreeBSD.org, ups@FreeBSD.org Subject: Re: kern/80321: serial db problems X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Apr 2005 14:34:03 -0000 Synopsis: serial db problems Responsible-Changed-From-To: freebsd-bugs->ups Responsible-Changed-By: ups Responsible-Changed-When: Mon Apr 25 14:33:12 GMT 2005 Responsible-Changed-Why: This is my kgdb week. http://www.freebsd.org/cgi/query-pr.cgi?pr=80321 From owner-freebsd-bugs@FreeBSD.ORG Mon Apr 25 14:49:08 2005 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8943616A4CE for ; Mon, 25 Apr 2005 14:49:08 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.198]) by mx1.FreeBSD.org (Postfix) with ESMTP id C6BBA43D2D for ; Mon, 25 Apr 2005 14:49:07 +0000 (GMT) (envelope-from sakisp@gmail.com) Received: by wproxy.gmail.com with SMTP id 67so1964187wri for ; Mon, 25 Apr 2005 07:49:06 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=OZkyE7Au1jUZAg22e0uyiNcoyScQuH9pS6AYiYtPvnpWDnn5P5jiBCDH6H/fR6cdEyr3BCAqw3J0usPPNCQDZfD0DO6ev/6POWr6CcTFt5E0OC49RjzBIX59imZ6GyEMqW3OtjcEMa6ahcfjAnXfi/2BIn9ei/4EpvJxHPx+PBI= Received: by 10.54.39.35 with SMTP id m35mr1904527wrm; Mon, 25 Apr 2005 07:49:06 -0700 (PDT) Received: by 10.54.80.20 with HTTP; Mon, 25 Apr 2005 07:49:06 -0700 (PDT) Message-ID: Date: Mon, 25 Apr 2005 17:49:06 +0300 From: Sakis To: freebsd-bugs@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: sh bind -l coredumps in FreeBSD 5.4-RC3 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Sakis List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Apr 2005 14:49:08 -0000 Using sh i tried bind -l to listdown key bindings. It listed some and core-dumped before finished. Same happens with clean FreeBSD 5.4-RC3 instalation with no further configuration. From owner-freebsd-bugs@FreeBSD.ORG Mon Apr 25 15:50:23 2005 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 409B216A4CE for ; Mon, 25 Apr 2005 15:50:23 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 24C9743D31 for ; Mon, 25 Apr 2005 15:50:23 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j3PFoNFU098502 for ; Mon, 25 Apr 2005 15:50:23 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j3PFoM17098501; Mon, 25 Apr 2005 15:50:22 GMT (envelope-from gnats) Date: Mon, 25 Apr 2005 15:50:22 GMT Message-Id: <200504251550.j3PFoM17098501@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Pawel Malachowski Subject: Re: kern/80322: TCP socket support broken on a busy port X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Pawel Malachowski List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Apr 2005 15:50:23 -0000 The following reply was made to PR kern/80322; it has been noted by GNATS. From: Pawel Malachowski To: Jan Srzednicki Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: kern/80322: TCP socket support broken on a busy port Date: Mon, 25 Apr 2005 17:42:57 +0200 On Mon, Apr 25, 2005 at 02:16:50PM +0200, Jan Srzednicki wrote: > After a server daemon listening on a very busy unprivileged (>1024) port > dies (I'm not able to repeat that with a low-usage port), the port is > closed as it should, sockstat doesn't show anything listening on it, > everything looks fine. But an attempt to bind to that port with UID != 0 > results in failure -- EADDRINUSE. Hm, I saw behaviour like this on 4.8 machine running some shoutcast server; after killing radio process it was unable to bind to port as if it was already open (nothing was listening on it) but after a minute or so it was able to bind again. I've never investigated this. -- Pawe³ Ma³achowski From owner-freebsd-bugs@FreeBSD.ORG Mon Apr 25 16:30:24 2005 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3F8A916A4CE for ; Mon, 25 Apr 2005 16:30:24 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 24EC443D4C for ; Mon, 25 Apr 2005 16:30:24 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j3PGUOPe004284 for ; Mon, 25 Apr 2005 16:30:24 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j3PGUO1q004283; Mon, 25 Apr 2005 16:30:24 GMT (envelope-from gnats) Date: Mon, 25 Apr 2005 16:30:24 GMT Message-Id: <200504251630.j3PGUO1q004283@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: "Matthew D. Fuller" Subject: Re: kern/80322: TCP socket support broken on a busy port X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: "Matthew D. Fuller" List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Apr 2005 16:30:24 -0000 The following reply was made to PR kern/80322; it has been noted by GNATS. From: "Matthew D. Fuller" To: FreeBSD-gnats-submit@freebsd.org Cc: Subject: Re: kern/80322: TCP socket support broken on a busy port Date: Mon, 25 Apr 2005 11:21:28 -0500 On Mon, Apr 25, 2005 at 03:50:22PM +0000 I heard the voice of Pawel Malachowski, and lo! it spake thus: > > Hm, I saw behaviour like this on 4.8 machine running some shoutcast > server; after killing radio process it was unable to bind to port > as if it was already open (nothing was listening on it) but after a > minute or so it was able to bind again. I've never investigated > this. This is where the SO_REUSEADDR setsockopt() comes into play. -- Matthew Fuller (MF4839) | fullermd@over-yonder.net Systems/Network Administrator | http://www.over-yonder.net/~fullermd/ On the Internet, nobody can hear you scream. From owner-freebsd-bugs@FreeBSD.ORG Mon Apr 25 16:30:28 2005 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D448B16A4CE for ; Mon, 25 Apr 2005 16:30:28 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id A6B7143D1F for ; Mon, 25 Apr 2005 16:30:28 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j3PGUSa2004317 for ; Mon, 25 Apr 2005 16:30:28 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j3PGUSoo004315; Mon, 25 Apr 2005 16:30:28 GMT (envelope-from gnats) Date: Mon, 25 Apr 2005 16:30:28 GMT Message-Id: <200504251630.j3PGUSoo004315@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Bill Fenner Subject: Re: kern/80322: TCP socket support broken on a busy port X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Bill Fenner List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Apr 2005 16:30:29 -0000 The following reply was made to PR kern/80322; it has been noted by GNATS. From: Bill Fenner To: w@expro.pl Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: kern/80322: TCP socket support broken on a busy port Date: Mon, 25 Apr 2005 09:24:38 -0700 Are you using SO_REUSEADDR (in both the process that dies and the new process that tries to bind)? Does netstat show the socket in TIME_WAIT? From owner-freebsd-bugs@FreeBSD.ORG Mon Apr 25 17:56:43 2005 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 43BC016A4CE; Mon, 25 Apr 2005 17:56:43 +0000 (GMT) Received: from vsmtp1.tin.it (vsmtp1.tin.it [212.216.176.141]) by mx1.FreeBSD.org (Postfix) with ESMTP id B3BC443D62; Mon, 25 Apr 2005 17:56:42 +0000 (GMT) (envelope-from rionda@gufi.org) Received: from kaiser.sig11.org (82.50.113.217) by vsmtp1.tin.it (7.0.027) id 425D1508004E4F45; Mon, 25 Apr 2005 19:56:40 +0200 Received: by kaiser.sig11.org (Postfix, from userid 1000) id 6950360F9; Mon, 25 Apr 2005 19:56:40 +0200 (CEST) Date: Mon, 25 Apr 2005 19:56:40 +0200 From: Matteo Riondato To: "Wojciech A. Koszek" Message-ID: <20050425175640.GB846@kaiser.sig11.org> References: <200504240700.j3O70dtX005273@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="FCuugMFkClbJLl1L" Content-Disposition: inline In-Reply-To: <200504240700.j3O70dtX005273@freefall.freebsd.org> User-Agent: Mutt/1.4.2.1i cc: freebsd-doc@FreeBSD.org cc: freebsd-bugs@freebsd.org Subject: Re: docs/80290: [PATCH] "nonfs" instead of "nfs" in mount.8 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Apr 2005 17:56:43 -0000 --FCuugMFkClbJLl1L Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Apr 24, 2005 at 07:00:39AM +0000, Wojciech A. Koszek wrote: > The following reply was made to PR docs/80290; it has been noted by GNATS. >=20 > From: "Wojciech A. Koszek" > To: bug-followup@FreeBSD.org > Cc: =20 > Subject: Re: docs/80290: [PATCH] "nonfs" instead of "nfs" in mount.8 > Date: Sun, 24 Apr 2005 07:09:07 +0000 >=20 > On Sun, Apr 24, 2005 at 02:57:27AM +0000, Jesus R. Camou wrote: > > Synopsis: [PATCH] "nonfs" instead of "nfs" in mount.8 > >=20 > > State-Changed-From-To: open->closed=20 > > State-Changed-By: jcamou > > State-Changed-When: Sun Apr 24 02:55:58 GMT 2005 > > State-Changed-Why:=20 > > This is not a typo, nonfs is the intended word. > >=20 > > http://www.freebsd.org/cgi/query-pr.cgi?pr=3D80290 > =20 > Hello, > =20 > I was thinking about this mistake, and it seems I've posted > wrong patch. I mean I know "nonfs" is correct, but we should > have also "nonullfs", since neither NFS nor NULLFS has to be > mounted. Yes, this is correct. The PR should be reopened with a correct synopsis or you should open a new PR. Thank you. Best Regards --=20 Rionda aka Matteo Riondato Disinformato per default G.U.F.I. Staff Member (http://www.gufi.org) FreeSBIE Developer (http://www.freesbie.org) --FCuugMFkClbJLl1L Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFCbS9Y2Mp4pR7Fa+wRAiNwAKDIRomvtX1DGmM61oJtkRYa6YablACfVXvC oQSKkXfeD7GVx5qIWohlcD8= =he+J -----END PGP SIGNATURE----- --FCuugMFkClbJLl1L-- From owner-freebsd-bugs@FreeBSD.ORG Mon Apr 25 19:17:26 2005 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9494E16A4CE; Mon, 25 Apr 2005 19:17:26 +0000 (GMT) Received: from mail.farley.org (farley.org [67.64.95.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id F1EAE43D69; Mon, 25 Apr 2005 19:17:25 +0000 (GMT) (envelope-from sean-freebsd@farley.org) Received: from thor.farley.org (thor.farley.org [IPv6:2001:470:1f01:290:1::5]) by mail.farley.org (8.13.1/8.13.1) with ESMTP id j3PJHNAc008996; Mon, 25 Apr 2005 14:17:23 -0500 (CDT) (envelope-from sean-freebsd@farley.org) Received: from localhost (localhost [127.0.0.1]) by thor.farley.org (8.13.3/8.13.3) with ESMTP id j3PJHSfR026643; Mon, 25 Apr 2005 14:17:28 -0500 (CDT) (envelope-from sean-freebsd@farley.org) Date: Mon, 25 Apr 2005 14:17:28 -0500 (CDT) From: =?ISO-8859-1?Q?Se=E1n_C=2E_Farley?= To: David Xu In-Reply-To: <4264C33B.8020207@freebsd.org> Message-ID: <20050425141315.I25522@thor.farley.org> References: <200502210120.j1L1KIM3024205@freefall.freebsd.org> <20050418155836.L11216@thor.farley.org> <4264C33B.8020207@freebsd.org> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-583420044-1114456648=:25522" cc: freebsd-bugs@freebsd.org cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: gnu/77818: GDB locks in wait4() when running applications X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Apr 2005 19:17:26 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-583420044-1114456648=:25522 Content-Type: TEXT/PLAIN; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE On Tue, 19 Apr 2005, David Xu wrote: > I have commited a fix to -CURRENT, don't know if it will fix the > problem you have seen, but it is worth to try. > > David Xu > > Se=E1n C. Farley wrote: > >> I finally compiled Zsh with debugging and got the following trace. I >> ran it by the following line: >> LD_LIBRARY_PATH=3D/tmp/libc SHELL=3D/bin/sh gdb /usr/local/bin/zsh >>=20 >> Program received signal SIGINT, Interrupt. >> 0x281a9efb in sigsuspend () from /lib/libc.so.5 >> (gdb) where >> #0 0x281a9cfb in sigsuspend () at sigsuspend.S:2 >> #1 0x280e07dc in signal_suspend (sig=3D20, sig2=3D2) at signals.c:367 >> #2 0x280b92e8 in waitforpid (pid=3D11195) at jobs.c:1120 >> #3 0x280a3dda in getoutput (cmd=3D0x8060e5c "uname -s", qt=3D1) at exec= =2Ec:2869 >> #4 0x280e2a0c in stringsubst (list=3D0xbfbfe7c0, node=3D0xbfbfe7d0, ssu= b=3D4, >> asssub=3D0) at subst.c:189 >> #5 0x280e2378 in prefork (list=3D0xbfbfe7c0, flags=3D6) at subst.c:74 >> #6 0x280a0886 in addvars (state=3D0xbfbfe880, pc=3D0xbfbfe7c0, export= =3D0) >> at exec.c:1614 >> #7 0x2809ec5d in execsimple (state=3D0x1) at exec.c:802 >> #8 0x2809edb7 in execlist (state=3D0xbfbfe880, dont_change_job=3D0, exi= ting=3D0) >> at exec.c:855 >> #9 0x2809eb9a in execode (p=3D0x80608e0, dont_change_job=3D0, exiting= =3D0) >> at exec.c:775 >> #10 0x280b3a8a in loop (toplevel=3D0, justonce=3D0) at init.c:165 >> #11 0x280b58b8 in source (s=3D0xbfbfe950 "/root/.zshenv") at init.c:1043 >> #12 0x280b5b1c in sourcehome (s=3D0x280f458d ".zshenv") at init.c:1088 >> #13 0x280b54e7 in run_init_scripts () at init.c:937 >> #14 0x280b63da in zsh_main (argc=3D1, argv=3D0xbfbfeac0) at init.c:1262 >> #15 0x08048583 in main (argc=3D1, argv=3D0xbfbfeac0) at ./main.c:93 >>=20 >> I hope this can help find the problem. Would you happen to have a patch to -STABLE for the fix? I looked at some of the code you committed recently and was unsure of what fix(es) needed to be made to test it. A few of the changes did not look like they matched easily to -STABLE. Thank you. Se=E1n --=20 sean-freebsd@farley.org --0-583420044-1114456648=:25522-- From owner-freebsd-bugs@FreeBSD.ORG Mon Apr 25 19:20:16 2005 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B15B616A4D0 for ; Mon, 25 Apr 2005 19:20:16 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5F8F943D4C for ; Mon, 25 Apr 2005 19:20:16 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j3PJKGKr025327 for ; Mon, 25 Apr 2005 19:20:16 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j3PJKGDk025326; Mon, 25 Apr 2005 19:20:16 GMT (envelope-from gnats) Date: Mon, 25 Apr 2005 19:20:16 GMT Message-Id: <200504251920.j3PJKGDk025326@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: =?ISO-8859-1?Q?Se=E1n_C=2E_Farley?= Subject: Re: gnu/77818: GDB locks in wait4() when running applications X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: =?ISO-8859-1?Q?Se=E1n_C=2E_Farley?= List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Apr 2005 19:20:16 -0000 The following reply was made to PR gnu/77818; it has been noted by GNATS. From: =?ISO-8859-1?Q?Se=E1n_C=2E_Farley?= To: David Xu Cc: FreeBSD-gnats-submit@freebsd.org, freebsd-bugs@freebsd.org Subject: Re: gnu/77818: GDB locks in wait4() when running applications Date: Mon, 25 Apr 2005 14:17:28 -0500 (CDT) This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-583420044-1114456648=:25522 Content-Type: TEXT/PLAIN; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE On Tue, 19 Apr 2005, David Xu wrote: > I have commited a fix to -CURRENT, don't know if it will fix the > problem you have seen, but it is worth to try. > > David Xu > > Se=E1n C. Farley wrote: > >> I finally compiled Zsh with debugging and got the following trace. I >> ran it by the following line: >> LD_LIBRARY_PATH=3D/tmp/libc SHELL=3D/bin/sh gdb /usr/local/bin/zsh >>=20 >> Program received signal SIGINT, Interrupt. >> 0x281a9efb in sigsuspend () from /lib/libc.so.5 >> (gdb) where >> #0 0x281a9cfb in sigsuspend () at sigsuspend.S:2 >> #1 0x280e07dc in signal_suspend (sig=3D20, sig2=3D2) at signals.c:367 >> #2 0x280b92e8 in waitforpid (pid=3D11195) at jobs.c:1120 >> #3 0x280a3dda in getoutput (cmd=3D0x8060e5c "uname -s", qt=3D1) at exec= =2Ec:2869 >> #4 0x280e2a0c in stringsubst (list=3D0xbfbfe7c0, node=3D0xbfbfe7d0, ssu= b=3D4, >> asssub=3D0) at subst.c:189 >> #5 0x280e2378 in prefork (list=3D0xbfbfe7c0, flags=3D6) at subst.c:74 >> #6 0x280a0886 in addvars (state=3D0xbfbfe880, pc=3D0xbfbfe7c0, export= =3D0) >> at exec.c:1614 >> #7 0x2809ec5d in execsimple (state=3D0x1) at exec.c:802 >> #8 0x2809edb7 in execlist (state=3D0xbfbfe880, dont_change_job=3D0, exi= ting=3D0) >> at exec.c:855 >> #9 0x2809eb9a in execode (p=3D0x80608e0, dont_change_job=3D0, exiting= =3D0) >> at exec.c:775 >> #10 0x280b3a8a in loop (toplevel=3D0, justonce=3D0) at init.c:165 >> #11 0x280b58b8 in source (s=3D0xbfbfe950 "/root/.zshenv") at init.c:1043 >> #12 0x280b5b1c in sourcehome (s=3D0x280f458d ".zshenv") at init.c:1088 >> #13 0x280b54e7 in run_init_scripts () at init.c:937 >> #14 0x280b63da in zsh_main (argc=3D1, argv=3D0xbfbfeac0) at init.c:1262 >> #15 0x08048583 in main (argc=3D1, argv=3D0xbfbfeac0) at ./main.c:93 >>=20 >> I hope this can help find the problem. Would you happen to have a patch to -STABLE for the fix? I looked at some of the code you committed recently and was unsure of what fix(es) needed to be made to test it. A few of the changes did not look like they matched easily to -STABLE. Thank you. Se=E1n --=20 sean-freebsd@farley.org --0-583420044-1114456648=:25522-- From owner-freebsd-bugs@FreeBSD.ORG Mon Apr 25 20:00:44 2005 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D781E16A4D8 for ; Mon, 25 Apr 2005 20:00:44 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id BF21A43D6D for ; Mon, 25 Apr 2005 20:00:38 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j3PK0cO3027224 for ; Mon, 25 Apr 2005 20:00:38 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j3PK0cUG027218; Mon, 25 Apr 2005 20:00:38 GMT (envelope-from gnats) Resent-Date: Mon, 25 Apr 2005 20:00:38 GMT Resent-Message-Id: <200504252000.j3PK0cUG027218@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Andrew Alston Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 54EBE16A4FE for ; Mon, 25 Apr 2005 19:56:17 +0000 (GMT) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2711943D5F for ; Mon, 25 Apr 2005 19:56:17 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j3PJuGwA037676 for ; Mon, 25 Apr 2005 19:56:16 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id j3PJuG1j037675; Mon, 25 Apr 2005 19:56:16 GMT (envelope-from nobody) Message-Id: <200504251956.j3PJuG1j037675@www.freebsd.org> Date: Mon, 25 Apr 2005 19:56:16 GMT From: Andrew Alston To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: kern/80340: V6 was not supported through GRE tunnels X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Apr 2005 20:00:45 -0000 >Number: 80340 >Category: kern >Synopsis: V6 was not supported through GRE tunnels >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Mon Apr 25 20:00:38 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Andrew Alston >Release: 5.4-RC3 >Organization: University of Cape Town >Environment: FreeBSD vpn.its.uct.ac.za 5.4-RC3 FreeBSD 5.4-RC3 #7: Sat Apr 23 19:35:02 SAST 2005 root@vpn.its.uct.ac.za:/usr/obj/usr/src/sys/VPN i386 >Description: V6 was not supported on the if_gre interface under FreeBSD, the patch submitted is a modified version of the patch used in NetBSD with some minor changes to generate ip_id's when transmitting v6 over GRE. >How-To-Repeat: Not a problem - an update >Fix: >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Mon Apr 25 23:27:24 2005 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0126416A4CE; Mon, 25 Apr 2005 23:27:24 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id C61FF43D2D; Mon, 25 Apr 2005 23:27:23 +0000 (GMT) (envelope-from davidxu@freebsd.org) Received: from [127.0.0.1] (davidxu@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j3PNRMTg052552; Mon, 25 Apr 2005 23:27:22 GMT (envelope-from davidxu@freebsd.org) Message-ID: <426D7CE3.4080608@freebsd.org> Date: Tue, 26 Apr 2005 07:27:31 +0800 From: David Xu User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.7.5) Gecko/20050402 X-Accept-Language: en-us, en MIME-Version: 1.0 To: =?ISO-8859-1?Q?=22Se=E1n_C=2E_Farley=22?= References: <200502210120.j1L1KIM3024205@freefall.freebsd.org> <20050418155836.L11216@thor.farley.org> <4264C33B.8020207@freebsd.org> <20050425141315.I25522@thor.farley.org> In-Reply-To: <20050425141315.I25522@thor.farley.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit cc: freebsd-bugs@freebsd.org cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: gnu/77818: GDB locks in wait4() when running applications X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Apr 2005 23:27:24 -0000 Seán C. Farley wrote: > > Would you happen to have a patch to -STABLE for the fix? I looked at > some of the code you committed recently and was unsure of what fix(es) > needed to be made to test it. A few of the changes did not look like > they matched easily to -STABLE. > > Thank you. > > Seán It was MFCed onto -STABLE. From owner-freebsd-bugs@FreeBSD.ORG Mon Apr 25 23:30:16 2005 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DC66716A4CE for ; Mon, 25 Apr 2005 23:30:16 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9AAE643D46 for ; Mon, 25 Apr 2005 23:30:16 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j3PNUGIU052631 for ; Mon, 25 Apr 2005 23:30:16 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j3PNUGg4052630; Mon, 25 Apr 2005 23:30:16 GMT (envelope-from gnats) Resent-Date: Mon, 25 Apr 2005 23:30:16 GMT Resent-Message-Id: <200504252330.j3PNUGg4052630@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Wojciech A. Koszek" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 56A4416A4CE for ; Mon, 25 Apr 2005 23:22:46 +0000 (GMT) Received: from freebsd.czest.pl (silver.iplus.pl [80.48.250.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id F38EC43D3F for ; Mon, 25 Apr 2005 23:22:44 +0000 (GMT) (envelope-from dunstan@freebsd.czest.pl) Received: from freebsd.czest.pl (freebsd.czest.pl [80.48.250.4]) by freebsd.czest.pl (8.12.10/8.12.9) with ESMTP id j3PNWGMG003381 for ; Mon, 25 Apr 2005 23:32:16 GMT (envelope-from dunstan@freebsd.czest.pl) Received: (from dunstan@localhost) by freebsd.czest.pl (8.12.10/8.12.9/Submit) id j3PNWGLG003380; Mon, 25 Apr 2005 23:32:16 GMT (envelope-from dunstan) Message-Id: <200504252332.j3PNWGLG003380@freebsd.czest.pl> Date: Mon, 25 Apr 2005 23:32:16 GMT From: "Wojciech A. Koszek" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: bin/80346: [PATCH] Misuse of el_init() can lead multiple programs to SIGSEGV X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: "Wojciech A. Koszek" List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Apr 2005 23:30:17 -0000 >Number: 80346 >Category: bin >Synopsis: [PATCH] Misuse of el_init() can lead multiple programs to SIGSEGV >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Apr 25 23:30:15 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Wojciech A. Koszek >Release: FreeBSD 5.3-RELEASE-p5 i386 >Organization: >Environment: System: FreeBSD dunstan.freebsd.czest.pl 5.3-RELEASE-p5 FreeBSD 5.3-RELEASE-p5 #4: Sun Mar 6 10:50:43 CET 2005 dunstan@ho:/usr/obj/usr/src/sys/HOME7 i386 >Description: There is a problem in multiple programs which make use of editline library which may lead software to crash. Code placed in sys/kern/tty.c makes it possible to set TTY size to arbitrary values. Number of rows and columns is kept in unsigned short variables. Setting the biggest values for those variables is possible with stty(1): $ stty rows -1 $ stty columns -1 After running applications with changed terminal size, further allocations are done on given (very big) size. Allocation may not succeed and applications which don't check return value of el_init() continue executing, and thus, get SIGSEGV. This problem may have security implications -- programs linked with editline run with raised privileges (lpc). Known problems: src/usr.sbin/lpr/lpc/lpc.c [..] if (!el) { el = el_init("lpc", stdin, stdout, stderr); hist = history_init(); history(hist, &he, H_EVENT, 100); el_set(el, EL_HIST, history, hist); [..] src/usr.bin/tftp/main.c: [..] vrbose = isatty(0); if (vrbose) { el = el_init("tftp", stdin, stdout, stderr); hist = history_init(); } [..] src/usr.sbin/cdcontrol/cdcontrol.c [..] if (!el) { el = el_init("cdcontrol", stdin, stdout, stderr); hist = history_init(); history(hist, &he, H_EVENT, 100); [..] src/usr.sbin/pppctl/pppctl.c [..] history(td.hist, &hev, H_SETSIZE, size); td.edit = el_init("pppctl", stdin, stdout, stderr); [..] ..and probably more. >How-To-Repeat: Preparation: dunstan@dunstan:(~)$ stty rows -1 dunstan@dunstan:(~)$ stty columns -1 dunstan@dunstan:(~)$ stty -a | head -1 speed 38400 baud; 65535 rows; 65535 columns; dunstan@dunstan:(~)$ lpc zsh: segmentation fault lpc >Fix: *Library* fix el_init() should check result of term_init() and return NULL if term_init() returned -1. Every application has to be corrected separately to properly handle return value of el_init(). --- diff.0.el.c begins here --- --- /usr/src/lib/libedit/el.c Tue Apr 26 00:51:51 2005 +++ src/lib/libedit/el.c Tue Apr 26 01:01:20 2005 @@ -74,14 +74,21 @@ el_init(const char *prog, FILE *fin, FIL el->el_infd = fileno(fin); el->el_outfile = fout; el->el_errfile = ferr; - el->el_prog = strdup(prog); + if ((el->el_prog = strdup(prog)) == NULL) { + el_free(el); + return (NULL); + } /* * Initialize all the modules. Order is important!!! */ el->el_flags = 0; - (void) term_init(el); + if (term_init(el) == -1) { + free(el->el_prog); + el_free(el); + return (NULL); + } (void) key_init(el); (void) map_init(el); if (tty_init(el) == -1) --- diff.0.el.c ends here --- >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Mon Apr 25 23:30:20 2005 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B242416A4D0 for ; Mon, 25 Apr 2005 23:30:20 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8143F43D31 for ; Mon, 25 Apr 2005 23:30:20 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j3PNUKrk052695 for ; Mon, 25 Apr 2005 23:30:20 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j3PNUKOG052693; Mon, 25 Apr 2005 23:30:20 GMT (envelope-from gnats) Date: Mon, 25 Apr 2005 23:30:20 GMT Message-Id: <200504252330.j3PNUKOG052693@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: David Xu Subject: Re: gnu/77818: GDB locks in wait4() when running applications X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: David Xu List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Apr 2005 23:30:20 -0000 The following reply was made to PR gnu/77818; it has been noted by GNATS. From: David Xu To: =?ISO-8859-1?Q?=22Se=E1n_C=2E_Farley=22?= Cc: freebsd-bugs@freebsd.org, FreeBSD-gnats-submit@freebsd.org Subject: Re: gnu/77818: GDB locks in wait4() when running applications Date: Tue, 26 Apr 2005 07:27:31 +0800 Seán C. Farley wrote: > > Would you happen to have a patch to -STABLE for the fix? I looked at > some of the code you committed recently and was unsure of what fix(es) > needed to be made to test it. A few of the changes did not look like > they matched easily to -STABLE. > > Thank you. > > Seán It was MFCed onto -STABLE. From owner-freebsd-bugs@FreeBSD.ORG Mon Apr 25 23:40:18 2005 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5661516A4CE for ; Mon, 25 Apr 2005 23:40:18 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id D5EE443D39 for ; Mon, 25 Apr 2005 23:40:17 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j3PNeHrW053964 for ; Mon, 25 Apr 2005 23:40:17 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j3PNeHoS053961; Mon, 25 Apr 2005 23:40:17 GMT (envelope-from gnats) Resent-Date: Mon, 25 Apr 2005 23:40:17 GMT Resent-Message-Id: <200504252340.j3PNeHoS053961@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Wojciech A. Koszek" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B534F16A4CE for ; Mon, 25 Apr 2005 23:34:11 +0000 (GMT) Received: from freebsd.czest.pl (silver.iplus.pl [80.48.250.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id CB3CB43D2D for ; Mon, 25 Apr 2005 23:34:10 +0000 (GMT) (envelope-from dunstan@freebsd.czest.pl) Received: from freebsd.czest.pl (freebsd.czest.pl [80.48.250.4]) by freebsd.czest.pl (8.12.10/8.12.9) with ESMTP id j3PNhhMG003502 for ; Mon, 25 Apr 2005 23:43:43 GMT (envelope-from dunstan@freebsd.czest.pl) Received: (from dunstan@localhost) by freebsd.czest.pl (8.12.10/8.12.9/Submit) id j3PNhgar003501; Mon, 25 Apr 2005 23:43:43 GMT (envelope-from dunstan) Message-Id: <200504252343.j3PNhgar003501@freebsd.czest.pl> Date: Mon, 25 Apr 2005 23:43:43 GMT From: "Wojciech A. Koszek" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: bin/80348: rs(1) handles command line arguments improperly (SIGSEGV) X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: "Wojciech A. Koszek" List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Apr 2005 23:40:18 -0000 >Number: 80348 >Category: bin >Synopsis: rs(1) handles command line arguments improperly (SIGSEGV) >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Apr 25 23:40:17 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Wojciech A. Koszek >Release: FreeBSD 5.4-STABLE i386 >Organization: >Environment: System: FreeBSD dunstan.freebsd.czest.pl 5.4-STABLE FreeBSD 5.4-STABLE #8: Sat Apr 16 16:26:40 CEST 2005 dunstan@dunstan.freebsd.czest.pl:/usr/obj/usr/src/sys/HOME8 i386 >Description: rs(1) takes number of rows and columns from command line. Due the lack of validity checking, it has problems with handling malicious values. >How-To-Repeat: $ echo test | rs 1 -99999999999 zsh: done echo test | zsh: segmentation fault (core dumped) rs 1 -99999999999 Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-marcel-freebsd"... Core was generated by `rs'. Program terminated with signal 11, Segmentation fault. Reading symbols from /lib/libc.so.5...done. Loaded symbols for /lib/libc.so.5 Reading symbols from /libexec/ld-elf.so.1...done. Loaded symbols for /libexec/ld-elf.so.1 #0 0x0804936b in prepfile () at /usr/src/usr.bin/rs/rs.c:324 324 colwidths[ocols - 1] = 0; (gdb) bt #0 0x0804936b in prepfile () at /usr/src/usr.bin/rs/rs.c:324 #1 0x0804891c in main (argc=3, argv=0xbfbfe420) at /usr/src/usr.bin/rs/rs.c:122 (gdb) f 0 #0 0x0804936b in prepfile () at /usr/src/usr.bin/rs/rs.c:324 324 colwidths[ocols - 1] = 0; (gdb) f 1 #1 0x0804891c in main (argc=3, argv=0xbfbfe420) at /usr/src/usr.bin/rs/rs.c:122 122 prepfile(); (gdb) l 117 getfile(); 118 if (flags & SHAPEONLY) { 119 printf("%d %d\n", irows, icols); 120 exit(0); 121 } 122 prepfile(); 123 putfile(); 124 exit(0); 125 } 126 (gdb) f 0 #0 0x0804936b in prepfile () at /usr/src/usr.bin/rs/rs.c:324 324 colwidths[ocols - 1] = 0; (gdb) list 319 colwidths[i] = colw; 320 if (!(flags & NOTRIMENDCOL)) { 321 if (flags & RIGHTADJUST) 322 colwidths[0] -= gutter; 323 else 324 colwidths[ocols - 1] = 0; 325 } 326 n = orows * ocols; 327 if (n > nelem && (flags & RECYCLE)) 328 nelem = n; (gdb) quit >Fix: >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Tue Apr 26 00:40:20 2005 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7625C16A4CE for ; Tue, 26 Apr 2005 00:40:20 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5BD7E43D46 for ; Tue, 26 Apr 2005 00:40:20 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j3Q0eKkq060690 for ; Tue, 26 Apr 2005 00:40:20 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j3Q0eKuP060689; Tue, 26 Apr 2005 00:40:20 GMT (envelope-from gnats) Date: Tue, 26 Apr 2005 00:40:20 GMT Message-Id: <200504260040.j3Q0eKuP060689@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Giorgos Keramidas Subject: Re: kern/80340: V6 was not supported through GRE tunnels X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Giorgos Keramidas List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Apr 2005 00:40:20 -0000 The following reply was made to PR kern/80340; it has been noted by GNATS. From: Giorgos Keramidas To: Andrew Alston Cc: bug-followup@freebsd.org Subject: Re: kern/80340: V6 was not supported through GRE tunnels Date: Tue, 26 Apr 2005 03:30:56 +0300 On 2005-04-25 19:56, Andrew Alston wrote: > V6 was not supported on the if_gre interface under FreeBSD, the patch > submitted is a modified version of the patch used in NetBSD with some > minor changes to generate ip_id's when transmitting v6 over GRE. There was no patch attached. Can you post a followup with the patch included inline or a URI where the patch can be downloaded from, please? Thanks, Giorgos From owner-freebsd-bugs@FreeBSD.ORG Tue Apr 26 05:10:19 2005 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A2DEA16A4CE for ; Tue, 26 Apr 2005 05:10:19 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5CED543D2D for ; Tue, 26 Apr 2005 05:10:19 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j3Q5AJmj098007 for ; Tue, 26 Apr 2005 05:10:19 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j3Q5AIm9098006; Tue, 26 Apr 2005 05:10:18 GMT (envelope-from gnats) Date: Tue, 26 Apr 2005 05:10:18 GMT Message-Id: <200504260510.j3Q5AIm9098006@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Andrew Alston Subject: Re: kern/80340: [patch] [if_gre] V6 support through GRE tunnels X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Andrew Alston List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Apr 2005 05:10:19 -0000 The following reply was made to PR kern/80340; it has been noted by GNATS. From: Andrew Alston To: bug-followup@FreeBSD.org, aalston@its.uct.ac.za Cc: Subject: Re: kern/80340: [patch] [if_gre] V6 support through GRE tunnels Date: Tue, 26 Apr 2005 07:05:08 +0200 Hey, sorry about this! Dunno what happened there, I've incldued the patch inline below: --- Patch follows --- diff -ruN sys/net.bak/if_gre.c sys/net/if_gre.c --- sys/net.bak/if_gre.c Mon Apr 25 21:29:50 2005 +++ sys/net/if_gre.c Mon Apr 25 21:30:24 2005 @@ -39,7 +39,6 @@ /* * Encapsulate L3 protocols into IP - * See RFC 1701 and 1702 for more details. * If_gre is compatible with Cisco GRE tunnels, so you can * have a NetBSD box as the other end of a tunnel interface of a Cisco * router. See gre(4) for more details. @@ -230,6 +229,8 @@ struct gre_softc *sc = ifp->if_softc; struct greip *gh; struct ip *ip; + u_short ip_id = 0; + u_int8_t ip_tos = 0; u_int16_t etype = 0; struct mobile_h mob_h; @@ -338,6 +339,8 @@ switch (dst->sa_family) { case AF_INET: ip = mtod(m, struct ip *); + ip_tos = ip->ip_tos; + ip_id = ip->ip_id; etype = ETHERTYPE_IP; break; #ifdef NETATALK @@ -345,6 +348,12 @@ etype = ETHERTYPE_ATALK; break; #endif +#ifdef INET6 + case AF_INET6: + ip_id = ip_newid(); + etype = ETHERTYPE_IPV6; + break; +#endif default: _IF_DROP(&ifp->if_snd); m_freem(m); @@ -379,8 +388,8 @@ ((struct ip*)gh)->ip_v = IPPROTO_IPV4; ((struct ip*)gh)->ip_hl = (sizeof(struct ip)) >> 2; ((struct ip*)gh)->ip_ttl = GRE_TTL; - ((struct ip*)gh)->ip_tos = ip->ip_tos; - ((struct ip*)gh)->ip_id = ip->ip_id; + ((struct ip*)gh)->ip_tos = ip_tos; + ((struct ip*)gh)->ip_id = ip_id; gh->gi_len = m->m_pkthdr.len; } @@ -457,6 +466,9 @@ switch (ifr->ifr_addr.sa_family) { #ifdef INET case AF_INET: + break; +#endif +#ifdef INET6 case AF_INET6: break; #endif default: diff -ruN sys/netinet.bak/ip_gre.c sys/netinet/ip_gre.c --- sys/netinet.bak/ip_gre.c Mon Apr 25 21:29:54 2005 +++ sys/netinet/ip_gre.c Mon Apr 25 21:30:35 2005 @@ -45,6 +45,7 @@ #include "opt_inet.h" #include "opt_atalk.h" +#include "opt_inet6.h" #include #include @@ -81,6 +82,10 @@ #include #endif +#ifdef INET6 +#include +#endif + /* Needs IP headers. */ #include @@ -189,8 +194,11 @@ isr = NETISR_ATALK1; break; #endif +#ifdef INET6 case ETHERTYPE_IPV6: - /* FALLTHROUGH */ + isr = NETISR_IPV6; + break; +#endif default: /* others not yet supported */ return (0); } From owner-freebsd-bugs@FreeBSD.ORG Tue Apr 26 08:00:36 2005 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C3DBF16A4D3 for ; Tue, 26 Apr 2005 08:00:36 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4E1F743D6B for ; Tue, 26 Apr 2005 08:00:35 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j3Q80YIN045471 for ; Tue, 26 Apr 2005 08:00:34 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j3Q80YIf045470; Tue, 26 Apr 2005 08:00:34 GMT (envelope-from gnats) Resent-Date: Tue, 26 Apr 2005 08:00:34 GMT Resent-Message-Id: <200504260800.j3Q80YIf045470@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, realsight Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 18A7016A4CE for ; Tue, 26 Apr 2005 07:52:52 +0000 (GMT) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id DF79A43D4C for ; Tue, 26 Apr 2005 07:52:51 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j3Q7qpRa021259 for ; Tue, 26 Apr 2005 07:52:51 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id j3Q7qp8n021258; Tue, 26 Apr 2005 07:52:51 GMT (envelope-from nobody) Message-Id: <200504260752.j3Q7qp8n021258@www.freebsd.org> Date: Tue, 26 Apr 2005 07:52:51 GMT From: realsight To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: misc/80354: Path MTU discovery ICMP NATD BSD 6.0 crash X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Apr 2005 08:00:37 -0000 >Number: 80354 >Category: misc >Synopsis: Path MTU discovery ICMP NATD BSD 6.0 crash >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Apr 26 08:00:34 GMT 2005 >Closed-Date: >Last-Modified: >Originator: realsight >Release: free BSD 6.0 >Organization: >Environment: kernel custom FreeBSD 6.0 custom kernel options are: IPFIREWALL DUMMYNET IPDIVERT >Description: after sending serval icmp malfromed packets related to Path MTU discovery attack freebsd crashes due the fact of consuming large amounts of cpu and memory resources, tested as an throughput of NATD related infos: http://www.gont.com.ar/drafts/icmp-attacks-against-tcp.html da cu >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Tue Apr 26 13:10:26 2005 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 35C7C16A4D0 for ; Tue, 26 Apr 2005 13:10:26 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0490343D1F for ; Tue, 26 Apr 2005 13:10:26 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j3QDAPLZ085334 for ; Tue, 26 Apr 2005 13:10:25 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j3QDAP5n085333; Tue, 26 Apr 2005 13:10:25 GMT (envelope-from gnats) Date: Tue, 26 Apr 2005 13:10:25 GMT Message-Id: <200504261310.j3QDAP5n085333@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Brian Candler Subject: Re: bin/80256: /rescue/vi doesn't work without terminal database in /usr X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Brian Candler List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Apr 2005 13:10:26 -0000 The following reply was made to PR bin/80256; it has been noted by GNATS. From: Brian Candler To: Tim Kientzle Cc: "Simon L. Nielsen" , FreeBSD-gnats-submit@freebsd.org Subject: Re: bin/80256: /rescue/vi doesn't work without terminal database in /usr Date: Tue, 26 Apr 2005 14:07:12 +0100 On Sat, Apr 23, 2005 at 02:39:48PM -0700, Tim Kientzle wrote: > Looks good to me. Test it. If it works, let's commit it. Hmm, it doesn't. I will investigate further when I get a few minutes. From owner-freebsd-bugs@FreeBSD.ORG Tue Apr 26 13:20:37 2005 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4C75416A4E1 for ; Tue, 26 Apr 2005 13:20:37 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id C752243D60 for ; Tue, 26 Apr 2005 13:20:30 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j3QDKU0P085848 for ; Tue, 26 Apr 2005 13:20:30 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j3QDKU7k085847; Tue, 26 Apr 2005 13:20:30 GMT (envelope-from gnats) Resent-Date: Tue, 26 Apr 2005 13:20:30 GMT Resent-Message-Id: <200504261320.j3QDKU7k085847@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Marc Olzheim Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3AEDD16A4CE for ; Tue, 26 Apr 2005 13:13:15 +0000 (GMT) Received: from mailhost.stack.nl (vaak.stack.nl [131.155.140.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id EE33943D2F for ; Tue, 26 Apr 2005 13:13:13 +0000 (GMT) (envelope-from marcolz@stack.nl) Received: from hammer.stack.nl (hammer.stack.nl [IPv6:2001:610:1108:5010::153]) by mailhost.stack.nl (Postfix) with ESMTP id F00381F023 for ; Tue, 26 Apr 2005 15:13:12 +0200 (CEST) Received: by hammer.stack.nl (Postfix, from userid 333) id D7588663D; Tue, 26 Apr 2005 15:13:12 +0200 (CEST) Message-Id: <20050426131312.D7588663D@hammer.stack.nl> Date: Tue, 26 Apr 2005 15:13:12 +0200 (CEST) From: Marc Olzheim To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: kern/80362: [PATCH] add preadv() and pwritev() system calls X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Marc Olzheim List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Apr 2005 13:20:37 -0000 >Number: 80362 >Category: kern >Synopsis: [PATCH] add preadv() and pwritev() system calls >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Apr 26 13:20:30 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Marc Olzheim >Release: FreeBSD 5.4-STABLE amd64 >Organization: ilse media >Environment: FreeBSD 5.4-STABLE and FreeBSD 6.0-CURRENT >Description: FreeBSD lacks preadv() and pwritev(). Since all underlying code already supports the functionality it is very easy to add. NetBSD and OpenBSD have had these calls, that are useful in multi-threaded fileaccess, for years now and for orthogonality it's nice to have them as well. >How-To-Repeat: >Fix: Patches for 5.4-STABLE and 6-CURRENT to follow: 5.4-STABLE.patch: --- /usr/src/lib/libc/sys/read.2 Sat Nov 13 12:55:41 2004 +++ /usr/src/lib/libc/sys/read.2 Tue Apr 26 14:01:23 2005 @@ -38,7 +38,8 @@ .Sh NAME .Nm read , .Nm readv , -.Nm pread +.Nm pread , +.Nm preadv .Nd read input .Sh LIBRARY .Lb libc @@ -49,9 +50,11 @@ .Ft ssize_t .Fn read "int d" "void *buf" "size_t nbytes" .Ft ssize_t +.Fn pread "int d" "void *buf" "size_t nbytes" "off_t offset" +.Ft ssize_t .Fn readv "int d" "const struct iovec *iov" "int iovcnt" .Ft ssize_t -.Fn pread "int d" "void *buf" "size_t nbytes" "off_t offset" +.Fn preadv "int d" "const struct iovec *iov" "int iovcnt" "off_t offset" .Sh DESCRIPTION The .Fn read @@ -73,12 +76,16 @@ array: iov[0], iov[1], ..., iov[iovcnt\|\-\|1]. The .Fn pread -system call -performs the same function, but reads from the specified position in +and +.Fn preadv +system calls +perform the same functions, but read from the specified position in the file without modifying the file pointer. .Pp For -.Fn readv , +.Fn readv +and +.Fn preadv , the .Fa iovec structure is defined as: @@ -119,8 +126,9 @@ Upon successful completion, .Fn read , .Fn readv , -and .Fn pread +and +.Fn preadv return the number of bytes actually read and placed in the buffer. The system guarantees to read the number of bytes requested if the descriptor references a normal file that has that many bytes left @@ -137,8 +145,9 @@ The .Fn read , .Fn readv , -and .Fn pread +and +.Fn preadv system calls will succeed unless: .Bl -tag -width Er @@ -184,6 +193,8 @@ .Pp In addition, .Fn readv +and +.Fn preadv may return one of the following errors: .Bl -tag -width Er .It Bq Er EINVAL @@ -212,7 +223,9 @@ .Pp The .Fn pread -system call may also return the following errors: +and +.Fn preadv +system calls may also return the following errors: .Bl -tag -width Er .It Bq Er EINVAL The @@ -244,6 +257,10 @@ system calls are expected to conform to .St -xpg4.2 . .Sh HISTORY +The +.Fn preadv +system call appeared in +.Fx 5.4 . The .Fn pread function appeared in --- /usr/src/lib/libc/sys/write.2 Sat Nov 13 12:55:41 2004 +++ /usr/src/lib/libc/sys/write.2 Tue Apr 26 13:59:59 2005 @@ -49,9 +49,11 @@ .Ft ssize_t .Fn write "int d" "const void *buf" "size_t nbytes" .Ft ssize_t +.Fn pwrite "int d" "const void *buf" "size_t nbytes" "off_t offset" +.Ft ssize_t .Fn writev "int d" "const struct iovec *iov" "int iovcnt" .Ft ssize_t -.Fn pwrite "int d" "const void *buf" "size_t nbytes" "off_t offset" +.Fn pwritev "int d" "const struct iovec *iov" "int iovcnt" "off_t offset" .Sh DESCRIPTION The .Fn write @@ -73,12 +75,16 @@ array: iov[0], iov[1], ..., iov[iovcnt\|-\|1]. The .Fn pwrite -system call -performs the same function, but writes to the specified position in +and +.Fn pwritev +system calls +perform the same functions, but write to the specified position in the file without modifying the file pointer. .Pp For -.Fn writev , +.Fn writev +and +.Fn pwritev, the .Fa iovec structure is defined as: @@ -143,8 +149,9 @@ The .Fn write , .Fn writev , -and .Fn pwrite +and +.Fn pwritev system calls will fail and the file pointer will remain unchanged if: .Bl -tag -width Er @@ -196,6 +203,8 @@ .Pp In addition, .Fn writev +and +.Fn pwritev may return one of the following errors: .Bl -tag -width Er .It Bq Er EDESTADDRREQ @@ -228,7 +237,9 @@ .Pp The .Fn pwrite -system call may also return the following errors: +and +.Fn pwritev +system calls may also return the following errors: .Bl -tag -width Er .It Bq Er EINVAL The @@ -255,6 +266,10 @@ system calls are expected to conform to .St -xpg4.2 . .Sh HISTORY +The +.Fn pwritev +system call appeared in +.Fx 5.4 . The .Fn pwrite function appeared in --- /usr/src/sys/sys/syscallsubr.h Tue Apr 26 13:35:50 2005 +++ /usr/src/sys/sys/syscallsubr.h Tue Apr 26 13:36:56 2005 @@ -91,8 +91,12 @@ int flags, int mode); int kern_pathconf(struct thread *td, char *path, enum uio_seg pathseg, int name); +int kern_preadv(struct thread *td, int fd, struct uio *auio, off_t offset, + int flags); int kern_ptrace(struct thread *td, int req, pid_t pid, void *addr, int data); +int kern_pwritev(struct thread *td, int fd, struct uio *auio, off_t offset, + int flags); int kern_readlink(struct thread *td, char *path, enum uio_seg pathseg, char *buf, enum uio_seg bufseg, int count); int kern_readv(struct thread *td, int fd, struct uio *auio); --- /usr/src/sys/sys/uio.h Tue Feb 1 00:26:57 2005 +++ /usr/src/sys/sys/uio.h Tue Apr 26 11:31:56 2005 @@ -102,6 +102,8 @@ __BEGIN_DECLS ssize_t readv(int, const struct iovec *, int); ssize_t writev(int, const struct iovec *, int); +ssize_t preadv(int, const struct iovec *, int, off_t); +ssize_t pwritev(int, const struct iovec *, int, off_t); __END_DECLS #endif /* _KERNEL */ --- /usr/src/sys/kern/syscalls.master Tue Apr 26 11:28:55 2005 +++ /usr/src/sys/kern/syscalls.master Tue Apr 26 11:31:56 2005 @@ -411,8 +411,11 @@ 286 UNIMPL nosys 287 UNIMPL nosys 288 UNIMPL nosys -289 UNIMPL nosys -290 UNIMPL nosys +; 289 and 290 from NetBSD (OpenBSD: 267 and 268) +289 MSTD { ssize_t preadv(int fd, struct iovec *iovp, u_int iovcnt,\ + off_t offset); } +290 MSTD { ssize_t pwritev(int fd, struct iovec *iovp, u_int iovcnt,\ + off_t offset); } 291 UNIMPL nosys 292 UNIMPL nosys 293 UNIMPL nosys --- /usr/src/sys/kern/sys_generic.c Tue Apr 26 11:28:55 2005 +++ /usr/src/sys/kern/sys_generic.c Tue Apr 26 13:37:57 2005 @@ -232,9 +232,47 @@ return (error); } +/* + * Scatter positioned read system call. + */ +#ifndef _SYS_SYSPROTO_H_ +struct preadv_args { + int fd; + struct iovec *iovp; + u_int iovcnt; + off_t offset; +}; +#endif +/* + * MPSAFE + */ +int +preadv(struct thread *td, struct preadv_args *uap) +{ + struct uio *auio; + int error; + + error = copyinuio(uap->iovp, uap->iovcnt, &auio); + if (error) + return (error); + error = kern_preadv(td, uap->fd, auio, uap->offset, FOF_OFFSET); + free(auio, M_IOV); + return (error); +} + int kern_readv(struct thread *td, int fd, struct uio *auio) { + return (kern_preadv(td, fd, auio, (off_t)-1, 0)); +} + +int +kern_preadv(td, fd, auio, offset, flags) + struct thread *td; + struct uio *auio; + int fd, flags; + off_t offset; +{ struct file *fp; long cnt; int error; @@ -252,13 +290,14 @@ return(0); } auio->uio_rw = UIO_READ; + auio->uio_offset = offset; auio->uio_td = td; #ifdef KTRACE if (KTRPOINT(td, KTR_GENIO)) ktruio = cloneuio(auio); #endif cnt = auio->uio_resid; - if ((error = fo_read(fp, auio, td->td_ucred, 0, td))) { + if ((error = fo_read(fp, auio, td->td_ucred, flags, td))) { if (auio->uio_resid != cnt && (error == ERESTART || error == EINTR || error == EWOULDBLOCK)) error = 0; @@ -428,9 +467,47 @@ return (error); } +/* + * Gather posiotioned write system call + */ +#ifndef _SYS_SYSPROTO_H_ +struct pwritev_args { + int fd; + struct iovec *iovp; + u_int iovcnt; + off_t offset; +}; +#endif +/* + * MPSAFE + */ +int +pwritev(struct thread *td, struct pwritev_args *uap) +{ + struct uio *auio; + int error; + + error = copyinuio(uap->iovp, uap->iovcnt, &auio); + if (error) + return (error); + error = kern_pwritev(td, uap->fd, auio, uap->offset, FOF_OFFSET); + free(auio, M_IOV); + return (error); +} + int kern_writev(struct thread *td, int fd, struct uio *auio) { + return (kern_pwritev(td, fd, auio, (off_t)-1 , 0)); +} + +int +kern_pwritev(td, fd, auio, offset, flags) + struct thread *td; + struct uio *auio; + int fd, flags; + off_t offset; +{ struct file *fp; long cnt; int error; @@ -443,6 +520,7 @@ return (EBADF); auio->uio_rw = UIO_WRITE; auio->uio_td = td; + auio->uio_offset = offset; #ifdef KTRACE if (KTRPOINT(td, KTR_GENIO)) ktruio = cloneuio(auio); @@ -450,7 +528,7 @@ cnt = auio->uio_resid; if (fp->f_type == DTYPE_VNODE) bwillwrite(); - if ((error = fo_write(fp, auio, td->td_ucred, 0, td))) { + if ((error = fo_write(fp, auio, td->td_ucred, flags, td))) { if (auio->uio_resid != cnt && (error == ERESTART || error == EINTR || error == EWOULDBLOCK)) error = 0; --- /usr/src/sys/compat/freebsd32/syscalls.master Tue Apr 26 11:28:51 2005 +++ /usr/src/sys/compat/freebsd32/syscalls.master Tue Apr 26 13:52:46 2005 @@ -406,8 +406,13 @@ 286 UNIMPL nosys 287 UNIMPL nosys 288 UNIMPL nosys -289 UNIMPL nosys -290 UNIMPL nosys +; 289 and 290 from NetBSD (OpenBSD: 267 and 268) +289 STD { ssize_t freebsd32_preadv(int fd, struct iovec32 *iovp,\ + u_int iovcnt, off_t offset); } +; XXX note - bigendian is different +290 STD { ssize_t freebsd32_pwritev(int fd, struct iovec32 *iovp,\ + u_int iovcnt, off_t offset); } +; XXX note - bigendian is different 291 UNIMPL nosys 292 UNIMPL nosys 293 UNIMPL nosys --- /usr/src/sys/compat/freebsd32/freebsd32_misc.c Tue Apr 26 13:38:38 2005 +++ /usr/src/sys/compat/freebsd32/freebsd32_misc.c Tue Apr 26 13:45:17 2005 @@ -694,7 +694,7 @@ error = freebsd32_copyinuio(uap->iovp, uap->iovcnt, &auio); if (error) return (error); - error = kern_readv(td, uap->fd, auio); + error = kern_preadv(td, uap->fd, auio, (off_t)-1, 0); free(auio, M_IOV); return (error); } @@ -708,7 +708,35 @@ error = freebsd32_copyinuio(uap->iovp, uap->iovcnt, &auio); if (error) return (error); - error = kern_writev(td, uap->fd, auio); + error = kern_pwritev(td, uap->fd, auio, (off_t)-1, 0); + free(auio, M_IOV); + return (error); +} + +int +freebsd32_preadv(struct thread *td, struct freebsd32_preadv_args *uap) +{ + struct uio *auio; + int error; + + error = freebsd32_copyinuio(uap->iovp, uap->iovcnt, &auio); + if (error) + return (error); + error = kern_preadv(td, uap->fd, auio, uap->offset, FOF_OFFSET); + free(auio, M_IOV); + return (error); +} + +int +freebsd32_pwritev(struct thread *td, struct freebsd32_pwritev_args *uap) +{ + struct uio *auio; + int error; + + error = freebsd32_copyinuio(uap->iovp, uap->iovcnt, &auio); + if (error) + return (error); + error = kern_pwritev(td, uap->fd, auio, uap->offset, FOF_OFFSET); free(auio, M_IOV); return (error); } 6-CURRENT.patch: --- /usr/src/lib/libc/sys/read.2 Tue Apr 26 12:15:30 2005 +++ /usr/src/lib/libc/sys/read.2 Tue Apr 26 14:03:07 2005 @@ -38,7 +38,8 @@ .Sh NAME .Nm read , .Nm readv , -.Nm pread +.Nm pread , +.Nm preadv .Nd read input .Sh LIBRARY .Lb libc @@ -49,9 +50,11 @@ .Ft ssize_t .Fn read "int d" "void *buf" "size_t nbytes" .Ft ssize_t +.Fn pread "int d" "void *buf" "size_t nbytes" "off_t offset" +.Ft ssize_t .Fn readv "int d" "const struct iovec *iov" "int iovcnt" .Ft ssize_t -.Fn pread "int d" "void *buf" "size_t nbytes" "off_t offset" +.Fn preadv "int d" "const struct iovec *iov" "int iovcnt" "off_t offset" .Sh DESCRIPTION The .Fn read @@ -73,12 +76,16 @@ array: iov[0], iov[1], ..., iov[iovcnt\|\-\|1]. The .Fn pread -system call -performs the same function, but reads from the specified position in +and +.Fn preadv +system calls +perform the same functions, but read from the specified position in the file without modifying the file pointer. .Pp For -.Fn readv , +.Fn readv +and +.Fn preadv , the .Fa iovec structure is defined as: @@ -119,8 +126,9 @@ Upon successful completion, .Fn read , .Fn readv , -and .Fn pread +and +.Fn preadv return the number of bytes actually read and placed in the buffer. The system guarantees to read the number of bytes requested if the descriptor references a normal file that has that many bytes left @@ -137,8 +145,9 @@ The .Fn read , .Fn readv , -and .Fn pread +and +.Fn preadv system calls will succeed unless: .Bl -tag -width Er @@ -189,6 +198,8 @@ .Pp In addition, .Fn readv +and +.Fn preadv may return one of the following errors: .Bl -tag -width Er .It Bq Er EINVAL @@ -217,7 +228,9 @@ .Pp The .Fn pread -system call may also return the following errors: +and +.Fn preadv +system calls may also return the following errors: .Bl -tag -width Er .It Bq Er EINVAL The @@ -249,6 +262,10 @@ system calls are expected to conform to .St -xpg4.2 . .Sh HISTORY +The +.Fn preadv +system call appeared in +.Fx 5.4 . The .Fn pread function appeared in --- /usr/src/lib/libc/sys/write.2 Tue Apr 26 12:15:43 2005 +++ /usr/src/lib/libc/sys/write.2 Tue Apr 26 12:30:34 2005 @@ -50,9 +50,11 @@ .Ft ssize_t .Fn write "int d" "const void *buf" "size_t nbytes" .Ft ssize_t +.Fn pwrite "int d" "const void *buf" "size_t nbytes" "off_t offset" +.Ft ssize_t .Fn writev "int d" "const struct iovec *iov" "int iovcnt" .Ft ssize_t -.Fn pwrite "int d" "const void *buf" "size_t nbytes" "off_t offset" +.Fn pwritev "int d" "const struct iovec *iov" "int iovcnt" "off_t offset" .Sh DESCRIPTION The .Fn write @@ -74,12 +76,16 @@ array: iov[0], iov[1], ..., iov[iovcnt\|-\|1]. The .Fn pwrite -system call -performs the same function, but writes to the specified position in +and +.Fn pwritev +system calls +perform the same functions, but write to the specified position in the file without modifying the file pointer. .Pp For -.Fn writev , +.Fn writev +and +.Fn pwritev, the .Fa iovec structure is defined as: @@ -144,8 +150,9 @@ The .Fn write , .Fn writev , -and .Fn pwrite +and +.Fn pwritev system calls will fail and the file pointer will remain unchanged if: .Bl -tag -width Er @@ -202,6 +209,8 @@ .Pp In addition, .Fn writev +and +.Fn pwritev may return one of the following errors: .Bl -tag -width Er .It Bq Er EDESTADDRREQ @@ -234,7 +243,9 @@ .Pp The .Fn pwrite -system call may also return the following errors: +and +.Fn pwritev +system calls may also return the following errors: .Bl -tag -width Er .It Bq Er EINVAL The @@ -261,6 +272,10 @@ system calls are expected to conform to .St -xpg4.2 . .Sh HISTORY +The +.Fn pwritev +system call appeared in +.Fx 5.4 . The .Fn pwrite function appeared in --- /usr/src/sys/sys/syscallsubr.h Tue Apr 26 13:22:49 2005 +++ /usr/src/sys/sys/syscallsubr.h Tue Apr 26 13:22:27 2005 @@ -96,8 +96,12 @@ int flags, int mode); int kern_pathconf(struct thread *td, char *path, enum uio_seg pathseg, int name); +int kern_preadv(struct thread *td, int fd, struct uio *auio, off_t offset, + int flags); int kern_ptrace(struct thread *td, int req, pid_t pid, void *addr, int data); +int kern_pwritev(struct thread *td, int fd, struct uio *auio, off_t offset, + int flags); int kern_readlink(struct thread *td, char *path, enum uio_seg pathseg, char *buf, enum uio_seg bufseg, int count); int kern_readv(struct thread *td, int fd, struct uio *auio); --- /usr/src/sys/sys/uio.h Fri Jan 7 03:29:24 2005 +++ /usr/src/sys/sys/uio.h Tue Apr 26 12:14:46 2005 @@ -101,6 +101,8 @@ __BEGIN_DECLS ssize_t readv(int, const struct iovec *, int); ssize_t writev(int, const struct iovec *, int); +ssize_t preadv(int, const struct iovec *, int, off_t); +ssize_t pwritev(int, const struct iovec *, int, off_t); __END_DECLS #endif /* _KERNEL */ --- /usr/src/sys/kern/syscalls.master Sat Apr 23 04:36:07 2005 +++ /usr/src/sys/kern/syscalls.master Tue Apr 26 12:14:46 2005 @@ -411,8 +411,11 @@ 286 UNIMPL nosys 287 UNIMPL nosys 288 UNIMPL nosys -289 UNIMPL nosys -290 UNIMPL nosys +; 289 and 290 from NetBSD (OpenBSD: 267 and 268) +289 MSTD { ssize_t preadv(int fd, struct iovec *iovp, u_int iovcnt,\ + off_t offset); } +290 MSTD { ssize_t pwritev(int fd, struct iovec *iovp, u_int iovcnt,\ + off_t offset); } 291 UNIMPL nosys 292 UNIMPL nosys 293 UNIMPL nosys --- /usr/src/sys/kern/sys_generic.c Fri Apr 1 00:51:18 2005 +++ /usr/src/sys/kern/sys_generic.c Tue Apr 26 13:21:15 2005 @@ -233,9 +233,47 @@ return (error); } +/* + * Scatter positioned read system call. + */ +#ifndef _SYS_SYSPROTO_H_ +struct preadv_args { + int fd; + struct iovec *iovp; + u_int iovcnt; + off_t offset; +}; +#endif +/* + * MPSAFE + */ +int +preadv(struct thread *td, struct preadv_args *uap) +{ + struct uio *auio; + int error; + + error = copyinuio(uap->iovp, uap->iovcnt, &auio); + if (error) + return (error); + error = kern_preadv(td, uap->fd, auio, uap->offset, FOF_OFFSET); + free(auio, M_IOV); + return (error); +} + int kern_readv(struct thread *td, int fd, struct uio *auio) { + return (kern_preadv(td, fd, auio, (off_t)-1, 0)); +} + +int +kern_preadv(td, fd, auio, offset, flags) + struct thread *td; + struct uio *auio; + int fd, flags; + off_t offset; +{ struct file *fp; long cnt; int error; @@ -253,13 +291,14 @@ return(0); } auio->uio_rw = UIO_READ; + auio->uio_offset = offset; auio->uio_td = td; #ifdef KTRACE if (KTRPOINT(td, KTR_GENIO)) ktruio = cloneuio(auio); #endif cnt = auio->uio_resid; - if ((error = fo_read(fp, auio, td->td_ucred, 0, td))) { + if ((error = fo_read(fp, auio, td->td_ucred, flags, td))) { if (auio->uio_resid != cnt && (error == ERESTART || error == EINTR || error == EWOULDBLOCK)) error = 0; @@ -430,9 +469,47 @@ return (error); } +/* + * Gather posiotioned write system call + */ +#ifndef _SYS_SYSPROTO_H_ +struct pwritev_args { + int fd; + struct iovec *iovp; + u_int iovcnt; + off_t offset; +}; +#endif +/* + * MPSAFE + */ +int +pwritev(struct thread *td, struct pwritev_args *uap) +{ + struct uio *auio; + int error; + + error = copyinuio(uap->iovp, uap->iovcnt, &auio); + if (error) + return (error); + error = kern_pwritev(td, uap->fd, auio, uap->offset, FOF_OFFSET); + free(auio, M_IOV); + return (error); +} + int kern_writev(struct thread *td, int fd, struct uio *auio) { + return (kern_pwritev(td, fd, auio, (off_t)-1 , 0)); +} + +int +kern_pwritev(td, fd, auio, offset, flags) + struct thread *td; + struct uio *auio; + int fd, flags; + off_t offset; +{ struct file *fp; long cnt; int error; @@ -445,6 +522,7 @@ return (EBADF); auio->uio_rw = UIO_WRITE; auio->uio_td = td; + auio->uio_offset = offset; #ifdef KTRACE if (KTRPOINT(td, KTR_GENIO)) ktruio = cloneuio(auio); @@ -452,7 +530,7 @@ cnt = auio->uio_resid; if (fp->f_type == DTYPE_VNODE) bwillwrite(); - if ((error = fo_write(fp, auio, td->td_ucred, 0, td))) { + if ((error = fo_write(fp, auio, td->td_ucred, flags, td))) { if (auio->uio_resid != cnt && (error == ERESTART || error == EINTR || error == EWOULDBLOCK)) error = 0; --- /usr/src/sys/compat/freebsd32/syscalls.master Tue Mar 1 07:32:53 2005 +++ /usr/src/sys/compat/freebsd32/syscalls.master Tue Apr 26 13:52:24 2005 @@ -406,8 +406,13 @@ 286 UNIMPL nosys 287 UNIMPL nosys 288 UNIMPL nosys -289 UNIMPL nosys -290 UNIMPL nosys +; 289 and 290 from NetBSD (OpenBSD: 267 and 268) +289 STD { ssize_t freebsd32_preadv(int fd, struct iovec32 *iovp,\ + u_int iovcnt, off_t offset); } +; XXX note - bigendian is different +290 STD { ssize_t freebsd32_pwritev(int fd, struct iovec32 *iovp,\ + u_int iovcnt, off_t offset); } +; XXX note - bigendian is different 291 UNIMPL nosys 292 UNIMPL nosys 293 UNIMPL nosys --- /usr/src/sys/compat/freebsd32/freebsd32_misc.c Tue Apr 26 13:14:09 2005 +++ /usr/src/sys/compat/freebsd32/freebsd32_misc.c Tue Apr 26 13:32:54 2005 @@ -733,7 +733,7 @@ error = freebsd32_copyinuio(uap->iovp, uap->iovcnt, &auio); if (error) return (error); - error = kern_readv(td, uap->fd, auio); + error = kern_preadv(td, uap->fd, auio, (off_t)-1 , 0); free(auio, M_IOV); return (error); } @@ -747,7 +747,35 @@ error = freebsd32_copyinuio(uap->iovp, uap->iovcnt, &auio); if (error) return (error); - error = kern_writev(td, uap->fd, auio); + error = kern_pwritev(td, uap->fd, auio, (off_t)-1 , 0); + free(auio, M_IOV); + return (error); +} + +int +freebsd32_preadv(struct thread *td, struct freebsd32_preadv_args *uap) +{ + struct uio *auio; + int error; + + error = freebsd32_copyinuio(uap->iovp, uap->iovcnt, &auio); + if (error) + return (error); + error = kern_preadv(td, uap->fd, auio, uap->offset, FOF_OFFSET); + free(auio, M_IOV); + return (error); +} + +int +freebsd32_pwritev(struct thread *td, struct freebsd32_pwritev_args *uap) +{ + struct uio *auio; + int error; + + error = freebsd32_copyinuio(uap->iovp, uap->iovcnt, &auio); + if (error) + return (error); + error = kern_pwritev(td, uap->fd, auio, uap->offset, FOF_OFFSET); free(auio, M_IOV); return (error); } >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Tue Apr 26 13:50:09 2005 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EA0F516A4CE for ; Tue, 26 Apr 2005 13:50:09 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B739C43D3F for ; Tue, 26 Apr 2005 13:50:09 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j3QDo9FP088049 for ; Tue, 26 Apr 2005 13:50:09 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j3QDo9EJ088048; Tue, 26 Apr 2005 13:50:09 GMT (envelope-from gnats) Date: Tue, 26 Apr 2005 13:50:09 GMT Message-Id: <200504261350.j3QDo9EJ088048@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Brian Candler Subject: Re: bin/80256: /rescue/vi doesn't work without terminal database in /usr X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Brian Candler List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Apr 2005 13:50:10 -0000 The following reply was made to PR bin/80256; it has been noted by GNATS. From: Brian Candler To: Tim Kientzle Cc: "Simon L. Nielsen" , FreeBSD-gnats-submit@freebsd.org Subject: Re: bin/80256: /rescue/vi doesn't work without terminal database in /usr Date: Tue, 26 Apr 2005 14:44:15 +0100 --3MwIy2ne0vdjdPXF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Apr 26, 2005 at 02:07:12PM +0100, Brian Candler wrote: > On Sat, Apr 23, 2005 at 02:39:48PM -0700, Tim Kientzle wrote: > > Looks good to me. Test it. If it works, let's commit it. > > Hmm, it doesn't. I will investigate further when I get a few minutes. Actually, it does; turns out my trimmed /rescue/termcap file was bad. The xterm-basic entry in /usr/share/misc/termcap has a superfluous trailing backslash at the end, and if you butt it up to another entry without a blank line, then that entry is broken. The /rescue/termcap I'm using is attached. It's under 4K, but no doubt it could be trimmed further. Do we actually need all the various combinations of consoles, or is cons25 sufficient? I already stripped out some of the more unusual ones like KOI8. Regards, Brian. --3MwIy2ne0vdjdPXF Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=termcap # Fallback termcap for rescue distribution. Includes cons25 and friends, # xterm, and ansi only. ansi|any ansi terminal with pessimistic assumptions:\ :co#80:li#24:cl=50\E[;H\E[2J:bs:am:cm=\E[%i%d;%dH:\ :nd=\E[C:up=\E[A:ce=\E[K:ho=\E[H:pt: xterm|xterm-color|X11 terminal emulator:\ :ti@:te@:tc=xterm-xfree86: xterm-xfree86|XFree86 xterm:\ :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\ :k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:\ :k9=\E[20~:k;=\E[21~:F1=\E[23~:F2=\E[24~:\ :kH=\EOF:@7=\EOF:kI=\E[2~:\ :kh=\EOH:*6=\EOF:kP=\E[5~:kN=\E[6~:\ :ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:Km=\E[M:tc=xterm-basic: xterm-basic|xterm common (XFree86):\ :li#24:co#80:am:kn#12:km:mi:ms:xn:bl=^G:\ :is=\E[!p\E[?3;4l\E[4l\E>:rs=\E[!p\E[?3;4l\E[4l\E>:le=^H:\ :AL=\E[%dL:DL=\E[%dM:DC=\E[%dP:al=\E[L:dc=\E[P:dl=\E[M:\ :UP=\E[%dA:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:\ :ho=\E[H:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cs=\E[%i%d;%dr:\ :im=\E[4h:ei=\E[4l:ks=\E[?1h\E=:ke=\E[?1l\E>:kD=\E[3~:kb=^H:\ :sf=\n:sr=\EM:st=\EH:ct=\E[3g:sc=\E7:rc=\E8:\ :eA=\E(B\E)0:as=^N:ae=^O:ml=\El:mu=\Em:up=\E[A:nd=\E[C:\ :md=\E[1m:me=\E[m^O:mr=\E[7m:so=\E[7m:se=\E[27m:us=\E[4m:ue=\E[24m:\ :ti=\E[?1049h:te=\E[?1049l:vi=\E[?25l:ve=\E[?25h:\ :ut:Co#8:pa#64:op=\E[39;49m:AB=\E[4%dm:AF=\E[3%dm: cons25w|ansiw|ansi80x25-raw:\ :am:bs:NP:ms:pt:AX:eo:bw:ut:km:\ :co#80:li#25:pa#64:Co#8:it#8:\ :al=\E[L:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:\ :dc=\E[P:dl=\E[M:do=\E[B:bt=\E[Z:ho=\E[H:ic=\E[@:cb=\E[1K:\ :nd=\E[C:rs=\Ec:so=\E[7m:se=\E[27m:up=\E[A:cr=^M:ta=^I:\ :AF=\E[3%dm:AB=\E[4%dm:op=\E[39;49m:sc=\E7:rc=\E8:\ :k1=\E[M:k2=\E[N:k3=\E[O:k4=\E[P:k5=\E[Q:k6=\E[R:k7=\E[S:k8=\E[T:\ :k9=\E[U:k;=\E[V:F1=\E[W:F2=\E[X:K2=\E[E:nw=\E[E:ec=\E[%dX:\ :kb=^H:kh=\E[H:ku=\E[A:kd=\E[B:kl=\E[D:kr=\E[C:le=^H:sf=\E[S:sr=\E[T:\ :kN=\E[G:kP=\E[I:@7=\E[F:kI=\E[L:kD=\177:kB=\E[Z:\ :IC=\E[%d@:DC=\E[%dP:SF=\E[%dS:SR=\E[%dT:AL=\E[%dL:DL=\E[%dM:\ :DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:cv=\E[%i%dd:ch=\E[%i%d`:\ :mb=\E[5m:md=\E[1m:mr=\E[7m:me=\E[m:bl=^G:\ :ve=\E[=S:vi=\E[=1S:vs=\E[=2S: # CP437 FreeBSD console with ACS support cons25|ansis|ansi80x25:\ :ac=l\332m\300k\277j\331u\264t\303v\301w\302q\304x\263n\305`^Da\260f\370g\361~\371.^Y-^Xh\261i^U0\333y\363z\362:\ :tc=cons25w: cons25-m|ansis-mono|ansi80x25-mono:\ :pa@:Co@:AF@:AB@:AX@:op@:us=\E[4m:ue=\E[24m:tc=cons25: cons30|ansi80x30:\ :li#30:tc=cons25: cons30-m|ansi80x30-mono:\ :li#30:tc=cons25-m: cons43|ansi80x43:\ :li#43:tc=cons25: cons43-m|ansi80x43-mono:\ :li#43:tc=cons25-m: cons50|ansil|ansi80x50:\ :li#50:tc=cons25: cons50-m|ansil-mono|ansi80x50-mono:\ :li#50:tc=cons25-m: cons60|ansi80x60:\ :li#60:tc=cons25: cons60-m|ansi80x60-mono:\ :li#60:tc=cons25-m: # Syscons console with 132 characters (VESA modes) cons25-w|ansi132x25:\ :co#132:tc=cons25: cons30-w|ansi132x30:\ :co#132:tc=cons30: cons43-w|ansi132x43:\ :co#132:tc=cons43: cons50-w|ansil-w|ansi132x50:\ :co#132:tc=cons50: cons60-w|ansi132x60:\ :co#132:tc=cons60: # ISO 8859-1 FreeBSD console with ACS support cons25l1|cons25-iso8859-1:\ :ac=f\260g\261}\243+\253,\273i\247:\ :tc=cons25w: cons25l1-m|cons25-iso8859-1-mono:\ :pa@:Co@:AF@:AB@:AX@:op@:us=\E[4m:ue=\E[24m:tc=cons25l1: cons30l1|cons30-iso8859-1:\ :li#30:tc=cons25l1: cons30l1-m|cons30-iso8859-1-mono:\ :li#30:tc=cons25l1-m: cons43l1|cons43-iso8859-1:\ :li#43:tc=cons25l1: cons43l1-m|cons43-iso8859-1-mono:\ :li#43:tc=cons25l1-m: cons50l1|cons50-iso8859-1:\ :li#50:tc=cons25l1: cons50l1-m|cons50-iso8859-1-mono:\ :li#50:tc=cons25l1-m: cons60l1|cons60-iso8859-1:\ :li#60:tc=cons25l1: cons60l1-m|cons60-iso8859-1-mono:\ :li#60:tc=cons25l1-m: # 132x25 ISO 8859-1 FreeBSD console cons25l1-w|:cons25w-iso8859-1:\ :co#132:tc=cons25l1: cons30l1-w|cons30w-iso8859-1:\ :co#132:tc=cons30l1: cons43l1-w|cons43w-iso8859-1:\ :co#132:tc=cons43l1: cons50l1-w|cons50w-iso8859-1:\ :co#132:tc=cons50l1: cons60l1-w|cons60w-iso8859-1:\ :co#132:tc=cons60l1: --3MwIy2ne0vdjdPXF-- From owner-freebsd-bugs@FreeBSD.ORG Tue Apr 26 16:23:05 2005 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 84C4016A4CF; Tue, 26 Apr 2005 16:23:05 +0000 (GMT) Received: from mail.farley.org (farley.org [67.64.95.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0C76F43D58; Tue, 26 Apr 2005 16:23:05 +0000 (GMT) (envelope-from sean-freebsd@farley.org) Received: from thor.farley.org (thor.farley.org [IPv6:2001:470:1f01:290:1::5]) by mail.farley.org (8.13.1/8.13.1) with ESMTP id j3QGN1UK019204; Tue, 26 Apr 2005 11:23:02 -0500 (CDT) (envelope-from sean-freebsd@farley.org) Received: from localhost (localhost [127.0.0.1]) by thor.farley.org (8.13.3/8.13.3) with ESMTP id j3QGN2I1000919; Tue, 26 Apr 2005 11:23:02 -0500 (CDT) (envelope-from sean-freebsd@farley.org) Date: Tue, 26 Apr 2005 11:23:02 -0500 (CDT) From: =?ISO-8859-1?Q?Se=E1n_C=2E_Farley?= To: David Xu In-Reply-To: <426D7CE3.4080608@freebsd.org> Message-ID: <20050426111540.X823@thor.farley.org> References: <200502210120.j1L1KIM3024205@freefall.freebsd.org> <20050418155836.L11216@thor.farley.org> <4264C33B.8020207@freebsd.org> <20050425141315.I25522@thor.farley.org> <426D7CE3.4080608@freebsd.org> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-195141191-1114532582=:823" cc: freebsd-bugs@freebsd.org cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: gnu/77818: GDB locks in wait4() when running applications X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Apr 2005 16:23:05 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-195141191-1114532582=:823 Content-Type: TEXT/PLAIN; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE On Tue, 26 Apr 2005, David Xu wrote: > It was MFCed onto -STABLE. I had updated after your last e-mail but had seen no change. I updated again this morning (changes to kern_exit.c and kern_sig.c) and am still seeing the GDB problem with Zsh. Is this a separate problem? Se=E1n --=20 sean-freebsd@farley.org --0-195141191-1114532582=:823-- From owner-freebsd-bugs@FreeBSD.ORG Tue Apr 26 16:30:23 2005 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 27CD816A4CE for ; Tue, 26 Apr 2005 16:30:23 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0975943D54 for ; Tue, 26 Apr 2005 16:30:23 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j3QGUMi1010557 for ; Tue, 26 Apr 2005 16:30:22 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j3QGUMdl010556; Tue, 26 Apr 2005 16:30:22 GMT (envelope-from gnats) Date: Tue, 26 Apr 2005 16:30:22 GMT Message-Id: <200504261630.j3QGUMdl010556@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: =?ISO-8859-1?Q?Se=E1n_C=2E_Farley?= Subject: Re: gnu/77818: GDB locks in wait4() when running applications X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: =?ISO-8859-1?Q?Se=E1n_C=2E_Farley?= List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Apr 2005 16:30:23 -0000 The following reply was made to PR gnu/77818; it has been noted by GNATS. From: =?ISO-8859-1?Q?Se=E1n_C=2E_Farley?= To: David Xu Cc: freebsd-bugs@freebsd.org, FreeBSD-gnats-submit@freebsd.org Subject: Re: gnu/77818: GDB locks in wait4() when running applications Date: Tue, 26 Apr 2005 11:23:02 -0500 (CDT) This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-195141191-1114532582=:823 Content-Type: TEXT/PLAIN; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE On Tue, 26 Apr 2005, David Xu wrote: > It was MFCed onto -STABLE. I had updated after your last e-mail but had seen no change. I updated again this morning (changes to kern_exit.c and kern_sig.c) and am still seeing the GDB problem with Zsh. Is this a separate problem? Se=E1n --=20 sean-freebsd@farley.org --0-195141191-1114532582=:823-- From owner-freebsd-bugs@FreeBSD.ORG Tue Apr 26 21:40:19 2005 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D71D716A4CE for ; Tue, 26 Apr 2005 21:40:19 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 89E0F43D66 for ; Tue, 26 Apr 2005 21:40:19 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j3QLeJVp056191 for ; Tue, 26 Apr 2005 21:40:19 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j3QLeJGx056190; Tue, 26 Apr 2005 21:40:19 GMT (envelope-from gnats) Resent-Date: Tue, 26 Apr 2005 21:40:19 GMT Resent-Message-Id: <200504262140.j3QLeJGx056190@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, John Engelhart Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9808C16A4CE for ; Tue, 26 Apr 2005 21:35:00 +0000 (GMT) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 72D4543D5A for ; Tue, 26 Apr 2005 21:35:00 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j3QLYx4i099182 for ; Tue, 26 Apr 2005 21:34:59 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id j3QLYxoB099181; Tue, 26 Apr 2005 21:34:59 GMT (envelope-from nobody) Message-Id: <200504262134.j3QLYxoB099181@www.freebsd.org> Date: Tue, 26 Apr 2005 21:34:59 GMT From: John Engelhart To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: bin/80378: Possible mis-declaration of __sglue in /usr/src/lib/libc/stdio/glue.h X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Apr 2005 21:40:20 -0000 >Number: 80378 >Category: bin >Synopsis: Possible mis-declaration of __sglue in /usr/src/lib/libc/stdio/glue.h >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Apr 26 21:40:19 GMT 2005 >Closed-Date: >Last-Modified: >Originator: John Engelhart >Release: FreeBSD 5.3-RELEASE-p5 >Organization: >Environment: FreeBSD new.zang.com 5.3-RELEASE-p5 FreeBSD 5.3-RELEASE-p5 #0: Mon Mar 7 03:05:55 EST 2005 johne@new.zang.com:/usr/src/sys/i386/compile/new i386 >Description: Someone should make a quick check as to the intentions of the declaration of __sglue inside /usr/src/lib/libc/stdio/glue.h. The files stdio/findfp.c and stdio/fwalk.c both refer to it, and glue.h's declaration is: struct glue { struct glue *next; int niobs; FILE *iobs; } __sglue; This causes both files to allocate this symbol, though findfp.c is clearing the one that declares and initilizes the structure, and fwalk.c only makes reference to it. fwalk.c ends up allocating BSS space for it. The linker seems to either silently ignore this and "do the right thing", or just.. who knows. Didn't quite dig that far. Regardless, I think what was intended was for glue.h to declare it extern, and then findfp.c to create it, and fwalk.c to refer to findfp.c's declaration. >How-To-Repeat: n/a, see affected files. >Fix: I believe what was really intended in glue.h was: struct glue { struct glue *next; int niobs; FILE *iobs; }; extern struct glue __sglue; >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Tue Apr 26 23:30:08 2005 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AD10816A4CE for ; Tue, 26 Apr 2005 23:30:08 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 37F4043D39 for ; Tue, 26 Apr 2005 23:30:08 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j3QNU8j5068593 for ; Tue, 26 Apr 2005 23:30:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j3QNU8jE068587; Tue, 26 Apr 2005 23:30:08 GMT (envelope-from gnats) Resent-Date: Tue, 26 Apr 2005 23:30:08 GMT Resent-Message-Id: <200504262330.j3QNU8jE068587@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Harry Coin Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B470216A4CE for ; Tue, 26 Apr 2005 23:26:26 +0000 (GMT) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 002A443D4C for ; Tue, 26 Apr 2005 23:26:25 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j3QNQPqn034842 for ; Tue, 26 Apr 2005 23:26:25 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id j3QNQP7r034822; Tue, 26 Apr 2005 23:26:25 GMT (envelope-from nobody) Message-Id: <200504262326.j3QNQP7r034822@www.freebsd.org> Date: Tue, 26 Apr 2005 23:26:25 GMT From: Harry Coin To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: kern/80381: 5.4 RC3 can't allocate ps/2 irq, no psm, no mouse. Same box works fine on 5.3 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Apr 2005 23:30:08 -0000 >Number: 80381 >Category: kern >Synopsis: 5.4 RC3 can't allocate ps/2 irq, no psm, no mouse. Same box works fine on 5.3 >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Apr 26 23:30:07 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Harry Coin >Release: 5.4 RC3 #6 >Organization: >Environment: FreeBSD server1.quietfountain.com 5.4-RC3 FreeBSD 5.4-RC3 #6: Mon Apr 25 14:26:53 CDT 2005 root@server1.quietfountain.com:/usr/obj/usr/src/sys/SERVER1 i386 >Description: Here's a boot -v dmesg showing that a working ps/2 mouse under 5.3 is ignored on the latest 5.4 as of today. Attached mouse is a MS 2 button wheel ps/2 mouse. Seems it can't allocate an interrupt. So, no mouse driver loads under 5.4. Go back to 5.3, and the mouse works (but atapicam generates an interrupt storm hang (not panic) on boot under 5.3. The atapicam issue is fixed in 5.4. Here are the few relevant lines, then the whole dmesg atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 atkbd: the current kbd controller command byte 0065 atkbd: keyboard ID 0x41ab (2) kbd0 at atkbd0 kbd0: atkbd0, AT 101/102 (2), config:0x0, flags:0x3d0000 atkbd0: [GIANT-LOCKED] psm0: unable to allocate IRQ psmcpnp0: irq 12 on acpi0 psm0: current command byte:0065 psm0: failed to reset the aux device. Here's the whole dmesg -v pcib0: matched entry for 0.1.INTA pcib0: slot 1 INTA hardwired to IRQ 16 pcib1: slot 0 INTA is routed to irq 16 found-> vendor=0x10de, dev=0x0181, revid=0xa2 bus=1, slot=0, func=0 class=03-00-00, hdrtype=0x00, mfdev=0 cmdreg=0x0007, statreg=0x02b0, cachelnsz=0 (dwords) lattimer=0xc0 (5760 ns), mingnt=0x05 (1250 ns), maxlat=0x01 (250 ns) intpin=a, irq=16 powerspec 2 supports D0 D3 current D0 nvidia0: mem 0xe8000000-0xefffffff,0xfd000000-0xfdffffff irq 16 at device 0.0 on pci1 nvidia0: Reserved 0x1000000 bytes for rid 0x10 type 3 at 0xfd000000 nvidia0: Reserved 0x8000000 bytes for rid 0x14 type 3 at 0xe8000000 nvidia0: [GIANT-LOCKED] pcib2: at device 3.0 on pci0 pcib2: secondary bus 2 pcib2: subordinate bus 2 pcib2: I/O decode 0xc000-0xcfff pcib2: memory decode 0xfe900000-0xfe9fffff pcib2: prefetched decode 0xfff00000-0xfffff ACPI PCI link initial configuration: pci2: on pcib2 pci2: physical bus=2 map[10]: type 1, range 32, base fe9e0000, size 17, enabled pcib2: device (null) requested decoded memory range 0xfe9e0000-0xfe9fffff map[18]: type 4, range 32, base 0000cf80, size 5, enabled pcib2: device (null) requested decoded I/O range 0xcf80-0xcf9f pcib2: matched entry for 2.1.INTA pcib2: slot 1 INTA hardwired to IRQ 18 found-> vendor=0x8086, dev=0x1019, revid=0x00 bus=2, slot=1, func=0 class=02-00-00, hdrtype=0x00, mfdev=0 cmdreg=0x0007, statreg=0x0238, cachelnsz=4 (dwords) lattimer=0x00 (0 ns), mingnt=0xff (63750 ns), maxlat=0x00 (0 ns) intpin=a, irq=18 powerspec 2 supports D0 D3 current D0 em0: port 0xcf80-0xcf9f mem 0xfe9e0000-0xfe9fffff irq 18 at device 1.0 on pci2 em0: Reserved 0x20000 bytes for rid 0x10 type 3 at 0xfe9e0000 em0: Reserved 0x20 bytes for rid 0x18 type 4 at 0xcf80 em0: [MPSAFE] em0: bpf attached em0: Ethernet address: 00:0c:6e:79:7a:bb em0: Speed:N/A Duplex:N/A uhci0: port 0xeec0-0xeedf irq 16 at device 29.0 on pci0 uhci0: Reserved 0x20 bytes for rid 0x20 type 4 at 0xeec0 uhci0: [GIANT-LOCKED] usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: port 0xef00-0xef1f irq 19 at device 29.1 on pci0 uhci1: Reserved 0x20 bytes for rid 0x20 type 4 at 0xef00 uhci1: [GIANT-LOCKED] usb1: on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0xef20-0xef3f irq 18 at device 29.2 on pci0 uhci2: Reserved 0x20 bytes for rid 0x20 type 4 at 0xef20 uhci2: [GIANT-LOCKED] usb2: on uhci2 usb2: USB revision 1.0 uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered uhci3: port 0xef40-0xef5f irq 16 at device 29.3 on pci0 uhci3: Reserved 0x20 bytes for rid 0x20 type 4 at 0xef40 uhci3: [GIANT-LOCKED] usb3: on uhci3 usb3: USB revision 1.0 uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub3: 2 ports with 2 removable, self powered pci0: at device 29.7 (no driver attached) pcib3: at device 30.0 on pci0 pcib3: secondary bus 3 pcib3: subordinate bus 3 pcib3: I/O decode 0xd000-0xdfff pcib3: memory decode 0xfea00000-0xfeafffff pcib3: prefetched decode 0xfff00000-0xfffff pcib3: Subtractively decoded bridge. ACPI PCI link initial configuration: pci3: on pcib3 pci3: physical bus=3 map[10]: type 1, range 32, base feaff800, size 11, enabled pcib3: device (null) requested decoded memory range 0xfeaff800-0xfeafffff map[14]: type 4, range 32, base 0000dc00, size 7, enabled pcib3: device (null) requested decoded I/O range 0xdc00-0xdc7f pcib3: matched entry for 3.3.INTA pcib3: slot 3 INTA hardwired to IRQ 20 found-> vendor=0x1106, dev=0x3044, revid=0x80 bus=3, slot=3, func=0 class=0c-00-10, hdrtype=0x00, mfdev=0 cmdreg=0x0117, statreg=0x0210, cachelnsz=4 (dwords) lattimer=0xc0 (5760 ns), mingnt=0x00 (0 ns), maxlat=0x20 (8000 ns) intpin=a, irq=20 powerspec 2 supports D0 D2 D3 current D0 fwohci0: port 0xdc00-0xdc7f mem 0xfeaff800-0xfeafffff irq 20 at device 3.0 on pci3 fwohci0: Reserved 0x800 bytes for rid 0x10 type 3 at 0xfeaff800 fwohci0: [MPSAFE] fwohci0: OHCI version 1.0 (ROM=1) fwohci0: No. of Isochronous channels is 4. fwohci0: EUI64 00:e0:18:00:00:28:47:f6 fwohci0: Phy 1394a available S400, 2 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: on fwohci0 fwohci0: Initiate bus reset fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me) firewire0: bus manager 0 (me) isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0xef90-0xef9f,0xefa8-0xefab,0xefa0-0xefa7,0xefac-0xefaf,0xefe0-0xefe7 irq 18 at device 31.1 on pci0 atapci0: Reserved 0x10 bytes for rid 0x20 type 4 at 0xef90 atapci0: [MPSAFE] ata2: channel #0 on atapci0 atapci0: Reserved 0x8 bytes for rid 0x10 type 4 at 0xefe0 atapci0: Reserved 0x4 bytes for rid 0x14 type 4 at 0xefac ata2: reset tp1 mask=03 ostat0=50 ostat1=50 ata2-master: stat=0x50 err=0x01 lsb=0x00 msb=0x00 ata2-slave: stat=0x50 err=0x01 lsb=0x00 msb=0x00 ata2: reset tp2 stat0=50 stat1=50 devices=0x3 ata2: [MPSAFE] ata3: channel #1 on atapci0 atapci0: Reserved 0x8 bytes for rid 0x18 type 4 at 0xefa0 atapci0: Reserved 0x4 bytes for rid 0x1c type 4 at 0xefa8 ata3: reset tp1 mask=03 ostat0=00 ostat1=00 ata3-master: stat=0x6f err=0x6f lsb=0x6f msb=0x6f ata3-master: stat=0x6f err=0x6f lsb=0x6f msb=0x6f ata3-master: stat=0x6f err=0x6f lsb=0x6f msb=0x6f ata3-master: stat=0x6f err=0x6f lsb=0x6f msb=0x6f ata3: reset tp2 stat0=ef stat1=80 devices=0x0 ata3: [MPSAFE] pci0: at device 31.3 (no driver attached) pcm0: port 0xee80-0xeebf,0xe800-0xe8ff mem 0xfebff000-0xfebff0ff,0xfebff400-0xfebff5ff irq 17 at device 31.5 on pci0 pcm0: Reserved 0x200 bytes for rid 0x18 type 3 at 0xfebff400 pcm0: Reserved 0x100 bytes for rid 0x1c type 3 at 0xfebff000 pcm0: [GIANT-LOCKED] pcm0: pcm0: Codec features headphone, 20 bit DAC, 5 bit master volume, no 3D Stereo Enhancement pcm0: Primary codec extended features variable rate PCM, double rate PCM, reserved 1, center DAC, surround DAC, LFE DAC, AMAP pcm0: sndbuf_setmap 7d608000, 4000; 0xeac79000 -> 7d608000 pcm0: sndbuf_setmap 7d5ff000, 4000; 0xeac7d000 -> 7d5ff000 acpi_button0: on acpi0 atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 atkbd: the current kbd controller command byte 0065 atkbd: keyboard ID 0x41ab (2) kbd0 at atkbd0 kbd0: atkbd0, AT 101/102 (2), config:0x0, flags:0x3d0000 atkbd0: [GIANT-LOCKED] psm0: unable to allocate IRQ psmcpnp0: irq 12 on acpi0 psm0: current command byte:0065 psm0: failed to reset the aux device. sio0: irq maps: 0x801 0x811 0x801 0x801 sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A sio1: irq maps: 0x801 0x809 0x801 0x801 sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A fdc0: port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0 fdc0: ic_type 90 part_id 80 fdc0: [MPSAFE] fdc0: [FAST] fd0: <1440-KB 3.5" drive> on fdc0 drive 0 ppc0: using extended I/O port range ppc0: ECP SPP ECP+EPP SPP ppc0: port 0x778-0x77b,0x378-0x37f irq 7 drq 3 on acpi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/9 bytes threshold ppbus0: on ppc0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 atkbdc: atkbdc0 already exists; skipping it fdc: fdc0 already exists; skipping it ppc: ppc0 already exists; skipping it sio: sio0 already exists; skipping it sio: sio1 already exists; skipping it Trying Read_Port at 203 Trying Read_Port at 243 Trying Read_Port at 283 Trying Read_Port at 2c3 Trying Read_Port at 303 Trying Read_Port at 343 Trying Read_Port at 383 Trying Read_Port at 3c3 sc: sc0 already exists; skipping it vga: vga0 already exists; skipping it isa_probe_children: disabling PnP devices isa_probe_children: probing non-PnP devices orm0: at iomem 0xc0000-0xce7ff on isa0 pmtimer0 on isa0 adv0: not probed (disabled) aha0: not probed (disabled) aic0: not probed (disabled) ata0 at port 0x3f6,0x1f0-0x1f7 irq 14 on isa0 ata0: reset tp1 mask=00 ostat0=ff ostat1=ff ata0: [MPSAFE] ata1 at port 0x376,0x170-0x177 irq 15 on isa0 ata1: reset tp1 mask=00 ostat0=ff ostat1=ff ata1: [MPSAFE] bt0: not probed (disabled) cs0: not probed (disabled) ed0: not probed (disabled) fe0: not probed (disabled) ie0: not probed (disabled) lnc0: not probed (disabled) pcic0 failed to probe at port 0x3e0 iomem 0xd0000 on isa0 pcic1: not probed (disabled) sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sc0: fb0, kbd0, terminal emulator: sc (syscons terminal) sio2: not probed (disabled) sio3: not probed (disabled) sn0: not probed (disabled) vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 fb0: vga0, vga, type:VGA (5), flags:0x7007f fb0: port:0x3c0-0x3df, crtc:0x3d4, mem:0xa0000 0x20000 fb0: init mode:24, bios mode:3, current mode:24 fb0: window:0xc00b8000 size:32k gran:32k, buf:0 size:32k VGA parameters upon power-up 50 18 10 00 00 00 03 00 02 67 5f 4f 50 82 54 80 bf 1f 00 4f 0d 0e 00 00 07 80 9c 8e 8f 28 1f 96 b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff VGA parameters in BIOS for mode 24 50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 54 80 bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff EGA/VGA parameters to be used for mode 24 50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 54 80 bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff vt0: not probed (disabled) isa_probe_children: probing PnP devices Device configuration finished. Reducing kern.maxvnodes 134066 -> 100000 procfs registered Timecounter "TSC" frequency 2806372688 Hz quality -100 Timecounters tick every 10.000 msec Linux ELF exec handler installed lo0: bpf attached em0: Link is up 1000 Mbps Full Duplex ata2-slave: pio=0x0c wdma=0x22 udma=0x45 cable=80pin ata2-master: pio=0x0c wdma=0x22 udma=0x45 cable=80pin ata2-master: setting PIO4 on Intel ICH5 chip ata2-master: setting UDMA100 on Intel ICH5 chip ata2-slave: setting PIO4 on Intel ICH5 chip ata2-slave: setting UDMA100 on Intel ICH5 chip ad4: ATA-6 disk at ata2-master ad4: 238475MB (488397168 sectors), 484521 C, 16 H, 63 S, 512 B ad4: 16 secs/int, 1 depth queue, UDMA100 ar: FreeBSD check1 failed ad5: ATA-6 disk at ata2-slave ad5: 238475MB (488397168 sectors), 484521 C, 16 H, 63 S, 512 B ad5: 16 secs/int, 1 depth queue, UDMA100 ar: FreeBSD check1 failed pcm0: measured ac97 link rate at 48004 Hz, will use 48000 Hz SMP: AP CPU #1 Launched! cpu1 AP: ID: 0x01000000 VER: 0x00050014 LDR: 0x02000000 DFR: 0x0fffffff lint0: 0x00010700 lint1: 0x00010400 TPR: 0x00000000 SVR: 0x000001ff ioapic0: routing intpin 1 (ISA IRQ 1) to cluster 0 ioapic0: routing intpin 3 (ISA IRQ 3) to cluster 0 ioapic0: routing intpin 4 (ISA IRQ 4) to cluster 0 ioapic0: routing intpin 6 (ISA IRQ 6) to cluster 0 ioapic0: routing intpin 7 (ISA IRQ 7) to cluster 0 ioapic0: routing intpin 8 (ISA IRQ 8) to cluster 0 ioapic0: routing intpin 9 (ISA IRQ 9) to cluster 0 ioapic0: routing intpin 13 (ISA IRQ 13) to cluster 0 ioapic0: routing intpin 14 (ISA IRQ 14) to cluster 0 ioapic0: routing intpin 15 (ISA IRQ 15) to cluster 0 ioapic0: routing intpin 16 (PCI IRQ 16) to cluster 0 ioapic0: routing intpin 17 (PCI IRQ 17) to cluster 0 ioapic0: routing intpin 18 (PCI IRQ 18) to cluster 0 ioapic0: routing intpin 19 (PCI IRQ 19) to cluster 0 ioapic0: routing intpin 20 (PCI IRQ 20) to cluster 0 GEOM: new disk ad4 GEOM: new disk ad5 [0] f:80 typ:165 s(CHS):0/1/1 e(CHS):168/15/63 s:63 l:488397105 [1] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0 [2] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0 [3] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0 GEOM: Configure ad4s1, start 32256 length 250059317760 end 250059350015 [0] f:80 typ:165 s(CHS):0/1/1 e(CHS):168/15/63 s:63 l:488397105 [1] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0 [2] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0 [3] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0 GEOM: Configure ad5s1, start 32256 length 250059317760 end 250059350015 [0] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0 [1] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0 [2] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0 [3] f:80 typ:165 s(CHS):0/0/1 e(CHS):1023/254/63 s:0 l:50000 GEOM: Configure ad4s1a, start 0 length 1073741824 end 1073741823 GEOM: Configure ad4s1b, start 1073741824 length 2147483648 end 3221225471 GEOM: Configure ad4s1c, start 0 length 250059317760 end 250059317759 GEOM: Configure ad4s1d, start 3221225472 length 1073741824 end 4294967295 GEOM: Configure ad4s1e, start 4294967296 length 4294967296 end 8589934591 GEOM: Configure ad4s1f, start 8589934592 length 241469383168 end 250059317759 GEOM: Configure ad5s1b, start 0 length 2147483648 end 2147483647 GEOM: Configure ad5s1c, start 0 length 250059317760 end 250059317759 GEOM: Configure ad5s1f, start 2147483648 length 247911834112 end 250059317759 [0] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0 [1] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0 [2] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0 [3] f:80 typ:165 s(CHS):0/0/1 e(CHS):1023/254/63 s:0 l:50000 [0] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0 [1] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0 [2] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0 [3] f:80 typ:165 s(CHS):0/0/1 e(CHS):1023/254/63 s:0 l:50000 Mounting root from ufs:/dev/ad4s1a start_init: trying /sbin/init splash: image decoder found: green_saver em0: Link is up 1000 Mbps Full Duplex >How-To-Repeat: Boot. Happens every time. >Fix: Wish I knew. >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Tue Apr 26 23:40:14 2005 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6BC7716A4D0 for ; Tue, 26 Apr 2005 23:40:11 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1D96543D2D for ; Tue, 26 Apr 2005 23:40:11 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j3QNeADt069875 for ; Tue, 26 Apr 2005 23:40:10 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j3QNeAMo069874; Tue, 26 Apr 2005 23:40:10 GMT (envelope-from gnats) Date: Tue, 26 Apr 2005 23:40:10 GMT Message-Id: <200504262340.j3QNeAMo069874@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Harry Coin Subject: Re: kern/80381: 5.4 RC3 can't allocate ps/2 irq, no psm, no mouse. Same box works fine on 5.3 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Harry Coin List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Apr 2005 23:40:14 -0000 The following reply was made to PR kern/80381; it has been noted by GNATS. From: Harry Coin To: bug-followup@FreeBSD.org, harrycoin@quietfountain.com Cc: Subject: Re: kern/80381: 5.4 RC3 can't allocate ps/2 irq, no psm, no mouse. Same box works fine on 5.3 Date: Tue, 26 Apr 2005 18:39:36 -0500 P.S. Box is an ASUS P4C-800E, (single P4 , hyperthreaded) latest firmware (5.3 works on current firmware.). P.P.S. Booting without ACPI hangs in a panic. HTH From owner-freebsd-bugs@FreeBSD.ORG Wed Apr 27 00:51:44 2005 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B4EB516A4CF; Wed, 27 Apr 2005 00:51:44 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8504343D46; Wed, 27 Apr 2005 00:51:44 +0000 (GMT) (envelope-from davidxu@freebsd.org) Received: from [127.0.0.1] (davidxu@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j3R0pgUd077581; Wed, 27 Apr 2005 00:51:42 GMT (envelope-from davidxu@freebsd.org) Message-ID: <426EE252.5060104@freebsd.org> Date: Wed, 27 Apr 2005 08:52:34 +0800 From: David Xu User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.6) Gecko/20050319 X-Accept-Language: en-us, en MIME-Version: 1.0 To: =?ISO-8859-1?Q?=22Se=E1n_C=2E_Farley=22?= References: <200502210120.j1L1KIM3024205@freefall.freebsd.org> <20050418155836.L11216@thor.farley.org> <4264C33B.8020207@freebsd.org> <20050425141315.I25522@thor.farley.org> <426D7CE3.4080608@freebsd.org> <20050426111540.X823@thor.farley.org> In-Reply-To: <20050426111540.X823@thor.farley.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit cc: freebsd-bugs@freebsd.org cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: gnu/77818: GDB locks in wait4() when running applications X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Apr 2005 00:51:44 -0000 Seán C. Farley wrote: > On Tue, 26 Apr 2005, David Xu wrote: > >> It was MFCed onto -STABLE. > > > I had updated after your last e-mail but had seen no change. > > I updated again this morning (changes to kern_exit.c and kern_sig.c) and > am still seeing the GDB problem with Zsh. > > Is this a separate problem? > > Seán Yes, I think it is a separated problem. From owner-freebsd-bugs@FreeBSD.ORG Wed Apr 27 01:00:43 2005 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F2BF516A4CE for ; Wed, 27 Apr 2005 01:00:42 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id D967B43D60 for ; Wed, 27 Apr 2005 01:00:42 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j3R10g0k077737 for ; Wed, 27 Apr 2005 01:00:42 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j3R10ggi077736; Wed, 27 Apr 2005 01:00:42 GMT (envelope-from gnats) Date: Wed, 27 Apr 2005 01:00:42 GMT Message-Id: <200504270100.j3R10ggi077736@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: David Xu Subject: Re: gnu/77818: GDB locks in wait4() when running applications X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: David Xu List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Apr 2005 01:00:43 -0000 The following reply was made to PR gnu/77818; it has been noted by GNATS. From: David Xu To: =?ISO-8859-1?Q?=22Se=E1n_C=2E_Farley=22?= Cc: freebsd-bugs@freebsd.org, FreeBSD-gnats-submit@freebsd.org Subject: Re: gnu/77818: GDB locks in wait4() when running applications Date: Wed, 27 Apr 2005 08:52:34 +0800 Seán C. Farley wrote: > On Tue, 26 Apr 2005, David Xu wrote: > >> It was MFCed onto -STABLE. > > > I had updated after your last e-mail but had seen no change. > > I updated again this morning (changes to kern_exit.c and kern_sig.c) and > am still seeing the GDB problem with Zsh. > > Is this a separate problem? > > Seán Yes, I think it is a separated problem. From owner-freebsd-bugs@FreeBSD.ORG Wed Apr 27 01:00:44 2005 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4D05F16A4CE for ; Wed, 27 Apr 2005 01:00:44 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 14E9343D49 for ; Wed, 27 Apr 2005 01:00:44 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j3R10hq3077765 for ; Wed, 27 Apr 2005 01:00:43 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j3R10hSs077763; Wed, 27 Apr 2005 01:00:43 GMT (envelope-from gnats) Resent-Date: Wed, 27 Apr 2005 01:00:43 GMT Resent-Message-Id: <200504270100.j3R10hSs077763@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, lmendez19@austin.rr.com Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E244816A4D9 for ; Wed, 27 Apr 2005 00:55:25 +0000 (GMT) Received: from gnome.dnsalias.net (cpe-67-9-163-3.austin.res.rr.com [67.9.163.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id C5D7C43D5D for ; Wed, 27 Apr 2005 00:55:23 +0000 (GMT) (envelope-from root@gnome.dnsalias.net) Received: by twind (Postfix, from userid 0) id 07B7D60FB; Wed, 27 Apr 2005 00:55:31 -0500 (CDT) Message-Id: <20050427055531.07B7D60FB@gnome.dnsalias.net> Date: Wed, 27 Apr 2005 00:55:31 -0500 (CDT) From: Lonnie Mendez To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 cc: dignome@gmail.com Subject: kern/80383: [PATCH] Add quirk for uhid to ignore certain usb devices (blacklist) X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: lmendez19@austin.rr.com List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Apr 2005 01:00:44 -0000 >Number: 80383 >Category: kern >Synopsis: [PATCH] Add quirk for uhid to ignore certain usb devices (blacklist) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Apr 27 01:00:42 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Lonnie Mendez >Release: FreeBSD 5.3-RELEASE-p10 i386 >Organization: >Environment: System: FreeBSD twind.austin.rr.com 5.3-RELEASE-p10 FreeBSD 5.3-RELEASE-p10 #3: Tue Apr 26 07:46:25 CDT 2005 root@twind.austin.rr.com:/usr/src/sys/i386/compile/MINIME i386 >Description: This patch allows uhid to leave alone devices that identify themselves as hid based, but are indeed used via another interface. This is very simliar in concept to the hid blacklist table found in hid-core.c in the linux kernel. >How-To-Repeat: Applies to 5.3/FreeBSD-CURRENT kernel. Runtime tested. >Fix: --- hid_blacklist.patch begins here --- diff -u -r ./uhid.c hidpatch/uhid.c --- ./uhid.c Tue Oct 12 19:51:01 2004 +++ hidpatch/uhid.c Tue Apr 26 07:40:07 2005 @@ -91,6 +91,9 @@ /* Report descriptor for broken Wacom Graphire */ #include +/* For hid blacklist quirk */ +#include + #ifdef USB_DEBUG #define DPRINTF(x) if (uhiddebug) logprintf x #define DPRINTFN(n,x) if (uhiddebug>(n)) logprintf x @@ -190,6 +193,8 @@ return (UMATCH_NONE); id = usbd_get_interface_descriptor(uaa->iface); if (id == NULL || id->bInterfaceClass != UICLASS_HID) + return (UMATCH_NONE); + if (usbd_get_quirks(uaa->device)->uq_flags & UQ_HID_IGNORE) return (UMATCH_NONE); #if 0 if (uaa->matchlvl) diff -u -r ./usb_quirks.c hidpatch/usb_quirks.c --- ./usb_quirks.c Mon Sep 20 00:18:04 2004 +++ hidpatch/usb_quirks.c Tue Apr 26 03:24:12 2005 @@ -101,6 +101,9 @@ ANY, { UQ_ASSUME_CM_OVER_DATA }}, { USB_VENDOR_SUNTAC, USB_PRODUCT_SUNTAC_AS64LX, 0x100, { UQ_ASSUME_CM_OVER_DATA }}, + /* Devices which should be ignored by uhid */ + { USB_VENDOR_DELORME, USB_PRODUCT_DELORME_EARTHMATE, + ANY, { UQ_HID_IGNORE }}, { 0, 0, 0, { 0 } } }; diff -u -r ./usb_quirks.h hidpatch/usb_quirks.h --- ./usb_quirks.h Thu Jul 5 05:12:59 2001 +++ hidpatch/usb_quirks.h Tue Apr 26 07:41:18 2005 @@ -54,6 +54,7 @@ #define UQ_AU_INP_ASYNC 0x0800 /* input is async despite claim of adaptive */ #define UQ_ASSUME_CM_OVER_DATA 0x1000 /* modem device breaks on cm over data */ #define UQ_BROKEN_BIDIR 0x2000 /* printer has broken bidir mode */ +#define UQ_HID_IGNORE 0x4000 /* device should be ignored by hid class */ }; extern const struct usbd_quirks usbd_no_quirk; --- hid_blacklist.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Wed Apr 27 04:30:17 2005 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2396416A4CE for ; Wed, 27 Apr 2005 04:30:17 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id CF4E643D64 for ; Wed, 27 Apr 2005 04:30:16 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j3R4UGVq008051 for ; Wed, 27 Apr 2005 04:30:16 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j3R4UGDC008050; Wed, 27 Apr 2005 04:30:16 GMT (envelope-from gnats) Resent-Date: Wed, 27 Apr 2005 04:30:16 GMT Resent-Message-Id: <200504270430.j3R4UGDC008050@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Eric Anholt Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 37CBD16A4CE for ; Wed, 27 Apr 2005 04:27:12 +0000 (GMT) Received: from leguin.anholt.net (69-30-77-85.dq1sn.easystreet.com [69.30.77.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0473343D1F for ; Wed, 27 Apr 2005 04:27:11 +0000 (GMT) (envelope-from anholt@leguin.anholt.net) Received: from leguin.anholt.net (localhost [127.0.0.1]) by leguin.anholt.net (8.13.3/8.13.1) with ESMTP id j3R4QYaR014852 for ; Tue, 26 Apr 2005 21:26:37 -0700 (PDT) (envelope-from anholt@leguin.anholt.net) Received: (from anholt@localhost) by leguin.anholt.net (8.13.3/8.13.1/Submit) id j3R4QXCw014851; Tue, 26 Apr 2005 21:26:33 -0700 (PDT) (envelope-from anholt) Message-Id: <200504270426.j3R4QXCw014851@leguin.anholt.net> Date: Tue, 26 Apr 2005 21:26:33 -0700 (PDT) From: Eric Anholt To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: bin/80389: rpc.lockd brokenness X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Eric Anholt List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Apr 2005 04:30:17 -0000 >Number: 80389 >Category: bin >Synopsis: rpc.lockd brokenness >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Apr 27 04:30:16 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Eric Anholt >Release: FreeBSD 6.0-CURRENT amd64 >Organization: >Environment: System: FreeBSD leguin.anholt.net 6.0-CURRENT FreeBSD 6.0-CURRENT #9: Tue Apr 19 23:36:20 PDT 2005 anholt@leguin.anholt.net:/usr/src/current/sys/amd64/compile/MYKERNEL amd64 >Description: rpc.lockd has stopped working -- 6.x nfs clients of a 6.x server will stall in "lockd" state. Reverting to Jan 1 fixes the issue. PR submitted to remind myself to track it down when I get time. >How-To-Repeat: Install mysql40-server port -- hang on startup. Any sendmail on diskless startup as well. >Fix: Revert to Jan 1 rpc.lockd. >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Wed Apr 27 04:39:54 2005 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9E55216A4CE; Wed, 27 Apr 2005 04:39:54 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 74E7343D41; Wed, 27 Apr 2005 04:39:54 +0000 (GMT) (envelope-from anholt@FreeBSD.org) Received: from freefall.freebsd.org (anholt@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j3R4dsd0009374; Wed, 27 Apr 2005 04:39:54 GMT (envelope-from anholt@freefall.freebsd.org) Received: (from anholt@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j3R4dshV009370; Wed, 27 Apr 2005 04:39:54 GMT (envelope-from anholt) Date: Wed, 27 Apr 2005 04:39:54 GMT From: Eric Anholt Message-Id: <200504270439.j3R4dshV009370@freefall.freebsd.org> To: anholt@FreeBSD.org, freebsd-bugs@FreeBSD.org, anholt@FreeBSD.org Subject: Re: bin/80389: rpc.lockd brokenness X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Apr 2005 04:39:54 -0000 Synopsis: rpc.lockd brokenness Responsible-Changed-From-To: freebsd-bugs->anholt Responsible-Changed-By: anholt Responsible-Changed-When: Wed Apr 27 04:39:36 GMT 2005 Responsible-Changed-Why: Snag this one so I remember to track it down specifically. http://www.freebsd.org/cgi/query-pr.cgi?pr=80389 From owner-freebsd-bugs@FreeBSD.ORG Wed Apr 27 07:00:33 2005 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CBFF316A4CE for ; Wed, 27 Apr 2005 07:00:33 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7B18743D5D for ; Wed, 27 Apr 2005 07:00:33 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j3R70XAF053307 for ; Wed, 27 Apr 2005 07:00:33 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j3R70Xxt053306; Wed, 27 Apr 2005 07:00:33 GMT (envelope-from gnats) Resent-Date: Wed, 27 Apr 2005 07:00:33 GMT Resent-Message-Id: <200504270700.j3R70Xxt053306@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Andre Albsmeier Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F38D316A4CE for ; Wed, 27 Apr 2005 06:52:31 +0000 (GMT) Received: from thoth.sbs.de (thoth.sbs.de [192.35.17.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0ECCB43D62 for ; Wed, 27 Apr 2005 06:52:31 +0000 (GMT) (envelope-from Andre.Albsmeier@siemens.com) Received: from mail3.siemens.de (mail3.siemens.de [139.25.208.14]) by thoth.sbs.de (8.12.6/8.12.6) with ESMTP id j3R6qTfc015493 for ; Wed, 27 Apr 2005 08:52:29 +0200 Received: from mars.cert.siemens.com (mars.cert.siemens.com [139.25.19.9]) by mail3.siemens.de (8.12.6/8.12.6) with ESMTP id j3R6qTXJ016482 for ; Wed, 27 Apr 2005 08:52:29 +0200 Received: from mail-ct.mchp.siemens.de (mail-ct.mchp.siemens.de [139.25.31.51]) mail/cert.mc.pre,v 1.66 2005/02/14 15:55:03 mailadm Exp $) with ESMTP id j3R6qTFK049398 for ; Wed, 27 Apr 2005 08:52:29 +0200 (CEST) Received: from curry.mchp.siemens.de (curry [139.25.42.7]) j3R6qS2W021675 for ; Wed, 27 Apr 2005 08:52:29 +0200 (MEST) Received: (from localhost) by curry.mchp.siemens.de (8.13.3/8.13.3) id j3R6qSdx041510 for FreeBSD-gnats-submit@freebsd.org; Wed, 27 Apr 2005 08:52:28 +0200 (CEST) Message-Id: <200504270652.j3R6qSxv038497@curry.mchp.siemens.de> Date: Wed, 27 Apr 2005 08:52:28 +0200 (CEST) From: Andre Albsmeier To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: kern/80390: fstatfs() returns wrong flags or libexec/rtld-elf/rtld.c is broken X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Apr 2005 07:00:33 -0000 >Number: 80390 >Category: kern >Synopsis: fstatfs() returns wrong flags or libexec/rtld-elf/rtld.c is broken >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Apr 27 07:00:32 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Andre Albsmeier >Release: FreeBSD 5.4-STABLE i386 >Organization: >Environment: FreeBSD 5.4-STABLE i386 used as NFS client >Description: On a FreeBSD 5.4-STABLE system fstatfs() used on an NFS mounted volume now returns the NFS mount option flags (as defined in sys/nfsclient/nfsargs.h) instead of the "normal" filesystem flags as defined in sys/sys/mount.h. This means that if you mount the remote fs with the -r (set read size) option set, fstatfs() will return a value with NFSMNT_RSIZE (0x00000004) set. However, libexec/rtld-elf/rtld.c uses the result of fstatfs() to determine if someone tried to circumvent a possibly set noexec flag on the filesystem, see http://www.freebsd.org/cgi/cvsweb.cgi/src/libexec/rtld-elf/rtld.c.diff?r1=1.104&r2=1.105 Therefore, an NFS fs which has been mounted using -r, appears to rtld.c as if the -o noexec option was given. >How-To-Repeat: Mount an NFS filesystem using -r on a 5.4-STABLE client. Try to build perl5.8 from ports on it (The perl build tries to execute some "LD_LIBRARY_PATH=blahblah ./miniperl ..." command which fails due to the MNT_NOEXEC seen by the linker). >Fix: "man fstatfs" clearly states that the returned flags are the "normal" filesystem flags as defined in sys/sys/mount.h. If it is intended that fstatfs() now returns the NFS mount option flags (as defined in sys/nfsclient/nfsargs.h), rtld.c and the fstatfs manpage must be fixed. Otherwise, the following patch restores the old behaviour as known from FreeBSD-4 and as documented in the manpage: --- sys/kern/vfs_syscalls.c.ORI Mon Feb 28 06:54:34 2005 +++ sys/kern/vfs_syscalls.c Wed Apr 27 08:44:26 2005 @@ -242,10 +242,10 @@ */ sp->f_version = STATFS_VERSION; sp->f_namemax = NAME_MAX; - sp->f_flags = mp->mnt_flag & MNT_VISFLAGMASK; error = VFS_STATFS(mp, sp, td); if (error) return (error); + sp->f_flags = mp->mnt_flag & MNT_VISFLAGMASK; if (suser(td)) { bcopy(sp, &sb, sizeof(sb)); sb.f_fsid.val[0] = sb.f_fsid.val[1] = 0; @@ -293,10 +293,10 @@ */ sp->f_version = STATFS_VERSION; sp->f_namemax = NAME_MAX; - sp->f_flags = mp->mnt_flag & MNT_VISFLAGMASK; error = VFS_STATFS(mp, sp, td); if (error) return (error); + sp->f_flags = mp->mnt_flag & MNT_VISFLAGMASK; if (suser(td)) { bcopy(sp, &sb, sizeof(sb)); sb.f_fsid.val[0] = sb.f_fsid.val[1] = 0; @@ -356,7 +356,6 @@ */ sp->f_version = STATFS_VERSION; sp->f_namemax = NAME_MAX; - sp->f_flags = mp->mnt_flag & MNT_VISFLAGMASK; /* * If MNT_NOWAIT or MNT_LAZY is specified, do not * refresh the fsstat cache. MNT_NOWAIT or MNT_LAZY @@ -370,6 +369,7 @@ vfs_unbusy(mp, td); continue; } + sp->f_flags = mp->mnt_flag & MNT_VISFLAGMASK; if (suser(td)) { bcopy(sp, &sb, sizeof(sb)); sb.f_fsid.val[0] = sb.f_fsid.val[1] = 0; >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Wed Apr 27 09:20:15 2005 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7E78516A4CE for ; Wed, 27 Apr 2005 09:20:15 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5AD6843D55 for ; Wed, 27 Apr 2005 09:20:15 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j3R9KFXd072404 for ; Wed, 27 Apr 2005 09:20:15 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j3R9KEpZ072403; Wed, 27 Apr 2005 09:20:14 GMT (envelope-from gnats) Date: Wed, 27 Apr 2005 09:20:14 GMT Message-Id: <200504270920.j3R9KEpZ072403@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Ian Dowse Subject: Re: kern/80390: fstatfs() returns wrong flags or libexec/rtld-elf/rtld.c is broken X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Ian Dowse List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Apr 2005 09:20:15 -0000 The following reply was made to PR kern/80390; it has been noted by GNATS. From: Ian Dowse To: Andre Albsmeier Cc: FreeBSD-gnats-submit@FreeBSD.org Subject: Re: kern/80390: fstatfs() returns wrong flags or libexec/rtld-elf/rtld.c is broken Date: Wed, 27 Apr 2005 10:19:50 +0100 In message <200504270652.j3R6qSxv038497@curry.mchp.siemens.de>, Andre Albsmeier writes: >On a FreeBSD 5.4-STABLE system fstatfs() used on an NFS mounted >volume now returns the NFS mount option flags (as defined in >sys/nfsclient/nfsargs.h) instead of the "normal" filesystem >flags as defined in sys/sys/mount.h. I wonder if the following would be more appropriate? This change was made in the CSRG sources in March 1995, but the equivalent change was not made to FreeBSD when the NFSv3 import happened a few months later. Maybe there is something in the kernel that depends on getting the NFS flags this way though. Ian Index: nfs_vfsops.c =================================================================== RCS file: /dump/FreeBSD-CVS/src/sys/nfsclient/nfs_vfsops.c,v retrieving revision 1.172 diff -u -r1.172 nfs_vfsops.c --- nfs_vfsops.c 24 Mar 2005 07:37:22 -0000 1.172 +++ nfs_vfsops.c 27 Apr 2005 09:12:56 -0000 @@ -266,7 +266,6 @@ goto nfsmout; } sfp = nfsm_dissect(struct nfs_statfs *, NFSX_STATFS(v3)); - sbp->f_flags = nmp->nm_flag; sbp->f_iosize = nfs_iosize(nmp); if (v3) { sbp->f_bsize = NFS_FABLKSIZE; From owner-freebsd-bugs@FreeBSD.ORG Wed Apr 27 10:10:27 2005 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6058716A4CE for ; Wed, 27 Apr 2005 10:10:27 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id D0E9A43D69 for ; Wed, 27 Apr 2005 10:10:26 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j3RAAQoW078651 for ; Wed, 27 Apr 2005 10:10:26 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j3RAAQjX078650; Wed, 27 Apr 2005 10:10:26 GMT (envelope-from gnats) Resent-Date: Wed, 27 Apr 2005 10:10:26 GMT Resent-Message-Id: <200504271010.j3RAAQjX078650@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Martin Mersberger Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9EF9516A4CE for ; Wed, 27 Apr 2005 10:01:48 +0000 (GMT) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4373443D60 for ; Wed, 27 Apr 2005 10:01:48 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j3RA1mRh062015 for ; Wed, 27 Apr 2005 10:01:48 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id j3RA1ms6062014; Wed, 27 Apr 2005 10:01:48 GMT (envelope-from nobody) Message-Id: <200504271001.j3RA1ms6062014@www.freebsd.org> Date: Wed, 27 Apr 2005 10:01:48 GMT From: Martin Mersberger To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: kern/80396: kernel support for Intel 915 chipset X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Apr 2005 10:10:27 -0000 >Number: 80396 >Category: kern >Synopsis: kernel support for Intel 915 chipset >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Wed Apr 27 10:10:26 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Martin Mersberger >Release: 5.4RC3 >Organization: >Environment: FreeBSD 5.4-RC3 #0: Sun Apr 17 09:23:46 UTC 2005 root@harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC >Description: e.g. on the current DELL Latitude 610, the new intel 915 chipset can be found using also the 900 graphics chips. ( there are 2 variants of the Latitute 610 around - one with intel graphics, one with ATI - this one refers to the Intel grafic ) I've installed 5.4RELEASE RC3 running the GENERIC kernel. It seems, that the chipset is not initialized correctly - e.g. the /dev/agpgart is also not there, which X would need to use the intel graphics. ( X.org says, it is used with the i810 driver and that does e.g. on various linux flavors using the /dev/agpgart flavor interface ) below, a bootlog of - a boot -v - scanpci - xorg.conf many tnx cheers Martin # dmesg cat boot.log Copyright (c) 1992-2005 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.4-RC3 #0: Sun Apr 17 09:23:46 UTC 2005 root@harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC Preloaded elf kernel "/boot/kernel/kernel" at 0xc0a5e000. Preloaded elf module "/boot/kernel/snd_ich.ko" at 0xc0a5e2e4. Preloaded elf module "/boot/kernel/sound.ko" at 0xc0a5e390. Preloaded elf module "/boot/kernel/speaker.ko" at 0xc0a5e43c. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0a5e4e8. Calibrating clock(s) ... i8254 clock: 1193202 Hz CLK_USE_I8254_CALIBRATION not specified - using default frequency Timecounter "i8254" frequency 1193182 Hz quality 0 Calibrating TSC clock ... TSC clock: 1596010730 Hz CPU: Intel(R) Pentium(R) M processor 1.60GHz (1596.01-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x6d8 Stepping = 8 Features=0xafe9fbff real memory = 528289792 (503 MB) Physical memory chunk(s): 0x0000000000001000 - 0x000000000009efff, 647168 bytes (158 pages) 0x0000000000100000 - 0x00000000003fffff, 3145728 bytes (768 pages) 0x0000000000c25000 - 0x000000001eec4fff, 506068992 bytes (123552 pages) avail memory = 507281408 (483 MB) Table 'FACP' at 0x1f7d2c00 Table 'APIC' at 0x1f7d3400 MADT: Found table at 0x1f7d3400 APIC: Using the MADT enumerator. MADT: Found CPU APIC ID 0 ACPI ID 0: enabled MADT: Found CPU APIC ID 1 ACPI ID 1: disabled ACPI APIC Table: bios32: Found BIOS32 Service Directory header at 0xc00ffe80 bios32: Entry = 0xffe90 (c00ffe90) Rev = 0 Len = 1 pcibios: PCI BIOS entry at 0xf0000+0xb5be pnpbios: Found PnP BIOS data at 0xc00fe2d0 pnpbios: Entry = f0000:e2f4 Rev = 1.0 pnpbios: Event flag at 4b4 Other BIOS signatures found: APIC: CPU 0 has ACPI ID 0 MADT: Found IO APIC ID 1, Interrupt 0 at 0xfec00000 ioapic0: Changing APIC ID to 1 ioapic0: Routing external 8259A's -> intpin 0 ioapic0: intpin 0 -> ExtINT (edge, high) ioapic0: intpin 1 -> ISA IRQ 1 (edge, high) ioapic0: intpin 2 -> ISA IRQ 2 (edge, high) ioapic0: intpin 3 -> ISA IRQ 3 (edge, high) ioapic0: intpin 4 -> ISA IRQ 4 (edge, high) ioapic0: intpin 5 -> ISA IRQ 5 (edge, high) ioapic0: intpin 6 -> ISA IRQ 6 (edge, high) ioapic0: intpin 7 -> ISA IRQ 7 (edge, high) ioapic0: intpin 8 -> ISA IRQ 8 (edge, high) ioapic0: intpin 9 -> ISA IRQ 9 (edge, high) ioapic0: intpin 10 -> ISA IRQ 10 (edge, high) ioapic0: intpin 11 -> ISA IRQ 11 (edge, high) ioapic0: intpin 12 -> ISA IRQ 12 (edge, high) ioapic0: intpin 13 -> ISA IRQ 13 (edge, high) ioapic0: intpin 14 -> ISA IRQ 14 (edge, high) ioapic0: intpin 15 -> ISA IRQ 15 (edge, high) ioapic0: intpin 16 -> PCI IRQ 16 (level, low) ioapic0: intpin 17 -> PCI IRQ 17 (level, low) ioapic0: intpin 18 -> PCI IRQ 18 (level, low) ioapic0: intpin 19 -> PCI IRQ 19 (level, low) ioapic0: intpin 20 -> PCI IRQ 20 (level, low) ioapic0: intpin 21 -> PCI IRQ 21 (level, low) ioapic0: intpin 22 -> PCI IRQ 22 (level, low) ioapic0: intpin 23 -> PCI IRQ 23 (level, low) MADT: Interrupt override: source 0, irq 2 ioapic0: Routing IRQ 0 -> intpin 2 ioapic0: intpin 2 trigger: edge ioapic0: intpin 2 polarity: high MADT: Interrupt override: source 9, irq 9 ioapic0: intpin 9 trigger: level ioapic0: intpin 9 polarity: high lapic0: Routing NMI -> LINT1 lapic0: LINT1 trigger: edge lapic0: LINT1 polarity: active-high MADT: Ignoring local NMI routed to ACPI CPU 1 ioapic0 irqs 0-23 on motherboard cpu0 BSP: ID: 0x00000000 VER: 0x00050014 LDR: 0x01000000 DFR: 0x0fffffff lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000000 SVR: 0x000001ff wlan: <802.11 Link Layer> random: io: mem: Pentium Pro MTRR support enabled null: npx0: [FAST] npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard acpi0: [MPSAFE] pci_open(1): mode 1 addr port (0x0cf8) is 0x80000054 pci_open(1a): mode1res=0x80000000 (0x80000000) pci_cfgcheck: device 0 [class=060000] [hdr=00] is there (id=25908086) pcibios: BIOS version 2.10 Found $PIR table, 10 entries at 0xc00fb2c0 PCI-Only Interrupts: none Location Bus Device Pin Link IRQs embedded 0 3 A 0x60 3 4 5 6 7 9 10 11 12 14 15 embedded 0 3 B 0x61 3 4 5 6 7 9 10 11 12 14 15 embedded 0 3 C 0x62 3 4 5 6 7 9 10 11 12 14 15 embedded 0 3 D 0x63 3 4 5 6 7 9 10 11 12 14 15 embedded 0 29 A 0x60 3 4 5 6 7 9 10 11 12 14 15 embedded 0 29 B 0x61 3 4 5 6 7 9 10 11 12 14 15 embedded 0 29 C 0x62 3 4 5 6 7 9 10 11 12 14 15 embedded 0 29 D 0x63 3 4 5 6 7 9 10 11 12 14 15 embedded 0 30 A 0x60 3 4 5 6 7 9 10 11 12 14 15 embedded 0 30 B 0x61 3 4 5 6 7 9 10 11 12 14 15 embedded 0 30 C 0x62 3 4 5 6 7 9 10 11 12 14 15 embedded 0 30 D 0x63 3 4 5 6 7 9 10 11 12 14 15 embedded 0 31 A 0x60 3 4 5 6 7 9 10 11 12 14 15 embedded 0 31 B 0x61 3 4 5 6 7 9 10 11 12 14 15 embedded 0 31 C 0x62 3 4 5 6 7 9 10 11 12 14 15 embedded 0 31 D 0x63 3 4 5 6 7 9 10 11 12 14 15 embedded 0 2 A 0x60 3 4 5 6 7 9 10 11 12 14 15 embedded 1 0 A 0x60 3 4 5 6 7 9 10 11 12 14 15 embedded 2 0 A 0x60 3 4 5 6 7 9 10 11 12 14 15 embedded 3 1 A 0x63 3 4 5 6 7 9 10 11 12 14 15 embedded 3 1 B 0x62 3 4 5 6 7 9 10 11 12 14 15 embedded 3 3 A 0x61 3 4 5 6 7 9 10 11 12 14 15 embedded 3 3 B 0x63 3 4 5 6 7 9 10 11 12 14 15 embedded 3 8 A 0x60 3 4 5 6 7 9 10 11 12 14 15 acpi_bus_number: root bus has no _BBN, assuming 0 AcpiOsDerivePciId: bus 0 dev 31 func 0 acpi_bus_number: root bus has no _BBN, assuming 0 AcpiOsDerivePciId: bus 0 dev 31 func 0 ACPI timer: 1/1 1/1 1/1 1/1 1/1 1/2 1/2 1/1 1/1 1/2 -> 10 Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 cpu0: on acpi0 acpi_throttle0: on cpu0 acpi_throttle0: P_CNT from P_BLK 0x10e0 acpi_acad0: on acpi0 acpi_cmbat0: on acpi0 acpi_cmbat1: on acpi0 acpi_lid0: on acpi0 acpi_button0: on acpi0 acpi_button1: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 ACPI PCI link initial configuration: pci0: on pcib0 pci0: physical bus=0 found-> vendor=0x8086, dev=0x2590, revid=0x03 bus=0, slot=0, func=0 class=06-00-00, hdrtype=0x00, mfdev=0 cmdreg=0x0006, statreg=0x2090, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) map[10]: type 1, range 32, base dff00000, size 19, enabled map[14]: type 4, range 32, base 0000ec38, size 3, enabled map[18]: type 3, range 32, base c0000000, size 28, enabled map[1c]: type 1, range 32, base dfec0000, size 18, enabled pcib0: matched entry for 0.2.INTA pcib0: slot 2 INTA hardwired to IRQ 16 found-> vendor=0x8086, dev=0x2592, revid=0x03 bus=0, slot=2, func=0 class=03-00-00, hdrtype=0x00, mfdev=1 cmdreg=0x0003, statreg=0x0090, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=a, irq=16 powerspec 2 supports D0 D3 current D0 map[10]: type 1, range 32, base dff80000, size 19, enabled found-> vendor=0x8086, dev=0x2792, revid=0x03 bus=0, slot=2, func=1 class=03-80-00, hdrtype=0x00, mfdev=1 cmdreg=0x0007, statreg=0x0090, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) powerspec 2 supports D0 D3 current D0 found-> vendor=0x8086, dev=0x2660, revid=0x03 bus=0, slot=28, func=0 class=06-04-00, hdrtype=0x01, mfdev=1 cmdreg=0x0007, statreg=0x0010, cachelnsz=16 (dwords) lattimer=0x00 (0 ns), mingnt=0x02 (500 ns), maxlat=0x00 (0 ns) intpin=a, irq=255 map[20]: type 4, range 32, base 0000bf80, size 5, enabled pcib0: matched entry for 0.29.INTA pcib0: slot 29 INTA hardwired to IRQ 16 found-> vendor=0x8086, dev=0x2658, revid=0x03 bus=0, slot=29, func=0 class=0c-03-00, hdrtype=0x00, mfdev=1 cmdreg=0x0005, statreg=0x0280, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=a, irq=16 map[20]: type 4, range 32, base 0000bf60, size 5, enabled pcib0: matched entry for 0.29.INTB pcib0: slot 29 INTB hardwired to IRQ 17 found-> vendor=0x8086, dev=0x2659, revid=0x03 bus=0, slot=29, func=1 class=0c-03-00, hdrtype=0x00, mfdev=0 cmdreg=0x0005, statreg=0x0280, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=b, irq=17 map[20]: type 4, range 32, base 0000bf40, size 5, enabled pcib0: matched entry for 0.29.INTC pcib0: slot 29 INTC hardwired to IRQ 18 found-> vendor=0x8086, dev=0x265a, revid=0x03 bus=0, slot=29, func=2 class=0c-03-00, hdrtype=0x00, mfdev=0 cmdreg=0x0005, statreg=0x0280, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=c, irq=18 map[20]: type 4, range 32, base 0000bf20, size 5, enabled pcib0: matched entry for 0.29.INTD pcib0: slot 29 INTD hardwired to IRQ 19 found-> vendor=0x8086, dev=0x265b, revid=0x03 bus=0, slot=29, func=3 class=0c-03-00, hdrtype=0x00, mfdev=0 cmdreg=0x0005, statreg=0x0280, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=d, irq=19 map[10]: type 1, range 32, base ffa80800, size 10, enabled pcib0: matched entry for 0.29.INTA pcib0: slot 29 INTA hardwired to IRQ 16 found-> vendor=0x8086, dev=0x265c, revid=0x03 bus=0, slot=29, func=7 class=0c-03-20, hdrtype=0x00, mfdev=0 cmdreg=0x0106, statreg=0x0290, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=a, irq=16 powerspec 2 supports D0 D3 current D0 found-> vendor=0x8086, dev=0x2448, revid=0xd3 bus=0, slot=30, func=0 class=06-04-01, hdrtype=0x01, mfdev=1 cmdreg=0x0107, statreg=0x0010, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x02 (500 ns), maxlat=0x00 (0 ns) map[10]: type 4, range 32, base 0000ed00, size 8, enabled map[14]: type 4, range 32, base 0000ec40, size 6, enabled map[18]: type 1, range 32, base dfebfe00, size 9, enabled map[1c]: type 1, range 32, base dfebfd00, size 8, enabled pcib0: matched entry for 0.30.INTA pcib0: slot 30 INTA hardwired to IRQ 16 found-> vendor=0x8086, dev=0x266e, revid=0x03 bus=0, slot=30, func=2 class=04-01-00, hdrtype=0x00, mfdev=0 cmdreg=0x0007, statreg=0x0290, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=a, irq=16 powerspec 2 supports D0 D3 current D0 map[10]: type 4, range 32, base 0000ee00, size 8, enabled map[14]: type 4, range 32, base 0000ec80, size 7, enabled pcib0: matched entry for 0.30.INTB pcib0: slot 30 INTB hardwired to IRQ 17 found-> vendor=0x8086, dev=0x266d, revid=0x03 bus=0, slot=30, func=3 class=07-03-00, hdrtype=0x00, mfdev=0 cmdreg=0x0005, statreg=0x0290, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=b, irq=17 powerspec 2 supports D0 D3 current D0 found-> vendor=0x8086, dev=0x2641, revid=0x03 bus=0, slot=31, func=0 class=06-01-00, hdrtype=0x00, mfdev=1 cmdreg=0x0107, statreg=0x0200, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) map[20]: type 4, range 32, base 0000bfa0, size 4, enabled pcib0: matched entry for 0.31.INTB pcib0: slot 31 INTB hardwired to IRQ 17 found-> vendor=0x8086, dev=0x2653, revid=0x03 bus=0, slot=31, func=2 class=01-01-80, hdrtype=0x00, mfdev=0 cmdreg=0x0005, statreg=0x02b8, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=b, irq=17 powerspec 2 supports D0 D3 current D0 map[20]: type 4, range 32, base 000010c0, size 5, enabled pcib0: matched entry for 0.31.INTB pcib0: slot 31 INTB hardwired to IRQ 17 found-> vendor=0x8086, dev=0x266a, revid=0x03 bus=0, slot=31, func=3 class=0c-05-00, hdrtype=0x00, mfdev=0 cmdreg=0x0101, statreg=0x0280, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=b, irq=17 pci0: at device 2.0 (no driver attached) pci0: at device 2.1 (no driver attached) pcib1: at device 28.0 on pci0 pcib1: secondary bus 2 pcib1: subordinate bus 2 pcib1: I/O decode 0xf000-0xfff pcib1: memory decode 0xdfd00000-0xdfdfffff pcib1: prefetched decode 0xfff00000-0xfffff pcib1: could not get PCI interrupt routing table for \\_SB_.PCI0.PXP0 - AE_NOT_FOUND pci2: on pcib1 pci2: physical bus=2 map[10]: type 1, range 64, base dfdf0000, size 16, enabled pcib1: device (null) requested decoded memory range 0xdfdf0000-0xdfdfffff pcib0: matched entry for 0.28.INTA pcib0: slot 28 INTA hardwired to IRQ 16 pcib1: slot 0 INTA is routed to irq 16 found-> vendor=0x14e4, dev=0x1677, revid=0x01 bus=2, slot=0, func=0 class=02-00-00, hdrtype=0x00, mfdev=0 cmdreg=0x0106, statreg=0x0010, cachelnsz=16 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=a, irq=16 powerspec 2 supports D0 D3 current D0 MSI supports 8 messages, 64 bit bge0: mem 0xdfdf0000-0xdfdfffff irq 16 at device 0.0 on pci2 bge0: Reserved 0x10000 bytes for rid 0x10 type 3 at 0xdfdf0000 miibus0: on bge0 brgphy0: on miibus0 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto bge0: bpf attached bge0: Ethernet address: 00:11:43:4b:52:15 bge0: [MPSAFE] uhci0: port 0xbf80-0xbf9f irq 16 at device 29.0 on pci0 uhci0: Reserved 0x20 bytes for rid 0x20 type 4 at 0xbf80 uhci0: [GIANT-LOCKED] usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: port 0xbf60-0xbf7f irq 17 at device 29.1 on pci0 uhci1: Reserved 0x20 bytes for rid 0x20 type 4 at 0xbf60 uhci1: [GIANT-LOCKED] usb1: on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0xbf40-0xbf5f irq 18 at device 29.2 on pci0 uhci2: Reserved 0x20 bytes for rid 0x20 type 4 at 0xbf40 uhci2: [GIANT-LOCKED] usb2: on uhci2 usb2: USB revision 1.0 uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered uhci3: port 0xbf20-0xbf3f irq 19 at device 29.3 on pci0 uhci3: Reserved 0x20 bytes for rid 0x20 type 4 at 0xbf20 uhci3: [GIANT-LOCKED] usb3: on uhci3 usb3: USB revision 1.0 uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub3: 2 ports with 2 removable, self powered pci0: at device 29.7 (no driver attached) pcib2: at device 30.0 on pci0 pcib2: secondary bus 3 pcib2: subordinate bus 4 pcib2: I/O decode 0xf000-0xfff pcib2: memory decode 0xdfc00000-0xdfcfffff pcib2: prefetched decode 0xfff00000-0xfffff pcib2: Subtractively decoded bridge. ACPI PCI link initial configuration: pci3: on pcib2 pci3: physical bus=3 map[10]: type 1, range 32, base 00000000, size 12, memory disabled found-> vendor=0x104c, dev=0x8036, revid=0x00 bus=3, slot=1, func=0 class=06-07-00, hdrtype=0x02, mfdev=1 cmdreg=0x0000, statreg=0x0210, cachelnsz=16 (dwords) lattimer=0x40 (1920 ns), mingnt=0x40 (16000 ns), maxlat=0x00 (0 ns) intpin=a, irq=255 powerspec 2 supports D0 D1 D2 D3 current D0 map[10]: type 1, range 32, base dfcfc000, size 12, enabled pcib2: device (null) requested decoded memory range 0xdfcfc000-0xdfcfcfff map[14]: type 1, range 32, base dfcfd000, size 12, enabled pcib2: device (null) requested decoded memory range 0xdfcfd000-0xdfcfdfff pcib2: matched entry for 3.1.INTA pcib2: slot 1 INTA hardwired to IRQ 19 found-> vendor=0x104c, dev=0x8038, revid=0x00 bus=3, slot=1, func=5 class=07-80-00, hdrtype=0x00, mfdev=1 cmdreg=0x0102, statreg=0x0210, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=a, irq=19 powerspec 2 supports D0 D1 D2 D3 current D0 map[10]: type 1, range 32, base dfcfe000, size 13, enabled pcib2: device (null) requested decoded memory range 0xdfcfe000-0xdfcfffff pcib2: matched entry for 3.3.INTA pcib2: slot 3 INTA hardwired to IRQ 17 found-> vendor=0x14e4, dev=0x4320, revid=0x03 bus=3, slot=3, func=0 class=02-80-00, hdrtype=0x00, mfdev=0 cmdreg=0x0106, statreg=0x0000, cachelnsz=0 (dwords) lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=a, irq=17 cbb0: at device 1.0 on pci3 pcib2: device cbb0 requested decoded memory range 0xdfc00000-0xdfcfffff cbb0: Lazy allocation of 0x1000 bytes rid 0x10 type 3 at 0xdfc00000 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 pcib2: matched entry for 3.1.INTA pcib2: slot 1 INTA hardwired to IRQ 19 cbb0: [MPSAFE] cbb0: PCI Configuration space: 0x00: 0x8036104c 0x02100007 0x06070000 0x00824010 0x10: 0xdfc00000 0x020000a0 0x20040403 0xfffff000 0x20: 0x00000000 0xfffff000 0x00000000 0xfffffffc 0x30: 0x00000000 0xfffffffc 0x00000000 0x04400113 0x40: 0x01821028 0x00000001 0x00000000 0x00000000 0x50: 0x00000000 0x00000000 0x00000000 0x00000000 0x60: 0x00000000 0x00000000 0x00000000 0x00000000 0x70: 0x00000000 0x00000000 0x00000000 0x00000000 0x80: 0x0840d061 0x047f0019 0x00030000 0x01111122 0x90: 0x606482c0 0x00000000 0x00000000 0x00000000 0xa0: 0xfe120001 0x00c00000 0x00000000 0x00000000 0xb0: 0x00000000 0x00000000 0x00000000 0x00000000 0xc0: 0x00000000 0x00000000 0x00000000 0x00000000 0xd0: 0x00000000 0x00000000 0x00000000 0x00000000 0xe0: 0x00000000 0x00000000 0x00000000 0x00000000 0xf0: 0x00000000 0x00000000 0x00000000 0x00000000 pci3: at device 1.5 (no driver attached) pci3: at device 3.0 (no driver attached) pcm0: port 0xec40-0xec7f,0xed00-0xedff mem 0xdfebfd00-0xdfebfdff,0xdfebfe00-0xdfebffff irq 16 at device 30.2 on pci0 pcm0: Reserved 0x200 bytes for rid 0x18 type 3 at 0xdfebfe00 pcm0: Reserved 0x100 bytes for rid 0x1c type 3 at 0xdfebfd00 pcm0: [GIANT-LOCKED] pcm0: pcm0: Codec features headphone, 20 bit DAC, 20 bit ADC, 5 bit master volume, SigmaTel 3D Enhancement pcm0: Primary codec extended features variable rate PCM, reserved 1, AMAP, reserved 4 pcm0: sndbuf_setmap 1ec45000, 4000; 0xd5024000 -> 1ec45000 pcm0: sndbuf_setmap 1ec41000, 4000; 0xd5028000 -> 1ec41000 pci0: at device 30.3 (no driver attached) isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0xbfa0-0xbfaf,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 irq 17 at device 31.2 on pci0 atapci0: Reserved 0x10 bytes for rid 0x20 type 4 at 0xbfa0 ata0: channel #0 on atapci0 atapci0: Reserved 0x8 bytes for rid 0x10 type 4 at 0x1f0 atapci0: Reserved 0x1 bytes for rid 0x14 type 4 at 0x3f6 ata0: reset tp1 mask=03 ostat0=50 ostat1=00 ata0-master: stat=0x50 err=0x01 lsb=0x00 msb=0x00 ata0-slave: stat=0x00 err=0x01 lsb=0x00 msb=0x00 ata0: reset tp2 stat0=50 stat1=00 devices=0x1 ata0: [MPSAFE] ata1: channel #1 on atapci0 atapci0: Reserved 0x8 bytes for rid 0x18 type 4 at 0x170 atapci0: Reserved 0x1 bytes for rid 0x1c type 4 at 0x376 ata1: reset tp1 mask=03 ostat0=50 ostat1=00 ata1-master: stat=0x00 err=0x01 lsb=0x14 msb=0xeb ata1-slave: stat=0x00 err=0x00 lsb=0x00 msb=0x00 ata1: reset tp2 stat0=00 stat1=00 devices=0x4 ata1: [MPSAFE] pci0: at device 31.3 (no driver attached) acpi_tz0: on acpi0 psmcpnp0: irq 12 on acpi0 atkbdc0: port 0x66,0x62,0x64,0x60 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 atkbd: the current kbd controller command byte 0065 atkbd: keyboard ID 0x41ab (2) kbd0 at atkbd0 kbd0: atkbd0, AT 101/102 (2), config:0x0, flags:0x3d0000 atkbd0: [GIANT-LOCKED] psm0: current command byte:0065 psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model GlidePoint, device ID 0-00, 2 buttons psm0: config:00000000, flags:00000008, packet size:3 psm0: syncmask:c0, syncbits:00 speaker0: port 0x67,0x65,0x63,0x61 on acpi0 sio0: irq maps: 0x8201 0x8211 0x8201 0x8201 sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A sio1: irq maps: 0x8201 0x8209 0x8201 0x8201 sio1 port 0x280-0x287,0x2f8-0x2ff irq 3 drq 3 on acpi0 sio1: type 16550A ppc0: using extended I/O port range ppc0: ECP SPP ECP+EPP SPP ppc0: port 0x778-0x77b,0x378-0x37f irq 7 drq 1 on acpi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 bytes threshold ppbus0: on ppc0 plip0: on ppbus0 plip0: bpf attached lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 unknown: not probed (disabled) unknown: not probed (disabled) unknown: not probed (disabled) unknown: not probed (disabled) ata: ata0 already exists; skipping it ata: ata1 already exists; skipping it atkbdc: atkbdc0 already exists; skipping it ppc: ppc0 already exists; skipping it sio: sio0 already exists; skipping it sio: sio1 already exists; skipping it Trying Read_Port at 203 Trying Read_Port at 243 Trying Read_Port at 283 Trying Read_Port at 2c3 Trying Read_Port at 303 Trying Read_Port at 343 Trying Read_Port at 383 Trying Read_Port at 3c3 ex_isa_identify() unknown: status reg test failed ff unknown: status reg test failed ff unknown: status reg test failed ff unknown: status reg test failed ff unknown: status reg test failed ff unknown: status reg test failed ff sc: sc0 already exists; skipping it vga: vga0 already exists; skipping it ahc_isa_probe 14: ioport 0xec00 alloc failed isa_probe_children: disabling PnP devices isa_probe_children: probing non-PnP devices orm0: at iomem 0xce800-0xcffff,0xc0000-0xce7ff on isa0 pmtimer0 on isa0 adv0: not probed (disabled) aha0: not probed (disabled) aic0: not probed (disabled) bt0: not probed (disabled) cs0: not probed (disabled) ed0: not probed (disabled) fdc0 failed to probe at port 0x3f0-0x3f5 irq 6 drq 2 on isa0 fe0: not probed (disabled) ie0: not probed (disabled) lnc0: not probed (disabled) pcic0 failed to probe at port 0x3e0 iomem 0xd0000 on isa0 pcic1: not probed (disabled) sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sc0: fb0, kbd0, terminal emulator: sc (syscons terminal) sio2: not probed (disabled) sio3: not probed (disabled) sn0: not probed (disabled) vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 fb0: vga0, vga, type:VGA (5), flags:0x7007f fb0: port:0x3c0-0x3df, crtc:0x3d4, mem:0xa0000 0x20000 fb0: init mode:24, bios mode:3, current mode:24 fb0: window:0xc00b8000 size:32k gran:32k, buf:0 size:32k VGA parameters upon power-up 50 18 10 00 00 00 03 00 02 67 5f 4f 50 82 55 81 bf 1f 00 4f 0d 0e 00 00 07 80 9c 8e 8f 28 1f 96 b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff VGA parameters in BIOS for mode 24 50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff EGA/VGA parameters to be used for mode 24 50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff vt0: not probed (disabled) isa_probe_children: probing PnP devices Device configuration finished. procfs registered Timecounter "TSC" frequency 1596010730 Hz quality 800 Timecounters tick every 10.000 msec lo0: bpf attached acpi_acad0: acline initialization start system power profile changed to 'economy' acpi_acad0: Off Line acpi_acad0: acline initialization done, tried 1 times acpi_cmbat0: battery initialization start acpi_cmbat0: battery initialization done, tried 1 times acpi_cmbat1: battery initialization start ata0-master: pio=0x0c wdma=0x22 udma=0x45 cable=80pin ad0: ATA-6 disk at ata0-master ad0: 28615MB (58605120 sectors), 58140 C, 16 H, 63 S, 512 B ad0: 16 secs/int, 1 depth queue, UDMA33 GEOM: new disk ad0 ar: FreeBSD check1 failed ata1-master: pio=0x0c wdma=0x22 udma=0x42 cable=40pin acd0: DVDROM drive at ata1 as master acd0: read 1722KB/s (4134KB/s), 256KB buffer, PIO4 acd0: Reads: CDR, CDRW, CDDA stream, DVDROM, DVDR, packet acd0: Writes: acd0: Audio: play, 256 volume levels acd0: Mechanism: ejectable tray, unlocked acd0: Medium: no/blank disc pcm0: measured ac97 link rate at 48008 Hz, will use 48000 Hz ioapic0: routing intpin 1 (ISA IRQ 1) to cluster 0 ioapic0: routing intpin 3 (ISA IRQ 3) to cluster 0 ioapic0: routing intpin 4 (ISA IRQ 4) to cluster 0 ioapic0: routing intpin 7 (ISA IRQ 7) to cluster 0 ioapic0: routing intpin 8 (ISA IRQ 8) to cluster 0 ioapic0: routing intpin 9 (ISA IRQ 9) to cluster 0 ioapic0: routing intpin 12 (ISA IRQ 12) to cluster 0 ioapic0: routing intpin 13 (ISA IRQ 13) to cluster 0 ioapic0: routing intpin 14 (ISA IRQ 14) to cluster 0 ioapic0: routing intpin 15 (ISA IRQ 15) to cluster 0 ioapic0: routing intpin 16 (PCI IRQ 16) to cluster 0 ioapic0: routing intpin 17 (PCI IRQ 17) to cluster 0 ioapic0: routing intpin 18 (PCI IRQ 18) to cluster 0 ioapic0: routing intpin 19 (PCI IRQ 19) to cluster 0 [0] f:00 typ:7 s(CHS):0/1/1 e(CHS):1023/2/63 s:63 l:14345982 [1] f:80 typ:165 s(CHS):1023/255/63 e(CHS):1023/15/63 s:14346045 l:25165539 [2] f:00 typ:6 s(CHS):1023/255/63 e(CHS):1023/15/63 s:39511584 l:19093536 [3] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0 GEOM: Configure ad0s1, start 32256 length 7345142784 end 7345175039 GEOM: Configure ad0s2, start 7345175040 length 12884755968 end 20229931007 GEOM: Configure ad0s3, start 20229931008 length 9775890432 end 30005821439 [0] f:63 typ:114 s(CHS):368/111/45 e(CHS):371/101/51 s:218129509 l:1701990410 [1] f:73 typ:116 s(CHS):67/115/32 e(CHS):299/114/44 s:729050177 l:543974724 [2] f:74 typ:101 s(CHS):114/111/32 e(CHS):353/115/52 s:168653938 l:0 [3] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:-1602027520 l:51635 [0] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0 [1] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0 [2] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0 [3] f:80 typ:165 s(CHS):0/0/1 e(CHS):1023/254/63 s:0 l:50000 GEOM: Configure ad0s2a, start 0 length 1073741824 end 1073741823 GEOM: Configure ad0s2b, start 1073741824 length 536870912 end 1610612735 GEOM: Configure ad0s2c, start 0 length 12884755968 end 12884755967 GEOM: Configure ad0s2d, start 1610612736 length 4294967296 end 5905580031 GEOM: Configure ad0s2e, start 5905580032 length 1073741824 end 6979321855 GEOM: Configure ad0s2f, start 6979321856 length 5905434112 end 12884755967 [0] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0 [1] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0 [2] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0 [3] f:80 typ:165 s(CHS):0/0/1 e(CHS):1023/254/63 s:0 l:50000 [0] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0 [1] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0 [2] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0 [3] f:80 typ:165 s(CHS):0/0/1 e(CHS):1023/254/63 s:0 l:50000 Mounting root from ufs:/dev/ad0s2a # X -scanpci (0:0:0) unknown card (0x1028/0x0182) using an unknown chip (DeviceId 0x2590) from Intel Corp. (0:2:0) unknown card (0x1028/0x0182) using an unknown chip (DeviceId 0x2592) from Intel Corp. (0:2:1) unknown card (0x1028/0x0182) using an unknown chip (DeviceId 0x2792) from Intel Corp. (0:28:0) unknown chip (DeviceId 0x2660) from Intel Corp. (0:29:0) unknown card (0x1028/0x0182) using an unknown chip (DeviceId 0x2658) from Intel Corp. (0:29:1) unknown card (0x1028/0x0182) using an unknown chip (DeviceId 0x2659) from Intel Corp. (0:29:2) unknown card (0x1028/0x0182) using an unknown chip (DeviceId 0x265a) from Intel Corp. (0:29:3) unknown card (0x1028/0x0182) using an unknown chip (DeviceId 0x265b) from Intel Corp. (0:29:7) unknown card (0x1028/0x0182) using an unknown chip (DeviceId 0x265c) from Intel Corp. (0:30:0) Intel Corp. 82801BAM/CAM PCI Bridge (0:30:2) unknown card (0x1028/0x0182) using an unknown chip (DeviceId 0x266e) from Intel Corp. (0:30:3) unknown card (0x14f1/0x5423) using an unknown chip (DeviceId 0x266d) from Intel Corp. (0:31:0) unknown card (0x1028/0x0182) using an unknown chip (DeviceId 0x2641) from Intel Corp. (0:31:2) unknown card (0x1028/0x0182) using an unknown chip (DeviceId 0x2653) from Intel Corp. (0:31:3) unknown card (0x1028/0x0182) using an unknown chip (DeviceId 0x266a) from Intel Corp. (2:0:0) unknown card (0x1028/0x0182) using an unknown chip (DeviceId 0x1677) from Broadcom Corporation (3:1:0) unknown card (0xfffc/0xffff) using an unknown chip (DeviceId 0x8036) from Texas Instruments (3:1:5) unknown card (0x1028/0x0182) using an unknown chip (DeviceId 0x8038) from Texas Instruments (3:3:0) unknown card (0x1028/0x0003) using a Broadcom Corporation BCM94306 802.11g # cat xorg.conf Section "Module" Load "dbe" # Double buffer extension SubSection "extmod" Option "omit xfree86-dga" # don't initialise the DGA extension EndSubSection Load "type1" Load "freetype" EndSection Section "Files" RgbPath "/usr/X11R6/lib/X11/rgb" FontPath "/usr/X11R6/lib/X11/fonts/misc/" FontPath "/usr/X11R6/lib/X11/fonts/TTF/" FontPath "/usr/X11R6/lib/X11/fonts/75dpi/" FontPath "/usr/X11R6/lib/X11/fonts/100dpi/" FontPath "/usr/X11R6/lib/X11/fonts/local/" EndSection Section "ServerFlags" EndSection Section "InputDevice" Identifier "Keyboard1" Driver "kbd" Option "AutoRepeat" "500 30" Option "XkbRules" "xorg" Option "XkbModel" "pc105" Option "XkbLayout" "de" EndSection Section "InputDevice" Identifier "Mouse1" Driver "mouse" Option "Protocol" "Auto" Option "Device" "/dev/sysmouse" Option "Emulate3Buttons" EndSection Section "Monitor" Identifier "My Monitor" HorizSync 30-64 # multisync VertRefresh 50-100 EndSection Section "Device" Identifier "Intel i915GM" Driver "i810" VideoRam 131072 BusID "PCI:0:2:0" EndSection Section "Screen" Identifier "Screen 1" Device "Intel i915GM" Monitor "My Monitor" DefaultDepth 24 Subsection "Display" Depth 24 Modes "1280x1024" "1024x768" "800x600" "640x480" ViewPort 0 0 EndSubsection EndSection Section "ServerLayout" Identifier "Sample Layout" Screen "Screen 1" InputDevice "Mouse1" "CorePointer" InputDevice "Keyboard1" "CoreKeyboard" EndSection >How-To-Repeat: happens on every boot >Fix: >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Wed Apr 27 10:10:32 2005 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D662D16A4D6 for ; Wed, 27 Apr 2005 10:10:32 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id AB0F843D62 for ; Wed, 27 Apr 2005 10:10:32 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j3RAAWP9078725 for ; Wed, 27 Apr 2005 10:10:32 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j3RAAWWE078724; Wed, 27 Apr 2005 10:10:32 GMT (envelope-from gnats) Date: Wed, 27 Apr 2005 10:10:32 GMT Message-Id: <200504271010.j3RAAWWE078724@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Marc Olzheim Subject: Re: kern/80362: [PATCH] add preadv() and pwritev() system calls X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Marc Olzheim List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Apr 2005 10:10:33 -0000 The following reply was made to PR kern/80362; it has been noted by GNATS. From: Marc Olzheim To: bug-followup@FreeBSD.org Cc: Subject: Re: kern/80362: [PATCH] add preadv() and pwritev() system calls Date: Wed, 27 Apr 2005 12:08:00 +0200 New patches are at http://www.stack.nl/~marcolz/FreeBSD/preadv.current.patch.txt and http://www.stack.nl/~marcolz/FreeBSD/preadv.stable.patch.txt Marc From owner-freebsd-bugs@FreeBSD.ORG Wed Apr 27 15:27:59 2005 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A32A116A53D for ; Wed, 27 Apr 2005 15:27:59 +0000 (GMT) Received: from mail.bitdefender.com (ns.bitdefender.com [217.156.83.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id D826443D48 for ; Wed, 27 Apr 2005 15:27:57 +0000 (GMT) (envelope-from apircalabu@bitdefender.com) Received: (qmail 29912 invoked by uid 1010); 27 Apr 2005 18:21:55 +0300 Received: from apircalabu.dsd.ro (10.10.15.22) by mail.bitdefender.com with AES256-SHA encrypted SMTP; 27 Apr 2005 18:21:54 +0300 Date: Wed, 27 Apr 2005 18:28:50 +0300 From: Adi Pircalabu To: freebsd-hackers@freebsd.org Message-ID: <20050427182850.3056f9f6@apircalabu.dsd.ro> Organization: BitDefender X-Mailer: Sylpheed-Claws 1.0.4 (GTK+ 1.2.10; i386-portbld-freebsd5.4) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BitDefender-SpamStamp: 1.1.3 044000040111 X-BitDefender-Scanner: Clean, Agent: BitDefender Qmail 1.6.1 on mail.bitdefender.com X-BitDefender-Spam: No (0) cc: freebsd-bugs@freebsd.org cc: freebsd-stable@freebsd.org Subject: Multithreaded program crashes on SMP (HT enabled) machine X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Apr 2005 15:28:00 -0000 Hello, I have a multithreaded application ported on FreeBSD 5.3 which crashes in a minute or less if hyperthreading in enabled. Without HT there is no problem. How and where should I start to investigate the problem? The backtrace: (gdb) bt #0 0x2819631b in pthread_testcancel () from /usr/lib/libpthread.so.1 #1 0x2818e902 in pthread_mutexattr_init () from /usr/lib/libpthread.so.1 #2 0x00000000 in ?? () Thank you -- Adrian Pircalabu Public KeyID = 0x04329F5E -- This message was scanned for spam and viruses by BitDefender. For more information please visit http://linux.bitdefender.com/ From owner-freebsd-bugs@FreeBSD.ORG Wed Apr 27 15:30:25 2005 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A3AF316A4CE for ; Wed, 27 Apr 2005 15:30:25 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 75BED43D46 for ; Wed, 27 Apr 2005 15:30:25 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j3RFUPgG015863 for ; Wed, 27 Apr 2005 15:30:25 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j3RFUPAQ015855; Wed, 27 Apr 2005 15:30:25 GMT (envelope-from gnats) Date: Wed, 27 Apr 2005 15:30:25 GMT Message-Id: <200504271530.j3RFUPAQ015855@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: "Mela Eckenfels" Subject: Re: kern/80396: kernel support for Intel 915 chipset X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Mela Eckenfels List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Apr 2005 15:30:25 -0000 The following reply was made to PR kern/80396; it has been noted by GNATS. From: "Mela Eckenfels" To: bug-followup@FreeBSD.org Cc: Subject: Re: kern/80396: kernel support for Intel 915 chipset Date: Wed, 27 Apr 2005 17:23:21 +0200 Hello, the same problems appear on HP nc6120 Laptops. Greetings, Mela Eckenfels -- "Was ich an den Konsolen schaetze, ist ihre Kompromisslosigkeit: Du kannst einen Phaserbeschuss oder einen Torpedo ueberleben. Aber eine Konsole macht keine Gefangenen." - Andreas Luebbecke in <38849FA1.C6A0F8D5@gmx.de> From owner-freebsd-bugs@FreeBSD.ORG Wed Apr 27 16:40:11 2005 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1F7D216A4CF for ; Wed, 27 Apr 2005 16:40:11 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id D62E043D6A for ; Wed, 27 Apr 2005 16:40:10 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j3RGeAQP024520 for ; Wed, 27 Apr 2005 16:40:10 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j3RGeAUO024519; Wed, 27 Apr 2005 16:40:10 GMT (envelope-from gnats) Resent-Date: Wed, 27 Apr 2005 16:40:10 GMT Resent-Message-Id: <200504271640.j3RGeAUO024519@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Steve Ames Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7789016A4CE for ; Wed, 27 Apr 2005 16:39:56 +0000 (GMT) Received: from basement.virtual-voodoo.com (12-202-93-96.client.insightBB.com [12.202.93.96]) by mx1.FreeBSD.org (Postfix) with ESMTP id E705143D1D for ; Wed, 27 Apr 2005 16:39:55 +0000 (GMT) (envelope-from steve@basement.virtual-voodoo.com) Received: from basement.virtual-voodoo.com (localhost [127.0.0.1]) j3RGdsmY085559 for ; Wed, 27 Apr 2005 11:39:55 -0500 (EST) (envelope-from steve@basement.virtual-voodoo.com) Received: (from root@localhost)j3RGdslv082937; Wed, 27 Apr 2005 11:39:54 -0500 (EST) (envelope-from steve) Message-Id: <200504271639.j3RGdslv082937@basement.virtual-voodoo.com> Date: Wed, 27 Apr 2005 11:39:54 -0500 (EST) From: Steve Ames To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: bin/80411: bin/df/df.c sign errors in calls to getbsize X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Steve Ames List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Apr 2005 16:40:11 -0000 >Number: 80411 >Category: bin >Synopsis: bin/df/df.c sign errors in calls to getbsize >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Apr 27 16:40:10 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Steve Ames >Release: FreeBSD 6.0-CURRENT i386 >Organization: >Environment: System: FreeBSD basement.virtual-voodoo.com 6.0-CURRENT FreeBSD 6.0-CURRENT #48: Sun Apr 24 13:04:02 EST 2005 steve@basement.virtual-voodoo.com:/usr/obj/usr/src/sys/SB i386 >Description: in bin/df/df.c calls are made getbsize(3) using a variable of type u_long when the prototype specifically requests long: char *getbsize(int *headerlenp, long *blocksizep); The solution is to fix the calls to send signed long instead of u_long. I'm fairly sure that a negative value will never be placed in blocksizep so u_long seems to be appropriate but until (and unless) the prototype and library are changed to unsigned then calls to getbsize should use signed variables to avoid confusion. This becomes more true with gcc4.0 and higher where sign warnings are flagged a little heavier. >How-To-Repeat: Not Applicable >Fix: --- df.c.old Wed Apr 27 11:28:11 2005 +++ df.c Wed Apr 27 11:29:32 2005 @@ -372,7 +372,7 @@ static void prtstat(struct statfs *sfsp, struct maxwidths *mwp) { - static u_long blocksize; + static long blocksize; static int headerlen, timesthrough = 0; static const char *header; int64_t used, availblks, inodes; @@ -449,7 +449,7 @@ static void update_maxwidths(struct maxwidths *mwp, const struct statfs *sfsp) { - static u_long blocksize = 0; + static long blocksize = 0; int dummy; if (blocksize == 0) >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Wed Apr 27 18:06:09 2005 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C4C9416A4CE for ; Wed, 27 Apr 2005 18:06:09 +0000 (GMT) Received: from web61201.mail.yahoo.com (web61201.mail.yahoo.com [216.155.196.125]) by mx1.FreeBSD.org (Postfix) with SMTP id 3EC2743D2F for ; Wed, 27 Apr 2005 18:06:09 +0000 (GMT) (envelope-from nuambenzina@yahoo.com) Received: (qmail 40709 invoked by uid 60001); 27 Apr 2005 18:06:08 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=EjXyPRkPqZmwRPnqKn3I+ySrZaMR94wsKXaxDTX9qTppp68eHbwQRKmrn9Fw2mevEQfo92uBizcxXDvtD5TDwCTkzPPtsMGF6BnY2pLFkLlYy0LTPRzpuzzH5EL6eIsYBrD6Nm0QGHgGAIHwtri024DSutJJSdD4ZRL3eAZ3Kxo= ; Message-ID: <20050427180608.40706.qmail@web61201.mail.yahoo.com> Received: from [194.105.28.16] by web61201.mail.yahoo.com via HTTP; Wed, 27 Apr 2005 11:06:08 PDT Date: Wed, 27 Apr 2005 11:06:08 -0700 (PDT) From: NuAm Benzina To: freebsd-bugs@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: pls help X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Apr 2005 18:06:09 -0000 Heloo , i wish to install FreeBsd on My Pc , and i have some problems... (like incorect Geometry Size of HDD) where can I ask? (pls give me a email adress) Maybe can I ask in Romanian ? Thanks in advance. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From owner-freebsd-bugs@FreeBSD.ORG Wed Apr 27 23:10:01 2005 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7564416A4CE for ; Wed, 27 Apr 2005 23:10:01 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1462543D46 for ; Wed, 27 Apr 2005 23:10:01 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j3RNA0a0072397 for ; Wed, 27 Apr 2005 23:10:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j3RNA0RJ072396; Wed, 27 Apr 2005 23:10:00 GMT (envelope-from gnats) Resent-Date: Wed, 27 Apr 2005 23:10:00 GMT Resent-Message-Id: <200504272310.j3RNA0RJ072396@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Adrian Frith Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A1A1E16A4CE for ; Wed, 27 Apr 2005 23:05:10 +0000 (GMT) Received: from ctb-mesg1.saix.net (ctb-mesg1.saix.net [196.25.240.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id 938F843D1F for ; Wed, 27 Apr 2005 23:05:09 +0000 (GMT) (envelope-from adrian@frith.homelinux.org) Received: from frith.homelinux.org (wbs-146-138-26.telkomadsl.co.za [165.146.138.26]) by ctb-mesg1.saix.net (Postfix) with ESMTP id 3705B531A for ; Thu, 28 Apr 2005 01:05:06 +0200 (SAST) Received: from frith.homelinux.org (localhost [127.0.0.1]) by frith.homelinux.org (8.13.3/8.13.3) with ESMTP id j3RN56Ya081998 for ; Thu, 28 Apr 2005 01:05:06 +0200 (SAST) (envelope-from adrian@frith.homelinux.org) Received: (from adrian@localhost) by frith.homelinux.org (8.13.3/8.13.3/Submit) id j3RN56pJ081997; Thu, 28 Apr 2005 01:05:06 +0200 (SAST) (envelope-from adrian) Message-Id: <200504272305.j3RN56pJ081997@frith.homelinux.org> Date: Thu, 28 Apr 2005 01:05:06 +0200 (SAST) From: Adrian Frith To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: bin/80421: [PATCH] whois(1) should query AfriNIC server for African IP's X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Adrian Frith List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Apr 2005 23:10:01 -0000 >Number: 80421 >Category: bin >Synopsis: [PATCH] whois(1) should query AfriNIC server for African IP's >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Apr 27 23:10:00 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Adrian Frith >Release: FreeBSD 5.4-STABLE i386 >Organization: University of Cape Town, South Africa >Environment: System: FreeBSD frith.homelinux.org 5.4-STABLE FreeBSD 5.4-STABLE #0: Mon Apr 25 02:25:26 SAST 2005 root@diogenes.frith:/usr/obj/usr/src/sys/DIOGENES i386 >Description: As of 2005-02-21, management of IP numbers used on the continent of Africa and the western Indian Ocean islands has been transferred from ARIN and RIPE NCC to the new AfriNIC RIR (www.afrinic.net). Since this change, the ARIN whois server does not return useful information for queries on IP numbers in the ranges which have been transferred. Therefore, the /usr/bin/whois utility should use the AfriNIC whois server (whois.afrinic.net) when appropriate (as it does for APNIC, LACNIC and RIPE NCC IP ranges). >How-To-Repeat: Use the /usr/bin/whois utility to query any IP number in the ranges which are now managed by AfriNIC. These include 196.2[3-6].0.0/16, 165.14[3-9].0.0/16, and 137.158.0.0/16. For example, 'whois 137.158.128.3' returns only the information that the range has been transferred to AfriNIC, while 'whois -h whois.afrinic.net 137.158.128.3' returns useful information about the IP's ownership. >Fix: Apply the attached patch to the whois sources. --- whois-afrinic.patch begins here --- --- usr.bin/whois/whois.c.orig Wed Apr 27 23:09:06 2005 +++ usr.bin/whois/whois.c Thu Apr 28 00:01:37 2005 @@ -77,6 +77,7 @@ #define NORIDHOST "whois.norid.no" #define IANAHOST "whois.iana.org" #define GERMNICHOST "de.whois-servers.net" +#define FNICHOST "whois.afrinic.net" #define DEFAULT_PORT "whois" #define WHOIS_SERVER_ID "Whois Server: " #define WHOIS_ORG_SERVER_ID "Registrant Street1:Whois Server:" @@ -86,7 +87,8 @@ #define ishost(h) (isalnum((unsigned char)h) || h == '.' || h == '-') -const char *ip_whois[] = { LNICHOST, RNICHOST, PNICHOST, BNICHOST, NULL }; +const char *ip_whois[] = { LNICHOST, RNICHOST, PNICHOST, BNICHOST, + FNICHOST, NULL }; const char *port = DEFAULT_PORT; static char *choose_server(char *); @@ -108,7 +110,7 @@ country = host = qnichost = NULL; flags = use_qnichost = 0; - while ((ch = getopt(argc, argv, "aAbc:dgh:iIklmp:QrR6")) != -1) { + while ((ch = getopt(argc, argv, "aAbc:dfgh:iIklmp:QrR6")) != -1) { switch (ch) { case 'a': host = ANICHOST; @@ -125,6 +127,9 @@ case 'd': host = DNICHOST; break; + case 'f': + host = FNICHOST; + break; case 'g': host = GNICHOST; break; @@ -355,7 +360,7 @@ usage(void) { fprintf(stderr, - "usage: whois [-aAbdgiIklmQrR6] [-c country-code | -h hostname] " + "usage: whois [-aAbdfgiIklmQrR6] [-c country-code | -h hostname] " "[-p port] name ...\n"); exit(EX_USAGE); } --- usr.bin/whois/whois.1.orig Wed Apr 27 23:39:02 2005 +++ usr.bin/whois/whois.1 Wed Apr 27 23:58:04 2005 @@ -40,7 +40,7 @@ .Nd "Internet domain name and network number directory service" .Sh SYNOPSIS .Nm -.Op Fl aAbdgiIklmQrR6 +.Op Fl aAbdfgiIklmQrR6 .Op Fl c Ar country-code | Fl h Ar host .Op Fl p Ar port .Ar name ... @@ -58,7 +58,7 @@ .Pq Tn ARIN database. It contains network numbers used in those parts of the world covered neither by -.Tn APNIC +.Tn APNIC , AfriNIC , LACNIC , nor by .Tn RIPE . .Pp @@ -87,6 +87,11 @@ database. It contains points of contact for subdomains of .Pa .MIL . +.It Fl f +Use the African Network Information Centre +.Pq Tn AfriNIC +database. It contains network numbers used in Africa and the islands of the +western Indian Ocean. .It Fl g Use the US non-military federal government database, which contains points of contact for subdomains of @@ -112,7 +117,7 @@ If a query to .Tn ARIN references -.Tn APNIC , LACNIC , +.Tn APNIC , AfriNIC , LACNIC , or .Tn RIPE , that server will be queried also, provided that the --- whois-afrinic.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Thu Apr 28 00:30:29 2005 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B423116A4CE for ; Thu, 28 Apr 2005 00:30:29 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 84F6243D58 for ; Thu, 28 Apr 2005 00:30:29 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j3S0UTKJ080242 for ; Thu, 28 Apr 2005 00:30:29 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j3S0UTgA080241; Thu, 28 Apr 2005 00:30:29 GMT (envelope-from gnats) Date: Thu, 28 Apr 2005 00:30:29 GMT Message-Id: <200504280030.j3S0UTgA080241@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Harry Coin Subject: Re: kern/80381: 5.4 RC3 can't allocate ps/2 irq, no mouse, no X, Freebsd 5.4 unusable. Same box works fine on 5.3 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Harry Coin List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Apr 2005 00:30:29 -0000 The following reply was made to PR kern/80381; it has been noted by GNATS. From: Harry Coin To: bug-followup@FreeBSD.org Cc: Subject: Re: kern/80381: 5.4 RC3 can't allocate ps/2 irq, no mouse, no X, Freebsd 5.4 unusable. Same box works fine on 5.3 Date: Wed, 27 Apr 2005 19:21:24 -0500 CVSup src-all at 2pm today on RELENG_5_4, some source files were updated, still same dmesg. No psm, no pcmpci. System is unusable because X is unusable without a mouse. Harry From owner-freebsd-bugs@FreeBSD.ORG Thu Apr 28 08:20:15 2005 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8453C16A4D1 for ; Thu, 28 Apr 2005 08:20:15 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id F3BC143D4C for ; Thu, 28 Apr 2005 08:20:14 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j3S8KE57067922 for ; Thu, 28 Apr 2005 08:20:14 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j3S8KEQq067921; Thu, 28 Apr 2005 08:20:14 GMT (envelope-from gnats) Resent-Date: Thu, 28 Apr 2005 08:20:14 GMT Resent-Message-Id: <200504280820.j3S8KEQq067921@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Stijn Hoop Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 80DFF16A4CE; Thu, 28 Apr 2005 08:15:57 +0000 (GMT) Received: from pastinakel.tue.nl (pastinakel.tue.nl [131.155.2.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 02B9443D5D; Thu, 28 Apr 2005 08:15:57 +0000 (GMT) (envelope-from stijn@pcwin002.win.tue.nl) Received: by pastinakel.tue.nl (Postfix, from userid 40) id E9B1814BF94; Thu, 28 Apr 2005 10:15:55 +0200 (CEST) Received: from pcwin002.win.tue.nl (pcwin002.win.tue.nl [131.155.71.72]) by pastinakel.tue.nl (Postfix) with ESMTP id 7FCEB14BF36; Thu, 28 Apr 2005 10:15:55 +0200 (CEST) Received: (from stijn@localhost) by pcwin002.win.tue.nl (8.13.3/8.13.1/Submit) id j3S8FtUs001666; Thu, 28 Apr 2005 10:15:55 +0200 (CEST) (envelope-from stijn) Message-Id: <200504280815.j3S8FtUs001666@pcwin002.win.tue.nl> Date: Thu, 28 Apr 2005 10:15:55 +0200 (CEST) From: Stijn Hoop To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 cc: Lukas Ertl Subject: kern/80427: gvinum checkparity corrupts striped plexes X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Stijn Hoop List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Apr 2005 08:20:15 -0000 >Number: 80427 >Category: kern >Synopsis: gvinum checkparity corrupts striped plexes >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Apr 28 08:20:14 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Stijn Hoop >Release: FreeBSD 6.0-CURRENT i386 >Organization: >Environment: System: FreeBSD pcwin002.win.tue.nl 6.0-CURRENT FreeBSD 6.0-CURRENT #12: Mon Mar 7 13:25:42 CET 2005 stijn@pcwin002.win.tue.nl:/usr/obj/usr/src/sys/PCWIN002 i386 >Description: The gvinum command allows one to run checkparity on a striped plex. While in itself this would be innocuous, it appears that the parity verification actually writes bogus data to disk, leading to filesystem corruption. >How-To-Repeat: [stijn@pcwin002] <~> ls /local/storage config-20050428.tar.gz subversion-20050428.tar.gz foo subversion-config-20050428.tar.gz mail-20050428.tar.gz www-default-20050428.tar.gz mailman-20050428.tar.gz www-logs-20050428.tar.gz mysql-20050428.gz www-sandcat-20050428.tar.gz postgresql www-whiskey-20050428.tar.gz [stijn@pcwin002] <~> sudo umount /local/storage [stijn@pcwin002] <~> sudo gvinum gvinum -> lv -r 1 volume: V storage State: up Plexes: 1 Size: 111 GB P storage.p0 S State: up Subdisks: 2 Size: 111 GB S storage.p0.s0 State: up D: meg Size: 55 GB S storage.p0.s1 State: up D: herc Size: 55 GB gvinum -> checkparity -v storage.p0 Checking at 54 MB ... ^C [stijn@pcwin002] <~> sudo fsck_ffs /dev/gvinum/storage ** /dev/gvinum/storage Cannot find file system superblock ioctl (GCINFO): Inappropriate ioctl for device fsck_ffs: /dev/gvinum/storage: can't read disk label >Fix: Check for the correct type of plex before initiating a parity check request. >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Thu Apr 28 13:07:17 2005 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7058916A4CE for ; Thu, 28 Apr 2005 13:07:17 +0000 (GMT) Received: from ds9.atempo.com (ds9.atempo.com [212.157.146.98]) by mx1.FreeBSD.org (Postfix) with ESMTP id B553943D31 for ; Thu, 28 Apr 2005 13:07:14 +0000 (GMT) (envelope-from bernard.peultier@atempo.com) Received: from ds9.atempo.com (localhost.localdomain [127.0.0.1]) by localhost.atempo.com (Postfix) with ESMTP id 639A92FD0C for ; Thu, 28 Apr 2005 17:08:17 +0200 (CEST) Received: from atempo.com (unknown [172.16.15.140])by ds9.atempo.com (Postfix) with ESMTP id D2CDD2FD0Afor ; Thu, 28 Apr 2005 17:08:16 +0200 (CEST) Received: from ambre (unknown [172.16.33.74])by atempo.com (Postfix) with ESMTP id F1E1D1E3367for ; Thu, 28 Apr 2005 15:07:11 +0200 (CEST) From: "Bernard Peultier" To: Date: Thu, 28 Apr 2005 15:09:15 +0200 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_001A_01C54C04.3DD952C0" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1478 X-imss-version: 2.025 X-imss-result: Passed X-imss-approveListMatch: *@atempo.com Subject: Using Tape Device on SAN X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Apr 2005 13:07:17 -0000 This is a multi-part message in MIME format. ------=_NextPart_000_001A_01C54C04.3DD952C0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit When we open the first time a tape device the driver (sa) set the scsi reserve on the device. The only possibility to release the reserve is to offline the cartridge. Some others Operating system like Sun, set the scsi reserve and when we close the device the driver release this scsi reserve. I have made the modification on my FreeBSD5.3 sa driver. Is it possible to have a status of this modification (include on the sources .....) On attach the patch file and a readme for all costumers who buy Time Navigator Storage Node on FreeBSD. Best Regards, B.PEULTIER Special Product Manager Atempo - Time Navigator ------=_NextPart_000_001A_01C54C04.3DD952C0 Content-Type: application/octet-stream; name="scsi_sa.c.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="scsi_sa.c.patch" --- scsi_sa.c.old Wed Apr 27 19:54:17 2005=0A= +++ scsi_sa.c Thu Apr 28 13:47:46 2005=0A= @@ -633,7 +633,9 @@=0A= }=0A= =0A= /* release the device if it is no longer mounted */=0A= - if ((softc->flags & SA_FLAG_TAPE_MOUNTED) =3D=3D 0)=0A= +/* Start release every time bpr Atempo */=0A= +/* if ((softc->flags & SA_FLAG_TAPE_MOUNTED) =3D=3D 0)*/=0A= +/* End release every time bpr Atempo */=0A= sareservereleaseunit(periph, FALSE);=0A= =0A= cam_periph_unlock(periph);=0A= @@ -1803,6 +1805,12 @@=0A= */=0A= =0A= if (softc->flags & SA_FLAG_TAPE_MOUNTED) {=0A= +/* Start : reserve every time bpr Atempo */=0A= + error =3D sareservereleaseunit(periph, TRUE);=0A= + if (error) {=0A= + return (error);=0A= + }=0A= +/* End : reserve every time bpr Atempo */=0A= ccb =3D cam_periph_getccb(periph, 1);=0A= scsi_test_unit_ready(&ccb->csio, 0, sadone,=0A= MSG_SIMPLE_Q_TAG, SSD_FULL_SIZE, IO_TIMEOUT);=0A= ------=_NextPart_000_001A_01C54C04.3DD952C0 Content-Type: application/octet-stream; name="scsi_sa.c" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="scsi_sa.c" /*=0A= * Implementation of SCSI Sequential Access Peripheral driver for CAM.=0A= *=0A= * Copyright (c) 1999, 2000 Matthew Jacob=0A= * All rights reserved.=0A= *=0A= * Redistribution and use in source and binary forms, with or without=0A= * modification, are permitted provided that the following conditions=0A= * are met:=0A= * 1. Redistributions of source code must retain the above copyright=0A= * notice, this list of conditions, and the following disclaimer,=0A= * without modification, immediately at the beginning of the file.=0A= * 2. The name of the author may not be used to endorse or promote = products=0A= * derived from this software without specific prior written = permission.=0A= *=0A= * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND=0A= * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE=0A= * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR = PURPOSE=0A= * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE = LIABLE FOR=0A= * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL=0A= * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE = GOODS=0A= * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)=0A= * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, = STRICT=0A= * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY = WAY=0A= * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF=0A= * SUCH DAMAGE.=0A= */=0A= =0A= #include =0A= __FBSDID("$FreeBSD: src/sys/cam/scsi/scsi_sa.c,v 1.101 2004/06/16 = 09:46:31 phk Exp $");=0A= =0A= #include =0A= #include =0A= #ifdef _KERNEL=0A= #include =0A= #include =0A= #endif=0A= #include =0A= #include =0A= #include =0A= #include =0A= #include =0A= #include =0A= #ifdef _KERNEL=0A= #include =0A= #endif=0A= #include =0A= =0A= #ifndef _KERNEL=0A= #include =0A= #include =0A= #endif=0A= =0A= #include =0A= #include =0A= #include =0A= #include =0A= #include =0A= =0A= #include =0A= #include =0A= #include =0A= =0A= #ifdef _KERNEL=0A= =0A= #include =0A= =0A= #ifndef SA_IO_TIMEOUT=0A= #define SA_IO_TIMEOUT 4=0A= #endif=0A= #ifndef SA_SPACE_TIMEOUT=0A= #define SA_SPACE_TIMEOUT 1 * 60=0A= #endif=0A= #ifndef SA_REWIND_TIMEOUT=0A= #define SA_REWIND_TIMEOUT 2 * 60=0A= #endif=0A= #ifndef SA_ERASE_TIMEOUT=0A= #define SA_ERASE_TIMEOUT 4 * 60=0A= #endif=0A= =0A= #define SCSIOP_TIMEOUT (60 * 1000) /* not an option */=0A= =0A= #define IO_TIMEOUT (SA_IO_TIMEOUT * 60 * 1000)=0A= #define REWIND_TIMEOUT (SA_REWIND_TIMEOUT * 60 * 1000)=0A= #define ERASE_TIMEOUT (SA_ERASE_TIMEOUT * 60 * 1000)=0A= #define SPACE_TIMEOUT (SA_SPACE_TIMEOUT * 60 * 1000)=0A= =0A= /*=0A= * Additional options that can be set for config: SA_1FM_AT_EOT=0A= */=0A= =0A= #ifndef UNUSED_PARAMETER=0A= #define UNUSED_PARAMETER(x) x =3D x=0A= #endif=0A= =0A= #define QFRLS(ccb) \=0A= if (((ccb)->ccb_h.status & CAM_DEV_QFRZN) !=3D 0) \=0A= cam_release_devq((ccb)->ccb_h.path, 0, 0, 0, FALSE)=0A= =0A= /*=0A= * Driver states=0A= */=0A= =0A= =0A= typedef enum {=0A= SA_STATE_NORMAL, SA_STATE_ABNORMAL=0A= } sa_state;=0A= =0A= #define ccb_pflags ppriv_field0=0A= #define ccb_bp ppriv_ptr1=0A= =0A= #define SA_CCB_BUFFER_IO 0x0=0A= #define SA_CCB_WAITING 0x1=0A= #define SA_CCB_TYPEMASK 0x1=0A= #define SA_POSITION_UPDATED 0x2=0A= =0A= #define Set_CCB_Type(x, type) \=0A= x->ccb_h.ccb_pflags &=3D ~SA_CCB_TYPEMASK; \=0A= x->ccb_h.ccb_pflags |=3D type=0A= =0A= #define CCB_Type(x) (x->ccb_h.ccb_pflags & SA_CCB_TYPEMASK)=0A= =0A= =0A= =0A= typedef enum {=0A= SA_FLAG_OPEN =3D 0x0001,=0A= SA_FLAG_FIXED =3D 0x0002,=0A= SA_FLAG_TAPE_LOCKED =3D 0x0004,=0A= SA_FLAG_TAPE_MOUNTED =3D 0x0008,=0A= SA_FLAG_TAPE_WP =3D 0x0010,=0A= SA_FLAG_TAPE_WRITTEN =3D 0x0020,=0A= SA_FLAG_EOM_PENDING =3D 0x0040,=0A= SA_FLAG_EIO_PENDING =3D 0x0080,=0A= SA_FLAG_EOF_PENDING =3D 0x0100,=0A= SA_FLAG_ERR_PENDING =3D (SA_FLAG_EOM_PENDING|SA_FLAG_EIO_PENDING|=0A= SA_FLAG_EOF_PENDING),=0A= SA_FLAG_INVALID =3D 0x0200,=0A= SA_FLAG_COMP_ENABLED =3D 0x0400,=0A= SA_FLAG_COMP_SUPP =3D 0x0800,=0A= SA_FLAG_COMP_UNSUPP =3D 0x1000,=0A= SA_FLAG_TAPE_FROZEN =3D 0x2000=0A= } sa_flags;=0A= =0A= typedef enum {=0A= SA_MODE_REWIND =3D 0x00,=0A= SA_MODE_NOREWIND =3D 0x01,=0A= SA_MODE_OFFLINE =3D 0x02=0A= } sa_mode;=0A= =0A= typedef enum {=0A= SA_PARAM_NONE =3D 0x00,=0A= SA_PARAM_BLOCKSIZE =3D 0x01,=0A= SA_PARAM_DENSITY =3D 0x02,=0A= SA_PARAM_COMPRESSION =3D 0x04,=0A= SA_PARAM_BUFF_MODE =3D 0x08,=0A= SA_PARAM_NUMBLOCKS =3D 0x10,=0A= SA_PARAM_WP =3D 0x20,=0A= SA_PARAM_SPEED =3D 0x40,=0A= SA_PARAM_ALL =3D 0x7f=0A= } sa_params;=0A= =0A= typedef enum {=0A= SA_QUIRK_NONE =3D 0x00,=0A= SA_QUIRK_NOCOMP =3D 0x01, /* Can't deal with compression at all */=0A= SA_QUIRK_FIXED =3D 0x02, /* Force fixed mode */=0A= SA_QUIRK_VARIABLE =3D 0x04, /* Force variable mode */=0A= SA_QUIRK_2FM =3D 0x08, /* Needs Two File Marks at EOD */=0A= SA_QUIRK_1FM =3D 0x10, /* No more than 1 File Mark at EOD */=0A= SA_QUIRK_NODREAD =3D 0x20, /* Don't try and dummy read density */=0A= SA_QUIRK_NO_MODESEL =3D 0x40, /* Don't do mode select at all */=0A= SA_QUIRK_NO_CPAGE =3D 0x80 /* Don't use DEVICE COMPRESSION page */=0A= } sa_quirks;=0A= =0A= /* units are bits 4-7, 16-21 (1024 units) */=0A= #define SAUNIT(DEV) \=0A= (((minor(DEV) & 0xF0) >> 4) | ((minor(DEV) & 0x3f0000) >> 16))=0A= =0A= #define SAMODE(z) ((minor(z) & 0x3))=0A= #define SADENSITY(z) (((minor(z) >> 2) & 0x3))=0A= #define SA_IS_CTRL(z) (minor(z) & (1 << 29))=0A= =0A= #define SA_NOT_CTLDEV 0=0A= #define SA_CTLDEV 1=0A= =0A= #define SA_ATYPE_R 0=0A= #define SA_ATYPE_NR 1=0A= #define SA_ATYPE_ER 2=0A= =0A= #define SAMINOR(ctl, unit, mode, access) \=0A= ((ctl << 29) | ((unit & 0x3f0) << 16) | ((unit & 0xf) << 4) | \=0A= (mode << 0x2) | (access & 0x3))=0A= =0A= #define SA_NUM_MODES 4=0A= struct sa_devs {=0A= struct cdev *ctl_dev;=0A= struct sa_mode_devs {=0A= struct cdev *r_dev;=0A= struct cdev *nr_dev;=0A= struct cdev *er_dev;=0A= } mode_devs[SA_NUM_MODES];=0A= };=0A= =0A= struct sa_softc {=0A= sa_state state;=0A= sa_flags flags;=0A= sa_quirks quirks;=0A= struct bio_queue_head bio_queue;=0A= int queue_count;=0A= struct devstat *device_stats;=0A= struct sa_devs devs;=0A= int blk_gran;=0A= int blk_mask;=0A= int blk_shift;=0A= u_int32_t max_blk;=0A= u_int32_t min_blk;=0A= u_int32_t comp_algorithm;=0A= u_int32_t saved_comp_algorithm;=0A= u_int32_t media_blksize;=0A= u_int32_t last_media_blksize;=0A= u_int32_t media_numblks;=0A= u_int8_t media_density;=0A= u_int8_t speed;=0A= u_int8_t scsi_rev;=0A= u_int8_t dsreg; /* mtio mt_dsreg, redux */=0A= int buffer_mode;=0A= int filemarks;=0A= union ccb saved_ccb;=0A= int last_resid_was_io;=0A= =0A= /*=0A= * Relative to BOT Location.=0A= */=0A= daddr_t fileno;=0A= daddr_t blkno;=0A= =0A= /*=0A= * Latched Error Info=0A= */=0A= struct {=0A= struct scsi_sense_data _last_io_sense;=0A= u_int32_t _last_io_resid;=0A= u_int8_t _last_io_cdb[CAM_MAX_CDBLEN];=0A= struct scsi_sense_data _last_ctl_sense;=0A= u_int32_t _last_ctl_resid;=0A= u_int8_t _last_ctl_cdb[CAM_MAX_CDBLEN];=0A= #define last_io_sense errinfo._last_io_sense=0A= #define last_io_resid errinfo._last_io_resid=0A= #define last_io_cdb errinfo._last_io_cdb=0A= #define last_ctl_sense errinfo._last_ctl_sense=0A= #define last_ctl_resid errinfo._last_ctl_resid=0A= #define last_ctl_cdb errinfo._last_ctl_cdb=0A= } errinfo;=0A= /*=0A= * Misc other flags/state=0A= */=0A= u_int32_t=0A= : 31,=0A= ctrl_mode : 1; /* control device open */=0A= };=0A= =0A= struct sa_quirk_entry {=0A= struct scsi_inquiry_pattern inq_pat; /* matching pattern */=0A= sa_quirks quirks; /* specific quirk type */=0A= u_int32_t prefblk; /* preferred blocksize when in fixed mode */=0A= };=0A= =0A= static struct sa_quirk_entry sa_quirk_table[] =3D=0A= {=0A= {=0A= { T_SEQUENTIAL, SIP_MEDIA_REMOVABLE, "OnStream",=0A= "ADR*", "*"}, SA_QUIRK_FIXED|SA_QUIRK_NODREAD |=0A= SA_QUIRK_1FM|SA_QUIRK_NO_MODESEL, 32768=0A= },=0A= {=0A= { T_SEQUENTIAL, SIP_MEDIA_REMOVABLE, "ARCHIVE",=0A= "Python 06408*", "*"}, SA_QUIRK_NODREAD, 0=0A= },=0A= {=0A= { T_SEQUENTIAL, SIP_MEDIA_REMOVABLE, "ARCHIVE",=0A= "Python 25601*", "*"}, SA_QUIRK_NOCOMP|SA_QUIRK_NODREAD, 0=0A= },=0A= {=0A= { T_SEQUENTIAL, SIP_MEDIA_REMOVABLE, "ARCHIVE",=0A= "Python*", "*"}, SA_QUIRK_NODREAD, 0=0A= },=0A= {=0A= { T_SEQUENTIAL, SIP_MEDIA_REMOVABLE, "ARCHIVE",=0A= "VIPER 150*", "*"}, SA_QUIRK_FIXED|SA_QUIRK_1FM, 512=0A= },=0A= {=0A= { T_SEQUENTIAL, SIP_MEDIA_REMOVABLE, "ARCHIVE",=0A= "VIPER 2525 25462", "-011"},=0A= SA_QUIRK_NOCOMP|SA_QUIRK_1FM|SA_QUIRK_NODREAD, 0=0A= },=0A= {=0A= { T_SEQUENTIAL, SIP_MEDIA_REMOVABLE, "ARCHIVE",=0A= "VIPER 2525*", "*"}, SA_QUIRK_FIXED|SA_QUIRK_1FM, 1024=0A= },=0A= #if 0=0A= {=0A= { T_SEQUENTIAL, SIP_MEDIA_REMOVABLE, "HP",=0A= "C15*", "*"}, SA_QUIRK_VARIABLE|SA_QUIRK_NO_CPAGE, 0,=0A= },=0A= #endif=0A= {=0A= { T_SEQUENTIAL, SIP_MEDIA_REMOVABLE, "HP",=0A= "C56*", "*"}, SA_QUIRK_VARIABLE|SA_QUIRK_2FM, 0=0A= },=0A= {=0A= { T_SEQUENTIAL, SIP_MEDIA_REMOVABLE, "HP",=0A= "T20*", "*"}, SA_QUIRK_FIXED|SA_QUIRK_1FM, 512=0A= },=0A= {=0A= { T_SEQUENTIAL, SIP_MEDIA_REMOVABLE, "HP",=0A= "T4000*", "*"}, SA_QUIRK_FIXED|SA_QUIRK_1FM, 512=0A= },=0A= {=0A= { T_SEQUENTIAL, SIP_MEDIA_REMOVABLE, "HP",=0A= "HP-88780*", "*"}, SA_QUIRK_VARIABLE|SA_QUIRK_2FM, 0=0A= },=0A= {=0A= { T_SEQUENTIAL, SIP_MEDIA_REMOVABLE, "KENNEDY",=0A= "*", "*"}, SA_QUIRK_VARIABLE|SA_QUIRK_2FM, 0=0A= },=0A= {=0A= { T_SEQUENTIAL, SIP_MEDIA_REMOVABLE, "M4 DATA",=0A= "123107 SCSI*", "*"}, SA_QUIRK_VARIABLE|SA_QUIRK_2FM, 0=0A= },=0A= { /* jreynold@primenet.com */=0A= { T_SEQUENTIAL, SIP_MEDIA_REMOVABLE, "Seagate",=0A= "STT8000N*", "*"}, SA_QUIRK_1FM, 0=0A= },=0A= { /* mike@sentex.net */=0A= { T_SEQUENTIAL, SIP_MEDIA_REMOVABLE, "Seagate",=0A= "STT20000*", "*"}, SA_QUIRK_1FM, 0=0A= },=0A= {=0A= { T_SEQUENTIAL, SIP_MEDIA_REMOVABLE, "TANDBERG",=0A= " TDC 3600", "U07:"}, SA_QUIRK_NOCOMP|SA_QUIRK_1FM, 512=0A= },=0A= {=0A= { T_SEQUENTIAL, SIP_MEDIA_REMOVABLE, "TANDBERG",=0A= " TDC 3800", "*"}, SA_QUIRK_NOCOMP|SA_QUIRK_1FM, 512=0A= },=0A= {=0A= { T_SEQUENTIAL, SIP_MEDIA_REMOVABLE, "TANDBERG",=0A= " TDC 4100", "*"}, SA_QUIRK_NOCOMP|SA_QUIRK_1FM, 512=0A= },=0A= {=0A= { T_SEQUENTIAL, SIP_MEDIA_REMOVABLE, "TANDBERG",=0A= " TDC 4200", "*"}, SA_QUIRK_NOCOMP|SA_QUIRK_1FM, 512=0A= },=0A= {=0A= { T_SEQUENTIAL, SIP_MEDIA_REMOVABLE, "TANDBERG",=0A= " SLR*", "*"}, SA_QUIRK_1FM, 0=0A= },=0A= {=0A= { T_SEQUENTIAL, SIP_MEDIA_REMOVABLE, "WANGTEK",=0A= "5525ES*", "*"}, SA_QUIRK_FIXED|SA_QUIRK_1FM, 512=0A= },=0A= {=0A= { T_SEQUENTIAL, SIP_MEDIA_REMOVABLE, "WANGTEK",=0A= "51000*", "*"}, SA_QUIRK_FIXED|SA_QUIRK_1FM, 1024=0A= }=0A= };=0A= =0A= static d_open_t saopen;=0A= static d_close_t saclose;=0A= static d_strategy_t sastrategy;=0A= static d_ioctl_t saioctl;=0A= static periph_init_t sainit;=0A= static periph_ctor_t saregister;=0A= static periph_oninv_t saoninvalidate;=0A= static periph_dtor_t sacleanup;=0A= static periph_start_t sastart;=0A= static void saasync(void *callback_arg, u_int32_t code,=0A= struct cam_path *path, void *arg);=0A= static void sadone(struct cam_periph *periph,=0A= union ccb *start_ccb);=0A= static int saerror(union ccb *ccb, u_int32_t cam_flags,=0A= u_int32_t sense_flags);=0A= static int samarkswanted(struct cam_periph *);=0A= static int sacheckeod(struct cam_periph *periph);=0A= static int sagetparams(struct cam_periph *periph,=0A= sa_params params_to_get,=0A= u_int32_t *blocksize, u_int8_t *density,=0A= u_int32_t *numblocks, int *buff_mode,=0A= u_int8_t *write_protect, u_int8_t *speed,=0A= int *comp_supported, int *comp_enabled,=0A= u_int32_t *comp_algorithm,=0A= sa_comp_t *comp_page);=0A= static int sasetparams(struct cam_periph *periph,=0A= sa_params params_to_set,=0A= u_int32_t blocksize, u_int8_t density,=0A= u_int32_t comp_algorithm,=0A= u_int32_t sense_flags);=0A= static void saprevent(struct cam_periph *periph, int action);=0A= static int sarewind(struct cam_periph *periph);=0A= static int saspace(struct cam_periph *periph, int count,=0A= scsi_space_code code);=0A= static int samount(struct cam_periph *, int, struct cdev *);=0A= static int saretension(struct cam_periph *periph);=0A= static int sareservereleaseunit(struct cam_periph *periph,=0A= int reserve);=0A= static int saloadunload(struct cam_periph *periph, int load);=0A= static int saerase(struct cam_periph *periph, int longerase);=0A= static int sawritefilemarks(struct cam_periph *periph,=0A= int nmarks, int setmarks);=0A= static int sardpos(struct cam_periph *periph, int, u_int32_t *);=0A= static int sasetpos(struct cam_periph *periph, int, u_int32_t *);=0A= =0A= =0A= static struct periph_driver sadriver =3D=0A= {=0A= sainit, "sa",=0A= TAILQ_HEAD_INITIALIZER(sadriver.units), /* generation */ 0=0A= };=0A= =0A= PERIPHDRIVER_DECLARE(sa, sadriver);=0A= =0A= /* For 2.2-stable support */=0A= #ifndef D_TAPE=0A= #define D_TAPE 0=0A= #endif=0A= =0A= =0A= static struct cdevsw sa_cdevsw =3D {=0A= .d_version =3D D_VERSION,=0A= .d_open =3D saopen,=0A= .d_close =3D saclose,=0A= .d_read =3D physread,=0A= .d_write =3D physwrite,=0A= .d_ioctl =3D saioctl,=0A= .d_strategy =3D sastrategy,=0A= .d_name =3D "sa",=0A= .d_flags =3D D_TAPE | D_NEEDGIANT,=0A= };=0A= =0A= static int=0A= saopen(struct cdev *dev, int flags, int fmt, struct thread *td)=0A= {=0A= struct cam_periph *periph;=0A= struct sa_softc *softc;=0A= int unit;=0A= int error;=0A= int s;=0A= =0A= unit =3D SAUNIT(dev);=0A= =0A= s =3D splsoftcam();=0A= periph =3D (struct cam_periph *)dev->si_drv1;=0A= if (periph =3D=3D NULL) {=0A= (void) splx(s);=0A= return (ENXIO); =0A= }=0A= softc =3D (struct sa_softc *)periph->softc;=0A= if ((error =3D cam_periph_lock(periph, PRIBIO|PCATCH)) !=3D 0) {=0A= splx(s);=0A= return (error);=0A= }=0A= splx(s);=0A= =0A= CAM_DEBUG(periph->path, CAM_DEBUG_TRACE|CAM_DEBUG_INFO,=0A= ("saopen(%d): dev=3D0x%x softc=3D0x%x\n", unit, unit, = softc->flags));=0A= =0A= if (cam_periph_acquire(periph) !=3D CAM_REQ_CMP) {=0A= cam_periph_unlock(periph);=0A= return (ENXIO);=0A= }=0A= if (SA_IS_CTRL(dev)) {=0A= softc->ctrl_mode =3D 1;=0A= cam_periph_unlock(periph);=0A= return (0);=0A= }=0A= =0A= =0A= if (softc->flags & SA_FLAG_OPEN) {=0A= error =3D EBUSY;=0A= } else if (softc->flags & SA_FLAG_INVALID) {=0A= error =3D ENXIO;=0A= } else {=0A= /*=0A= * The function samount ensures media is loaded and ready.=0A= * It also does a device RESERVE if the tape isn't yet mounted.=0A= */=0A= error =3D samount(periph, flags, dev);=0A= }=0A= =0A= if (error) {=0A= cam_periph_release(periph);=0A= } else {=0A= saprevent(periph, PR_PREVENT);=0A= softc->flags |=3D SA_FLAG_OPEN;=0A= }=0A= cam_periph_unlock(periph);=0A= return (error);=0A= }=0A= =0A= static int=0A= saclose(struct cdev *dev, int flag, int fmt, struct thread *td)=0A= {=0A= struct cam_periph *periph;=0A= struct sa_softc *softc;=0A= int unit, mode, error, writing, tmp;=0A= int closedbits =3D SA_FLAG_OPEN;=0A= =0A= unit =3D SAUNIT(dev);=0A= mode =3D SAMODE(dev);=0A= periph =3D (struct cam_periph *)dev->si_drv1;=0A= if (periph =3D=3D NULL)=0A= return (ENXIO); =0A= =0A= softc =3D (struct sa_softc *)periph->softc;=0A= =0A= CAM_DEBUG(periph->path, CAM_DEBUG_TRACE|CAM_DEBUG_INFO,=0A= ("saclose(%d): dev=3D0x%x softc=3D0x%x\n", unit, unit, = softc->flags));=0A= =0A= =0A= if ((error =3D cam_periph_lock(periph, PRIBIO)) !=3D 0) {=0A= return (error);=0A= }=0A= =0A= if (SA_IS_CTRL(dev)) {=0A= softc->ctrl_mode =3D 0;=0A= cam_periph_release(periph);=0A= cam_periph_unlock(periph);=0A= return (0);=0A= }=0A= =0A= /*=0A= * Were we writing the tape?=0A= */=0A= writing =3D (softc->flags & SA_FLAG_TAPE_WRITTEN) !=3D 0;=0A= =0A= /*=0A= * See whether or not we need to write filemarks. If this=0A= * fails, we probably have to assume we've lost tape=0A= * position.=0A= */=0A= error =3D sacheckeod(periph);=0A= if (error) {=0A= xpt_print_path(periph->path);=0A= printf("failed to write terminating filemark(s)\n");=0A= softc->flags |=3D SA_FLAG_TAPE_FROZEN;=0A= }=0A= =0A= /*=0A= * Whatever we end up doing, allow users to eject tapes from here on.=0A= */=0A= saprevent(periph, PR_ALLOW);=0A= =0A= /*=0A= * Decide how to end...=0A= */=0A= if ((softc->flags & SA_FLAG_TAPE_MOUNTED) =3D=3D 0) {=0A= closedbits |=3D SA_FLAG_TAPE_FROZEN;=0A= } else switch (mode) {=0A= case SA_MODE_OFFLINE:=0A= /*=0A= * An 'offline' close is an unconditional release of=0A= * frozen && mount conditions, irrespective of whether=0A= * these operations succeeded. The reason for this is=0A= * to allow at least some kind of programmatic way=0A= * around our state getting all fouled up. If somebody=0A= * issues an 'offline' command, that will be allowed=0A= * to clear state.=0A= */=0A= (void) sarewind(periph);=0A= (void) saloadunload(periph, FALSE);=0A= closedbits |=3D SA_FLAG_TAPE_MOUNTED|SA_FLAG_TAPE_FROZEN;=0A= break;=0A= case SA_MODE_REWIND:=0A= /*=0A= * If the rewind fails, return an error- if anyone cares,=0A= * but not overwriting any previous error.=0A= *=0A= * We don't clear the notion of mounted here, but we do=0A= * clear the notion of frozen if we successfully rewound.=0A= */=0A= tmp =3D sarewind(periph);=0A= if (tmp) {=0A= if (error !=3D 0)=0A= error =3D tmp;=0A= } else {=0A= closedbits |=3D SA_FLAG_TAPE_FROZEN;=0A= }=0A= break;=0A= case SA_MODE_NOREWIND:=0A= /*=0A= * If we're not rewinding/unloading the tape, find out=0A= * whether we need to back up over one of two filemarks=0A= * we wrote (if we wrote two filemarks) so that appends=0A= * from this point on will be sane.=0A= */=0A= if (error =3D=3D 0 && writing && (softc->quirks & SA_QUIRK_2FM)) {=0A= tmp =3D saspace(periph, -1, SS_FILEMARKS);=0A= if (tmp) {=0A= xpt_print_path(periph->path);=0A= printf("unable to backspace over one of double"=0A= " filemarks at end of tape\n");=0A= xpt_print_path(periph->path);=0A= printf("it is possible that this device"=0A= " needs a SA_QUIRK_1FM quirk set for it\n");=0A= softc->flags |=3D SA_FLAG_TAPE_FROZEN;=0A= }=0A= }=0A= break;=0A= default:=0A= xpt_print_path(periph->path);=0A= panic("unknown mode 0x%x in saclose", mode);=0A= /* NOTREACHED */=0A= break;=0A= }=0A= =0A= /*=0A= * We wish to note here that there are no more filemarks to be written.=0A= */=0A= softc->filemarks =3D 0;=0A= softc->flags &=3D ~SA_FLAG_TAPE_WRITTEN;=0A= =0A= /*=0A= * And we are no longer open for business.=0A= */=0A= softc->flags &=3D ~closedbits;=0A= =0A= /*=0A= * Inform users if tape state if frozen....=0A= */=0A= if (softc->flags & SA_FLAG_TAPE_FROZEN) {=0A= xpt_print_path(periph->path);=0A= printf("tape is now frozen- use an OFFLINE, REWIND or MTEOM "=0A= "command to clear this state.\n");=0A= }=0A= =0A= /* release the device if it is no longer mounted */=0A= /* Start release every time bpr Atempo */=0A= /* if ((softc->flags & SA_FLAG_TAPE_MOUNTED) =3D=3D 0)*/=0A= /* End release every time bpr Atempo */=0A= sareservereleaseunit(periph, FALSE);=0A= =0A= cam_periph_unlock(periph);=0A= cam_periph_release(periph);=0A= =0A= return (error); =0A= }=0A= =0A= /*=0A= * Actually translate the requested transfer into one the physical driver=0A= * can understand. The transfer is described by a buf and will include=0A= * only one physical transfer.=0A= */=0A= static void=0A= sastrategy(struct bio *bp)=0A= {=0A= struct cam_periph *periph;=0A= struct sa_softc *softc;=0A= int s;=0A= =0A= bp->bio_resid =3D bp->bio_bcount;=0A= if (SA_IS_CTRL(bp->bio_dev)) {=0A= biofinish(bp, NULL, EINVAL);=0A= return;=0A= }=0A= periph =3D (struct cam_periph *)bp->bio_dev->si_drv1;=0A= if (periph =3D=3D NULL) {=0A= biofinish(bp, NULL, ENXIO);=0A= return;=0A= }=0A= softc =3D (struct sa_softc *)periph->softc;=0A= =0A= s =3D splsoftcam();=0A= =0A= if (softc->flags & SA_FLAG_INVALID) {=0A= splx(s);=0A= biofinish(bp, NULL, ENXIO);=0A= return;=0A= }=0A= =0A= if (softc->flags & SA_FLAG_TAPE_FROZEN) {=0A= splx(s);=0A= biofinish(bp, NULL, EPERM);=0A= return;=0A= }=0A= =0A= splx(s);=0A= =0A= /*=0A= * If it's a null transfer, return immediatly=0A= */=0A= if (bp->bio_bcount =3D=3D 0) {=0A= biodone(bp);=0A= return;=0A= }=0A= =0A= /* valid request? */=0A= if (softc->flags & SA_FLAG_FIXED) {=0A= /*=0A= * Fixed block device. The byte count must=0A= * be a multiple of our block size.=0A= */=0A= if (((softc->blk_mask !=3D ~0) &&=0A= ((bp->bio_bcount & softc->blk_mask) !=3D 0)) ||=0A= ((softc->blk_mask =3D=3D ~0) &&=0A= ((bp->bio_bcount % softc->min_blk) !=3D 0))) {=0A= xpt_print_path(periph->path);=0A= printf("Invalid request. Fixed block device "=0A= "requests must be a multiple "=0A= "of %d bytes\n", softc->min_blk);=0A= biofinish(bp, NULL, EINVAL);=0A= return;=0A= }=0A= } else if ((bp->bio_bcount > softc->max_blk) ||=0A= (bp->bio_bcount < softc->min_blk) ||=0A= (bp->bio_bcount & softc->blk_mask) !=3D 0) {=0A= =0A= xpt_print_path(periph->path);=0A= printf("Invalid request. Variable block device "=0A= "requests must be ");=0A= if (softc->blk_mask !=3D 0) {=0A= printf("a multiple of %d ", (0x1 << softc->blk_gran));=0A= }=0A= printf("between %d and %d bytes\n", softc->min_blk,=0A= softc->max_blk);=0A= biofinish(bp, NULL, EINVAL);=0A= return;=0A= }=0A= =0A= /*=0A= * Mask interrupts so that the device cannot be invalidated until=0A= * after we are in the queue. Otherwise, we might not properly=0A= * clean up one of the buffers.=0A= */=0A= s =3D splbio();=0A= =0A= /*=0A= * Place it at the end of the queue.=0A= */=0A= bioq_insert_tail(&softc->bio_queue, bp);=0A= softc->queue_count++;=0A= #if 0=0A= CAM_DEBUG(periph->path, CAM_DEBUG_INFO,=0A= ("sastrategy: queuing a %ld %s byte %s\n", bp->bio_bcount,=0A= (softc->flags & SA_FLAG_FIXED)? "fixed" : "variable",=0A= (bp->bio_cmd =3D=3D BIO_READ)? "read" : "write"));=0A= #endif=0A= if (softc->queue_count > 1) {=0A= CAM_DEBUG(periph->path, CAM_DEBUG_INFO,=0A= ("sastrategy: queue count now %d\n", softc->queue_count));=0A= }=0A= splx(s);=0A= =0A= /*=0A= * Schedule ourselves for performing the work.=0A= */=0A= xpt_schedule(periph, 1);=0A= =0A= return;=0A= }=0A= =0A= static int=0A= saioctl(struct cdev *dev, u_long cmd, caddr_t arg, int flag, struct = thread *td)=0A= {=0A= struct cam_periph *periph;=0A= struct sa_softc *softc;=0A= scsi_space_code spaceop;=0A= int didlockperiph =3D 0;=0A= int s;=0A= int mode;=0A= int error =3D 0;=0A= =0A= mode =3D SAMODE(dev);=0A= error =3D 0; /* shut up gcc */=0A= spaceop =3D 0; /* shut up gcc */=0A= =0A= periph =3D (struct cam_periph *)dev->si_drv1;=0A= if (periph =3D=3D NULL)=0A= return (ENXIO); =0A= =0A= softc =3D (struct sa_softc *)periph->softc;=0A= =0A= /*=0A= * Check for control mode accesses. We allow MTIOCGET and=0A= * MTIOCERRSTAT (but need to be the only one open in order=0A= * to clear latched status), and MTSETBSIZE, MTSETDNSTY=0A= * and MTCOMP (but need to be the only one accessing this=0A= * device to run those).=0A= */=0A= =0A= if (SA_IS_CTRL(dev)) {=0A= switch (cmd) {=0A= case MTIOCGETEOTMODEL:=0A= case MTIOCGET:=0A= break;=0A= case MTIOCERRSTAT:=0A= /*=0A= * If the periph isn't already locked, lock it=0A= * so our MTIOCERRSTAT can reset latched error stats.=0A= *=0A= * If the periph is already locked, skip it because=0A= * we're just getting status and it'll be up to the=0A= * other thread that has this device open to do=0A= * an MTIOCERRSTAT that would clear latched status.=0A= */=0A= s =3D splsoftcam();=0A= if ((periph->flags & CAM_PERIPH_LOCKED) =3D=3D 0) {=0A= error =3D cam_periph_lock(periph, PRIBIO|PCATCH);=0A= if (error !=3D 0) {=0A= splx(s);=0A= return (error);=0A= }=0A= didlockperiph =3D 1;=0A= }=0A= break;=0A= =0A= case MTIOCSETEOTMODEL:=0A= case MTSETBSIZ:=0A= case MTSETDNSTY:=0A= case MTCOMP:=0A= /*=0A= * We need to acquire the peripheral here rather=0A= * than at open time because we are sharing writable=0A= * access to data structures.=0A= */=0A= s =3D splsoftcam();=0A= error =3D cam_periph_lock(periph, PRIBIO|PCATCH);=0A= if (error !=3D 0) {=0A= splx(s);=0A= return (error);=0A= }=0A= didlockperiph =3D 1;=0A= break;=0A= =0A= default:=0A= return (EINVAL);=0A= }=0A= }=0A= =0A= /*=0A= * Find the device that the user is talking about=0A= */=0A= switch (cmd) {=0A= case MTIOCGET:=0A= {=0A= struct mtget *g =3D (struct mtget *)arg;=0A= =0A= /*=0A= * If this isn't the control mode device, actually go out=0A= * and ask the drive again what it's set to.=0A= */=0A= if (!SA_IS_CTRL(dev)) {=0A= u_int8_t write_protect;=0A= int comp_enabled, comp_supported;=0A= error =3D sagetparams(periph, SA_PARAM_ALL,=0A= &softc->media_blksize, &softc->media_density,=0A= &softc->media_numblks, &softc->buffer_mode,=0A= &write_protect, &softc->speed, &comp_supported,=0A= &comp_enabled, &softc->comp_algorithm, NULL);=0A= if (error)=0A= break;=0A= if (write_protect)=0A= softc->flags |=3D SA_FLAG_TAPE_WP;=0A= else=0A= softc->flags &=3D ~SA_FLAG_TAPE_WP;=0A= softc->flags &=3D ~(SA_FLAG_COMP_SUPP|=0A= SA_FLAG_COMP_ENABLED|SA_FLAG_COMP_UNSUPP);=0A= if (comp_supported) {=0A= if (softc->saved_comp_algorithm =3D=3D 0)=0A= softc->saved_comp_algorithm =3D=0A= softc->comp_algorithm;=0A= softc->flags |=3D SA_FLAG_COMP_SUPP;=0A= if (comp_enabled)=0A= softc->flags |=3D SA_FLAG_COMP_ENABLED;=0A= } else =0A= softc->flags |=3D SA_FLAG_COMP_UNSUPP;=0A= }=0A= bzero(g, sizeof(struct mtget));=0A= g->mt_type =3D MT_ISAR;=0A= if (softc->flags & SA_FLAG_COMP_UNSUPP) {=0A= g->mt_comp =3D MT_COMP_UNSUPP;=0A= g->mt_comp0 =3D MT_COMP_UNSUPP;=0A= g->mt_comp1 =3D MT_COMP_UNSUPP;=0A= g->mt_comp2 =3D MT_COMP_UNSUPP;=0A= g->mt_comp3 =3D MT_COMP_UNSUPP;=0A= } else {=0A= if ((softc->flags & SA_FLAG_COMP_ENABLED) =3D=3D 0) {=0A= g->mt_comp =3D MT_COMP_DISABLED;=0A= } else {=0A= g->mt_comp =3D softc->comp_algorithm;=0A= }=0A= g->mt_comp0 =3D softc->comp_algorithm;=0A= g->mt_comp1 =3D softc->comp_algorithm;=0A= g->mt_comp2 =3D softc->comp_algorithm;=0A= g->mt_comp3 =3D softc->comp_algorithm;=0A= }=0A= g->mt_density =3D softc->media_density;=0A= g->mt_density0 =3D softc->media_density;=0A= g->mt_density1 =3D softc->media_density;=0A= g->mt_density2 =3D softc->media_density;=0A= g->mt_density3 =3D softc->media_density;=0A= g->mt_blksiz =3D softc->media_blksize;=0A= g->mt_blksiz0 =3D softc->media_blksize;=0A= g->mt_blksiz1 =3D softc->media_blksize;=0A= g->mt_blksiz2 =3D softc->media_blksize;=0A= g->mt_blksiz3 =3D softc->media_blksize;=0A= g->mt_fileno =3D softc->fileno;=0A= g->mt_blkno =3D softc->blkno;=0A= g->mt_dsreg =3D (short) softc->dsreg;=0A= /*=0A= * Yes, we know that this is likely to overflow=0A= */=0A= if (softc->last_resid_was_io) {=0A= if ((g->mt_resid =3D (short) softc->last_io_resid) !=3D 0) {=0A= if (SA_IS_CTRL(dev) =3D=3D 0 || didlockperiph) {=0A= softc->last_io_resid =3D 0;=0A= }=0A= }=0A= } else {=0A= if ((g->mt_resid =3D (short)softc->last_ctl_resid) !=3D 0) {=0A= if (SA_IS_CTRL(dev) =3D=3D 0 || didlockperiph) {=0A= softc->last_ctl_resid =3D 0;=0A= }=0A= }=0A= }=0A= error =3D 0;=0A= break;=0A= }=0A= case MTIOCERRSTAT:=0A= {=0A= struct scsi_tape_errors *sep =3D=0A= &((union mterrstat *)arg)->scsi_errstat;=0A= =0A= CAM_DEBUG(periph->path, CAM_DEBUG_TRACE,=0A= ("saioctl: MTIOCERRSTAT\n"));=0A= =0A= bzero(sep, sizeof(*sep));=0A= sep->io_resid =3D softc->last_io_resid;=0A= bcopy((caddr_t) &softc->last_io_sense, sep->io_sense,=0A= sizeof (sep->io_sense));=0A= bcopy((caddr_t) &softc->last_io_cdb, sep->io_cdb,=0A= sizeof (sep->io_cdb));=0A= sep->ctl_resid =3D softc->last_ctl_resid;=0A= bcopy((caddr_t) &softc->last_ctl_sense, sep->ctl_sense,=0A= sizeof (sep->ctl_sense));=0A= bcopy((caddr_t) &softc->last_ctl_cdb, sep->ctl_cdb,=0A= sizeof (sep->ctl_cdb));=0A= =0A= if (SA_IS_CTRL(dev) =3D=3D 0 || didlockperiph)=0A= bzero((caddr_t) &softc->errinfo,=0A= sizeof (softc->errinfo));=0A= error =3D 0;=0A= break;=0A= }=0A= case MTIOCTOP:=0A= {=0A= struct mtop *mt;=0A= int count;=0A= =0A= mt =3D (struct mtop *)arg;=0A= =0A= CAM_DEBUG(periph->path, CAM_DEBUG_TRACE,=0A= ("saioctl: op=3D0x%x count=3D0x%x\n",=0A= mt->mt_op, mt->mt_count));=0A= =0A= count =3D mt->mt_count;=0A= switch (mt->mt_op) {=0A= case MTWEOF: /* write an end-of-file marker */=0A= /*=0A= * We don't need to clear the SA_FLAG_TAPE_WRITTEN=0A= * flag because by keeping track of filemarks=0A= * we have last written we know ehether or not=0A= * we need to write more when we close the device.=0A= */=0A= error =3D sawritefilemarks(periph, count, FALSE);=0A= break;=0A= case MTWSS: /* write a setmark */=0A= error =3D sawritefilemarks(periph, count, TRUE);=0A= break;=0A= case MTBSR: /* backward space record */=0A= case MTFSR: /* forward space record */=0A= case MTBSF: /* backward space file */=0A= case MTFSF: /* forward space file */=0A= case MTBSS: /* backward space setmark */=0A= case MTFSS: /* forward space setmark */=0A= case MTEOD: /* space to end of recorded medium */=0A= {=0A= int nmarks;=0A= =0A= spaceop =3D SS_FILEMARKS;=0A= nmarks =3D softc->filemarks;=0A= error =3D sacheckeod(periph);=0A= if (error) {=0A= xpt_print_path(periph->path);=0A= printf("EOD check prior to spacing failed\n");=0A= softc->flags |=3D SA_FLAG_EIO_PENDING;=0A= break;=0A= }=0A= nmarks -=3D softc->filemarks;=0A= switch(mt->mt_op) {=0A= case MTBSR:=0A= count =3D -count;=0A= /* FALLTHROUGH */=0A= case MTFSR:=0A= spaceop =3D SS_BLOCKS;=0A= break;=0A= case MTBSF:=0A= count =3D -count;=0A= /* FALLTHROUGH */=0A= case MTFSF:=0A= break;=0A= case MTBSS:=0A= count =3D -count;=0A= /* FALLTHROUGH */=0A= case MTFSS:=0A= spaceop =3D SS_SETMARKS;=0A= break;=0A= case MTEOD:=0A= spaceop =3D SS_EOD;=0A= count =3D 0;=0A= nmarks =3D 0;=0A= break;=0A= default:=0A= error =3D EINVAL;=0A= break;=0A= }=0A= if (error)=0A= break;=0A= =0A= nmarks =3D softc->filemarks;=0A= /*=0A= * XXX: Why are we checking again?=0A= */=0A= error =3D sacheckeod(periph);=0A= if (error)=0A= break;=0A= nmarks -=3D softc->filemarks;=0A= error =3D saspace(periph, count - nmarks, spaceop);=0A= /*=0A= * At this point, clear that we've written the tape=0A= * and that we've written any filemarks. We really=0A= * don't know what the applications wishes to do next-=0A= * the sacheckeod's will make sure we terminated the=0A= * tape correctly if we'd been writing, but the next=0A= * action the user application takes will set again=0A= * whether we need to write filemarks.=0A= */=0A= softc->flags &=3D=0A= ~(SA_FLAG_TAPE_WRITTEN|SA_FLAG_TAPE_FROZEN);=0A= softc->filemarks =3D 0;=0A= break;=0A= }=0A= case MTREW: /* rewind */=0A= (void) sacheckeod(periph);=0A= error =3D sarewind(periph);=0A= /* see above */=0A= softc->flags &=3D=0A= ~(SA_FLAG_TAPE_WRITTEN|SA_FLAG_TAPE_FROZEN);=0A= softc->flags &=3D ~SA_FLAG_ERR_PENDING;=0A= softc->filemarks =3D 0;=0A= break;=0A= case MTERASE: /* erase */=0A= error =3D saerase(periph, count);=0A= softc->flags &=3D=0A= ~(SA_FLAG_TAPE_WRITTEN|SA_FLAG_TAPE_FROZEN);=0A= softc->flags &=3D ~SA_FLAG_ERR_PENDING;=0A= break;=0A= case MTRETENS: /* re-tension tape */=0A= error =3D saretension(periph); =0A= softc->flags &=3D=0A= ~(SA_FLAG_TAPE_WRITTEN|SA_FLAG_TAPE_FROZEN);=0A= softc->flags &=3D ~SA_FLAG_ERR_PENDING;=0A= break;=0A= case MTOFFL: /* rewind and put the drive offline */=0A= =0A= (void) sacheckeod(periph);=0A= /* see above */=0A= softc->flags &=3D ~SA_FLAG_TAPE_WRITTEN;=0A= softc->filemarks =3D 0;=0A= =0A= error =3D sarewind(periph);=0A= /* clear the frozen flag anyway */=0A= softc->flags &=3D ~SA_FLAG_TAPE_FROZEN;=0A= =0A= /*=0A= * Be sure to allow media removal before ejecting.=0A= */=0A= =0A= saprevent(periph, PR_ALLOW);=0A= if (error =3D=3D 0) {=0A= error =3D saloadunload(periph, FALSE);=0A= if (error =3D=3D 0) {=0A= softc->flags &=3D ~SA_FLAG_TAPE_MOUNTED;=0A= }=0A= }=0A= break;=0A= =0A= case MTNOP: /* no operation, sets status only */=0A= case MTCACHE: /* enable controller cache */=0A= case MTNOCACHE: /* disable controller cache */=0A= error =3D 0;=0A= break;=0A= =0A= case MTSETBSIZ: /* Set block size for device */=0A= =0A= error =3D sasetparams(periph, SA_PARAM_BLOCKSIZE, count,=0A= 0, 0, 0);=0A= if (error =3D=3D 0) {=0A= softc->last_media_blksize =3D=0A= softc->media_blksize;=0A= softc->media_blksize =3D count;=0A= if (count) {=0A= softc->flags |=3D SA_FLAG_FIXED;=0A= if (powerof2(count)) {=0A= softc->blk_shift =3D=0A= ffs(count) - 1;=0A= softc->blk_mask =3D count - 1;=0A= } else {=0A= softc->blk_mask =3D ~0;=0A= softc->blk_shift =3D 0;=0A= }=0A= /*=0A= * Make the user's desire 'persistent'.=0A= */=0A= softc->quirks &=3D ~SA_QUIRK_VARIABLE;=0A= softc->quirks |=3D SA_QUIRK_FIXED;=0A= } else {=0A= softc->flags &=3D ~SA_FLAG_FIXED;=0A= if (softc->max_blk =3D=3D 0) {=0A= softc->max_blk =3D ~0;=0A= }=0A= softc->blk_shift =3D 0;=0A= if (softc->blk_gran !=3D 0) {=0A= softc->blk_mask =3D=0A= softc->blk_gran - 1;=0A= } else {=0A= softc->blk_mask =3D 0;=0A= }=0A= /*=0A= * Make the user's desire 'persistent'.=0A= */=0A= softc->quirks |=3D SA_QUIRK_VARIABLE;=0A= softc->quirks &=3D ~SA_QUIRK_FIXED;=0A= }=0A= }=0A= break;=0A= case MTSETDNSTY: /* Set density for device and mode */=0A= if (count > UCHAR_MAX) {=0A= error =3D EINVAL; =0A= break;=0A= } else {=0A= error =3D sasetparams(periph, SA_PARAM_DENSITY,=0A= 0, count, 0, 0);=0A= }=0A= break;=0A= case MTCOMP: /* enable compression */=0A= /*=0A= * Some devices don't support compression, and=0A= * don't like it if you ask them for the=0A= * compression page.=0A= */=0A= if ((softc->quirks & SA_QUIRK_NOCOMP) ||=0A= (softc->flags & SA_FLAG_COMP_UNSUPP)) {=0A= error =3D ENODEV;=0A= break;=0A= }=0A= error =3D sasetparams(periph, SA_PARAM_COMPRESSION,=0A= 0, 0, count, SF_NO_PRINT);=0A= break;=0A= default:=0A= error =3D EINVAL;=0A= }=0A= break;=0A= }=0A= case MTIOCIEOT:=0A= case MTIOCEEOT:=0A= error =3D 0;=0A= break;=0A= case MTIOCRDSPOS:=0A= error =3D sardpos(periph, 0, (u_int32_t *) arg);=0A= break;=0A= case MTIOCRDHPOS:=0A= error =3D sardpos(periph, 1, (u_int32_t *) arg);=0A= break;=0A= case MTIOCSLOCATE:=0A= error =3D sasetpos(periph, 0, (u_int32_t *) arg);=0A= break;=0A= case MTIOCHLOCATE:=0A= error =3D sasetpos(periph, 1, (u_int32_t *) arg);=0A= break;=0A= case MTIOCGETEOTMODEL:=0A= error =3D 0;=0A= if (softc->quirks & SA_QUIRK_1FM)=0A= mode =3D 1;=0A= else=0A= mode =3D 2;=0A= *((u_int32_t *) arg) =3D mode;=0A= break;=0A= case MTIOCSETEOTMODEL:=0A= error =3D 0;=0A= switch (*((u_int32_t *) arg)) {=0A= case 1:=0A= softc->quirks &=3D ~SA_QUIRK_2FM;=0A= softc->quirks |=3D SA_QUIRK_1FM;=0A= break;=0A= case 2:=0A= softc->quirks &=3D ~SA_QUIRK_1FM;=0A= softc->quirks |=3D SA_QUIRK_2FM;=0A= break;=0A= default:=0A= error =3D EINVAL;=0A= break;=0A= }=0A= break;=0A= default:=0A= error =3D cam_periph_ioctl(periph, cmd, arg, saerror);=0A= break;=0A= }=0A= =0A= /*=0A= * Check to see if we cleared a frozen state=0A= */=0A= if (error =3D=3D 0 && (softc->flags & SA_FLAG_TAPE_FROZEN)) {=0A= switch(cmd) {=0A= case MTIOCRDSPOS:=0A= case MTIOCRDHPOS:=0A= case MTIOCSLOCATE:=0A= case MTIOCHLOCATE:=0A= softc->fileno =3D (daddr_t) -1;=0A= softc->blkno =3D (daddr_t) -1;=0A= softc->flags &=3D ~SA_FLAG_TAPE_FROZEN;=0A= xpt_print_path(periph->path);=0A= printf("tape state now unfrozen.\n");=0A= break;=0A= default:=0A= break;=0A= }=0A= }=0A= if (didlockperiph) {=0A= cam_periph_unlock(periph);=0A= }=0A= return (error);=0A= }=0A= =0A= static void=0A= sainit(void)=0A= {=0A= cam_status status;=0A= struct cam_path *path;=0A= =0A= /*=0A= * Install a global async callback.=0A= */=0A= status =3D xpt_create_path(&path, NULL, CAM_XPT_PATH_ID,=0A= CAM_TARGET_WILDCARD, CAM_LUN_WILDCARD);=0A= =0A= if (status =3D=3D CAM_REQ_CMP) {=0A= /* Register the async callbacks of interrest */=0A= struct ccb_setasync csa; /*=0A= * This is an immediate CCB,=0A= * so using the stack is OK=0A= */=0A= xpt_setup_ccb(&csa.ccb_h, path, 5);=0A= csa.ccb_h.func_code =3D XPT_SASYNC_CB;=0A= csa.event_enable =3D AC_FOUND_DEVICE;=0A= csa.callback =3D saasync;=0A= csa.callback_arg =3D NULL;=0A= xpt_action((union ccb *)&csa);=0A= status =3D csa.ccb_h.status;=0A= xpt_free_path(path);=0A= }=0A= =0A= if (status !=3D CAM_REQ_CMP) {=0A= printf("sa: Failed to attach master async callback "=0A= "due to status 0x%x!\n", status);=0A= }=0A= }=0A= =0A= static void=0A= saoninvalidate(struct cam_periph *periph)=0A= {=0A= struct sa_softc *softc;=0A= struct ccb_setasync csa;=0A= int s;=0A= =0A= softc =3D (struct sa_softc *)periph->softc;=0A= =0A= /*=0A= * De-register any async callbacks.=0A= */=0A= xpt_setup_ccb(&csa.ccb_h, periph->path,=0A= /* priority */ 5);=0A= csa.ccb_h.func_code =3D XPT_SASYNC_CB;=0A= csa.event_enable =3D 0;=0A= csa.callback =3D saasync;=0A= csa.callback_arg =3D periph;=0A= xpt_action((union ccb *)&csa);=0A= =0A= softc->flags |=3D SA_FLAG_INVALID;=0A= =0A= /*=0A= * Although the oninvalidate() routines are always called at=0A= * splsoftcam, we need to be at splbio() here to keep the buffer=0A= * queue from being modified while we traverse it.=0A= */=0A= s =3D splbio();=0A= =0A= /*=0A= * Return all queued I/O with ENXIO.=0A= * XXX Handle any transactions queued to the card=0A= * with XPT_ABORT_CCB.=0A= */=0A= bioq_flush(&softc->bio_queue, NULL, ENXIO);=0A= softc->queue_count =3D 0;=0A= splx(s);=0A= =0A= xpt_print_path(periph->path);=0A= printf("lost device\n");=0A= =0A= }=0A= =0A= static void=0A= sacleanup(struct cam_periph *periph)=0A= {=0A= struct sa_softc *softc;=0A= int i;=0A= =0A= softc =3D (struct sa_softc *)periph->softc;=0A= =0A= devstat_remove_entry(softc->device_stats);=0A= =0A= destroy_dev(softc->devs.ctl_dev);=0A= =0A= for (i =3D 0; i < SA_NUM_MODES; i++) {=0A= destroy_dev(softc->devs.mode_devs[i].r_dev);=0A= destroy_dev(softc->devs.mode_devs[i].nr_dev);=0A= destroy_dev(softc->devs.mode_devs[i].er_dev);=0A= }=0A= =0A= xpt_print_path(periph->path);=0A= printf("removing device entry\n");=0A= free(softc, M_DEVBUF);=0A= }=0A= =0A= static void=0A= saasync(void *callback_arg, u_int32_t code,=0A= struct cam_path *path, void *arg)=0A= {=0A= struct cam_periph *periph;=0A= =0A= periph =3D (struct cam_periph *)callback_arg;=0A= switch (code) {=0A= case AC_FOUND_DEVICE:=0A= {=0A= struct ccb_getdev *cgd;=0A= cam_status status;=0A= =0A= cgd =3D (struct ccb_getdev *)arg;=0A= if (cgd =3D=3D NULL)=0A= break;=0A= =0A= if (SID_TYPE(&cgd->inq_data) !=3D T_SEQUENTIAL)=0A= break;=0A= =0A= /*=0A= * Allocate a peripheral instance for=0A= * this device and start the probe=0A= * process.=0A= */=0A= status =3D cam_periph_alloc(saregister, saoninvalidate,=0A= sacleanup, sastart,=0A= "sa", CAM_PERIPH_BIO, cgd->ccb_h.path,=0A= saasync, AC_FOUND_DEVICE, cgd);=0A= =0A= if (status !=3D CAM_REQ_CMP=0A= && status !=3D CAM_REQ_INPROG)=0A= printf("saasync: Unable to probe new device "=0A= "due to status 0x%x\n", status);=0A= break;=0A= }=0A= default:=0A= cam_periph_async(periph, code, path, arg);=0A= break;=0A= }=0A= }=0A= =0A= static cam_status=0A= saregister(struct cam_periph *periph, void *arg)=0A= {=0A= struct sa_softc *softc;=0A= struct ccb_setasync csa;=0A= struct ccb_getdev *cgd;=0A= caddr_t match;=0A= int i;=0A= =0A= cgd =3D (struct ccb_getdev *)arg;=0A= if (periph =3D=3D NULL) {=0A= printf("saregister: periph was NULL!!\n");=0A= return (CAM_REQ_CMP_ERR);=0A= }=0A= =0A= if (cgd =3D=3D NULL) {=0A= printf("saregister: no getdev CCB, can't register device\n");=0A= return (CAM_REQ_CMP_ERR);=0A= }=0A= =0A= softc =3D (struct sa_softc *)=0A= malloc(sizeof (*softc), M_DEVBUF, M_NOWAIT | M_ZERO);=0A= if (softc =3D=3D NULL) {=0A= printf("saregister: Unable to probe new device. "=0A= "Unable to allocate softc\n"); =0A= return (CAM_REQ_CMP_ERR);=0A= }=0A= softc->scsi_rev =3D SID_ANSI_REV(&cgd->inq_data);=0A= softc->state =3D SA_STATE_NORMAL;=0A= softc->fileno =3D (daddr_t) -1;=0A= softc->blkno =3D (daddr_t) -1;=0A= =0A= bioq_init(&softc->bio_queue);=0A= periph->softc =3D softc;=0A= =0A= /*=0A= * See if this device has any quirks.=0A= */=0A= match =3D cam_quirkmatch((caddr_t)&cgd->inq_data,=0A= (caddr_t)sa_quirk_table,=0A= sizeof(sa_quirk_table)/sizeof(*sa_quirk_table),=0A= sizeof(*sa_quirk_table), scsi_inquiry_match);=0A= =0A= if (match !=3D NULL) {=0A= softc->quirks =3D ((struct sa_quirk_entry *)match)->quirks;=0A= softc->last_media_blksize =3D=0A= ((struct sa_quirk_entry *)match)->prefblk;=0A= #ifdef CAMDEBUG=0A= xpt_print_path(periph->path);=0A= printf("found quirk entry %d\n", (int)=0A= (((struct sa_quirk_entry *) match) - sa_quirk_table));=0A= #endif=0A= } else=0A= softc->quirks =3D SA_QUIRK_NONE;=0A= =0A= /*=0A= * The SA driver supports a blocksize, but we don't know the=0A= * blocksize until we media is inserted. So, set a flag to=0A= * indicate that the blocksize is unavailable right now.=0A= */=0A= softc->device_stats =3D devstat_new_entry("sa", periph->unit_number, 0,=0A= DEVSTAT_BS_UNAVAILABLE, SID_TYPE(&cgd->inq_data) |=0A= DEVSTAT_TYPE_IF_SCSI, DEVSTAT_PRIORITY_TAPE);=0A= =0A= softc->devs.ctl_dev =3D make_dev(&sa_cdevsw, SAMINOR(SA_CTLDEV,=0A= periph->unit_number, 0, SA_ATYPE_R), UID_ROOT, GID_OPERATOR,=0A= 0660, "%s%d.ctl", periph->periph_name, periph->unit_number);=0A= softc->devs.ctl_dev->si_drv1 =3D periph;=0A= =0A= for (i =3D 0; i < SA_NUM_MODES; i++) {=0A= =0A= softc->devs.mode_devs[i].r_dev =3D make_dev(&sa_cdevsw,=0A= SAMINOR(SA_NOT_CTLDEV, periph->unit_number, i, SA_ATYPE_R),=0A= UID_ROOT, GID_OPERATOR, 0660, "%s%d.%d",=0A= periph->periph_name, periph->unit_number, i);=0A= softc->devs.mode_devs[i].r_dev->si_drv1 =3D periph;=0A= =0A= softc->devs.mode_devs[i].nr_dev =3D make_dev(&sa_cdevsw,=0A= SAMINOR(SA_NOT_CTLDEV, periph->unit_number, i, SA_ATYPE_NR),=0A= UID_ROOT, GID_OPERATOR, 0660, "n%s%d.%d",=0A= periph->periph_name, periph->unit_number, i);=0A= softc->devs.mode_devs[i].nr_dev->si_drv1 =3D periph;=0A= =0A= softc->devs.mode_devs[i].er_dev =3D make_dev(&sa_cdevsw,=0A= SAMINOR(SA_NOT_CTLDEV, periph->unit_number, i, SA_ATYPE_ER),=0A= UID_ROOT, GID_OPERATOR, 0660, "e%s%d.%d",=0A= periph->periph_name, periph->unit_number, i);=0A= softc->devs.mode_devs[i].er_dev->si_drv1 =3D periph;=0A= =0A= /*=0A= * Make the (well known) aliases for the first mode.=0A= */=0A= if (i =3D=3D 0) {=0A= struct cdev *alias;=0A= =0A= alias =3D make_dev_alias(softc->devs.mode_devs[i].r_dev,=0A= "%s%d", periph->periph_name, periph->unit_number);=0A= alias->si_drv1 =3D periph;=0A= alias =3D make_dev_alias(softc->devs.mode_devs[i].nr_dev,=0A= "n%s%d", periph->periph_name, periph->unit_number);=0A= alias->si_drv1 =3D periph;=0A= alias =3D make_dev_alias(softc->devs.mode_devs[i].er_dev,=0A= "e%s%d", periph->periph_name, periph->unit_number);=0A= alias->si_drv1 =3D periph;=0A= }=0A= }=0A= =0A= /*=0A= * Add an async callback so that we get=0A= * notified if this device goes away.=0A= */=0A= xpt_setup_ccb(&csa.ccb_h, periph->path, /* priority */ 5);=0A= csa.ccb_h.func_code =3D XPT_SASYNC_CB;=0A= csa.event_enable =3D AC_LOST_DEVICE;=0A= csa.callback =3D saasync;=0A= csa.callback_arg =3D periph;=0A= xpt_action((union ccb *)&csa);=0A= =0A= xpt_announce_periph(periph, NULL);=0A= =0A= return (CAM_REQ_CMP);=0A= }=0A= =0A= static void=0A= sastart(struct cam_periph *periph, union ccb *start_ccb)=0A= {=0A= struct sa_softc *softc;=0A= =0A= softc =3D (struct sa_softc *)periph->softc;=0A= =0A= CAM_DEBUG(periph->path, CAM_DEBUG_TRACE, ("sastart\n"));=0A= =0A= =0A= switch (softc->state) {=0A= case SA_STATE_NORMAL:=0A= {=0A= /* Pull a buffer from the queue and get going on it */ =0A= struct bio *bp;=0A= int s;=0A= =0A= /*=0A= * See if there is a buf with work for us to do..=0A= */=0A= s =3D splbio();=0A= bp =3D bioq_first(&softc->bio_queue);=0A= if (periph->immediate_priority <=3D periph->pinfo.priority) {=0A= CAM_DEBUG_PRINT(CAM_DEBUG_SUBTRACE,=0A= ("queuing for immediate ccb\n"));=0A= Set_CCB_Type(start_ccb, SA_CCB_WAITING);=0A= SLIST_INSERT_HEAD(&periph->ccb_list, &start_ccb->ccb_h,=0A= periph_links.sle);=0A= periph->immediate_priority =3D CAM_PRIORITY_NONE;=0A= splx(s);=0A= wakeup(&periph->ccb_list);=0A= } else if (bp =3D=3D NULL) {=0A= splx(s);=0A= xpt_release_ccb(start_ccb);=0A= } else if ((softc->flags & SA_FLAG_ERR_PENDING) !=3D 0) {=0A= struct bio *done_bp;=0A= again:=0A= softc->queue_count--;=0A= bioq_remove(&softc->bio_queue, bp);=0A= bp->bio_resid =3D bp->bio_bcount;=0A= done_bp =3D bp;=0A= if ((softc->flags & SA_FLAG_EOM_PENDING) !=3D 0) {=0A= /*=0A= * We now just clear errors in this case=0A= * and let the residual be the notifier.=0A= */=0A= bp->bio_error =3D 0;=0A= } else if ((softc->flags & SA_FLAG_EOF_PENDING) !=3D 0) {=0A= /*=0A= * This can only happen if we're reading=0A= * in fixed length mode. In this case,=0A= * we dump the rest of the list the=0A= * same way.=0A= */=0A= bp->bio_error =3D 0;=0A= if (bioq_first(&softc->bio_queue) !=3D NULL) {=0A= biodone(done_bp);=0A= goto again;=0A= }=0A= } else if ((softc->flags & SA_FLAG_EIO_PENDING) !=3D 0) {=0A= bp->bio_error =3D EIO;=0A= bp->bio_flags |=3D BIO_ERROR;=0A= }=0A= bp =3D bioq_first(&softc->bio_queue);=0A= /*=0A= * Only if we have no other buffers queued up=0A= * do we clear the pending error flag.=0A= */=0A= if (bp =3D=3D NULL)=0A= softc->flags &=3D ~SA_FLAG_ERR_PENDING;=0A= CAM_DEBUG(periph->path, CAM_DEBUG_INFO,=0A= ("sastart- ERR_PENDING now 0x%x, bp is %sNULL, "=0A= "%d more buffers queued up\n",=0A= (softc->flags & SA_FLAG_ERR_PENDING),=0A= (bp !=3D NULL)? "not " : " ", softc->queue_count));=0A= splx(s);=0A= xpt_release_ccb(start_ccb);=0A= biodone(done_bp);=0A= } else {=0A= u_int32_t length;=0A= =0A= bioq_remove(&softc->bio_queue, bp);=0A= softc->queue_count--;=0A= =0A= if ((softc->flags & SA_FLAG_FIXED) !=3D 0) {=0A= if (softc->blk_shift !=3D 0) {=0A= length =3D=0A= bp->bio_bcount >> softc->blk_shift;=0A= } else if (softc->media_blksize !=3D 0) {=0A= length =3D bp->bio_bcount /=0A= softc->media_blksize;=0A= } else {=0A= bp->bio_error =3D EIO;=0A= xpt_print_path(periph->path);=0A= printf("zero blocksize for "=0A= "FIXED length writes?\n");=0A= splx(s);=0A= biodone(bp);=0A= break;=0A= }=0A= #if 0=0A= CAM_DEBUG(start_ccb->ccb_h.path, CAM_DEBUG_INFO,=0A= ("issuing a %d fixed record %s\n",=0A= length, (bp->bio_cmd =3D=3D BIO_READ)? "read" :=0A= "write"));=0A= #endif=0A= } else {=0A= length =3D bp->bio_bcount;=0A= #if 0=0A= CAM_DEBUG(start_ccb->ccb_h.path, CAM_DEBUG_INFO,=0A= ("issuing a %d variable byte %s\n",=0A= length, (bp->bio_cmd =3D=3D BIO_READ)? "read" :=0A= "write"));=0A= #endif=0A= }=0A= devstat_start_transaction_bio(softc->device_stats, bp);=0A= /*=0A= * Some people have theorized that we should=0A= * suppress illegal length indication if we are=0A= * running in variable block mode so that we don't=0A= * have to request sense every time our requested=0A= * block size is larger than the written block.=0A= * The residual information from the ccb allows=0A= * us to identify this situation anyway. The only=0A= * problem with this is that we will not get=0A= * information about blocks that are larger than=0A= * our read buffer unless we set the block size=0A= * in the mode page to something other than 0.=0A= *=0A= * I believe that this is a non-issue. If user apps=0A= * don't adjust their read size to match our record=0A= * size, that's just life. Anyway, the typical usage=0A= * would be to issue, e.g., 64KB reads and occasionally=0A= * have to do deal with 512 byte or 1KB intermediate=0A= * records.=0A= */=0A= softc->dsreg =3D (bp->bio_cmd =3D=3D BIO_READ)?=0A= MTIO_DSREG_RD : MTIO_DSREG_WR;=0A= scsi_sa_read_write(&start_ccb->csio, 0, sadone,=0A= MSG_SIMPLE_Q_TAG, (bp->bio_cmd =3D=3D BIO_READ),=0A= FALSE, (softc->flags & SA_FLAG_FIXED) !=3D 0,=0A= length, bp->bio_data, bp->bio_bcount, SSD_FULL_SIZE,=0A= IO_TIMEOUT);=0A= start_ccb->ccb_h.ccb_pflags &=3D ~SA_POSITION_UPDATED;=0A= Set_CCB_Type(start_ccb, SA_CCB_BUFFER_IO);=0A= start_ccb->ccb_h.ccb_bp =3D bp;=0A= bp =3D bioq_first(&softc->bio_queue);=0A= splx(s);=0A= xpt_action(start_ccb);=0A= }=0A= =0A= if (bp !=3D NULL) {=0A= /* Have more work to do, so ensure we stay scheduled */=0A= xpt_schedule(periph, 1);=0A= }=0A= break;=0A= }=0A= case SA_STATE_ABNORMAL:=0A= default:=0A= panic("state 0x%x in sastart", softc->state);=0A= break;=0A= }=0A= }=0A= =0A= =0A= static void=0A= sadone(struct cam_periph *periph, union ccb *done_ccb)=0A= {=0A= struct sa_softc *softc;=0A= struct ccb_scsiio *csio;=0A= =0A= softc =3D (struct sa_softc *)periph->softc;=0A= csio =3D &done_ccb->csio;=0A= switch (CCB_Type(csio)) {=0A= case SA_CCB_BUFFER_IO:=0A= {=0A= struct bio *bp;=0A= int error;=0A= =0A= softc->dsreg =3D MTIO_DSREG_REST;=0A= bp =3D (struct bio *)done_ccb->ccb_h.ccb_bp;=0A= error =3D 0;=0A= if ((done_ccb->ccb_h.status & CAM_STATUS_MASK) !=3D CAM_REQ_CMP) {=0A= if ((error =3D saerror(done_ccb, 0, 0)) =3D=3D ERESTART) {=0A= /*=0A= * A retry was scheduled, so just return.=0A= */=0A= return;=0A= }=0A= }=0A= =0A= if (error =3D=3D EIO) {=0A= int s; =0A= =0A= /*=0A= * Catastrophic error. Mark the tape as frozen=0A= * (we no longer know tape position).=0A= *=0A= * Return all queued I/O with EIO, and unfreeze=0A= * our queue so that future transactions that=0A= * attempt to fix this problem can get to the=0A= * device.=0A= *=0A= */=0A= =0A= s =3D splbio();=0A= softc->flags |=3D SA_FLAG_TAPE_FROZEN;=0A= bioq_flush(&softc->bio_queue, NULL, EIO);=0A= splx(s);=0A= }=0A= if (error !=3D 0) {=0A= bp->bio_resid =3D bp->bio_bcount;=0A= bp->bio_error =3D error;=0A= bp->bio_flags |=3D BIO_ERROR;=0A= /*=0A= * In the error case, position is updated in saerror.=0A= */=0A= } else {=0A= bp->bio_resid =3D csio->resid;=0A= bp->bio_error =3D 0;=0A= if (csio->resid !=3D 0) {=0A= bp->bio_flags |=3D BIO_ERROR;=0A= }=0A= if (bp->bio_cmd =3D=3D BIO_WRITE) {=0A= softc->flags |=3D SA_FLAG_TAPE_WRITTEN;=0A= softc->filemarks =3D 0;=0A= }=0A= if (!(csio->ccb_h.ccb_pflags & SA_POSITION_UPDATED) &&=0A= (softc->blkno !=3D (daddr_t) -1)) {=0A= if ((softc->flags & SA_FLAG_FIXED) !=3D 0) {=0A= u_int32_t l;=0A= if (softc->blk_shift !=3D 0) {=0A= l =3D bp->bio_bcount >>=0A= softc->blk_shift;=0A= } else {=0A= l =3D bp->bio_bcount /=0A= softc->media_blksize;=0A= }=0A= softc->blkno +=3D (daddr_t) l;=0A= } else {=0A= softc->blkno++;=0A= }=0A= }=0A= }=0A= /*=0A= * If we had an error (immediate or pending),=0A= * release the device queue now.=0A= */=0A= if (error || (softc->flags & SA_FLAG_ERR_PENDING))=0A= cam_release_devq(done_ccb->ccb_h.path, 0, 0, 0, 0);=0A= #ifdef CAMDEBUG=0A= if (error || bp->bio_resid) {=0A= CAM_DEBUG(periph->path, CAM_DEBUG_INFO,=0A= ("error %d resid %ld count %ld\n", error,=0A= bp->bio_resid, bp->bio_bcount));=0A= }=0A= #endif=0A= biofinish(bp, softc->device_stats, 0);=0A= break;=0A= }=0A= case SA_CCB_WAITING:=0A= {=0A= /* Caller will release the CCB */=0A= wakeup(&done_ccb->ccb_h.cbfcnp);=0A= return;=0A= }=0A= }=0A= xpt_release_ccb(done_ccb);=0A= }=0A= =0A= /*=0A= * Mount the tape (make sure it's ready for I/O).=0A= */=0A= static int=0A= samount(struct cam_periph *periph, int oflags, struct cdev *dev)=0A= {=0A= struct sa_softc *softc;=0A= union ccb *ccb;=0A= int error;=0A= =0A= /*=0A= * oflags can be checked for 'kind' of open (read-only check) - later=0A= * dev can be checked for a control-mode or compression open - later=0A= */=0A= UNUSED_PARAMETER(oflags);=0A= UNUSED_PARAMETER(dev);=0A= =0A= =0A= softc =3D (struct sa_softc *)periph->softc;=0A= =0A= /*=0A= * This should determine if something has happend since the last=0A= * open/mount that would invalidate the mount. We do *not* want=0A= * to retry this command- we just want the status. But we only=0A= * do this if we're mounted already- if we're not mounted,=0A= * we don't care about the unit read state and can instead use=0A= * this opportunity to attempt to reserve the tape unit.=0A= */=0A= =0A= if (softc->flags & SA_FLAG_TAPE_MOUNTED) {=0A= /* Start : reserve every time bpr Atempo */=0A= error =3D sareservereleaseunit(periph, TRUE);=0A= if (error) {=0A= return (error);=0A= }=0A= /* End : reserve every time bpr Atempo */=0A= ccb =3D cam_periph_getccb(periph, 1);=0A= scsi_test_unit_ready(&ccb->csio, 0, sadone,=0A= MSG_SIMPLE_Q_TAG, SSD_FULL_SIZE, IO_TIMEOUT);=0A= error =3D cam_periph_runccb(ccb, saerror, 0, SF_NO_PRINT,=0A= softc->device_stats);=0A= QFRLS(ccb);=0A= if (error =3D=3D ENXIO) {=0A= softc->flags &=3D ~SA_FLAG_TAPE_MOUNTED;=0A= scsi_test_unit_ready(&ccb->csio, 0, sadone,=0A= MSG_SIMPLE_Q_TAG, SSD_FULL_SIZE, IO_TIMEOUT);=0A= error =3D cam_periph_runccb(ccb, saerror, 0, SF_NO_PRINT,=0A= softc->device_stats);=0A= QFRLS(ccb);=0A= } else if (error) {=0A= /*=0A= * We don't need to freeze the tape because we=0A= * will now attempt to rewind/load it.=0A= */=0A= softc->flags &=3D ~SA_FLAG_TAPE_MOUNTED;=0A= if (CAM_DEBUGGED(ccb->ccb_h.path, CAM_DEBUG_INFO)) {=0A= xpt_print_path(ccb->ccb_h.path);=0A= printf("error %d on TUR in samount\n", error);=0A= }=0A= }=0A= } else {=0A= error =3D sareservereleaseunit(periph, TRUE);=0A= if (error) {=0A= return (error);=0A= }=0A= ccb =3D cam_periph_getccb(periph, 1);=0A= scsi_test_unit_ready(&ccb->csio, 0, sadone,=0A= MSG_SIMPLE_Q_TAG, SSD_FULL_SIZE, IO_TIMEOUT);=0A= error =3D cam_periph_runccb(ccb, saerror, 0, SF_NO_PRINT,=0A= softc->device_stats);=0A= QFRLS(ccb);=0A= }=0A= =0A= if ((softc->flags & SA_FLAG_TAPE_MOUNTED) =3D=3D 0) {=0A= struct scsi_read_block_limits_data *rblim =3D NULL;=0A= int comp_enabled, comp_supported;=0A= u_int8_t write_protect, guessing =3D 0;=0A= =0A= /*=0A= * Clear out old state.=0A= */=0A= softc->flags &=3D ~(SA_FLAG_TAPE_WP|SA_FLAG_TAPE_WRITTEN|=0A= SA_FLAG_ERR_PENDING|SA_FLAG_COMP_ENABLED|=0A= SA_FLAG_COMP_SUPP|SA_FLAG_COMP_UNSUPP);=0A= softc->filemarks =3D 0;=0A= =0A= /*=0A= * *Very* first off, make sure we're loaded to BOT.=0A= */=0A= scsi_load_unload(&ccb->csio, 2, sadone, MSG_SIMPLE_Q_TAG, FALSE,=0A= FALSE, FALSE, 1, SSD_FULL_SIZE, REWIND_TIMEOUT);=0A= error =3D cam_periph_runccb(ccb, saerror, 0, SF_NO_PRINT,=0A= softc->device_stats);=0A= QFRLS(ccb);=0A= =0A= /*=0A= * In case this doesn't work, do a REWIND instead=0A= */=0A= if (error) {=0A= scsi_rewind(&ccb->csio, 2, sadone, MSG_SIMPLE_Q_TAG,=0A= FALSE, SSD_FULL_SIZE, REWIND_TIMEOUT);=0A= error =3D cam_periph_runccb(ccb, saerror, 0, SF_NO_PRINT,=0A= softc->device_stats);=0A= QFRLS(ccb);=0A= }=0A= if (error) {=0A= xpt_release_ccb(ccb);=0A= goto exit;=0A= }=0A= =0A= /*=0A= * Do a dummy test read to force access to the=0A= * media so that the drive will really know what's=0A= * there. We actually don't really care what the=0A= * blocksize on tape is and don't expect to really=0A= * read a full record.=0A= */=0A= rblim =3D (struct scsi_read_block_limits_data *)=0A= malloc(8192, M_TEMP, M_WAITOK);=0A= if (rblim =3D=3D NULL) {=0A= xpt_print_path(ccb->ccb_h.path);=0A= printf("no memory for test read\n");=0A= xpt_release_ccb(ccb);=0A= error =3D ENOMEM;=0A= goto exit;=0A= }=0A= =0A= if ((softc->quirks & SA_QUIRK_NODREAD) =3D=3D 0) {=0A= scsi_sa_read_write(&ccb->csio, 0, sadone,=0A= MSG_SIMPLE_Q_TAG, 1, FALSE, 0, 8192,=0A= (void *) rblim, 8192, SSD_FULL_SIZE,=0A= IO_TIMEOUT);=0A= (void) cam_periph_runccb(ccb, saerror, 0, SF_NO_PRINT,=0A= softc->device_stats);=0A= QFRLS(ccb);=0A= scsi_rewind(&ccb->csio, 1, sadone, MSG_SIMPLE_Q_TAG,=0A= FALSE, SSD_FULL_SIZE, REWIND_TIMEOUT);=0A= error =3D cam_periph_runccb(ccb, saerror, CAM_RETRY_SELTO,=0A= SF_NO_PRINT | SF_RETRY_UA,=0A= softc->device_stats);=0A= QFRLS(ccb);=0A= if (error) {=0A= xpt_print_path(ccb->ccb_h.path);=0A= printf("unable to rewind after test read\n");=0A= xpt_release_ccb(ccb);=0A= goto exit;=0A= }=0A= }=0A= =0A= /*=0A= * Next off, determine block limits.=0A= */=0A= scsi_read_block_limits(&ccb->csio, 5, sadone, MSG_SIMPLE_Q_TAG,=0A= rblim, SSD_FULL_SIZE, SCSIOP_TIMEOUT);=0A= =0A= error =3D cam_periph_runccb(ccb, saerror, CAM_RETRY_SELTO,=0A= SF_NO_PRINT | SF_RETRY_UA, softc->device_stats);=0A= =0A= QFRLS(ccb);=0A= xpt_release_ccb(ccb);=0A= =0A= if (error !=3D 0) {=0A= /*=0A= * If it's less than SCSI-2, READ BLOCK LIMITS is not=0A= * a MANDATORY command. Anyway- it doesn't matter-=0A= * we can proceed anyway.=0A= */=0A= softc->blk_gran =3D 0;=0A= softc->max_blk =3D ~0;=0A= softc->min_blk =3D 0;=0A= } else {=0A= if (softc->scsi_rev >=3D SCSI_REV_SPC) {=0A= softc->blk_gran =3D RBL_GRAN(rblim);=0A= } else {=0A= softc->blk_gran =3D 0;=0A= }=0A= /*=0A= * We take max_blk =3D=3D min_blk to mean a default to=0A= * fixed mode- but note that whatever we get out of=0A= * sagetparams below will actually determine whether=0A= * we are actually *in* fixed mode.=0A= */=0A= softc->max_blk =3D scsi_3btoul(rblim->maximum);=0A= softc->min_blk =3D scsi_2btoul(rblim->minimum);=0A= =0A= =0A= }=0A= /*=0A= * Next, perform a mode sense to determine=0A= * current density, blocksize, compression etc.=0A= */=0A= error =3D sagetparams(periph, SA_PARAM_ALL,=0A= &softc->media_blksize,=0A= &softc->media_density,=0A= &softc->media_numblks,=0A= &softc->buffer_mode, &write_protect,=0A= &softc->speed, &comp_supported,=0A= &comp_enabled, &softc->comp_algorithm,=0A= NULL);=0A= =0A= if (error !=3D 0) {=0A= /*=0A= * We could work a little harder here. We could=0A= * adjust our attempts to get information. It=0A= * might be an ancient tape drive. If someone=0A= * nudges us, we'll do that.=0A= */=0A= goto exit;=0A= }=0A= =0A= /*=0A= * If no quirk has determined that this is a device that is=0A= * preferred to be in fixed or variable mode, now is the time=0A= * to find out.=0A= */=0A= if ((softc->quirks & (SA_QUIRK_FIXED|SA_QUIRK_VARIABLE)) =3D=3D 0) {=0A= guessing =3D 1;=0A= /*=0A= * This could be expensive to find out. Luckily we=0A= * only need to do this once. If we start out in=0A= * 'default' mode, try and set ourselves to one=0A= * of the densities that would determine a wad=0A= * of other stuff. Go from highest to lowest.=0A= */=0A= if (softc->media_density =3D=3D SCSI_DEFAULT_DENSITY) {=0A= int i;=0A= static u_int8_t ctry[] =3D {=0A= SCSI_DENSITY_HALFINCH_PE,=0A= SCSI_DENSITY_HALFINCH_6250C,=0A= SCSI_DENSITY_HALFINCH_6250,=0A= SCSI_DENSITY_HALFINCH_1600,=0A= SCSI_DENSITY_HALFINCH_800,=0A= SCSI_DENSITY_QIC_4GB,=0A= SCSI_DENSITY_QIC_2GB,=0A= SCSI_DENSITY_QIC_525_320,=0A= SCSI_DENSITY_QIC_150,=0A= SCSI_DENSITY_QIC_120,=0A= SCSI_DENSITY_QIC_24,=0A= SCSI_DENSITY_QIC_11_9TRK,=0A= SCSI_DENSITY_QIC_11_4TRK,=0A= SCSI_DENSITY_QIC_1320,=0A= SCSI_DENSITY_QIC_3080,=0A= 0=0A= };=0A= for (i =3D 0; ctry[i]; i++) {=0A= error =3D sasetparams(periph,=0A= SA_PARAM_DENSITY, 0, ctry[i],=0A= 0, SF_NO_PRINT);=0A= if (error =3D=3D 0) {=0A= softc->media_density =3D ctry[i];=0A= break;=0A= }=0A= }=0A= }=0A= switch (softc->media_density) {=0A= case SCSI_DENSITY_QIC_11_4TRK:=0A= case SCSI_DENSITY_QIC_11_9TRK:=0A= case SCSI_DENSITY_QIC_24:=0A= case SCSI_DENSITY_QIC_120:=0A= case SCSI_DENSITY_QIC_150:=0A= case SCSI_DENSITY_QIC_525_320:=0A= case SCSI_DENSITY_QIC_1320:=0A= case SCSI_DENSITY_QIC_3080:=0A= softc->quirks &=3D ~SA_QUIRK_2FM;=0A= softc->quirks |=3D SA_QUIRK_FIXED|SA_QUIRK_1FM;=0A= softc->last_media_blksize =3D 512;=0A= break;=0A= case SCSI_DENSITY_QIC_4GB:=0A= case SCSI_DENSITY_QIC_2GB:=0A= softc->quirks &=3D ~SA_QUIRK_2FM;=0A= softc->quirks |=3D SA_QUIRK_FIXED|SA_QUIRK_1FM;=0A= softc->last_media_blksize =3D 1024;=0A= break;=0A= default:=0A= softc->last_media_blksize =3D=0A= softc->media_blksize;=0A= softc->quirks |=3D SA_QUIRK_VARIABLE;=0A= break;=0A= }=0A= }=0A= =0A= /*=0A= * If no quirk has determined that this is a device that needs=0A= * to have 2 Filemarks at EOD, now is the time to find out.=0A= */=0A= =0A= if ((softc->quirks & SA_QUIRK_2FM) =3D=3D 0) {=0A= switch (softc->media_density) {=0A= case SCSI_DENSITY_HALFINCH_800:=0A= case SCSI_DENSITY_HALFINCH_1600:=0A= case SCSI_DENSITY_HALFINCH_6250:=0A= case SCSI_DENSITY_HALFINCH_6250C:=0A= case SCSI_DENSITY_HALFINCH_PE:=0A= softc->quirks &=3D ~SA_QUIRK_1FM;=0A= softc->quirks |=3D SA_QUIRK_2FM;=0A= break;=0A= default:=0A= break;=0A= }=0A= }=0A= =0A= /*=0A= * Now validate that some info we got makes sense.=0A= */=0A= if ((softc->max_blk < softc->media_blksize) ||=0A= (softc->min_blk > softc->media_blksize &&=0A= softc->media_blksize)) {=0A= xpt_print_path(ccb->ccb_h.path);=0A= printf("BLOCK LIMITS (%d..%d) could not match current "=0A= "block settings (%d)- adjusting\n", softc->min_blk,=0A= softc->max_blk, softc->media_blksize);=0A= softc->max_blk =3D softc->min_blk =3D=0A= softc->media_blksize;=0A= }=0A= =0A= /*=0A= * Now put ourselves into the right frame of mind based=0A= * upon quirks...=0A= */=0A= tryagain:=0A= /*=0A= * If we want to be in FIXED mode and our current blocksize=0A= * is not equal to our last blocksize (if nonzero), try and=0A= * set ourselves to this last blocksize (as the 'preferred'=0A= * block size). The initial quirkmatch at registry sets the=0A= * initial 'last' blocksize. If, for whatever reason, this=0A= * 'last' blocksize is zero, set the blocksize to 512,=0A= * or min_blk if that's larger.=0A= */=0A= if ((softc->quirks & SA_QUIRK_FIXED) &&=0A= (softc->quirks & SA_QUIRK_NO_MODESEL) =3D=3D 0 &&=0A= (softc->media_blksize !=3D softc->last_media_blksize)) {=0A= softc->media_blksize =3D softc->last_media_blksize;=0A= if (softc->media_blksize =3D=3D 0) {=0A= softc->media_blksize =3D 512;=0A= if (softc->media_blksize < softc->min_blk) {=0A= softc->media_blksize =3D softc->min_blk;=0A= }=0A= }=0A= error =3D sasetparams(periph, SA_PARAM_BLOCKSIZE,=0A= softc->media_blksize, 0, 0, SF_NO_PRINT);=0A= if (error) {=0A= xpt_print_path(ccb->ccb_h.path);=0A= printf("unable to set fixed blocksize to %d\n",=0A= softc->media_blksize);=0A= goto exit;=0A= }=0A= }=0A= =0A= if ((softc->quirks & SA_QUIRK_VARIABLE) && =0A= (softc->media_blksize !=3D 0)) {=0A= softc->last_media_blksize =3D softc->media_blksize;=0A= softc->media_blksize =3D 0;=0A= error =3D sasetparams(periph, SA_PARAM_BLOCKSIZE,=0A= 0, 0, 0, SF_NO_PRINT);=0A= if (error) {=0A= /*=0A= * If this fails and we were guessing, just=0A= * assume that we got it wrong and go try=0A= * fixed block mode. Don't even check against=0A= * density code at this point.=0A= */=0A= if (guessing) {=0A= softc->quirks &=3D ~SA_QUIRK_VARIABLE;=0A= softc->quirks |=3D SA_QUIRK_FIXED;=0A= if (softc->last_media_blksize =3D=3D 0)=0A= softc->last_media_blksize =3D 512;=0A= goto tryagain;=0A= }=0A= xpt_print_path(ccb->ccb_h.path);=0A= printf("unable to set variable blocksize\n");=0A= goto exit;=0A= }=0A= }=0A= =0A= /*=0A= * Now that we have the current block size,=0A= * set up some parameters for sastart's usage.=0A= */=0A= if (softc->media_blksize) {=0A= softc->flags |=3D SA_FLAG_FIXED;=0A= if (powerof2(softc->media_blksize)) {=0A= softc->blk_shift =3D=0A= ffs(softc->media_blksize) - 1;=0A= softc->blk_mask =3D softc->media_blksize - 1;=0A= } else {=0A= softc->blk_mask =3D ~0;=0A= softc->blk_shift =3D 0;=0A= }=0A= } else {=0A= /*=0A= * The SCSI-3 spec allows 0 to mean "unspecified".=0A= * The SCSI-1 spec allows 0 to mean 'infinite'.=0A= *=0A= * Either works here.=0A= */=0A= if (softc->max_blk =3D=3D 0) {=0A= softc->max_blk =3D ~0;=0A= }=0A= softc->blk_shift =3D 0;=0A= if (softc->blk_gran !=3D 0) {=0A= softc->blk_mask =3D softc->blk_gran - 1;=0A= } else {=0A= softc->blk_mask =3D 0;=0A= }=0A= }=0A= =0A= if (write_protect) =0A= softc->flags |=3D SA_FLAG_TAPE_WP;=0A= =0A= if (comp_supported) {=0A= if (softc->saved_comp_algorithm =3D=3D 0)=0A= softc->saved_comp_algorithm =3D=0A= softc->comp_algorithm;=0A= softc->flags |=3D SA_FLAG_COMP_SUPP;=0A= if (comp_enabled)=0A= softc->flags |=3D SA_FLAG_COMP_ENABLED;=0A= } else=0A= softc->flags |=3D SA_FLAG_COMP_UNSUPP;=0A= =0A= if ((softc->buffer_mode =3D=3D SMH_SA_BUF_MODE_NOBUF) &&=0A= (softc->quirks & SA_QUIRK_NO_MODESEL) =3D=3D 0) {=0A= error =3D sasetparams(periph, SA_PARAM_BUFF_MODE, 0,=0A= 0, 0, SF_NO_PRINT);=0A= if (error =3D=3D 0) {=0A= softc->buffer_mode =3D SMH_SA_BUF_MODE_SIBUF;=0A= } else {=0A= xpt_print_path(ccb->ccb_h.path);=0A= printf("unable to set buffered mode\n");=0A= }=0A= error =3D 0; /* not an error */=0A= }=0A= =0A= =0A= if (error =3D=3D 0) {=0A= softc->flags |=3D SA_FLAG_TAPE_MOUNTED;=0A= }=0A= exit:=0A= if (rblim !=3D NULL)=0A= free(rblim, M_TEMP);=0A= =0A= if (error !=3D 0) {=0A= softc->dsreg =3D MTIO_DSREG_NIL;=0A= } else {=0A= softc->fileno =3D softc->blkno =3D 0;=0A= softc->dsreg =3D MTIO_DSREG_REST;=0A= }=0A= #ifdef SA_1FM_AT_EOD=0A= if ((softc->quirks & SA_QUIRK_2FM) =3D=3D 0)=0A= softc->quirks |=3D SA_QUIRK_1FM;=0A= #else=0A= if ((softc->quirks & SA_QUIRK_1FM) =3D=3D 0)=0A= softc->quirks |=3D SA_QUIRK_2FM;=0A= #endif=0A= } else=0A= xpt_release_ccb(ccb);=0A= =0A= /*=0A= * If we return an error, we're not mounted any more,=0A= * so release any device reservation.=0A= */=0A= if (error !=3D 0) {=0A= (void) sareservereleaseunit(periph, FALSE);=0A= } else {=0A= /*=0A= * Clear I/O residual.=0A= */=0A= softc->last_io_resid =3D 0;=0A= softc->last_ctl_resid =3D 0;=0A= }=0A= return (error);=0A= }=0A= =0A= /*=0A= * How many filemarks do we need to write if we were to terminate the=0A= * tape session right now? Note that this can be a negative number=0A= */=0A= =0A= static int=0A= samarkswanted(struct cam_periph *periph)=0A= {=0A= int markswanted;=0A= struct sa_softc *softc;=0A= =0A= softc =3D (struct sa_softc *)periph->softc;=0A= markswanted =3D 0;=0A= if ((softc->flags & SA_FLAG_TAPE_WRITTEN) !=3D 0) {=0A= markswanted++;=0A= if (softc->quirks & SA_QUIRK_2FM)=0A= markswanted++;=0A= }=0A= markswanted -=3D softc->filemarks;=0A= return (markswanted);=0A= }=0A= =0A= static int=0A= sacheckeod(struct cam_periph *periph)=0A= {=0A= int error;=0A= int markswanted;=0A= =0A= markswanted =3D samarkswanted(periph);=0A= =0A= if (markswanted > 0) {=0A= error =3D sawritefilemarks(periph, markswanted, FALSE);=0A= } else {=0A= error =3D 0;=0A= }=0A= return (error);=0A= }=0A= =0A= static int=0A= saerror(union ccb *ccb, u_int32_t cflgs, u_int32_t sflgs)=0A= {=0A= static const char *toobig =3D=0A= "%d-byte tape record bigger than supplied buffer\n";=0A= struct cam_periph *periph;=0A= struct sa_softc *softc;=0A= struct ccb_scsiio *csio;=0A= struct scsi_sense_data *sense;=0A= u_int32_t resid =3D 0;=0A= int32_t info =3D 0;=0A= cam_status status;=0A= int error_code, sense_key, asc, ascq, error, aqvalid;=0A= =0A= periph =3D xpt_path_periph(ccb->ccb_h.path);=0A= softc =3D (struct sa_softc *)periph->softc;=0A= csio =3D &ccb->csio;=0A= sense =3D &csio->sense_data;=0A= scsi_extract_sense(sense, &error_code, &sense_key, &asc, &ascq);=0A= aqvalid =3D sense->extra_len >=3D 6;=0A= error =3D 0;=0A= =0A= status =3D csio->ccb_h.status & CAM_STATUS_MASK;=0A= =0A= /*=0A= * Calculate/latch up, any residuals... We do this in a funny 2-step=0A= * so we can print stuff here if we have CAM_DEBUG enabled for this=0A= * unit.=0A= */=0A= if (status =3D=3D CAM_SCSI_STATUS_ERROR) {=0A= if ((sense->error_code & SSD_ERRCODE_VALID) !=3D 0) {=0A= info =3D (int32_t) scsi_4btoul(sense->info);=0A= resid =3D info;=0A= if ((softc->flags & SA_FLAG_FIXED) !=3D 0)=0A= resid *=3D softc->media_blksize;=0A= } else {=0A= resid =3D csio->dxfer_len;=0A= info =3D resid;=0A= if ((softc->flags & SA_FLAG_FIXED) !=3D 0) {=0A= if (softc->media_blksize)=0A= info /=3D softc->media_blksize;=0A= }=0A= }=0A= if (CCB_Type(csio) =3D=3D SA_CCB_BUFFER_IO) {=0A= bcopy((caddr_t) sense, (caddr_t) &softc->last_io_sense,=0A= sizeof (struct scsi_sense_data));=0A= bcopy(csio->cdb_io.cdb_bytes, softc->last_io_cdb,=0A= (int) csio->cdb_len);=0A= softc->last_io_resid =3D resid;=0A= softc->last_resid_was_io =3D 1;=0A= } else {=0A= bcopy((caddr_t) sense, (caddr_t) &softc->last_ctl_sense,=0A= sizeof (struct scsi_sense_data));=0A= bcopy(csio->cdb_io.cdb_bytes, softc->last_ctl_cdb,=0A= (int) csio->cdb_len);=0A= softc->last_ctl_resid =3D resid;=0A= softc->last_resid_was_io =3D 0;=0A= }=0A= CAM_DEBUG(periph->path, CAM_DEBUG_INFO, ("CDB[0]=3D0x%x Key 0x%x "=0A= "ASC/ASCQ 0x%x/0x%x CAM STATUS 0x%x flags 0x%x resid %d "=0A= "dxfer_len %d\n", csio->cdb_io.cdb_bytes[0] & 0xff,=0A= sense_key, asc, ascq, status,=0A= sense->flags & ~SSD_KEY_RESERVED, resid, csio->dxfer_len));=0A= } else {=0A= CAM_DEBUG(periph->path, CAM_DEBUG_INFO,=0A= ("Cam Status 0x%x\n", status));=0A= }=0A= =0A= switch (status) {=0A= case CAM_REQ_CMP:=0A= return (0);=0A= case CAM_SCSI_STATUS_ERROR:=0A= /*=0A= * If a read/write command, we handle it here.=0A= */=0A= if (CCB_Type(csio) !=3D SA_CCB_WAITING) {=0A= break;=0A= }=0A= /*=0A= * If this was just EOM/EOP, Filemark, Setmark or ILI detected=0A= * on a non read/write command, we assume it's not an error=0A= * and propagate the residule and return.=0A= */=0A= if ((aqvalid && asc =3D=3D 0 && ascq > 0 && ascq <=3D 5) ||=0A= (aqvalid =3D=3D 0 && sense_key =3D=3D SSD_KEY_NO_SENSE)) {=0A= csio->resid =3D resid;=0A= QFRLS(ccb);=0A= return (0);=0A= }=0A= /*=0A= * Otherwise, we let the common code handle this.=0A= */=0A= return (cam_periph_error(ccb, cflgs, sflgs, &softc->saved_ccb));=0A= =0A= /*=0A= * XXX: To Be Fixed=0A= * We cannot depend upon CAM honoring retry counts for these.=0A= */=0A= case CAM_SCSI_BUS_RESET:=0A= case CAM_BDR_SENT:=0A= if (ccb->ccb_h.retry_count <=3D 0) {=0A= return (EIO);=0A= }=0A= /* FALLTHROUGH */=0A= default:=0A= return (cam_periph_error(ccb, cflgs, sflgs, &softc->saved_ccb));=0A= }=0A= =0A= /*=0A= * Handle filemark, end of tape, mismatched record sizes....=0A= * From this point out, we're only handling read/write cases.=0A= * Handle writes && reads differently.=0A= */=0A= =0A= if (csio->cdb_io.cdb_bytes[0] =3D=3D SA_WRITE) {=0A= if (sense_key =3D=3D SSD_KEY_VOLUME_OVERFLOW) {=0A= csio->resid =3D resid;=0A= error =3D ENOSPC;=0A= } else if (sense->flags & SSD_EOM) {=0A= softc->flags |=3D SA_FLAG_EOM_PENDING;=0A= /*=0A= * Grotesque as it seems, the few times=0A= * I've actually seen a non-zero resid,=0A= * the tape drive actually lied and had=0A= * written all the data!.=0A= */=0A= csio->resid =3D 0;=0A= }=0A= } else {=0A= csio->resid =3D resid;=0A= if (sense_key =3D=3D SSD_KEY_BLANK_CHECK) {=0A= if (softc->quirks & SA_QUIRK_1FM) {=0A= error =3D 0;=0A= softc->flags |=3D SA_FLAG_EOM_PENDING;=0A= } else {=0A= error =3D EIO;=0A= }=0A= } else if (sense->flags & SSD_FILEMARK) {=0A= if (softc->flags & SA_FLAG_FIXED) {=0A= error =3D -1;=0A= softc->flags |=3D SA_FLAG_EOF_PENDING;=0A= }=0A= /*=0A= * Unconditionally, if we detected a filemark on a read,=0A= * mark that we've run moved a file ahead.=0A= */=0A= if (softc->fileno !=3D (daddr_t) -1) {=0A= softc->fileno++;=0A= softc->blkno =3D 0;=0A= csio->ccb_h.ccb_pflags |=3D SA_POSITION_UPDATED;=0A= }=0A= }=0A= }=0A= =0A= /*=0A= * Incorrect Length usually applies to read, but can apply to writes.=0A= */=0A= if (error =3D=3D 0 && (sense->flags & SSD_ILI)) {=0A= if (info < 0) {=0A= xpt_print_path(csio->ccb_h.path);=0A= printf(toobig, csio->dxfer_len - info);=0A= csio->resid =3D csio->dxfer_len;=0A= error =3D EIO;=0A= } else {=0A= csio->resid =3D resid;=0A= if (softc->flags & SA_FLAG_FIXED) {=0A= softc->flags |=3D SA_FLAG_EIO_PENDING;=0A= }=0A= /*=0A= * Bump the block number if we hadn't seen a filemark.=0A= * Do this independent of errors (we've moved anyway).=0A= */=0A= if ((sense->flags & SSD_FILEMARK) =3D=3D 0) {=0A= if (softc->blkno !=3D (daddr_t) -1) {=0A= softc->blkno++;=0A= csio->ccb_h.ccb_pflags |=3D=0A= SA_POSITION_UPDATED;=0A= }=0A= }=0A= }=0A= }=0A= =0A= if (error <=3D 0) {=0A= /*=0A= * Unfreeze the queue if frozen as we're not returning anything=0A= * to our waiters that would indicate an I/O error has occurred=0A= * (yet).=0A= */=0A= QFRLS(ccb);=0A= error =3D 0;=0A= }=0A= return (error);=0A= }=0A= =0A= static int=0A= sagetparams(struct cam_periph *periph, sa_params params_to_get,=0A= u_int32_t *blocksize, u_int8_t *density, u_int32_t *numblocks,=0A= int *buff_mode, u_int8_t *write_protect, u_int8_t *speed,=0A= int *comp_supported, int *comp_enabled, u_int32_t *comp_algorithm,=0A= sa_comp_t *tcs)=0A= {=0A= union ccb *ccb;=0A= void *mode_buffer;=0A= struct scsi_mode_header_6 *mode_hdr;=0A= struct scsi_mode_blk_desc *mode_blk;=0A= int mode_buffer_len;=0A= struct sa_softc *softc;=0A= u_int8_t cpage;=0A= int error;=0A= cam_status status;=0A= =0A= softc =3D (struct sa_softc *)periph->softc;=0A= ccb =3D cam_periph_getccb(periph, 1);=0A= if (softc->quirks & SA_QUIRK_NO_CPAGE)=0A= cpage =3D SA_DEVICE_CONFIGURATION_PAGE;=0A= else=0A= cpage =3D SA_DATA_COMPRESSION_PAGE;=0A= =0A= retry:=0A= mode_buffer_len =3D sizeof(*mode_hdr) + sizeof(*mode_blk);=0A= =0A= if (params_to_get & SA_PARAM_COMPRESSION) {=0A= if (softc->quirks & SA_QUIRK_NOCOMP) {=0A= *comp_supported =3D FALSE;=0A= params_to_get &=3D ~SA_PARAM_COMPRESSION;=0A= } else=0A= mode_buffer_len +=3D sizeof (sa_comp_t);=0A= }=0A= =0A= mode_buffer =3D malloc(mode_buffer_len, M_TEMP, M_WAITOK | M_ZERO);=0A= mode_hdr =3D (struct scsi_mode_header_6 *)mode_buffer;=0A= mode_blk =3D (struct scsi_mode_blk_desc *)&mode_hdr[1];=0A= =0A= /* it is safe to retry this */=0A= scsi_mode_sense(&ccb->csio, 5, sadone, MSG_SIMPLE_Q_TAG, FALSE,=0A= SMS_PAGE_CTRL_CURRENT, (params_to_get & SA_PARAM_COMPRESSION) ?=0A= cpage : SMS_VENDOR_SPECIFIC_PAGE, mode_buffer, mode_buffer_len,=0A= SSD_FULL_SIZE, SCSIOP_TIMEOUT);=0A= =0A= error =3D cam_periph_runccb(ccb, saerror, 0, SF_NO_PRINT,=0A= softc->device_stats);=0A= QFRLS(ccb);=0A= =0A= status =3D ccb->ccb_h.status & CAM_STATUS_MASK;=0A= =0A= if (error =3D=3D EINVAL && (params_to_get & SA_PARAM_COMPRESSION) !=3D = 0) {=0A= /*=0A= * Hmm. Let's see if we can try another page...=0A= * If we've already done that, give up on compression=0A= * for this device and remember this for the future=0A= * and attempt the request without asking for compression=0A= * info.=0A= */=0A= if (cpage =3D=3D SA_DATA_COMPRESSION_PAGE) {=0A= cpage =3D SA_DEVICE_CONFIGURATION_PAGE;=0A= goto retry;=0A= }=0A= softc->quirks |=3D SA_QUIRK_NOCOMP;=0A= free(mode_buffer, M_TEMP);=0A= goto retry;=0A= } else if (status =3D=3D CAM_SCSI_STATUS_ERROR) {=0A= /* Tell the user about the fatal error. */=0A= scsi_sense_print(&ccb->csio);=0A= goto sagetparamsexit;=0A= }=0A= =0A= /*=0A= * If the user only wants the compression information, and=0A= * the device doesn't send back the block descriptor, it's=0A= * no big deal. If the user wants more than just=0A= * compression, though, and the device doesn't pass back the=0A= * block descriptor, we need to send another mode sense to=0A= * get the block descriptor.=0A= */=0A= if ((mode_hdr->blk_desc_len =3D=3D 0) &&=0A= (params_to_get & SA_PARAM_COMPRESSION) &&=0A= (params_to_get & ~(SA_PARAM_COMPRESSION))) {=0A= =0A= /*=0A= * Decrease the mode buffer length by the size of=0A= * the compression page, to make sure the data=0A= * there doesn't get overwritten.=0A= */=0A= mode_buffer_len -=3D sizeof (sa_comp_t);=0A= =0A= /*=0A= * Now move the compression page that we presumably=0A= * got back down the memory chunk a little bit so=0A= * it doesn't get spammed.=0A= */=0A= bcopy(&mode_hdr[0], &mode_hdr[1], sizeof (sa_comp_t));=0A= bzero(&mode_hdr[0], sizeof (mode_hdr[0]));=0A= =0A= /*=0A= * Now, we issue another mode sense and just ask=0A= * for the block descriptor, etc.=0A= */=0A= =0A= scsi_mode_sense(&ccb->csio, 2, sadone, MSG_SIMPLE_Q_TAG, FALSE,=0A= SMS_PAGE_CTRL_CURRENT, SMS_VENDOR_SPECIFIC_PAGE,=0A= mode_buffer, mode_buffer_len, SSD_FULL_SIZE,=0A= SCSIOP_TIMEOUT);=0A= =0A= error =3D cam_periph_runccb(ccb, saerror, 0, SF_NO_PRINT,=0A= softc->device_stats);=0A= QFRLS(ccb);=0A= =0A= if (error !=3D 0)=0A= goto sagetparamsexit;=0A= }=0A= =0A= if (params_to_get & SA_PARAM_BLOCKSIZE)=0A= *blocksize =3D scsi_3btoul(mode_blk->blklen);=0A= =0A= if (params_to_get & SA_PARAM_NUMBLOCKS)=0A= *numblocks =3D scsi_3btoul(mode_blk->nblocks);=0A= =0A= if (params_to_get & SA_PARAM_BUFF_MODE)=0A= *buff_mode =3D mode_hdr->dev_spec & SMH_SA_BUF_MODE_MASK;=0A= =0A= if (params_to_get & SA_PARAM_DENSITY)=0A= *density =3D mode_blk->density;=0A= =0A= if (params_to_get & SA_PARAM_WP)=0A= *write_protect =3D (mode_hdr->dev_spec & SMH_SA_WP)? TRUE : FALSE;=0A= =0A= if (params_to_get & SA_PARAM_SPEED)=0A= *speed =3D mode_hdr->dev_spec & SMH_SA_SPEED_MASK;=0A= =0A= if (params_to_get & SA_PARAM_COMPRESSION) {=0A= sa_comp_t *ntcs =3D (sa_comp_t *) &mode_blk[1];=0A= if (cpage =3D=3D SA_DATA_COMPRESSION_PAGE) {=0A= struct scsi_data_compression_page *cp =3D &ntcs->dcomp;=0A= *comp_supported =3D=0A= (cp->dce_and_dcc & SA_DCP_DCC)? TRUE : FALSE;=0A= *comp_enabled =3D=0A= (cp->dce_and_dcc & SA_DCP_DCE)? TRUE : FALSE;=0A= *comp_algorithm =3D scsi_4btoul(cp->comp_algorithm);=0A= } else {=0A= struct scsi_dev_conf_page *cp =3D &ntcs->dconf;=0A= /*=0A= * We don't really know whether this device supports=0A= * Data Compression if the the algorithm field is=0A= * zero. Just say we do.=0A= */=0A= *comp_supported =3D TRUE;=0A= *comp_enabled =3D=0A= (cp->sel_comp_alg !=3D SA_COMP_NONE)? TRUE : FALSE;=0A= *comp_algorithm =3D cp->sel_comp_alg;=0A= }=0A= if (tcs !=3D NULL)=0A= bcopy(ntcs, tcs, sizeof (sa_comp_t));=0A= }=0A= =0A= if (CAM_DEBUGGED(periph->path, CAM_DEBUG_INFO)) {=0A= int idx;=0A= char *xyz =3D mode_buffer;=0A= xpt_print_path(periph->path);=0A= printf("Mode Sense Data=3D");=0A= for (idx =3D 0; idx < mode_buffer_len; idx++)=0A= printf(" 0x%02x", xyz[idx] & 0xff);=0A= printf("\n");=0A= }=0A= =0A= sagetparamsexit:=0A= =0A= xpt_release_ccb(ccb);=0A= free(mode_buffer, M_TEMP);=0A= return (error);=0A= }=0A= =0A= /*=0A= * The purpose of this function is to set one of four different = parameters=0A= * for a tape drive:=0A= * - blocksize=0A= * - density=0A= * - compression / compression algorithm=0A= * - buffering mode=0A= *=0A= * The assumption is that this will be called from saioctl(), and = therefore=0A= * from a process context. Thus the waiting malloc calls below. If that=0A= * assumption ever changes, the malloc calls should be changed to be=0A= * NOWAIT mallocs.=0A= *=0A= * Any or all of the four parameters may be set when this function is=0A= * called. It should handle setting more than one parameter at once.=0A= */=0A= static int=0A= sasetparams(struct cam_periph *periph, sa_params params_to_set,=0A= u_int32_t blocksize, u_int8_t density, u_int32_t calg,=0A= u_int32_t sense_flags)=0A= {=0A= struct sa_softc *softc;=0A= u_int32_t current_blocksize;=0A= u_int32_t current_calg;=0A= u_int8_t current_density;=0A= u_int8_t current_speed;=0A= int comp_enabled, comp_supported;=0A= void *mode_buffer;=0A= int mode_buffer_len;=0A= struct scsi_mode_header_6 *mode_hdr;=0A= struct scsi_mode_blk_desc *mode_blk;=0A= sa_comp_t *ccomp, *cpage;=0A= int buff_mode;=0A= union ccb *ccb =3D NULL;=0A= int error;=0A= =0A= softc =3D (struct sa_softc *)periph->softc;=0A= =0A= ccomp =3D malloc(sizeof (sa_comp_t), M_TEMP, M_WAITOK);=0A= =0A= /*=0A= * Since it doesn't make sense to set the number of blocks, or=0A= * write protection, we won't try to get the current value. We=0A= * always want to get the blocksize, so we can set it back to the=0A= * proper value.=0A= */=0A= error =3D sagetparams(periph,=0A= params_to_set | SA_PARAM_BLOCKSIZE | SA_PARAM_SPEED,=0A= ¤t_blocksize, ¤t_density, NULL, &buff_mode, NULL,=0A= ¤t_speed, &comp_supported, &comp_enabled,=0A= ¤t_calg, ccomp);=0A= =0A= if (error !=3D 0) {=0A= free(ccomp, M_TEMP);=0A= return (error);=0A= }=0A= =0A= mode_buffer_len =3D sizeof(*mode_hdr) + sizeof(*mode_blk);=0A= if (params_to_set & SA_PARAM_COMPRESSION)=0A= mode_buffer_len +=3D sizeof (sa_comp_t);=0A= =0A= mode_buffer =3D malloc(mode_buffer_len, M_TEMP, M_WAITOK | M_ZERO);=0A= =0A= mode_hdr =3D (struct scsi_mode_header_6 *)mode_buffer;=0A= mode_blk =3D (struct scsi_mode_blk_desc *)&mode_hdr[1];=0A= =0A= ccb =3D cam_periph_getccb(periph, 1);=0A= =0A= retry:=0A= =0A= if (params_to_set & SA_PARAM_COMPRESSION) {=0A= if (mode_blk) {=0A= cpage =3D (sa_comp_t *)&mode_blk[1];=0A= } else {=0A= cpage =3D (sa_comp_t *)&mode_hdr[1];=0A= }=0A= bcopy(ccomp, cpage, sizeof (sa_comp_t));=0A= cpage->hdr.pagecode &=3D ~0x80;=0A= } else=0A= cpage =3D NULL;=0A= =0A= /*=0A= * If the caller wants us to set the blocksize, use the one they=0A= * pass in. Otherwise, use the blocksize we got back from the=0A= * mode select above.=0A= */=0A= if (mode_blk) {=0A= if (params_to_set & SA_PARAM_BLOCKSIZE)=0A= scsi_ulto3b(blocksize, mode_blk->blklen);=0A= else=0A= scsi_ulto3b(current_blocksize, mode_blk->blklen);=0A= =0A= /*=0A= * Set density if requested, else preserve old density.=0A= * SCSI_SAME_DENSITY only applies to SCSI-2 or better=0A= * devices, else density we've latched up in our softc.=0A= */=0A= if (params_to_set & SA_PARAM_DENSITY) {=0A= mode_blk->density =3D density;=0A= } else if (softc->scsi_rev > SCSI_REV_CCS) {=0A= mode_blk->density =3D SCSI_SAME_DENSITY;=0A= } else {=0A= mode_blk->density =3D softc->media_density;=0A= }=0A= }=0A= =0A= /*=0A= * For mode selects, these two fields must be zero.=0A= */=0A= mode_hdr->data_length =3D 0;=0A= mode_hdr->medium_type =3D 0;=0A= =0A= /* set the speed to the current value */=0A= mode_hdr->dev_spec =3D current_speed;=0A= =0A= /* if set, set single-initiator buffering mode */=0A= if (softc->buffer_mode =3D=3D SMH_SA_BUF_MODE_SIBUF) {=0A= mode_hdr->dev_spec |=3D SMH_SA_BUF_MODE_SIBUF;=0A= }=0A= =0A= if (mode_blk)=0A= mode_hdr->blk_desc_len =3D sizeof(struct scsi_mode_blk_desc);=0A= else=0A= mode_hdr->blk_desc_len =3D 0;=0A= =0A= /*=0A= * First, if the user wants us to set the compression algorithm or=0A= * just turn compression on, check to make sure that this drive=0A= * supports compression.=0A= */=0A= if (params_to_set & SA_PARAM_COMPRESSION) {=0A= /*=0A= * If the compression algorithm is 0, disable compression.=0A= * If the compression algorithm is non-zero, enable=0A= * compression and set the compression type to the=0A= * specified compression algorithm, unless the algorithm is=0A= * MT_COMP_ENABLE. In that case, we look at the=0A= * compression algorithm that is currently set and if it is=0A= * non-zero, we leave it as-is. If it is zero, and we have=0A= * saved a compression algorithm from a time when=0A= * compression was enabled before, set the compression to=0A= * the saved value.=0A= */=0A= switch (ccomp->hdr.pagecode & ~0x80) {=0A= case SA_DEVICE_CONFIGURATION_PAGE:=0A= {=0A= struct scsi_dev_conf_page *dcp =3D &cpage->dconf;=0A= if (calg =3D=3D 0) {=0A= dcp->sel_comp_alg =3D SA_COMP_NONE;=0A= break;=0A= }=0A= if (calg !=3D MT_COMP_ENABLE) {=0A= dcp->sel_comp_alg =3D calg;=0A= } else if (dcp->sel_comp_alg =3D=3D SA_COMP_NONE &&=0A= softc->saved_comp_algorithm !=3D 0) {=0A= dcp->sel_comp_alg =3D softc->saved_comp_algorithm;=0A= }=0A= break;=0A= }=0A= case SA_DATA_COMPRESSION_PAGE:=0A= if (ccomp->dcomp.dce_and_dcc & SA_DCP_DCC) {=0A= struct scsi_data_compression_page *dcp =3D &cpage->dcomp;=0A= if (calg =3D=3D 0) {=0A= /*=0A= * Disable compression, but leave the=0A= * decompression and the capability bit=0A= * alone.=0A= */=0A= dcp->dce_and_dcc =3D SA_DCP_DCC;=0A= dcp->dde_and_red |=3D SA_DCP_DDE;=0A= break;=0A= }=0A= /* enable compression && decompression */=0A= dcp->dce_and_dcc =3D SA_DCP_DCE | SA_DCP_DCC;=0A= dcp->dde_and_red |=3D SA_DCP_DDE;=0A= /*=0A= * If there, use compression algorithm from caller.=0A= * Otherwise, if there's a saved compression algorithm=0A= * and there is no current algorithm, use the saved=0A= * algorithm. Else parrot back what we got and hope=0A= * for the best.=0A= */=0A= if (calg !=3D MT_COMP_ENABLE) {=0A= scsi_ulto4b(calg, dcp->comp_algorithm);=0A= scsi_ulto4b(calg, dcp->decomp_algorithm);=0A= } else if (scsi_4btoul(dcp->comp_algorithm) =3D=3D 0 &&=0A= softc->saved_comp_algorithm !=3D 0) {=0A= scsi_ulto4b(softc->saved_comp_algorithm,=0A= dcp->comp_algorithm);=0A= scsi_ulto4b(softc->saved_comp_algorithm,=0A= dcp->decomp_algorithm);=0A= }=0A= break;=0A= }=0A= /*=0A= * Compression does not appear to be supported-=0A= * at least via the DATA COMPRESSION page. It=0A= * would be too much to ask us to believe that=0A= * the page itself is supported, but incorrectly=0A= * reports an ability to manipulate data compression,=0A= * so we'll assume that this device doesn't support=0A= * compression. We can just fall through for that.=0A= */=0A= /* FALLTHROUGH */=0A= default:=0A= /*=0A= * The drive doesn't seem to support compression,=0A= * so turn off the set compression bit.=0A= */=0A= params_to_set &=3D ~SA_PARAM_COMPRESSION;=0A= xpt_print_path(periph->path);=0A= printf("device does not seem to support compression\n");=0A= =0A= /*=0A= * If that was the only thing the user wanted us to set,=0A= * clean up allocated resources and return with=0A= * 'operation not supported'.=0A= */=0A= if (params_to_set =3D=3D SA_PARAM_NONE) {=0A= free(mode_buffer, M_TEMP);=0A= xpt_release_ccb(ccb);=0A= return (ENODEV);=0A= }=0A= =0A= /*=0A= * That wasn't the only thing the user wanted us to set.=0A= * So, decrease the stated mode buffer length by the=0A= * size of the compression mode page.=0A= */=0A= mode_buffer_len -=3D sizeof(sa_comp_t);=0A= }=0A= }=0A= =0A= /* It is safe to retry this operation */=0A= scsi_mode_select(&ccb->csio, 5, sadone, MSG_SIMPLE_Q_TAG,=0A= (params_to_set & SA_PARAM_COMPRESSION)? TRUE : FALSE,=0A= FALSE, mode_buffer, mode_buffer_len, SSD_FULL_SIZE, SCSIOP_TIMEOUT);=0A= =0A= error =3D cam_periph_runccb(ccb, saerror, 0,=0A= sense_flags, softc->device_stats);=0A= QFRLS(ccb);=0A= =0A= if (CAM_DEBUGGED(periph->path, CAM_DEBUG_INFO)) {=0A= int idx;=0A= char *xyz =3D mode_buffer;=0A= xpt_print_path(periph->path);=0A= printf("Err%d, Mode Select Data=3D", error);=0A= for (idx =3D 0; idx < mode_buffer_len; idx++)=0A= printf(" 0x%02x", xyz[idx] & 0xff);=0A= printf("\n");=0A= }=0A= =0A= =0A= if (error) {=0A= /*=0A= * If we can, try without setting density/blocksize.=0A= */=0A= if (mode_blk) {=0A= if ((params_to_set &=0A= (SA_PARAM_DENSITY|SA_PARAM_BLOCKSIZE)) =3D=3D 0) {=0A= mode_blk =3D NULL;=0A= goto retry;=0A= }=0A= } else {=0A= mode_blk =3D (struct scsi_mode_blk_desc *)&mode_hdr[1];=0A= cpage =3D (sa_comp_t *)&mode_blk[1];=0A= }=0A= =0A= /*=0A= * If we were setting the blocksize, and that failed, we=0A= * want to set it to its original value. If we weren't=0A= * setting the blocksize, we don't want to change it.=0A= */=0A= scsi_ulto3b(current_blocksize, mode_blk->blklen);=0A= =0A= /*=0A= * Set density if requested, else preserve old density.=0A= * SCSI_SAME_DENSITY only applies to SCSI-2 or better=0A= * devices, else density we've latched up in our softc.=0A= */=0A= if (params_to_set & SA_PARAM_DENSITY) {=0A= mode_blk->density =3D current_density;=0A= } else if (softc->scsi_rev > SCSI_REV_CCS) {=0A= mode_blk->density =3D SCSI_SAME_DENSITY;=0A= } else {=0A= mode_blk->density =3D softc->media_density;=0A= }=0A= =0A= if (params_to_set & SA_PARAM_COMPRESSION)=0A= bcopy(ccomp, cpage, sizeof (sa_comp_t));=0A= =0A= /*=0A= * The retry count is the only CCB field that might have been=0A= * changed that we care about, so reset it back to 1.=0A= */=0A= ccb->ccb_h.retry_count =3D 1;=0A= cam_periph_runccb(ccb, saerror, 0, sense_flags,=0A= softc->device_stats);=0A= QFRLS(ccb);=0A= }=0A= =0A= xpt_release_ccb(ccb);=0A= =0A= if (ccomp !=3D NULL)=0A= free(ccomp, M_TEMP);=0A= =0A= if (params_to_set & SA_PARAM_COMPRESSION) {=0A= if (error) {=0A= softc->flags &=3D ~SA_FLAG_COMP_ENABLED;=0A= /*=0A= * Even if we get an error setting compression,=0A= * do not say that we don't support it. We could=0A= * have been wrong, or it may be media specific.=0A= * softc->flags &=3D ~SA_FLAG_COMP_SUPP;=0A= */=0A= softc->saved_comp_algorithm =3D softc->comp_algorithm;=0A= softc->comp_algorithm =3D 0;=0A= } else {=0A= softc->flags |=3D SA_FLAG_COMP_ENABLED;=0A= softc->comp_algorithm =3D calg;=0A= }=0A= }=0A= =0A= free(mode_buffer, M_TEMP);=0A= return (error);=0A= }=0A= =0A= static void=0A= saprevent(struct cam_periph *periph, int action)=0A= {=0A= struct sa_softc *softc;=0A= union ccb *ccb; =0A= int error, sf;=0A= =0A= softc =3D (struct sa_softc *)periph->softc;=0A= =0A= if ((action =3D=3D PR_ALLOW) && (softc->flags & SA_FLAG_TAPE_LOCKED) = =3D=3D 0)=0A= return;=0A= if ((action =3D=3D PR_PREVENT) && (softc->flags & SA_FLAG_TAPE_LOCKED) = !=3D 0)=0A= return;=0A= =0A= /*=0A= * We can be quiet about illegal requests.=0A= */=0A= if (CAM_DEBUGGED(periph->path, CAM_DEBUG_INFO)) {=0A= sf =3D 0;=0A= } else=0A= sf =3D SF_QUIET_IR;=0A= =0A= ccb =3D cam_periph_getccb(periph, 1);=0A= =0A= /* It is safe to retry this operation */=0A= scsi_prevent(&ccb->csio, 5, sadone, MSG_SIMPLE_Q_TAG, action,=0A= SSD_FULL_SIZE, SCSIOP_TIMEOUT);=0A= =0A= error =3D cam_periph_runccb(ccb, saerror, 0, sf, softc->device_stats);=0A= QFRLS(ccb);=0A= if (error =3D=3D 0) {=0A= if (action =3D=3D PR_ALLOW)=0A= softc->flags &=3D ~SA_FLAG_TAPE_LOCKED;=0A= else=0A= softc->flags |=3D SA_FLAG_TAPE_LOCKED;=0A= }=0A= =0A= xpt_release_ccb(ccb);=0A= }=0A= =0A= static int=0A= sarewind(struct cam_periph *periph)=0A= {=0A= union ccb *ccb;=0A= struct sa_softc *softc;=0A= int error;=0A= =0A= softc =3D (struct sa_softc *)periph->softc;=0A= =0A= ccb =3D cam_periph_getccb(periph, 1);=0A= =0A= /* It is safe to retry this operation */=0A= scsi_rewind(&ccb->csio, 2, sadone, MSG_SIMPLE_Q_TAG, FALSE,=0A= SSD_FULL_SIZE, REWIND_TIMEOUT);=0A= =0A= softc->dsreg =3D MTIO_DSREG_REW;=0A= error =3D cam_periph_runccb(ccb, saerror, 0, 0, softc->device_stats);=0A= softc->dsreg =3D MTIO_DSREG_REST;=0A= =0A= if ((ccb->ccb_h.status & CAM_DEV_QFRZN) !=3D 0)=0A= cam_release_devq(ccb->ccb_h.path, 0, 0, 0, FALSE);=0A= =0A= xpt_release_ccb(ccb);=0A= if (error =3D=3D 0)=0A= softc->fileno =3D softc->blkno =3D (daddr_t) 0;=0A= else=0A= softc->fileno =3D softc->blkno =3D (daddr_t) -1;=0A= return (error);=0A= }=0A= =0A= static int=0A= saspace(struct cam_periph *periph, int count, scsi_space_code code)=0A= {=0A= union ccb *ccb;=0A= struct sa_softc *softc;=0A= int error;=0A= =0A= softc =3D (struct sa_softc *)periph->softc;=0A= =0A= ccb =3D cam_periph_getccb(periph, 1);=0A= =0A= /* This cannot be retried */=0A= =0A= scsi_space(&ccb->csio, 0, sadone, MSG_SIMPLE_Q_TAG, code, count,=0A= SSD_FULL_SIZE, SPACE_TIMEOUT);=0A= =0A= /*=0A= * Clear residual because we will be using it.=0A= */=0A= softc->last_ctl_resid =3D 0;=0A= =0A= softc->dsreg =3D (count < 0)? MTIO_DSREG_REV : MTIO_DSREG_FWD;=0A= error =3D cam_periph_runccb(ccb, saerror, 0, 0, softc->device_stats);=0A= softc->dsreg =3D MTIO_DSREG_REST;=0A= =0A= if ((ccb->ccb_h.status & CAM_DEV_QFRZN) !=3D 0)=0A= cam_release_devq(ccb->ccb_h.path, 0, 0, 0, FALSE);=0A= =0A= xpt_release_ccb(ccb);=0A= =0A= /*=0A= * If a spacing operation has failed, we need to invalidate=0A= * this mount.=0A= *=0A= * If the spacing operation was setmarks or to end of recorded data,=0A= * we no longer know our relative position.=0A= *=0A= * If the spacing operations was spacing files in reverse, we=0A= * take account of the residual, but still check against less=0A= * than zero- if we've gone negative, we must have hit BOT.=0A= *=0A= * If the spacing operations was spacing records in reverse and=0A= * we have a residual, we've either hit BOT or hit a filemark.=0A= * In the former case, we know our new record number (0). In=0A= * the latter case, we have absolutely no idea what the real=0A= * record number is- we've stopped between the end of the last=0A= * record in the previous file and the filemark that stopped=0A= * our spacing backwards.=0A= */=0A= if (error) {=0A= softc->fileno =3D softc->blkno =3D (daddr_t) -1;=0A= } else if (code =3D=3D SS_SETMARKS || code =3D=3D SS_EOD) {=0A= softc->fileno =3D softc->blkno =3D (daddr_t) -1;=0A= } else if (code =3D=3D SS_FILEMARKS && softc->fileno !=3D (daddr_t) -1) = {=0A= softc->fileno +=3D (count - softc->last_ctl_resid);=0A= if (softc->fileno < 0) /* we must of hit BOT */=0A= softc->fileno =3D 0;=0A= softc->blkno =3D 0;=0A= } else if (code =3D=3D SS_BLOCKS && softc->blkno !=3D (daddr_t) -1) {=0A= softc->blkno +=3D (count - softc->last_ctl_resid);=0A= if (count < 0) {=0A= if (softc->last_ctl_resid || softc->blkno < 0) {=0A= if (softc->fileno =3D=3D 0) {=0A= softc->blkno =3D 0;=0A= } else {=0A= softc->blkno =3D (daddr_t) -1;=0A= }=0A= }=0A= }=0A= }=0A= return (error);=0A= }=0A= =0A= static int=0A= sawritefilemarks(struct cam_periph *periph, int nmarks, int setmarks)=0A= {=0A= union ccb *ccb;=0A= struct sa_softc *softc;=0A= int error, nwm =3D 0;=0A= =0A= softc =3D (struct sa_softc *)periph->softc;=0A= =0A= ccb =3D cam_periph_getccb(periph, 1);=0A= /*=0A= * Clear residual because we will be using it.=0A= */=0A= softc->last_ctl_resid =3D 0;=0A= =0A= softc->dsreg =3D MTIO_DSREG_FMK;=0A= /* this *must* not be retried */=0A= scsi_write_filemarks(&ccb->csio, 0, sadone, MSG_SIMPLE_Q_TAG,=0A= FALSE, setmarks, nmarks, SSD_FULL_SIZE, IO_TIMEOUT);=0A= softc->dsreg =3D MTIO_DSREG_REST;=0A= =0A= =0A= error =3D cam_periph_runccb(ccb, saerror, 0, 0, softc->device_stats);=0A= =0A= if ((ccb->ccb_h.status & CAM_DEV_QFRZN) !=3D 0)=0A= cam_release_devq(ccb->ccb_h.path, 0, 0, 0, FALSE);=0A= =0A= if (error =3D=3D 0 && nmarks) {=0A= struct sa_softc *softc =3D (struct sa_softc *)periph->softc;=0A= nwm =3D nmarks - softc->last_ctl_resid;=0A= softc->filemarks +=3D nwm;=0A= }=0A= =0A= xpt_release_ccb(ccb);=0A= =0A= /*=0A= * Update relative positions (if we're doing that).=0A= */=0A= if (error) {=0A= softc->fileno =3D softc->blkno =3D (daddr_t) -1;=0A= } else if (softc->fileno !=3D (daddr_t) -1) {=0A= softc->fileno +=3D nwm;=0A= softc->blkno =3D 0;=0A= }=0A= return (error);=0A= }=0A= =0A= static int=0A= sardpos(struct cam_periph *periph, int hard, u_int32_t *blkptr)=0A= {=0A= struct scsi_tape_position_data loc;=0A= union ccb *ccb;=0A= struct sa_softc *softc =3D (struct sa_softc *)periph->softc;=0A= int error;=0A= =0A= /*=0A= * We try and flush any buffered writes here if we were writing=0A= * and we're trying to get hardware block position. It eats=0A= * up performance substantially, but I'm wary of drive firmware.=0A= *=0A= * I think that *logical* block position is probably okay-=0A= * but hardware block position might have to wait for data=0A= * to hit media to be valid. Caveat Emptor.=0A= */=0A= =0A= if (hard && (softc->flags & SA_FLAG_TAPE_WRITTEN)) {=0A= error =3D sawritefilemarks(periph, 0, 0);=0A= if (error && error !=3D EACCES)=0A= return (error);=0A= }=0A= =0A= ccb =3D cam_periph_getccb(periph, 1);=0A= scsi_read_position(&ccb->csio, 1, sadone, MSG_SIMPLE_Q_TAG,=0A= hard, &loc, SSD_FULL_SIZE, SCSIOP_TIMEOUT);=0A= softc->dsreg =3D MTIO_DSREG_RBSY;=0A= error =3D cam_periph_runccb(ccb, saerror, 0, 0, softc->device_stats);=0A= softc->dsreg =3D MTIO_DSREG_REST;=0A= if ((ccb->ccb_h.status & CAM_DEV_QFRZN) !=3D 0)=0A= cam_release_devq(ccb->ccb_h.path, 0, 0, 0, 0);=0A= =0A= if (error =3D=3D 0) {=0A= if (loc.flags & SA_RPOS_UNCERTAIN) {=0A= error =3D EINVAL; /* nothing is certain */=0A= } else {=0A= *blkptr =3D scsi_4btoul(loc.firstblk);=0A= }=0A= }=0A= =0A= xpt_release_ccb(ccb);=0A= return (error);=0A= }=0A= =0A= static int=0A= sasetpos(struct cam_periph *periph, int hard, u_int32_t *blkptr)=0A= {=0A= union ccb *ccb;=0A= struct sa_softc *softc;=0A= int error;=0A= =0A= /*=0A= * We used to try and flush any buffered writes here.=0A= * Now we push this onto user applications to either=0A= * flush the pending writes themselves (via a zero count=0A= * WRITE FILEMARKS command) or they can trust their tape=0A= * drive to do this correctly for them.=0A= */=0A= =0A= softc =3D (struct sa_softc *)periph->softc;=0A= ccb =3D cam_periph_getccb(periph, 1);=0A= =0A= =0A= scsi_set_position(&ccb->csio, 1, sadone, MSG_SIMPLE_Q_TAG,=0A= hard, *blkptr, SSD_FULL_SIZE, SPACE_TIMEOUT);=0A= =0A= =0A= softc->dsreg =3D MTIO_DSREG_POS;=0A= error =3D cam_periph_runccb(ccb, saerror, 0, 0, softc->device_stats);=0A= softc->dsreg =3D MTIO_DSREG_REST;=0A= if ((ccb->ccb_h.status & CAM_DEV_QFRZN) !=3D 0)=0A= cam_release_devq(ccb->ccb_h.path, 0, 0, 0, 0);=0A= xpt_release_ccb(ccb);=0A= /*=0A= * Note relative file && block number position as now unknown.=0A= */=0A= softc->fileno =3D softc->blkno =3D (daddr_t) -1;=0A= return (error);=0A= }=0A= =0A= static int=0A= saretension(struct cam_periph *periph)=0A= {=0A= union ccb *ccb;=0A= struct sa_softc *softc;=0A= int error;=0A= =0A= softc =3D (struct sa_softc *)periph->softc;=0A= =0A= ccb =3D cam_periph_getccb(periph, 1);=0A= =0A= /* It is safe to retry this operation */=0A= scsi_load_unload(&ccb->csio, 5, sadone, MSG_SIMPLE_Q_TAG, FALSE,=0A= FALSE, TRUE, TRUE, SSD_FULL_SIZE, ERASE_TIMEOUT);=0A= =0A= softc->dsreg =3D MTIO_DSREG_TEN;=0A= error =3D cam_periph_runccb(ccb, saerror, 0, 0, softc->device_stats);=0A= softc->dsreg =3D MTIO_DSREG_REST;=0A= =0A= if ((ccb->ccb_h.status & CAM_DEV_QFRZN) !=3D 0)=0A= cam_release_devq(ccb->ccb_h.path, 0, 0, 0, FALSE);=0A= xpt_release_ccb(ccb);=0A= if (error =3D=3D 0)=0A= softc->fileno =3D softc->blkno =3D (daddr_t) 0;=0A= else=0A= softc->fileno =3D softc->blkno =3D (daddr_t) -1;=0A= return (error);=0A= }=0A= =0A= static int=0A= sareservereleaseunit(struct cam_periph *periph, int reserve)=0A= {=0A= union ccb *ccb;=0A= struct sa_softc *softc;=0A= int error;=0A= =0A= softc =3D (struct sa_softc *)periph->softc;=0A= ccb =3D cam_periph_getccb(periph, 1);=0A= =0A= /* It is safe to retry this operation */=0A= scsi_reserve_release_unit(&ccb->csio, 2, sadone, MSG_SIMPLE_Q_TAG,=0A= FALSE, 0, SSD_FULL_SIZE, SCSIOP_TIMEOUT, reserve);=0A= softc->dsreg =3D MTIO_DSREG_RBSY;=0A= error =3D cam_periph_runccb(ccb, saerror, 0,=0A= SF_RETRY_UA | SF_NO_PRINT, softc->device_stats);=0A= softc->dsreg =3D MTIO_DSREG_REST;=0A= QFRLS(ccb);=0A= xpt_release_ccb(ccb);=0A= =0A= /*=0A= * If the error was Illegal Request, then the device doesn't support=0A= * RESERVE/RELEASE. This is not an error.=0A= */=0A= if (error =3D=3D EINVAL) {=0A= error =3D 0;=0A= }=0A= =0A= return (error);=0A= }=0A= =0A= static int=0A= saloadunload(struct cam_periph *periph, int load)=0A= {=0A= union ccb *ccb;=0A= struct sa_softc *softc;=0A= int error;=0A= =0A= softc =3D (struct sa_softc *)periph->softc;=0A= =0A= ccb =3D cam_periph_getccb(periph, 1);=0A= =0A= /* It is safe to retry this operation */=0A= scsi_load_unload(&ccb->csio, 5, sadone, MSG_SIMPLE_Q_TAG, FALSE,=0A= FALSE, FALSE, load, SSD_FULL_SIZE, REWIND_TIMEOUT);=0A= =0A= softc->dsreg =3D (load)? MTIO_DSREG_LD : MTIO_DSREG_UNL;=0A= error =3D cam_periph_runccb(ccb, saerror, 0, 0, softc->device_stats);=0A= softc->dsreg =3D MTIO_DSREG_REST;=0A= QFRLS(ccb);=0A= xpt_release_ccb(ccb);=0A= =0A= if (error || load =3D=3D 0)=0A= softc->fileno =3D softc->blkno =3D (daddr_t) -1;=0A= else if (error =3D=3D 0)=0A= softc->fileno =3D softc->blkno =3D (daddr_t) 0;=0A= return (error);=0A= }=0A= =0A= static int=0A= saerase(struct cam_periph *periph, int longerase)=0A= {=0A= =0A= union ccb *ccb;=0A= struct sa_softc *softc;=0A= int error;=0A= =0A= softc =3D (struct sa_softc *)periph->softc;=0A= =0A= ccb =3D cam_periph_getccb(periph, 1);=0A= =0A= scsi_erase(&ccb->csio, 1, sadone, MSG_SIMPLE_Q_TAG, FALSE, longerase,=0A= SSD_FULL_SIZE, ERASE_TIMEOUT);=0A= =0A= softc->dsreg =3D MTIO_DSREG_ZER;=0A= error =3D cam_periph_runccb(ccb, saerror, 0, 0, softc->device_stats);=0A= softc->dsreg =3D MTIO_DSREG_REST;=0A= =0A= if ((ccb->ccb_h.status & CAM_DEV_QFRZN) !=3D 0)=0A= cam_release_devq(ccb->ccb_h.path, 0, 0, 0, FALSE);=0A= xpt_release_ccb(ccb);=0A= return (error);=0A= }=0A= =0A= #endif /* _KERNEL */=0A= =0A= /*=0A= * Read tape block limits command.=0A= */=0A= void=0A= scsi_read_block_limits(struct ccb_scsiio *csio, u_int32_t retries,=0A= void (*cbfcnp)(struct cam_periph *, union ccb *),=0A= u_int8_t tag_action,=0A= struct scsi_read_block_limits_data *rlimit_buf,=0A= u_int8_t sense_len, u_int32_t timeout)=0A= {=0A= struct scsi_read_block_limits *scsi_cmd;=0A= =0A= cam_fill_csio(csio, retries, cbfcnp, CAM_DIR_IN, tag_action,=0A= (u_int8_t *)rlimit_buf, sizeof(*rlimit_buf), sense_len,=0A= sizeof(*scsi_cmd), timeout);=0A= =0A= scsi_cmd =3D (struct scsi_read_block_limits *)&csio->cdb_io.cdb_bytes;=0A= bzero(scsi_cmd, sizeof(*scsi_cmd));=0A= scsi_cmd->opcode =3D READ_BLOCK_LIMITS;=0A= }=0A= =0A= void=0A= scsi_sa_read_write(struct ccb_scsiio *csio, u_int32_t retries,=0A= void (*cbfcnp)(struct cam_periph *, union ccb *),=0A= u_int8_t tag_action, int readop, int sli,=0A= int fixed, u_int32_t length, u_int8_t *data_ptr,=0A= u_int32_t dxfer_len, u_int8_t sense_len, u_int32_t timeout)=0A= {=0A= struct scsi_sa_rw *scsi_cmd;=0A= =0A= scsi_cmd =3D (struct scsi_sa_rw *)&csio->cdb_io.cdb_bytes;=0A= scsi_cmd->opcode =3D readop ? SA_READ : SA_WRITE;=0A= scsi_cmd->sli_fixed =3D 0;=0A= if (sli && readop)=0A= scsi_cmd->sli_fixed |=3D SAR_SLI;=0A= if (fixed)=0A= scsi_cmd->sli_fixed |=3D SARW_FIXED;=0A= scsi_ulto3b(length, scsi_cmd->length);=0A= scsi_cmd->control =3D 0;=0A= =0A= cam_fill_csio(csio, retries, cbfcnp, readop ? CAM_DIR_IN : CAM_DIR_OUT,=0A= tag_action, data_ptr, dxfer_len, sense_len,=0A= sizeof(*scsi_cmd), timeout);=0A= }=0A= =0A= void=0A= scsi_load_unload(struct ccb_scsiio *csio, u_int32_t retries, =0A= void (*cbfcnp)(struct cam_periph *, union ccb *), =0A= u_int8_t tag_action, int immediate, int eot,=0A= int reten, int load, u_int8_t sense_len,=0A= u_int32_t timeout)=0A= {=0A= struct scsi_load_unload *scsi_cmd;=0A= =0A= scsi_cmd =3D (struct scsi_load_unload *)&csio->cdb_io.cdb_bytes;=0A= bzero(scsi_cmd, sizeof(*scsi_cmd));=0A= scsi_cmd->opcode =3D LOAD_UNLOAD;=0A= if (immediate)=0A= scsi_cmd->immediate =3D SLU_IMMED;=0A= if (eot)=0A= scsi_cmd->eot_reten_load |=3D SLU_EOT;=0A= if (reten)=0A= scsi_cmd->eot_reten_load |=3D SLU_RETEN;=0A= if (load)=0A= scsi_cmd->eot_reten_load |=3D SLU_LOAD;=0A= =0A= cam_fill_csio(csio, retries, cbfcnp, CAM_DIR_NONE, tag_action,=0A= NULL, 0, sense_len, sizeof(*scsi_cmd), timeout); =0A= }=0A= =0A= void=0A= scsi_rewind(struct ccb_scsiio *csio, u_int32_t retries, =0A= void (*cbfcnp)(struct cam_periph *, union ccb *), =0A= u_int8_t tag_action, int immediate, u_int8_t sense_len, =0A= u_int32_t timeout)=0A= {=0A= struct scsi_rewind *scsi_cmd;=0A= =0A= scsi_cmd =3D (struct scsi_rewind *)&csio->cdb_io.cdb_bytes;=0A= bzero(scsi_cmd, sizeof(*scsi_cmd));=0A= scsi_cmd->opcode =3D REWIND;=0A= if (immediate)=0A= scsi_cmd->immediate =3D SREW_IMMED;=0A= =0A= cam_fill_csio(csio, retries, cbfcnp, CAM_DIR_NONE, tag_action, NULL,=0A= 0, sense_len, sizeof(*scsi_cmd), timeout);=0A= }=0A= =0A= void=0A= scsi_space(struct ccb_scsiio *csio, u_int32_t retries,=0A= void (*cbfcnp)(struct cam_periph *, union ccb *),=0A= u_int8_t tag_action, scsi_space_code code,=0A= u_int32_t count, u_int8_t sense_len, u_int32_t timeout)=0A= {=0A= struct scsi_space *scsi_cmd;=0A= =0A= scsi_cmd =3D (struct scsi_space *)&csio->cdb_io.cdb_bytes;=0A= scsi_cmd->opcode =3D SPACE;=0A= scsi_cmd->code =3D code;=0A= scsi_ulto3b(count, scsi_cmd->count);=0A= scsi_cmd->control =3D 0;=0A= =0A= cam_fill_csio(csio, retries, cbfcnp, CAM_DIR_NONE, tag_action, NULL,=0A= 0, sense_len, sizeof(*scsi_cmd), timeout);=0A= }=0A= =0A= void=0A= scsi_write_filemarks(struct ccb_scsiio *csio, u_int32_t retries,=0A= void (*cbfcnp)(struct cam_periph *, union ccb *),=0A= u_int8_t tag_action, int immediate, int setmark,=0A= u_int32_t num_marks, u_int8_t sense_len,=0A= u_int32_t timeout)=0A= {=0A= struct scsi_write_filemarks *scsi_cmd;=0A= =0A= scsi_cmd =3D (struct scsi_write_filemarks *)&csio->cdb_io.cdb_bytes;=0A= bzero(scsi_cmd, sizeof(*scsi_cmd));=0A= scsi_cmd->opcode =3D WRITE_FILEMARKS;=0A= if (immediate)=0A= scsi_cmd->byte2 |=3D SWFMRK_IMMED;=0A= if (setmark)=0A= scsi_cmd->byte2 |=3D SWFMRK_WSMK;=0A= =0A= scsi_ulto3b(num_marks, scsi_cmd->num_marks);=0A= =0A= cam_fill_csio(csio, retries, cbfcnp, CAM_DIR_NONE, tag_action, NULL,=0A= 0, sense_len, sizeof(*scsi_cmd), timeout);=0A= }=0A= =0A= /*=0A= * The reserve and release unit commands differ only by their opcodes.=0A= */=0A= void=0A= scsi_reserve_release_unit(struct ccb_scsiio *csio, u_int32_t retries,=0A= void (*cbfcnp)(struct cam_periph *, union ccb *),=0A= u_int8_t tag_action, int third_party,=0A= int third_party_id, u_int8_t sense_len,=0A= u_int32_t timeout, int reserve)=0A= {=0A= struct scsi_reserve_release_unit *scsi_cmd;=0A= =0A= scsi_cmd =3D (struct scsi_reserve_release_unit = *)&csio->cdb_io.cdb_bytes;=0A= bzero(scsi_cmd, sizeof(*scsi_cmd));=0A= =0A= if (reserve)=0A= scsi_cmd->opcode =3D RESERVE_UNIT;=0A= else=0A= scsi_cmd->opcode =3D RELEASE_UNIT;=0A= =0A= if (third_party) {=0A= scsi_cmd->lun_thirdparty |=3D SRRU_3RD_PARTY;=0A= scsi_cmd->lun_thirdparty |=3D=0A= ((third_party_id << SRRU_3RD_SHAMT) & SRRU_3RD_MASK);=0A= }=0A= =0A= cam_fill_csio(csio, retries, cbfcnp, CAM_DIR_NONE, tag_action, NULL,=0A= 0, sense_len, sizeof(*scsi_cmd), timeout);=0A= }=0A= =0A= void=0A= scsi_erase(struct ccb_scsiio *csio, u_int32_t retries,=0A= void (*cbfcnp)(struct cam_periph *, union ccb *),=0A= u_int8_t tag_action, int immediate, int long_erase,=0A= u_int8_t sense_len, u_int32_t timeout)=0A= {=0A= struct scsi_erase *scsi_cmd;=0A= =0A= scsi_cmd =3D (struct scsi_erase *)&csio->cdb_io.cdb_bytes;=0A= bzero(scsi_cmd, sizeof(*scsi_cmd));=0A= =0A= scsi_cmd->opcode =3D ERASE;=0A= =0A= if (immediate)=0A= scsi_cmd->lun_imm_long |=3D SE_IMMED;=0A= =0A= if (long_erase)=0A= scsi_cmd->lun_imm_long |=3D SE_LONG;=0A= =0A= cam_fill_csio(csio, retries, cbfcnp, CAM_DIR_NONE, tag_action, NULL,=0A= 0, sense_len, sizeof(*scsi_cmd), timeout);=0A= }=0A= =0A= /*=0A= * Read Tape Position command.=0A= */=0A= void=0A= scsi_read_position(struct ccb_scsiio *csio, u_int32_t retries,=0A= void (*cbfcnp)(struct cam_periph *, union ccb *),=0A= u_int8_t tag_action, int hardsoft,=0A= struct scsi_tape_position_data *sbp,=0A= u_int8_t sense_len, u_int32_t timeout)=0A= {=0A= struct scsi_tape_read_position *scmd;=0A= =0A= cam_fill_csio(csio, retries, cbfcnp, CAM_DIR_IN, tag_action,=0A= (u_int8_t *)sbp, sizeof (*sbp), sense_len, sizeof(*scmd), timeout);=0A= scmd =3D (struct scsi_tape_read_position *)&csio->cdb_io.cdb_bytes;=0A= bzero(scmd, sizeof(*scmd));=0A= scmd->opcode =3D READ_POSITION;=0A= scmd->byte1 =3D hardsoft;=0A= }=0A= =0A= /*=0A= * Set Tape Position command.=0A= */=0A= void=0A= scsi_set_position(struct ccb_scsiio *csio, u_int32_t retries,=0A= void (*cbfcnp)(struct cam_periph *, union ccb *),=0A= u_int8_t tag_action, int hardsoft, u_int32_t blkno,=0A= u_int8_t sense_len, u_int32_t timeout)=0A= {=0A= struct scsi_tape_locate *scmd;=0A= =0A= cam_fill_csio(csio, retries, cbfcnp, CAM_DIR_NONE, tag_action,=0A= (u_int8_t *)NULL, 0, sense_len, sizeof(*scmd), timeout);=0A= scmd =3D (struct scsi_tape_locate *)&csio->cdb_io.cdb_bytes;=0A= bzero(scmd, sizeof(*scmd));=0A= scmd->opcode =3D LOCATE;=0A= if (hardsoft)=0A= scmd->byte1 |=3D SA_SPOS_BT;=0A= scsi_ulto4b(blkno, scmd->blkaddr);=0A= }=0A= ------=_NextPart_000_001A_01C54C04.3DD952C0 Content-Type: application/octet-stream; name="scsi_sa.c.orig" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="scsi_sa.c.orig" /*=0A= * Implementation of SCSI Sequential Access Peripheral driver for CAM.=0A= *=0A= * Copyright (c) 1999, 2000 Matthew Jacob=0A= * All rights reserved.=0A= *=0A= * Redistribution and use in source and binary forms, with or without=0A= * modification, are permitted provided that the following conditions=0A= * are met:=0A= * 1. Redistributions of source code must retain the above copyright=0A= * notice, this list of conditions, and the following disclaimer,=0A= * without modification, immediately at the beginning of the file.=0A= * 2. The name of the author may not be used to endorse or promote = products=0A= * derived from this software without specific prior written = permission.=0A= *=0A= * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND=0A= * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE=0A= * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR = PURPOSE=0A= * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE = LIABLE FOR=0A= * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL=0A= * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE = GOODS=0A= * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)=0A= * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, = STRICT=0A= * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY = WAY=0A= * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF=0A= * SUCH DAMAGE.=0A= */=0A= =0A= #include =0A= __FBSDID("$FreeBSD: src/sys/cam/scsi/scsi_sa.c,v 1.101 2004/06/16 = 09:46:31 phk Exp $");=0A= =0A= #include =0A= #include =0A= #ifdef _KERNEL=0A= #include =0A= #include =0A= #endif=0A= #include =0A= #include =0A= #include =0A= #include =0A= #include =0A= #include =0A= #ifdef _KERNEL=0A= #include =0A= #endif=0A= #include =0A= =0A= #ifndef _KERNEL=0A= #include =0A= #include =0A= #endif=0A= =0A= #include =0A= #include =0A= #include =0A= #include =0A= #include =0A= =0A= #include =0A= #include =0A= #include =0A= =0A= #ifdef _KERNEL=0A= =0A= #include =0A= =0A= #ifndef SA_IO_TIMEOUT=0A= #define SA_IO_TIMEOUT 4=0A= #endif=0A= #ifndef SA_SPACE_TIMEOUT=0A= #define SA_SPACE_TIMEOUT 1 * 60=0A= #endif=0A= #ifndef SA_REWIND_TIMEOUT=0A= #define SA_REWIND_TIMEOUT 2 * 60=0A= #endif=0A= #ifndef SA_ERASE_TIMEOUT=0A= #define SA_ERASE_TIMEOUT 4 * 60=0A= #endif=0A= =0A= #define SCSIOP_TIMEOUT (60 * 1000) /* not an option */=0A= =0A= #define IO_TIMEOUT (SA_IO_TIMEOUT * 60 * 1000)=0A= #define REWIND_TIMEOUT (SA_REWIND_TIMEOUT * 60 * 1000)=0A= #define ERASE_TIMEOUT (SA_ERASE_TIMEOUT * 60 * 1000)=0A= #define SPACE_TIMEOUT (SA_SPACE_TIMEOUT * 60 * 1000)=0A= =0A= /*=0A= * Additional options that can be set for config: SA_1FM_AT_EOT=0A= */=0A= =0A= #ifndef UNUSED_PARAMETER=0A= #define UNUSED_PARAMETER(x) x =3D x=0A= #endif=0A= =0A= #define QFRLS(ccb) \=0A= if (((ccb)->ccb_h.status & CAM_DEV_QFRZN) !=3D 0) \=0A= cam_release_devq((ccb)->ccb_h.path, 0, 0, 0, FALSE)=0A= =0A= /*=0A= * Driver states=0A= */=0A= =0A= =0A= typedef enum {=0A= SA_STATE_NORMAL, SA_STATE_ABNORMAL=0A= } sa_state;=0A= =0A= #define ccb_pflags ppriv_field0=0A= #define ccb_bp ppriv_ptr1=0A= =0A= #define SA_CCB_BUFFER_IO 0x0=0A= #define SA_CCB_WAITING 0x1=0A= #define SA_CCB_TYPEMASK 0x1=0A= #define SA_POSITION_UPDATED 0x2=0A= =0A= #define Set_CCB_Type(x, type) \=0A= x->ccb_h.ccb_pflags &=3D ~SA_CCB_TYPEMASK; \=0A= x->ccb_h.ccb_pflags |=3D type=0A= =0A= #define CCB_Type(x) (x->ccb_h.ccb_pflags & SA_CCB_TYPEMASK)=0A= =0A= =0A= =0A= typedef enum {=0A= SA_FLAG_OPEN =3D 0x0001,=0A= SA_FLAG_FIXED =3D 0x0002,=0A= SA_FLAG_TAPE_LOCKED =3D 0x0004,=0A= SA_FLAG_TAPE_MOUNTED =3D 0x0008,=0A= SA_FLAG_TAPE_WP =3D 0x0010,=0A= SA_FLAG_TAPE_WRITTEN =3D 0x0020,=0A= SA_FLAG_EOM_PENDING =3D 0x0040,=0A= SA_FLAG_EIO_PENDING =3D 0x0080,=0A= SA_FLAG_EOF_PENDING =3D 0x0100,=0A= SA_FLAG_ERR_PENDING =3D (SA_FLAG_EOM_PENDING|SA_FLAG_EIO_PENDING|=0A= SA_FLAG_EOF_PENDING),=0A= SA_FLAG_INVALID =3D 0x0200,=0A= SA_FLAG_COMP_ENABLED =3D 0x0400,=0A= SA_FLAG_COMP_SUPP =3D 0x0800,=0A= SA_FLAG_COMP_UNSUPP =3D 0x1000,=0A= SA_FLAG_TAPE_FROZEN =3D 0x2000=0A= } sa_flags;=0A= =0A= typedef enum {=0A= SA_MODE_REWIND =3D 0x00,=0A= SA_MODE_NOREWIND =3D 0x01,=0A= SA_MODE_OFFLINE =3D 0x02=0A= } sa_mode;=0A= =0A= typedef enum {=0A= SA_PARAM_NONE =3D 0x00,=0A= SA_PARAM_BLOCKSIZE =3D 0x01,=0A= SA_PARAM_DENSITY =3D 0x02,=0A= SA_PARAM_COMPRESSION =3D 0x04,=0A= SA_PARAM_BUFF_MODE =3D 0x08,=0A= SA_PARAM_NUMBLOCKS =3D 0x10,=0A= SA_PARAM_WP =3D 0x20,=0A= SA_PARAM_SPEED =3D 0x40,=0A= SA_PARAM_ALL =3D 0x7f=0A= } sa_params;=0A= =0A= typedef enum {=0A= SA_QUIRK_NONE =3D 0x00,=0A= SA_QUIRK_NOCOMP =3D 0x01, /* Can't deal with compression at all */=0A= SA_QUIRK_FIXED =3D 0x02, /* Force fixed mode */=0A= SA_QUIRK_VARIABLE =3D 0x04, /* Force variable mode */=0A= SA_QUIRK_2FM =3D 0x08, /* Needs Two File Marks at EOD */=0A= SA_QUIRK_1FM =3D 0x10, /* No more than 1 File Mark at EOD */=0A= SA_QUIRK_NODREAD =3D 0x20, /* Don't try and dummy read density */=0A= SA_QUIRK_NO_MODESEL =3D 0x40, /* Don't do mode select at all */=0A= SA_QUIRK_NO_CPAGE =3D 0x80 /* Don't use DEVICE COMPRESSION page */=0A= } sa_quirks;=0A= =0A= /* units are bits 4-7, 16-21 (1024 units) */=0A= #define SAUNIT(DEV) \=0A= (((minor(DEV) & 0xF0) >> 4) | ((minor(DEV) & 0x3f0000) >> 16))=0A= =0A= #define SAMODE(z) ((minor(z) & 0x3))=0A= #define SADENSITY(z) (((minor(z) >> 2) & 0x3))=0A= #define SA_IS_CTRL(z) (minor(z) & (1 << 29))=0A= =0A= #define SA_NOT_CTLDEV 0=0A= #define SA_CTLDEV 1=0A= =0A= #define SA_ATYPE_R 0=0A= #define SA_ATYPE_NR 1=0A= #define SA_ATYPE_ER 2=0A= =0A= #define SAMINOR(ctl, unit, mode, access) \=0A= ((ctl << 29) | ((unit & 0x3f0) << 16) | ((unit & 0xf) << 4) | \=0A= (mode << 0x2) | (access & 0x3))=0A= =0A= #define SA_NUM_MODES 4=0A= struct sa_devs {=0A= struct cdev *ctl_dev;=0A= struct sa_mode_devs {=0A= struct cdev *r_dev;=0A= struct cdev *nr_dev;=0A= struct cdev *er_dev;=0A= } mode_devs[SA_NUM_MODES];=0A= };=0A= =0A= struct sa_softc {=0A= sa_state state;=0A= sa_flags flags;=0A= sa_quirks quirks;=0A= struct bio_queue_head bio_queue;=0A= int queue_count;=0A= struct devstat *device_stats;=0A= struct sa_devs devs;=0A= int blk_gran;=0A= int blk_mask;=0A= int blk_shift;=0A= u_int32_t max_blk;=0A= u_int32_t min_blk;=0A= u_int32_t comp_algorithm;=0A= u_int32_t saved_comp_algorithm;=0A= u_int32_t media_blksize;=0A= u_int32_t last_media_blksize;=0A= u_int32_t media_numblks;=0A= u_int8_t media_density;=0A= u_int8_t speed;=0A= u_int8_t scsi_rev;=0A= u_int8_t dsreg; /* mtio mt_dsreg, redux */=0A= int buffer_mode;=0A= int filemarks;=0A= union ccb saved_ccb;=0A= int last_resid_was_io;=0A= =0A= /*=0A= * Relative to BOT Location.=0A= */=0A= daddr_t fileno;=0A= daddr_t blkno;=0A= =0A= /*=0A= * Latched Error Info=0A= */=0A= struct {=0A= struct scsi_sense_data _last_io_sense;=0A= u_int32_t _last_io_resid;=0A= u_int8_t _last_io_cdb[CAM_MAX_CDBLEN];=0A= struct scsi_sense_data _last_ctl_sense;=0A= u_int32_t _last_ctl_resid;=0A= u_int8_t _last_ctl_cdb[CAM_MAX_CDBLEN];=0A= #define last_io_sense errinfo._last_io_sense=0A= #define last_io_resid errinfo._last_io_resid=0A= #define last_io_cdb errinfo._last_io_cdb=0A= #define last_ctl_sense errinfo._last_ctl_sense=0A= #define last_ctl_resid errinfo._last_ctl_resid=0A= #define last_ctl_cdb errinfo._last_ctl_cdb=0A= } errinfo;=0A= /*=0A= * Misc other flags/state=0A= */=0A= u_int32_t=0A= : 31,=0A= ctrl_mode : 1; /* control device open */=0A= };=0A= =0A= struct sa_quirk_entry {=0A= struct scsi_inquiry_pattern inq_pat; /* matching pattern */=0A= sa_quirks quirks; /* specific quirk type */=0A= u_int32_t prefblk; /* preferred blocksize when in fixed mode */=0A= };=0A= =0A= static struct sa_quirk_entry sa_quirk_table[] =3D=0A= {=0A= {=0A= { T_SEQUENTIAL, SIP_MEDIA_REMOVABLE, "OnStream",=0A= "ADR*", "*"}, SA_QUIRK_FIXED|SA_QUIRK_NODREAD |=0A= SA_QUIRK_1FM|SA_QUIRK_NO_MODESEL, 32768=0A= },=0A= {=0A= { T_SEQUENTIAL, SIP_MEDIA_REMOVABLE, "ARCHIVE",=0A= "Python 06408*", "*"}, SA_QUIRK_NODREAD, 0=0A= },=0A= {=0A= { T_SEQUENTIAL, SIP_MEDIA_REMOVABLE, "ARCHIVE",=0A= "Python 25601*", "*"}, SA_QUIRK_NOCOMP|SA_QUIRK_NODREAD, 0=0A= },=0A= {=0A= { T_SEQUENTIAL, SIP_MEDIA_REMOVABLE, "ARCHIVE",=0A= "Python*", "*"}, SA_QUIRK_NODREAD, 0=0A= },=0A= {=0A= { T_SEQUENTIAL, SIP_MEDIA_REMOVABLE, "ARCHIVE",=0A= "VIPER 150*", "*"}, SA_QUIRK_FIXED|SA_QUIRK_1FM, 512=0A= },=0A= {=0A= { T_SEQUENTIAL, SIP_MEDIA_REMOVABLE, "ARCHIVE",=0A= "VIPER 2525 25462", "-011"},=0A= SA_QUIRK_NOCOMP|SA_QUIRK_1FM|SA_QUIRK_NODREAD, 0=0A= },=0A= {=0A= { T_SEQUENTIAL, SIP_MEDIA_REMOVABLE, "ARCHIVE",=0A= "VIPER 2525*", "*"}, SA_QUIRK_FIXED|SA_QUIRK_1FM, 1024=0A= },=0A= #if 0=0A= {=0A= { T_SEQUENTIAL, SIP_MEDIA_REMOVABLE, "HP",=0A= "C15*", "*"}, SA_QUIRK_VARIABLE|SA_QUIRK_NO_CPAGE, 0,=0A= },=0A= #endif=0A= {=0A= { T_SEQUENTIAL, SIP_MEDIA_REMOVABLE, "HP",=0A= "C56*", "*"}, SA_QUIRK_VARIABLE|SA_QUIRK_2FM, 0=0A= },=0A= {=0A= { T_SEQUENTIAL, SIP_MEDIA_REMOVABLE, "HP",=0A= "T20*", "*"}, SA_QUIRK_FIXED|SA_QUIRK_1FM, 512=0A= },=0A= {=0A= { T_SEQUENTIAL, SIP_MEDIA_REMOVABLE, "HP",=0A= "T4000*", "*"}, SA_QUIRK_FIXED|SA_QUIRK_1FM, 512=0A= },=0A= {=0A= { T_SEQUENTIAL, SIP_MEDIA_REMOVABLE, "HP",=0A= "HP-88780*", "*"}, SA_QUIRK_VARIABLE|SA_QUIRK_2FM, 0=0A= },=0A= {=0A= { T_SEQUENTIAL, SIP_MEDIA_REMOVABLE, "KENNEDY",=0A= "*", "*"}, SA_QUIRK_VARIABLE|SA_QUIRK_2FM, 0=0A= },=0A= {=0A= { T_SEQUENTIAL, SIP_MEDIA_REMOVABLE, "M4 DATA",=0A= "123107 SCSI*", "*"}, SA_QUIRK_VARIABLE|SA_QUIRK_2FM, 0=0A= },=0A= { /* jreynold@primenet.com */=0A= { T_SEQUENTIAL, SIP_MEDIA_REMOVABLE, "Seagate",=0A= "STT8000N*", "*"}, SA_QUIRK_1FM, 0=0A= },=0A= { /* mike@sentex.net */=0A= { T_SEQUENTIAL, SIP_MEDIA_REMOVABLE, "Seagate",=0A= "STT20000*", "*"}, SA_QUIRK_1FM, 0=0A= },=0A= {=0A= { T_SEQUENTIAL, SIP_MEDIA_REMOVABLE, "TANDBERG",=0A= " TDC 3600", "U07:"}, SA_QUIRK_NOCOMP|SA_QUIRK_1FM, 512=0A= },=0A= {=0A= { T_SEQUENTIAL, SIP_MEDIA_REMOVABLE, "TANDBERG",=0A= " TDC 3800", "*"}, SA_QUIRK_NOCOMP|SA_QUIRK_1FM, 512=0A= },=0A= {=0A= { T_SEQUENTIAL, SIP_MEDIA_REMOVABLE, "TANDBERG",=0A= " TDC 4100", "*"}, SA_QUIRK_NOCOMP|SA_QUIRK_1FM, 512=0A= },=0A= {=0A= { T_SEQUENTIAL, SIP_MEDIA_REMOVABLE, "TANDBERG",=0A= " TDC 4200", "*"}, SA_QUIRK_NOCOMP|SA_QUIRK_1FM, 512=0A= },=0A= {=0A= { T_SEQUENTIAL, SIP_MEDIA_REMOVABLE, "TANDBERG",=0A= " SLR*", "*"}, SA_QUIRK_1FM, 0=0A= },=0A= {=0A= { T_SEQUENTIAL, SIP_MEDIA_REMOVABLE, "WANGTEK",=0A= "5525ES*", "*"}, SA_QUIRK_FIXED|SA_QUIRK_1FM, 512=0A= },=0A= {=0A= { T_SEQUENTIAL, SIP_MEDIA_REMOVABLE, "WANGTEK",=0A= "51000*", "*"}, SA_QUIRK_FIXED|SA_QUIRK_1FM, 1024=0A= }=0A= };=0A= =0A= static d_open_t saopen;=0A= static d_close_t saclose;=0A= static d_strategy_t sastrategy;=0A= static d_ioctl_t saioctl;=0A= static periph_init_t sainit;=0A= static periph_ctor_t saregister;=0A= static periph_oninv_t saoninvalidate;=0A= static periph_dtor_t sacleanup;=0A= static periph_start_t sastart;=0A= static void saasync(void *callback_arg, u_int32_t code,=0A= struct cam_path *path, void *arg);=0A= static void sadone(struct cam_periph *periph,=0A= union ccb *start_ccb);=0A= static int saerror(union ccb *ccb, u_int32_t cam_flags,=0A= u_int32_t sense_flags);=0A= static int samarkswanted(struct cam_periph *);=0A= static int sacheckeod(struct cam_periph *periph);=0A= static int sagetparams(struct cam_periph *periph,=0A= sa_params params_to_get,=0A= u_int32_t *blocksize, u_int8_t *density,=0A= u_int32_t *numblocks, int *buff_mode,=0A= u_int8_t *write_protect, u_int8_t *speed,=0A= int *comp_supported, int *comp_enabled,=0A= u_int32_t *comp_algorithm,=0A= sa_comp_t *comp_page);=0A= static int sasetparams(struct cam_periph *periph,=0A= sa_params params_to_set,=0A= u_int32_t blocksize, u_int8_t density,=0A= u_int32_t comp_algorithm,=0A= u_int32_t sense_flags);=0A= static void saprevent(struct cam_periph *periph, int action);=0A= static int sarewind(struct cam_periph *periph);=0A= static int saspace(struct cam_periph *periph, int count,=0A= scsi_space_code code);=0A= static int samount(struct cam_periph *, int, struct cdev *);=0A= static int saretension(struct cam_periph *periph);=0A= static int sareservereleaseunit(struct cam_periph *periph,=0A= int reserve);=0A= static int saloadunload(struct cam_periph *periph, int load);=0A= static int saerase(struct cam_periph *periph, int longerase);=0A= static int sawritefilemarks(struct cam_periph *periph,=0A= int nmarks, int setmarks);=0A= static int sardpos(struct cam_periph *periph, int, u_int32_t *);=0A= static int sasetpos(struct cam_periph *periph, int, u_int32_t *);=0A= =0A= =0A= static struct periph_driver sadriver =3D=0A= {=0A= sainit, "sa",=0A= TAILQ_HEAD_INITIALIZER(sadriver.units), /* generation */ 0=0A= };=0A= =0A= PERIPHDRIVER_DECLARE(sa, sadriver);=0A= =0A= /* For 2.2-stable support */=0A= #ifndef D_TAPE=0A= #define D_TAPE 0=0A= #endif=0A= =0A= =0A= static struct cdevsw sa_cdevsw =3D {=0A= .d_version =3D D_VERSION,=0A= .d_open =3D saopen,=0A= .d_close =3D saclose,=0A= .d_read =3D physread,=0A= .d_write =3D physwrite,=0A= .d_ioctl =3D saioctl,=0A= .d_strategy =3D sastrategy,=0A= .d_name =3D "sa",=0A= .d_flags =3D D_TAPE | D_NEEDGIANT,=0A= };=0A= =0A= static int=0A= saopen(struct cdev *dev, int flags, int fmt, struct thread *td)=0A= {=0A= struct cam_periph *periph;=0A= struct sa_softc *softc;=0A= int unit;=0A= int error;=0A= int s;=0A= =0A= unit =3D SAUNIT(dev);=0A= =0A= s =3D splsoftcam();=0A= periph =3D (struct cam_periph *)dev->si_drv1;=0A= if (periph =3D=3D NULL) {=0A= (void) splx(s);=0A= return (ENXIO); =0A= }=0A= softc =3D (struct sa_softc *)periph->softc;=0A= if ((error =3D cam_periph_lock(periph, PRIBIO|PCATCH)) !=3D 0) {=0A= splx(s);=0A= return (error);=0A= }=0A= splx(s);=0A= =0A= CAM_DEBUG(periph->path, CAM_DEBUG_TRACE|CAM_DEBUG_INFO,=0A= ("saopen(%d): dev=3D0x%x softc=3D0x%x\n", unit, unit, = softc->flags));=0A= =0A= if (cam_periph_acquire(periph) !=3D CAM_REQ_CMP) {=0A= cam_periph_unlock(periph);=0A= return (ENXIO);=0A= }=0A= if (SA_IS_CTRL(dev)) {=0A= softc->ctrl_mode =3D 1;=0A= cam_periph_unlock(periph);=0A= return (0);=0A= }=0A= =0A= =0A= if (softc->flags & SA_FLAG_OPEN) {=0A= error =3D EBUSY;=0A= } else if (softc->flags & SA_FLAG_INVALID) {=0A= error =3D ENXIO;=0A= } else {=0A= /*=0A= * The function samount ensures media is loaded and ready.=0A= * It also does a device RESERVE if the tape isn't yet mounted.=0A= */=0A= error =3D samount(periph, flags, dev);=0A= }=0A= =0A= if (error) {=0A= cam_periph_release(periph);=0A= } else {=0A= saprevent(periph, PR_PREVENT);=0A= softc->flags |=3D SA_FLAG_OPEN;=0A= }=0A= cam_periph_unlock(periph);=0A= return (error);=0A= }=0A= =0A= static int=0A= saclose(struct cdev *dev, int flag, int fmt, struct thread *td)=0A= {=0A= struct cam_periph *periph;=0A= struct sa_softc *softc;=0A= int unit, mode, error, writing, tmp;=0A= int closedbits =3D SA_FLAG_OPEN;=0A= =0A= unit =3D SAUNIT(dev);=0A= mode =3D SAMODE(dev);=0A= periph =3D (struct cam_periph *)dev->si_drv1;=0A= if (periph =3D=3D NULL)=0A= return (ENXIO); =0A= =0A= softc =3D (struct sa_softc *)periph->softc;=0A= =0A= CAM_DEBUG(periph->path, CAM_DEBUG_TRACE|CAM_DEBUG_INFO,=0A= ("saclose(%d): dev=3D0x%x softc=3D0x%x\n", unit, unit, = softc->flags));=0A= =0A= =0A= if ((error =3D cam_periph_lock(periph, PRIBIO)) !=3D 0) {=0A= return (error);=0A= }=0A= =0A= if (SA_IS_CTRL(dev)) {=0A= softc->ctrl_mode =3D 0;=0A= cam_periph_release(periph);=0A= cam_periph_unlock(periph);=0A= return (0);=0A= }=0A= =0A= /*=0A= * Were we writing the tape?=0A= */=0A= writing =3D (softc->flags & SA_FLAG_TAPE_WRITTEN) !=3D 0;=0A= =0A= /*=0A= * See whether or not we need to write filemarks. If this=0A= * fails, we probably have to assume we've lost tape=0A= * position.=0A= */=0A= error =3D sacheckeod(periph);=0A= if (error) {=0A= xpt_print_path(periph->path);=0A= printf("failed to write terminating filemark(s)\n");=0A= softc->flags |=3D SA_FLAG_TAPE_FROZEN;=0A= }=0A= =0A= /*=0A= * Whatever we end up doing, allow users to eject tapes from here on.=0A= */=0A= saprevent(periph, PR_ALLOW);=0A= =0A= /*=0A= * Decide how to end...=0A= */=0A= if ((softc->flags & SA_FLAG_TAPE_MOUNTED) =3D=3D 0) {=0A= closedbits |=3D SA_FLAG_TAPE_FROZEN;=0A= } else switch (mode) {=0A= case SA_MODE_OFFLINE:=0A= /*=0A= * An 'offline' close is an unconditional release of=0A= * frozen && mount conditions, irrespective of whether=0A= * these operations succeeded. The reason for this is=0A= * to allow at least some kind of programmatic way=0A= * around our state getting all fouled up. If somebody=0A= * issues an 'offline' command, that will be allowed=0A= * to clear state.=0A= */=0A= (void) sarewind(periph);=0A= (void) saloadunload(periph, FALSE);=0A= closedbits |=3D SA_FLAG_TAPE_MOUNTED|SA_FLAG_TAPE_FROZEN;=0A= break;=0A= case SA_MODE_REWIND:=0A= /*=0A= * If the rewind fails, return an error- if anyone cares,=0A= * but not overwriting any previous error.=0A= *=0A= * We don't clear the notion of mounted here, but we do=0A= * clear the notion of frozen if we successfully rewound.=0A= */=0A= tmp =3D sarewind(periph);=0A= if (tmp) {=0A= if (error !=3D 0)=0A= error =3D tmp;=0A= } else {=0A= closedbits |=3D SA_FLAG_TAPE_FROZEN;=0A= }=0A= break;=0A= case SA_MODE_NOREWIND:=0A= /*=0A= * If we're not rewinding/unloading the tape, find out=0A= * whether we need to back up over one of two filemarks=0A= * we wrote (if we wrote two filemarks) so that appends=0A= * from this point on will be sane.=0A= */=0A= if (error =3D=3D 0 && writing && (softc->quirks & SA_QUIRK_2FM)) {=0A= tmp =3D saspace(periph, -1, SS_FILEMARKS);=0A= if (tmp) {=0A= xpt_print_path(periph->path);=0A= printf("unable to backspace over one of double"=0A= " filemarks at end of tape\n");=0A= xpt_print_path(periph->path);=0A= printf("it is possible that this device"=0A= " needs a SA_QUIRK_1FM quirk set for it\n");=0A= softc->flags |=3D SA_FLAG_TAPE_FROZEN;=0A= }=0A= }=0A= break;=0A= default:=0A= xpt_print_path(periph->path);=0A= panic("unknown mode 0x%x in saclose", mode);=0A= /* NOTREACHED */=0A= break;=0A= }=0A= =0A= /*=0A= * We wish to note here that there are no more filemarks to be written.=0A= */=0A= softc->filemarks =3D 0;=0A= softc->flags &=3D ~SA_FLAG_TAPE_WRITTEN;=0A= =0A= /*=0A= * And we are no longer open for business.=0A= */=0A= softc->flags &=3D ~closedbits;=0A= =0A= /*=0A= * Inform users if tape state if frozen....=0A= */=0A= if (softc->flags & SA_FLAG_TAPE_FROZEN) {=0A= xpt_print_path(periph->path);=0A= printf("tape is now frozen- use an OFFLINE, REWIND or MTEOM "=0A= "command to clear this state.\n");=0A= }=0A= =0A= /* release the device if it is no longer mounted */=0A= if ((softc->flags & SA_FLAG_TAPE_MOUNTED) =3D=3D 0)=0A= sareservereleaseunit(periph, FALSE);=0A= =0A= cam_periph_unlock(periph);=0A= cam_periph_release(periph);=0A= =0A= return (error); =0A= }=0A= =0A= /*=0A= * Actually translate the requested transfer into one the physical driver=0A= * can understand. The transfer is described by a buf and will include=0A= * only one physical transfer.=0A= */=0A= static void=0A= sastrategy(struct bio *bp)=0A= {=0A= struct cam_periph *periph;=0A= struct sa_softc *softc;=0A= int s;=0A= =0A= bp->bio_resid =3D bp->bio_bcount;=0A= if (SA_IS_CTRL(bp->bio_dev)) {=0A= biofinish(bp, NULL, EINVAL);=0A= return;=0A= }=0A= periph =3D (struct cam_periph *)bp->bio_dev->si_drv1;=0A= if (periph =3D=3D NULL) {=0A= biofinish(bp, NULL, ENXIO);=0A= return;=0A= }=0A= softc =3D (struct sa_softc *)periph->softc;=0A= =0A= s =3D splsoftcam();=0A= =0A= if (softc->flags & SA_FLAG_INVALID) {=0A= splx(s);=0A= biofinish(bp, NULL, ENXIO);=0A= return;=0A= }=0A= =0A= if (softc->flags & SA_FLAG_TAPE_FROZEN) {=0A= splx(s);=0A= biofinish(bp, NULL, EPERM);=0A= return;=0A= }=0A= =0A= splx(s);=0A= =0A= /*=0A= * If it's a null transfer, return immediatly=0A= */=0A= if (bp->bio_bcount =3D=3D 0) {=0A= biodone(bp);=0A= return;=0A= }=0A= =0A= /* valid request? */=0A= if (softc->flags & SA_FLAG_FIXED) {=0A= /*=0A= * Fixed block device. The byte count must=0A= * be a multiple of our block size.=0A= */=0A= if (((softc->blk_mask !=3D ~0) &&=0A= ((bp->bio_bcount & softc->blk_mask) !=3D 0)) ||=0A= ((softc->blk_mask =3D=3D ~0) &&=0A= ((bp->bio_bcount % softc->min_blk) !=3D 0))) {=0A= xpt_print_path(periph->path);=0A= printf("Invalid request. Fixed block device "=0A= "requests must be a multiple "=0A= "of %d bytes\n", softc->min_blk);=0A= biofinish(bp, NULL, EINVAL);=0A= return;=0A= }=0A= } else if ((bp->bio_bcount > softc->max_blk) ||=0A= (bp->bio_bcount < softc->min_blk) ||=0A= (bp->bio_bcount & softc->blk_mask) !=3D 0) {=0A= =0A= xpt_print_path(periph->path);=0A= printf("Invalid request. Variable block device "=0A= "requests must be ");=0A= if (softc->blk_mask !=3D 0) {=0A= printf("a multiple of %d ", (0x1 << softc->blk_gran));=0A= }=0A= printf("between %d and %d bytes\n", softc->min_blk,=0A= softc->max_blk);=0A= biofinish(bp, NULL, EINVAL);=0A= return;=0A= }=0A= =0A= /*=0A= * Mask interrupts so that the device cannot be invalidated until=0A= * after we are in the queue. Otherwise, we might not properly=0A= * clean up one of the buffers.=0A= */=0A= s =3D splbio();=0A= =0A= /*=0A= * Place it at the end of the queue.=0A= */=0A= bioq_insert_tail(&softc->bio_queue, bp);=0A= softc->queue_count++;=0A= #if 0=0A= CAM_DEBUG(periph->path, CAM_DEBUG_INFO,=0A= ("sastrategy: queuing a %ld %s byte %s\n", bp->bio_bcount,=0A= (softc->flags & SA_FLAG_FIXED)? "fixed" : "variable",=0A= (bp->bio_cmd =3D=3D BIO_READ)? "read" : "write"));=0A= #endif=0A= if (softc->queue_count > 1) {=0A= CAM_DEBUG(periph->path, CAM_DEBUG_INFO,=0A= ("sastrategy: queue count now %d\n", softc->queue_count));=0A= }=0A= splx(s);=0A= =0A= /*=0A= * Schedule ourselves for performing the work.=0A= */=0A= xpt_schedule(periph, 1);=0A= =0A= return;=0A= }=0A= =0A= static int=0A= saioctl(struct cdev *dev, u_long cmd, caddr_t arg, int flag, struct = thread *td)=0A= {=0A= struct cam_periph *periph;=0A= struct sa_softc *softc;=0A= scsi_space_code spaceop;=0A= int didlockperiph =3D 0;=0A= int s;=0A= int mode;=0A= int error =3D 0;=0A= =0A= mode =3D SAMODE(dev);=0A= error =3D 0; /* shut up gcc */=0A= spaceop =3D 0; /* shut up gcc */=0A= =0A= periph =3D (struct cam_periph *)dev->si_drv1;=0A= if (periph =3D=3D NULL)=0A= return (ENXIO); =0A= =0A= softc =3D (struct sa_softc *)periph->softc;=0A= =0A= /*=0A= * Check for control mode accesses. We allow MTIOCGET and=0A= * MTIOCERRSTAT (but need to be the only one open in order=0A= * to clear latched status), and MTSETBSIZE, MTSETDNSTY=0A= * and MTCOMP (but need to be the only one accessing this=0A= * device to run those).=0A= */=0A= =0A= if (SA_IS_CTRL(dev)) {=0A= switch (cmd) {=0A= case MTIOCGETEOTMODEL:=0A= case MTIOCGET:=0A= break;=0A= case MTIOCERRSTAT:=0A= /*=0A= * If the periph isn't already locked, lock it=0A= * so our MTIOCERRSTAT can reset latched error stats.=0A= *=0A= * If the periph is already locked, skip it because=0A= * we're just getting status and it'll be up to the=0A= * other thread that has this device open to do=0A= * an MTIOCERRSTAT that would clear latched status.=0A= */=0A= s =3D splsoftcam();=0A= if ((periph->flags & CAM_PERIPH_LOCKED) =3D=3D 0) {=0A= error =3D cam_periph_lock(periph, PRIBIO|PCATCH);=0A= if (error !=3D 0) {=0A= splx(s);=0A= return (error);=0A= }=0A= didlockperiph =3D 1;=0A= }=0A= break;=0A= =0A= case MTIOCSETEOTMODEL:=0A= case MTSETBSIZ:=0A= case MTSETDNSTY:=0A= case MTCOMP:=0A= /*=0A= * We need to acquire the peripheral here rather=0A= * than at open time because we are sharing writable=0A= * access to data structures.=0A= */=0A= s =3D splsoftcam();=0A= error =3D cam_periph_lock(periph, PRIBIO|PCATCH);=0A= if (error !=3D 0) {=0A= splx(s);=0A= return (error);=0A= }=0A= didlockperiph =3D 1;=0A= break;=0A= =0A= default:=0A= return (EINVAL);=0A= }=0A= }=0A= =0A= /*=0A= * Find the device that the user is talking about=0A= */=0A= switch (cmd) {=0A= case MTIOCGET:=0A= {=0A= struct mtget *g =3D (struct mtget *)arg;=0A= =0A= /*=0A= * If this isn't the control mode device, actually go out=0A= * and ask the drive again what it's set to.=0A= */=0A= if (!SA_IS_CTRL(dev)) {=0A= u_int8_t write_protect;=0A= int comp_enabled, comp_supported;=0A= error =3D sagetparams(periph, SA_PARAM_ALL,=0A= &softc->media_blksize, &softc->media_density,=0A= &softc->media_numblks, &softc->buffer_mode,=0A= &write_protect, &softc->speed, &comp_supported,=0A= &comp_enabled, &softc->comp_algorithm, NULL);=0A= if (error)=0A= break;=0A= if (write_protect)=0A= softc->flags |=3D SA_FLAG_TAPE_WP;=0A= else=0A= softc->flags &=3D ~SA_FLAG_TAPE_WP;=0A= softc->flags &=3D ~(SA_FLAG_COMP_SUPP|=0A= SA_FLAG_COMP_ENABLED|SA_FLAG_COMP_UNSUPP);=0A= if (comp_supported) {=0A= if (softc->saved_comp_algorithm =3D=3D 0)=0A= softc->saved_comp_algorithm =3D=0A= softc->comp_algorithm;=0A= softc->flags |=3D SA_FLAG_COMP_SUPP;=0A= if (comp_enabled)=0A= softc->flags |=3D SA_FLAG_COMP_ENABLED;=0A= } else =0A= softc->flags |=3D SA_FLAG_COMP_UNSUPP;=0A= }=0A= bzero(g, sizeof(struct mtget));=0A= g->mt_type =3D MT_ISAR;=0A= if (softc->flags & SA_FLAG_COMP_UNSUPP) {=0A= g->mt_comp =3D MT_COMP_UNSUPP;=0A= g->mt_comp0 =3D MT_COMP_UNSUPP;=0A= g->mt_comp1 =3D MT_COMP_UNSUPP;=0A= g->mt_comp2 =3D MT_COMP_UNSUPP;=0A= g->mt_comp3 =3D MT_COMP_UNSUPP;=0A= } else {=0A= if ((softc->flags & SA_FLAG_COMP_ENABLED) =3D=3D 0) {=0A= g->mt_comp =3D MT_COMP_DISABLED;=0A= } else {=0A= g->mt_comp =3D softc->comp_algorithm;=0A= }=0A= g->mt_comp0 =3D softc->comp_algorithm;=0A= g->mt_comp1 =3D softc->comp_algorithm;=0A= g->mt_comp2 =3D softc->comp_algorithm;=0A= g->mt_comp3 =3D softc->comp_algorithm;=0A= }=0A= g->mt_density =3D softc->media_density;=0A= g->mt_density0 =3D softc->media_density;=0A= g->mt_density1 =3D softc->media_density;=0A= g->mt_density2 =3D softc->media_density;=0A= g->mt_density3 =3D softc->media_density;=0A= g->mt_blksiz =3D softc->media_blksize;=0A= g->mt_blksiz0 =3D softc->media_blksize;=0A= g->mt_blksiz1 =3D softc->media_blksize;=0A= g->mt_blksiz2 =3D softc->media_blksize;=0A= g->mt_blksiz3 =3D softc->media_blksize;=0A= g->mt_fileno =3D softc->fileno;=0A= g->mt_blkno =3D softc->blkno;=0A= g->mt_dsreg =3D (short) softc->dsreg;=0A= /*=0A= * Yes, we know that this is likely to overflow=0A= */=0A= if (softc->last_resid_was_io) {=0A= if ((g->mt_resid =3D (short) softc->last_io_resid) !=3D 0) {=0A= if (SA_IS_CTRL(dev) =3D=3D 0 || didlockperiph) {=0A= softc->last_io_resid =3D 0;=0A= }=0A= }=0A= } else {=0A= if ((g->mt_resid =3D (short)softc->last_ctl_resid) !=3D 0) {=0A= if (SA_IS_CTRL(dev) =3D=3D 0 || didlockperiph) {=0A= softc->last_ctl_resid =3D 0;=0A= }=0A= }=0A= }=0A= error =3D 0;=0A= break;=0A= }=0A= case MTIOCERRSTAT:=0A= {=0A= struct scsi_tape_errors *sep =3D=0A= &((union mterrstat *)arg)->scsi_errstat;=0A= =0A= CAM_DEBUG(periph->path, CAM_DEBUG_TRACE,=0A= ("saioctl: MTIOCERRSTAT\n"));=0A= =0A= bzero(sep, sizeof(*sep));=0A= sep->io_resid =3D softc->last_io_resid;=0A= bcopy((caddr_t) &softc->last_io_sense, sep->io_sense,=0A= sizeof (sep->io_sense));=0A= bcopy((caddr_t) &softc->last_io_cdb, sep->io_cdb,=0A= sizeof (sep->io_cdb));=0A= sep->ctl_resid =3D softc->last_ctl_resid;=0A= bcopy((caddr_t) &softc->last_ctl_sense, sep->ctl_sense,=0A= sizeof (sep->ctl_sense));=0A= bcopy((caddr_t) &softc->last_ctl_cdb, sep->ctl_cdb,=0A= sizeof (sep->ctl_cdb));=0A= =0A= if (SA_IS_CTRL(dev) =3D=3D 0 || didlockperiph)=0A= bzero((caddr_t) &softc->errinfo,=0A= sizeof (softc->errinfo));=0A= error =3D 0;=0A= break;=0A= }=0A= case MTIOCTOP:=0A= {=0A= struct mtop *mt;=0A= int count;=0A= =0A= mt =3D (struct mtop *)arg;=0A= =0A= CAM_DEBUG(periph->path, CAM_DEBUG_TRACE,=0A= ("saioctl: op=3D0x%x count=3D0x%x\n",=0A= mt->mt_op, mt->mt_count));=0A= =0A= count =3D mt->mt_count;=0A= switch (mt->mt_op) {=0A= case MTWEOF: /* write an end-of-file marker */=0A= /*=0A= * We don't need to clear the SA_FLAG_TAPE_WRITTEN=0A= * flag because by keeping track of filemarks=0A= * we have last written we know ehether or not=0A= * we need to write more when we close the device.=0A= */=0A= error =3D sawritefilemarks(periph, count, FALSE);=0A= break;=0A= case MTWSS: /* write a setmark */=0A= error =3D sawritefilemarks(periph, count, TRUE);=0A= break;=0A= case MTBSR: /* backward space record */=0A= case MTFSR: /* forward space record */=0A= case MTBSF: /* backward space file */=0A= case MTFSF: /* forward space file */=0A= case MTBSS: /* backward space setmark */=0A= case MTFSS: /* forward space setmark */=0A= case MTEOD: /* space to end of recorded medium */=0A= {=0A= int nmarks;=0A= =0A= spaceop =3D SS_FILEMARKS;=0A= nmarks =3D softc->filemarks;=0A= error =3D sacheckeod(periph);=0A= if (error) {=0A= xpt_print_path(periph->path);=0A= printf("EOD check prior to spacing failed\n");=0A= softc->flags |=3D SA_FLAG_EIO_PENDING;=0A= break;=0A= }=0A= nmarks -=3D softc->filemarks;=0A= switch(mt->mt_op) {=0A= case MTBSR:=0A= count =3D -count;=0A= /* FALLTHROUGH */=0A= case MTFSR:=0A= spaceop =3D SS_BLOCKS;=0A= break;=0A= case MTBSF:=0A= count =3D -count;=0A= /* FALLTHROUGH */=0A= case MTFSF:=0A= break;=0A= case MTBSS:=0A= count =3D -count;=0A= /* FALLTHROUGH */=0A= case MTFSS:=0A= spaceop =3D SS_SETMARKS;=0A= break;=0A= case MTEOD:=0A= spaceop =3D SS_EOD;=0A= count =3D 0;=0A= nmarks =3D 0;=0A= break;=0A= default:=0A= error =3D EINVAL;=0A= break;=0A= }=0A= if (error)=0A= break;=0A= =0A= nmarks =3D softc->filemarks;=0A= /*=0A= * XXX: Why are we checking again?=0A= */=0A= error =3D sacheckeod(periph);=0A= if (error)=0A= break;=0A= nmarks -=3D softc->filemarks;=0A= error =3D saspace(periph, count - nmarks, spaceop);=0A= /*=0A= * At this point, clear that we've written the tape=0A= * and that we've written any filemarks. We really=0A= * don't know what the applications wishes to do next-=0A= * the sacheckeod's will make sure we terminated the=0A= * tape correctly if we'd been writing, but the next=0A= * action the user application takes will set again=0A= * whether we need to write filemarks.=0A= */=0A= softc->flags &=3D=0A= ~(SA_FLAG_TAPE_WRITTEN|SA_FLAG_TAPE_FROZEN);=0A= softc->filemarks =3D 0;=0A= break;=0A= }=0A= case MTREW: /* rewind */=0A= (void) sacheckeod(periph);=0A= error =3D sarewind(periph);=0A= /* see above */=0A= softc->flags &=3D=0A= ~(SA_FLAG_TAPE_WRITTEN|SA_FLAG_TAPE_FROZEN);=0A= softc->flags &=3D ~SA_FLAG_ERR_PENDING;=0A= softc->filemarks =3D 0;=0A= break;=0A= case MTERASE: /* erase */=0A= error =3D saerase(periph, count);=0A= softc->flags &=3D=0A= ~(SA_FLAG_TAPE_WRITTEN|SA_FLAG_TAPE_FROZEN);=0A= softc->flags &=3D ~SA_FLAG_ERR_PENDING;=0A= break;=0A= case MTRETENS: /* re-tension tape */=0A= error =3D saretension(periph); =0A= softc->flags &=3D=0A= ~(SA_FLAG_TAPE_WRITTEN|SA_FLAG_TAPE_FROZEN);=0A= softc->flags &=3D ~SA_FLAG_ERR_PENDING;=0A= break;=0A= case MTOFFL: /* rewind and put the drive offline */=0A= =0A= (void) sacheckeod(periph);=0A= /* see above */=0A= softc->flags &=3D ~SA_FLAG_TAPE_WRITTEN;=0A= softc->filemarks =3D 0;=0A= =0A= error =3D sarewind(periph);=0A= /* clear the frozen flag anyway */=0A= softc->flags &=3D ~SA_FLAG_TAPE_FROZEN;=0A= =0A= /*=0A= * Be sure to allow media removal before ejecting.=0A= */=0A= =0A= saprevent(periph, PR_ALLOW);=0A= if (error =3D=3D 0) {=0A= error =3D saloadunload(periph, FALSE);=0A= if (error =3D=3D 0) {=0A= softc->flags &=3D ~SA_FLAG_TAPE_MOUNTED;=0A= }=0A= }=0A= break;=0A= =0A= case MTNOP: /* no operation, sets status only */=0A= case MTCACHE: /* enable controller cache */=0A= case MTNOCACHE: /* disable controller cache */=0A= error =3D 0;=0A= break;=0A= =0A= case MTSETBSIZ: /* Set block size for device */=0A= =0A= error =3D sasetparams(periph, SA_PARAM_BLOCKSIZE, count,=0A= 0, 0, 0);=0A= if (error =3D=3D 0) {=0A= softc->last_media_blksize =3D=0A= softc->media_blksize;=0A= softc->media_blksize =3D count;=0A= if (count) {=0A= softc->flags |=3D SA_FLAG_FIXED;=0A= if (powerof2(count)) {=0A= softc->blk_shift =3D=0A= ffs(count) - 1;=0A= softc->blk_mask =3D count - 1;=0A= } else {=0A= softc->blk_mask =3D ~0;=0A= softc->blk_shift =3D 0;=0A= }=0A= /*=0A= * Make the user's desire 'persistent'.=0A= */=0A= softc->quirks &=3D ~SA_QUIRK_VARIABLE;=0A= softc->quirks |=3D SA_QUIRK_FIXED;=0A= } else {=0A= softc->flags &=3D ~SA_FLAG_FIXED;=0A= if (softc->max_blk =3D=3D 0) {=0A= softc->max_blk =3D ~0;=0A= }=0A= softc->blk_shift =3D 0;=0A= if (softc->blk_gran !=3D 0) {=0A= softc->blk_mask =3D=0A= softc->blk_gran - 1;=0A= } else {=0A= softc->blk_mask =3D 0;=0A= }=0A= /*=0A= * Make the user's desire 'persistent'.=0A= */=0A= softc->quirks |=3D SA_QUIRK_VARIABLE;=0A= softc->quirks &=3D ~SA_QUIRK_FIXED;=0A= }=0A= }=0A= break;=0A= case MTSETDNSTY: /* Set density for device and mode */=0A= if (count > UCHAR_MAX) {=0A= error =3D EINVAL; =0A= break;=0A= } else {=0A= error =3D sasetparams(periph, SA_PARAM_DENSITY,=0A= 0, count, 0, 0);=0A= }=0A= break;=0A= case MTCOMP: /* enable compression */=0A= /*=0A= * Some devices don't support compression, and=0A= * don't like it if you ask them for the=0A= * compression page.=0A= */=0A= if ((softc->quirks & SA_QUIRK_NOCOMP) ||=0A= (softc->flags & SA_FLAG_COMP_UNSUPP)) {=0A= error =3D ENODEV;=0A= break;=0A= }=0A= error =3D sasetparams(periph, SA_PARAM_COMPRESSION,=0A= 0, 0, count, SF_NO_PRINT);=0A= break;=0A= default:=0A= error =3D EINVAL;=0A= }=0A= break;=0A= }=0A= case MTIOCIEOT:=0A= case MTIOCEEOT:=0A= error =3D 0;=0A= break;=0A= case MTIOCRDSPOS:=0A= error =3D sardpos(periph, 0, (u_int32_t *) arg);=0A= break;=0A= case MTIOCRDHPOS:=0A= error =3D sardpos(periph, 1, (u_int32_t *) arg);=0A= break;=0A= case MTIOCSLOCATE:=0A= error =3D sasetpos(periph, 0, (u_int32_t *) arg);=0A= break;=0A= case MTIOCHLOCATE:=0A= error =3D sasetpos(periph, 1, (u_int32_t *) arg);=0A= break;=0A= case MTIOCGETEOTMODEL:=0A= error =3D 0;=0A= if (softc->quirks & SA_QUIRK_1FM)=0A= mode =3D 1;=0A= else=0A= mode =3D 2;=0A= *((u_int32_t *) arg) =3D mode;=0A= break;=0A= case MTIOCSETEOTMODEL:=0A= error =3D 0;=0A= switch (*((u_int32_t *) arg)) {=0A= case 1:=0A= softc->quirks &=3D ~SA_QUIRK_2FM;=0A= softc->quirks |=3D SA_QUIRK_1FM;=0A= break;=0A= case 2:=0A= softc->quirks &=3D ~SA_QUIRK_1FM;=0A= softc->quirks |=3D SA_QUIRK_2FM;=0A= break;=0A= default:=0A= error =3D EINVAL;=0A= break;=0A= }=0A= break;=0A= default:=0A= error =3D cam_periph_ioctl(periph, cmd, arg, saerror);=0A= break;=0A= }=0A= =0A= /*=0A= * Check to see if we cleared a frozen state=0A= */=0A= if (error =3D=3D 0 && (softc->flags & SA_FLAG_TAPE_FROZEN)) {=0A= switch(cmd) {=0A= case MTIOCRDSPOS:=0A= case MTIOCRDHPOS:=0A= case MTIOCSLOCATE:=0A= case MTIOCHLOCATE:=0A= softc->fileno =3D (daddr_t) -1;=0A= softc->blkno =3D (daddr_t) -1;=0A= softc->flags &=3D ~SA_FLAG_TAPE_FROZEN;=0A= xpt_print_path(periph->path);=0A= printf("tape state now unfrozen.\n");=0A= break;=0A= default:=0A= break;=0A= }=0A= }=0A= if (didlockperiph) {=0A= cam_periph_unlock(periph);=0A= }=0A= return (error);=0A= }=0A= =0A= static void=0A= sainit(void)=0A= {=0A= cam_status status;=0A= struct cam_path *path;=0A= =0A= /*=0A= * Install a global async callback.=0A= */=0A= status =3D xpt_create_path(&path, NULL, CAM_XPT_PATH_ID,=0A= CAM_TARGET_WILDCARD, CAM_LUN_WILDCARD);=0A= =0A= if (status =3D=3D CAM_REQ_CMP) {=0A= /* Register the async callbacks of interrest */=0A= struct ccb_setasync csa; /*=0A= * This is an immediate CCB,=0A= * so using the stack is OK=0A= */=0A= xpt_setup_ccb(&csa.ccb_h, path, 5);=0A= csa.ccb_h.func_code =3D XPT_SASYNC_CB;=0A= csa.event_enable =3D AC_FOUND_DEVICE;=0A= csa.callback =3D saasync;=0A= csa.callback_arg =3D NULL;=0A= xpt_action((union ccb *)&csa);=0A= status =3D csa.ccb_h.status;=0A= xpt_free_path(path);=0A= }=0A= =0A= if (status !=3D CAM_REQ_CMP) {=0A= printf("sa: Failed to attach master async callback "=0A= "due to status 0x%x!\n", status);=0A= }=0A= }=0A= =0A= static void=0A= saoninvalidate(struct cam_periph *periph)=0A= {=0A= struct sa_softc *softc;=0A= struct ccb_setasync csa;=0A= int s;=0A= =0A= softc =3D (struct sa_softc *)periph->softc;=0A= =0A= /*=0A= * De-register any async callbacks.=0A= */=0A= xpt_setup_ccb(&csa.ccb_h, periph->path,=0A= /* priority */ 5);=0A= csa.ccb_h.func_code =3D XPT_SASYNC_CB;=0A= csa.event_enable =3D 0;=0A= csa.callback =3D saasync;=0A= csa.callback_arg =3D periph;=0A= xpt_action((union ccb *)&csa);=0A= =0A= softc->flags |=3D SA_FLAG_INVALID;=0A= =0A= /*=0A= * Although the oninvalidate() routines are always called at=0A= * splsoftcam, we need to be at splbio() here to keep the buffer=0A= * queue from being modified while we traverse it.=0A= */=0A= s =3D splbio();=0A= =0A= /*=0A= * Return all queued I/O with ENXIO.=0A= * XXX Handle any transactions queued to the card=0A= * with XPT_ABORT_CCB.=0A= */=0A= bioq_flush(&softc->bio_queue, NULL, ENXIO);=0A= softc->queue_count =3D 0;=0A= splx(s);=0A= =0A= xpt_print_path(periph->path);=0A= printf("lost device\n");=0A= =0A= }=0A= =0A= static void=0A= sacleanup(struct cam_periph *periph)=0A= {=0A= struct sa_softc *softc;=0A= int i;=0A= =0A= softc =3D (struct sa_softc *)periph->softc;=0A= =0A= devstat_remove_entry(softc->device_stats);=0A= =0A= destroy_dev(softc->devs.ctl_dev);=0A= =0A= for (i =3D 0; i < SA_NUM_MODES; i++) {=0A= destroy_dev(softc->devs.mode_devs[i].r_dev);=0A= destroy_dev(softc->devs.mode_devs[i].nr_dev);=0A= destroy_dev(softc->devs.mode_devs[i].er_dev);=0A= }=0A= =0A= xpt_print_path(periph->path);=0A= printf("removing device entry\n");=0A= free(softc, M_DEVBUF);=0A= }=0A= =0A= static void=0A= saasync(void *callback_arg, u_int32_t code,=0A= struct cam_path *path, void *arg)=0A= {=0A= struct cam_periph *periph;=0A= =0A= periph =3D (struct cam_periph *)callback_arg;=0A= switch (code) {=0A= case AC_FOUND_DEVICE:=0A= {=0A= struct ccb_getdev *cgd;=0A= cam_status status;=0A= =0A= cgd =3D (struct ccb_getdev *)arg;=0A= if (cgd =3D=3D NULL)=0A= break;=0A= =0A= if (SID_TYPE(&cgd->inq_data) !=3D T_SEQUENTIAL)=0A= break;=0A= =0A= /*=0A= * Allocate a peripheral instance for=0A= * this device and start the probe=0A= * process.=0A= */=0A= status =3D cam_periph_alloc(saregister, saoninvalidate,=0A= sacleanup, sastart,=0A= "sa", CAM_PERIPH_BIO, cgd->ccb_h.path,=0A= saasync, AC_FOUND_DEVICE, cgd);=0A= =0A= if (status !=3D CAM_REQ_CMP=0A= && status !=3D CAM_REQ_INPROG)=0A= printf("saasync: Unable to probe new device "=0A= "due to status 0x%x\n", status);=0A= break;=0A= }=0A= default:=0A= cam_periph_async(periph, code, path, arg);=0A= break;=0A= }=0A= }=0A= =0A= static cam_status=0A= saregister(struct cam_periph *periph, void *arg)=0A= {=0A= struct sa_softc *softc;=0A= struct ccb_setasync csa;=0A= struct ccb_getdev *cgd;=0A= caddr_t match;=0A= int i;=0A= =0A= cgd =3D (struct ccb_getdev *)arg;=0A= if (periph =3D=3D NULL) {=0A= printf("saregister: periph was NULL!!\n");=0A= return (CAM_REQ_CMP_ERR);=0A= }=0A= =0A= if (cgd =3D=3D NULL) {=0A= printf("saregister: no getdev CCB, can't register device\n");=0A= return (CAM_REQ_CMP_ERR);=0A= }=0A= =0A= softc =3D (struct sa_softc *)=0A= malloc(sizeof (*softc), M_DEVBUF, M_NOWAIT | M_ZERO);=0A= if (softc =3D=3D NULL) {=0A= printf("saregister: Unable to probe new device. "=0A= "Unable to allocate softc\n"); =0A= return (CAM_REQ_CMP_ERR);=0A= }=0A= softc->scsi_rev =3D SID_ANSI_REV(&cgd->inq_data);=0A= softc->state =3D SA_STATE_NORMAL;=0A= softc->fileno =3D (daddr_t) -1;=0A= softc->blkno =3D (daddr_t) -1;=0A= =0A= bioq_init(&softc->bio_queue);=0A= periph->softc =3D softc;=0A= =0A= /*=0A= * See if this device has any quirks.=0A= */=0A= match =3D cam_quirkmatch((caddr_t)&cgd->inq_data,=0A= (caddr_t)sa_quirk_table,=0A= sizeof(sa_quirk_table)/sizeof(*sa_quirk_table),=0A= sizeof(*sa_quirk_table), scsi_inquiry_match);=0A= =0A= if (match !=3D NULL) {=0A= softc->quirks =3D ((struct sa_quirk_entry *)match)->quirks;=0A= softc->last_media_blksize =3D=0A= ((struct sa_quirk_entry *)match)->prefblk;=0A= #ifdef CAMDEBUG=0A= xpt_print_path(periph->path);=0A= printf("found quirk entry %d\n", (int)=0A= (((struct sa_quirk_entry *) match) - sa_quirk_table));=0A= #endif=0A= } else=0A= softc->quirks =3D SA_QUIRK_NONE;=0A= =0A= /*=0A= * The SA driver supports a blocksize, but we don't know the=0A= * blocksize until we media is inserted. So, set a flag to=0A= * indicate that the blocksize is unavailable right now.=0A= */=0A= softc->device_stats =3D devstat_new_entry("sa", periph->unit_number, 0,=0A= DEVSTAT_BS_UNAVAILABLE, SID_TYPE(&cgd->inq_data) |=0A= DEVSTAT_TYPE_IF_SCSI, DEVSTAT_PRIORITY_TAPE);=0A= =0A= softc->devs.ctl_dev =3D make_dev(&sa_cdevsw, SAMINOR(SA_CTLDEV,=0A= periph->unit_number, 0, SA_ATYPE_R), UID_ROOT, GID_OPERATOR,=0A= 0660, "%s%d.ctl", periph->periph_name, periph->unit_number);=0A= softc->devs.ctl_dev->si_drv1 =3D periph;=0A= =0A= for (i =3D 0; i < SA_NUM_MODES; i++) {=0A= =0A= softc->devs.mode_devs[i].r_dev =3D make_dev(&sa_cdevsw,=0A= SAMINOR(SA_NOT_CTLDEV, periph->unit_number, i, SA_ATYPE_R),=0A= UID_ROOT, GID_OPERATOR, 0660, "%s%d.%d",=0A= periph->periph_name, periph->unit_number, i);=0A= softc->devs.mode_devs[i].r_dev->si_drv1 =3D periph;=0A= =0A= softc->devs.mode_devs[i].nr_dev =3D make_dev(&sa_cdevsw,=0A= SAMINOR(SA_NOT_CTLDEV, periph->unit_number, i, SA_ATYPE_NR),=0A= UID_ROOT, GID_OPERATOR, 0660, "n%s%d.%d",=0A= periph->periph_name, periph->unit_number, i);=0A= softc->devs.mode_devs[i].nr_dev->si_drv1 =3D periph;=0A= =0A= softc->devs.mode_devs[i].er_dev =3D make_dev(&sa_cdevsw,=0A= SAMINOR(SA_NOT_CTLDEV, periph->unit_number, i, SA_ATYPE_ER),=0A= UID_ROOT, GID_OPERATOR, 0660, "e%s%d.%d",=0A= periph->periph_name, periph->unit_number, i);=0A= softc->devs.mode_devs[i].er_dev->si_drv1 =3D periph;=0A= =0A= /*=0A= * Make the (well known) aliases for the first mode.=0A= */=0A= if (i =3D=3D 0) {=0A= struct cdev *alias;=0A= =0A= alias =3D make_dev_alias(softc->devs.mode_devs[i].r_dev,=0A= "%s%d", periph->periph_name, periph->unit_number);=0A= alias->si_drv1 =3D periph;=0A= alias =3D make_dev_alias(softc->devs.mode_devs[i].nr_dev,=0A= "n%s%d", periph->periph_name, periph->unit_number);=0A= alias->si_drv1 =3D periph;=0A= alias =3D make_dev_alias(softc->devs.mode_devs[i].er_dev,=0A= "e%s%d", periph->periph_name, periph->unit_number);=0A= alias->si_drv1 =3D periph;=0A= }=0A= }=0A= =0A= /*=0A= * Add an async callback so that we get=0A= * notified if this device goes away.=0A= */=0A= xpt_setup_ccb(&csa.ccb_h, periph->path, /* priority */ 5);=0A= csa.ccb_h.func_code =3D XPT_SASYNC_CB;=0A= csa.event_enable =3D AC_LOST_DEVICE;=0A= csa.callback =3D saasync;=0A= csa.callback_arg =3D periph;=0A= xpt_action((union ccb *)&csa);=0A= =0A= xpt_announce_periph(periph, NULL);=0A= =0A= return (CAM_REQ_CMP);=0A= }=0A= =0A= static void=0A= sastart(struct cam_periph *periph, union ccb *start_ccb)=0A= {=0A= struct sa_softc *softc;=0A= =0A= softc =3D (struct sa_softc *)periph->softc;=0A= =0A= CAM_DEBUG(periph->path, CAM_DEBUG_TRACE, ("sastart\n"));=0A= =0A= =0A= switch (softc->state) {=0A= case SA_STATE_NORMAL:=0A= {=0A= /* Pull a buffer from the queue and get going on it */ =0A= struct bio *bp;=0A= int s;=0A= =0A= /*=0A= * See if there is a buf with work for us to do..=0A= */=0A= s =3D splbio();=0A= bp =3D bioq_first(&softc->bio_queue);=0A= if (periph->immediate_priority <=3D periph->pinfo.priority) {=0A= CAM_DEBUG_PRINT(CAM_DEBUG_SUBTRACE,=0A= ("queuing for immediate ccb\n"));=0A= Set_CCB_Type(start_ccb, SA_CCB_WAITING);=0A= SLIST_INSERT_HEAD(&periph->ccb_list, &start_ccb->ccb_h,=0A= periph_links.sle);=0A= periph->immediate_priority =3D CAM_PRIORITY_NONE;=0A= splx(s);=0A= wakeup(&periph->ccb_list);=0A= } else if (bp =3D=3D NULL) {=0A= splx(s);=0A= xpt_release_ccb(start_ccb);=0A= } else if ((softc->flags & SA_FLAG_ERR_PENDING) !=3D 0) {=0A= struct bio *done_bp;=0A= again:=0A= softc->queue_count--;=0A= bioq_remove(&softc->bio_queue, bp);=0A= bp->bio_resid =3D bp->bio_bcount;=0A= done_bp =3D bp;=0A= if ((softc->flags & SA_FLAG_EOM_PENDING) !=3D 0) {=0A= /*=0A= * We now just clear errors in this case=0A= * and let the residual be the notifier.=0A= */=0A= bp->bio_error =3D 0;=0A= } else if ((softc->flags & SA_FLAG_EOF_PENDING) !=3D 0) {=0A= /*=0A= * This can only happen if we're reading=0A= * in fixed length mode. In this case,=0A= * we dump the rest of the list the=0A= * same way.=0A= */=0A= bp->bio_error =3D 0;=0A= if (bioq_first(&softc->bio_queue) !=3D NULL) {=0A= biodone(done_bp);=0A= goto again;=0A= }=0A= } else if ((softc->flags & SA_FLAG_EIO_PENDING) !=3D 0) {=0A= bp->bio_error =3D EIO;=0A= bp->bio_flags |=3D BIO_ERROR;=0A= }=0A= bp =3D bioq_first(&softc->bio_queue);=0A= /*=0A= * Only if we have no other buffers queued up=0A= * do we clear the pending error flag.=0A= */=0A= if (bp =3D=3D NULL)=0A= softc->flags &=3D ~SA_FLAG_ERR_PENDING;=0A= CAM_DEBUG(periph->path, CAM_DEBUG_INFO,=0A= ("sastart- ERR_PENDING now 0x%x, bp is %sNULL, "=0A= "%d more buffers queued up\n",=0A= (softc->flags & SA_FLAG_ERR_PENDING),=0A= (bp !=3D NULL)? "not " : " ", softc->queue_count));=0A= splx(s);=0A= xpt_release_ccb(start_ccb);=0A= biodone(done_bp);=0A= } else {=0A= u_int32_t length;=0A= =0A= bioq_remove(&softc->bio_queue, bp);=0A= softc->queue_count--;=0A= =0A= if ((softc->flags & SA_FLAG_FIXED) !=3D 0) {=0A= if (softc->blk_shift !=3D 0) {=0A= length =3D=0A= bp->bio_bcount >> softc->blk_shift;=0A= } else if (softc->media_blksize !=3D 0) {=0A= length =3D bp->bio_bcount /=0A= softc->media_blksize;=0A= } else {=0A= bp->bio_error =3D EIO;=0A= xpt_print_path(periph->path);=0A= printf("zero blocksize for "=0A= "FIXED length writes?\n");=0A= splx(s);=0A= biodone(bp);=0A= break;=0A= }=0A= #if 0=0A= CAM_DEBUG(start_ccb->ccb_h.path, CAM_DEBUG_INFO,=0A= ("issuing a %d fixed record %s\n",=0A= length, (bp->bio_cmd =3D=3D BIO_READ)? "read" :=0A= "write"));=0A= #endif=0A= } else {=0A= length =3D bp->bio_bcount;=0A= #if 0=0A= CAM_DEBUG(start_ccb->ccb_h.path, CAM_DEBUG_INFO,=0A= ("issuing a %d variable byte %s\n",=0A= length, (bp->bio_cmd =3D=3D BIO_READ)? "read" :=0A= "write"));=0A= #endif=0A= }=0A= devstat_start_transaction_bio(softc->device_stats, bp);=0A= /*=0A= * Some people have theorized that we should=0A= * suppress illegal length indication if we are=0A= * running in variable block mode so that we don't=0A= * have to request sense every time our requested=0A= * block size is larger than the written block.=0A= * The residual information from the ccb allows=0A= * us to identify this situation anyway. The only=0A= * problem with this is that we will not get=0A= * information about blocks that are larger than=0A= * our read buffer unless we set the block size=0A= * in the mode page to something other than 0.=0A= *=0A= * I believe that this is a non-issue. If user apps=0A= * don't adjust their read size to match our record=0A= * size, that's just life. Anyway, the typical usage=0A= * would be to issue, e.g., 64KB reads and occasionally=0A= * have to do deal with 512 byte or 1KB intermediate=0A= * records.=0A= */=0A= softc->dsreg =3D (bp->bio_cmd =3D=3D BIO_READ)?=0A= MTIO_DSREG_RD : MTIO_DSREG_WR;=0A= scsi_sa_read_write(&start_ccb->csio, 0, sadone,=0A= MSG_SIMPLE_Q_TAG, (bp->bio_cmd =3D=3D BIO_READ),=0A= FALSE, (softc->flags & SA_FLAG_FIXED) !=3D 0,=0A= length, bp->bio_data, bp->bio_bcount, SSD_FULL_SIZE,=0A= IO_TIMEOUT);=0A= start_ccb->ccb_h.ccb_pflags &=3D ~SA_POSITION_UPDATED;=0A= Set_CCB_Type(start_ccb, SA_CCB_BUFFER_IO);=0A= start_ccb->ccb_h.ccb_bp =3D bp;=0A= bp =3D bioq_first(&softc->bio_queue);=0A= splx(s);=0A= xpt_action(start_ccb);=0A= }=0A= =0A= if (bp !=3D NULL) {=0A= /* Have more work to do, so ensure we stay scheduled */=0A= xpt_schedule(periph, 1);=0A= }=0A= break;=0A= }=0A= case SA_STATE_ABNORMAL:=0A= default:=0A= panic("state 0x%x in sastart", softc->state);=0A= break;=0A= }=0A= }=0A= =0A= =0A= static void=0A= sadone(struct cam_periph *periph, union ccb *done_ccb)=0A= {=0A= struct sa_softc *softc;=0A= struct ccb_scsiio *csio;=0A= =0A= softc =3D (struct sa_softc *)periph->softc;=0A= csio =3D &done_ccb->csio;=0A= switch (CCB_Type(csio)) {=0A= case SA_CCB_BUFFER_IO:=0A= {=0A= struct bio *bp;=0A= int error;=0A= =0A= softc->dsreg =3D MTIO_DSREG_REST;=0A= bp =3D (struct bio *)done_ccb->ccb_h.ccb_bp;=0A= error =3D 0;=0A= if ((done_ccb->ccb_h.status & CAM_STATUS_MASK) !=3D CAM_REQ_CMP) {=0A= if ((error =3D saerror(done_ccb, 0, 0)) =3D=3D ERESTART) {=0A= /*=0A= * A retry was scheduled, so just return.=0A= */=0A= return;=0A= }=0A= }=0A= =0A= if (error =3D=3D EIO) {=0A= int s; =0A= =0A= /*=0A= * Catastrophic error. Mark the tape as frozen=0A= * (we no longer know tape position).=0A= *=0A= * Return all queued I/O with EIO, and unfreeze=0A= * our queue so that future transactions that=0A= * attempt to fix this problem can get to the=0A= * device.=0A= *=0A= */=0A= =0A= s =3D splbio();=0A= softc->flags |=3D SA_FLAG_TAPE_FROZEN;=0A= bioq_flush(&softc->bio_queue, NULL, EIO);=0A= splx(s);=0A= }=0A= if (error !=3D 0) {=0A= bp->bio_resid =3D bp->bio_bcount;=0A= bp->bio_error =3D error;=0A= bp->bio_flags |=3D BIO_ERROR;=0A= /*=0A= * In the error case, position is updated in saerror.=0A= */=0A= } else {=0A= bp->bio_resid =3D csio->resid;=0A= bp->bio_error =3D 0;=0A= if (csio->resid !=3D 0) {=0A= bp->bio_flags |=3D BIO_ERROR;=0A= }=0A= if (bp->bio_cmd =3D=3D BIO_WRITE) {=0A= softc->flags |=3D SA_FLAG_TAPE_WRITTEN;=0A= softc->filemarks =3D 0;=0A= }=0A= if (!(csio->ccb_h.ccb_pflags & SA_POSITION_UPDATED) &&=0A= (softc->blkno !=3D (daddr_t) -1)) {=0A= if ((softc->flags & SA_FLAG_FIXED) !=3D 0) {=0A= u_int32_t l;=0A= if (softc->blk_shift !=3D 0) {=0A= l =3D bp->bio_bcount >>=0A= softc->blk_shift;=0A= } else {=0A= l =3D bp->bio_bcount /=0A= softc->media_blksize;=0A= }=0A= softc->blkno +=3D (daddr_t) l;=0A= } else {=0A= softc->blkno++;=0A= }=0A= }=0A= }=0A= /*=0A= * If we had an error (immediate or pending),=0A= * release the device queue now.=0A= */=0A= if (error || (softc->flags & SA_FLAG_ERR_PENDING))=0A= cam_release_devq(done_ccb->ccb_h.path, 0, 0, 0, 0);=0A= #ifdef CAMDEBUG=0A= if (error || bp->bio_resid) {=0A= CAM_DEBUG(periph->path, CAM_DEBUG_INFO,=0A= ("error %d resid %ld count %ld\n", error,=0A= bp->bio_resid, bp->bio_bcount));=0A= }=0A= #endif=0A= biofinish(bp, softc->device_stats, 0);=0A= break;=0A= }=0A= case SA_CCB_WAITING:=0A= {=0A= /* Caller will release the CCB */=0A= wakeup(&done_ccb->ccb_h.cbfcnp);=0A= return;=0A= }=0A= }=0A= xpt_release_ccb(done_ccb);=0A= }=0A= =0A= /*=0A= * Mount the tape (make sure it's ready for I/O).=0A= */=0A= static int=0A= samount(struct cam_periph *periph, int oflags, struct cdev *dev)=0A= {=0A= struct sa_softc *softc;=0A= union ccb *ccb;=0A= int error;=0A= =0A= /*=0A= * oflags can be checked for 'kind' of open (read-only check) - later=0A= * dev can be checked for a control-mode or compression open - later=0A= */=0A= UNUSED_PARAMETER(oflags);=0A= UNUSED_PARAMETER(dev);=0A= =0A= =0A= softc =3D (struct sa_softc *)periph->softc;=0A= =0A= /*=0A= * This should determine if something has happend since the last=0A= * open/mount that would invalidate the mount. We do *not* want=0A= * to retry this command- we just want the status. But we only=0A= * do this if we're mounted already- if we're not mounted,=0A= * we don't care about the unit read state and can instead use=0A= * this opportunity to attempt to reserve the tape unit.=0A= */=0A= =0A= if (softc->flags & SA_FLAG_TAPE_MOUNTED) {=0A= ccb =3D cam_periph_getccb(periph, 1);=0A= scsi_test_unit_ready(&ccb->csio, 0, sadone,=0A= MSG_SIMPLE_Q_TAG, SSD_FULL_SIZE, IO_TIMEOUT);=0A= error =3D cam_periph_runccb(ccb, saerror, 0, SF_NO_PRINT,=0A= softc->device_stats);=0A= QFRLS(ccb);=0A= if (error =3D=3D ENXIO) {=0A= softc->flags &=3D ~SA_FLAG_TAPE_MOUNTED;=0A= scsi_test_unit_ready(&ccb->csio, 0, sadone,=0A= MSG_SIMPLE_Q_TAG, SSD_FULL_SIZE, IO_TIMEOUT);=0A= error =3D cam_periph_runccb(ccb, saerror, 0, SF_NO_PRINT,=0A= softc->device_stats);=0A= QFRLS(ccb);=0A= } else if (error) {=0A= /*=0A= * We don't need to freeze the tape because we=0A= * will now attempt to rewind/load it.=0A= */=0A= softc->flags &=3D ~SA_FLAG_TAPE_MOUNTED;=0A= if (CAM_DEBUGGED(ccb->ccb_h.path, CAM_DEBUG_INFO)) {=0A= xpt_print_path(ccb->ccb_h.path);=0A= printf("error %d on TUR in samount\n", error);=0A= }=0A= }=0A= } else {=0A= error =3D sareservereleaseunit(periph, TRUE);=0A= if (error) {=0A= return (error);=0A= }=0A= ccb =3D cam_periph_getccb(periph, 1);=0A= scsi_test_unit_ready(&ccb->csio, 0, sadone,=0A= MSG_SIMPLE_Q_TAG, SSD_FULL_SIZE, IO_TIMEOUT);=0A= error =3D cam_periph_runccb(ccb, saerror, 0, SF_NO_PRINT,=0A= softc->device_stats);=0A= QFRLS(ccb);=0A= }=0A= =0A= if ((softc->flags & SA_FLAG_TAPE_MOUNTED) =3D=3D 0) {=0A= struct scsi_read_block_limits_data *rblim =3D NULL;=0A= int comp_enabled, comp_supported;=0A= u_int8_t write_protect, guessing =3D 0;=0A= =0A= /*=0A= * Clear out old state.=0A= */=0A= softc->flags &=3D ~(SA_FLAG_TAPE_WP|SA_FLAG_TAPE_WRITTEN|=0A= SA_FLAG_ERR_PENDING|SA_FLAG_COMP_ENABLED|=0A= SA_FLAG_COMP_SUPP|SA_FLAG_COMP_UNSUPP);=0A= softc->filemarks =3D 0;=0A= =0A= /*=0A= * *Very* first off, make sure we're loaded to BOT.=0A= */=0A= scsi_load_unload(&ccb->csio, 2, sadone, MSG_SIMPLE_Q_TAG, FALSE,=0A= FALSE, FALSE, 1, SSD_FULL_SIZE, REWIND_TIMEOUT);=0A= error =3D cam_periph_runccb(ccb, saerror, 0, SF_NO_PRINT,=0A= softc->device_stats);=0A= QFRLS(ccb);=0A= =0A= /*=0A= * In case this doesn't work, do a REWIND instead=0A= */=0A= if (error) {=0A= scsi_rewind(&ccb->csio, 2, sadone, MSG_SIMPLE_Q_TAG,=0A= FALSE, SSD_FULL_SIZE, REWIND_TIMEOUT);=0A= error =3D cam_periph_runccb(ccb, saerror, 0, SF_NO_PRINT,=0A= softc->device_stats);=0A= QFRLS(ccb);=0A= }=0A= if (error) {=0A= xpt_release_ccb(ccb);=0A= goto exit;=0A= }=0A= =0A= /*=0A= * Do a dummy test read to force access to the=0A= * media so that the drive will really know what's=0A= * there. We actually don't really care what the=0A= * blocksize on tape is and don't expect to really=0A= * read a full record.=0A= */=0A= rblim =3D (struct scsi_read_block_limits_data *)=0A= malloc(8192, M_TEMP, M_WAITOK);=0A= if (rblim =3D=3D NULL) {=0A= xpt_print_path(ccb->ccb_h.path);=0A= printf("no memory for test read\n");=0A= xpt_release_ccb(ccb);=0A= error =3D ENOMEM;=0A= goto exit;=0A= }=0A= =0A= if ((softc->quirks & SA_QUIRK_NODREAD) =3D=3D 0) {=0A= scsi_sa_read_write(&ccb->csio, 0, sadone,=0A= MSG_SIMPLE_Q_TAG, 1, FALSE, 0, 8192,=0A= (void *) rblim, 8192, SSD_FULL_SIZE,=0A= IO_TIMEOUT);=0A= (void) cam_periph_runccb(ccb, saerror, 0, SF_NO_PRINT,=0A= softc->device_stats);=0A= QFRLS(ccb);=0A= scsi_rewind(&ccb->csio, 1, sadone, MSG_SIMPLE_Q_TAG,=0A= FALSE, SSD_FULL_SIZE, REWIND_TIMEOUT);=0A= error =3D cam_periph_runccb(ccb, saerror, CAM_RETRY_SELTO,=0A= SF_NO_PRINT | SF_RETRY_UA,=0A= softc->device_stats);=0A= QFRLS(ccb);=0A= if (error) {=0A= xpt_print_path(ccb->ccb_h.path);=0A= printf("unable to rewind after test read\n");=0A= xpt_release_ccb(ccb);=0A= goto exit;=0A= }=0A= }=0A= =0A= /*=0A= * Next off, determine block limits.=0A= */=0A= scsi_read_block_limits(&ccb->csio, 5, sadone, MSG_SIMPLE_Q_TAG,=0A= rblim, SSD_FULL_SIZE, SCSIOP_TIMEOUT);=0A= =0A= error =3D cam_periph_runccb(ccb, saerror, CAM_RETRY_SELTO,=0A= SF_NO_PRINT | SF_RETRY_UA, softc->device_stats);=0A= =0A= QFRLS(ccb);=0A= xpt_release_ccb(ccb);=0A= =0A= if (error !=3D 0) {=0A= /*=0A= * If it's less than SCSI-2, READ BLOCK LIMITS is not=0A= * a MANDATORY command. Anyway- it doesn't matter-=0A= * we can proceed anyway.=0A= */=0A= softc->blk_gran =3D 0;=0A= softc->max_blk =3D ~0;=0A= softc->min_blk =3D 0;=0A= } else {=0A= if (softc->scsi_rev >=3D SCSI_REV_SPC) {=0A= softc->blk_gran =3D RBL_GRAN(rblim);=0A= } else {=0A= softc->blk_gran =3D 0;=0A= }=0A= /*=0A= * We take max_blk =3D=3D min_blk to mean a default to=0A= * fixed mode- but note that whatever we get out of=0A= * sagetparams below will actually determine whether=0A= * we are actually *in* fixed mode.=0A= */=0A= softc->max_blk =3D scsi_3btoul(rblim->maximum);=0A= softc->min_blk =3D scsi_2btoul(rblim->minimum);=0A= =0A= =0A= }=0A= /*=0A= * Next, perform a mode sense to determine=0A= * current density, blocksize, compression etc.=0A= */=0A= error =3D sagetparams(periph, SA_PARAM_ALL,=0A= &softc->media_blksize,=0A= &softc->media_density,=0A= &softc->media_numblks,=0A= &softc->buffer_mode, &write_protect,=0A= &softc->speed, &comp_supported,=0A= &comp_enabled, &softc->comp_algorithm,=0A= NULL);=0A= =0A= if (error !=3D 0) {=0A= /*=0A= * We could work a little harder here. We could=0A= * adjust our attempts to get information. It=0A= * might be an ancient tape drive. If someone=0A= * nudges us, we'll do that.=0A= */=0A= goto exit;=0A= }=0A= =0A= /*=0A= * If no quirk has determined that this is a device that is=0A= * preferred to be in fixed or variable mode, now is the time=0A= * to find out.=0A= */=0A= if ((softc->quirks & (SA_QUIRK_FIXED|SA_QUIRK_VARIABLE)) =3D=3D 0) {=0A= guessing =3D 1;=0A= /*=0A= * This could be expensive to find out. Luckily we=0A= * only need to do this once. If we start out in=0A= * 'default' mode, try and set ourselves to one=0A= * of the densities that would determine a wad=0A= * of other stuff. Go from highest to lowest.=0A= */=0A= if (softc->media_density =3D=3D SCSI_DEFAULT_DENSITY) {=0A= int i;=0A= static u_int8_t ctry[] =3D {=0A= SCSI_DENSITY_HALFINCH_PE,=0A= SCSI_DENSITY_HALFINCH_6250C,=0A= SCSI_DENSITY_HALFINCH_6250,=0A= SCSI_DENSITY_HALFINCH_1600,=0A= SCSI_DENSITY_HALFINCH_800,=0A= SCSI_DENSITY_QIC_4GB,=0A= SCSI_DENSITY_QIC_2GB,=0A= SCSI_DENSITY_QIC_525_320,=0A= SCSI_DENSITY_QIC_150,=0A= SCSI_DENSITY_QIC_120,=0A= SCSI_DENSITY_QIC_24,=0A= SCSI_DENSITY_QIC_11_9TRK,=0A= SCSI_DENSITY_QIC_11_4TRK,=0A= SCSI_DENSITY_QIC_1320,=0A= SCSI_DENSITY_QIC_3080,=0A= 0=0A= };=0A= for (i =3D 0; ctry[i]; i++) {=0A= error =3D sasetparams(periph,=0A= SA_PARAM_DENSITY, 0, ctry[i],=0A= 0, SF_NO_PRINT);=0A= if (error =3D=3D 0) {=0A= softc->media_density =3D ctry[i];=0A= break;=0A= }=0A= }=0A= }=0A= switch (softc->media_density) {=0A= case SCSI_DENSITY_QIC_11_4TRK:=0A= case SCSI_DENSITY_QIC_11_9TRK:=0A= case SCSI_DENSITY_QIC_24:=0A= case SCSI_DENSITY_QIC_120:=0A= case SCSI_DENSITY_QIC_150:=0A= case SCSI_DENSITY_QIC_525_320:=0A= case SCSI_DENSITY_QIC_1320:=0A= case SCSI_DENSITY_QIC_3080:=0A= softc->quirks &=3D ~SA_QUIRK_2FM;=0A= softc->quirks |=3D SA_QUIRK_FIXED|SA_QUIRK_1FM;=0A= softc->last_media_blksize =3D 512;=0A= break;=0A= case SCSI_DENSITY_QIC_4GB:=0A= case SCSI_DENSITY_QIC_2GB:=0A= softc->quirks &=3D ~SA_QUIRK_2FM;=0A= softc->quirks |=3D SA_QUIRK_FIXED|SA_QUIRK_1FM;=0A= softc->last_media_blksize =3D 1024;=0A= break;=0A= default:=0A= softc->last_media_blksize =3D=0A= softc->media_blksize;=0A= softc->quirks |=3D SA_QUIRK_VARIABLE;=0A= break;=0A= }=0A= }=0A= =0A= /*=0A= * If no quirk has determined that this is a device that needs=0A= * to have 2 Filemarks at EOD, now is the time to find out.=0A= */=0A= =0A= if ((softc->quirks & SA_QUIRK_2FM) =3D=3D 0) {=0A= switch (softc->media_density) {=0A= case SCSI_DENSITY_HALFINCH_800:=0A= case SCSI_DENSITY_HALFINCH_1600:=0A= case SCSI_DENSITY_HALFINCH_6250:=0A= case SCSI_DENSITY_HALFINCH_6250C:=0A= case SCSI_DENSITY_HALFINCH_PE:=0A= softc->quirks &=3D ~SA_QUIRK_1FM;=0A= softc->quirks |=3D SA_QUIRK_2FM;=0A= break;=0A= default:=0A= break;=0A= }=0A= }=0A= =0A= /*=0A= * Now validate that some info we got makes sense.=0A= */=0A= if ((softc->max_blk < softc->media_blksize) ||=0A= (softc->min_blk > softc->media_blksize &&=0A= softc->media_blksize)) {=0A= xpt_print_path(ccb->ccb_h.path);=0A= printf("BLOCK LIMITS (%d..%d) could not match current "=0A= "block settings (%d)- adjusting\n", softc->min_blk,=0A= softc->max_blk, softc->media_blksize);=0A= softc->max_blk =3D softc->min_blk =3D=0A= softc->media_blksize;=0A= }=0A= =0A= /*=0A= * Now put ourselves into the right frame of mind based=0A= * upon quirks...=0A= */=0A= tryagain:=0A= /*=0A= * If we want to be in FIXED mode and our current blocksize=0A= * is not equal to our last blocksize (if nonzero), try and=0A= * set ourselves to this last blocksize (as the 'preferred'=0A= * block size). The initial quirkmatch at registry sets the=0A= * initial 'last' blocksize. If, for whatever reason, this=0A= * 'last' blocksize is zero, set the blocksize to 512,=0A= * or min_blk if that's larger.=0A= */=0A= if ((softc->quirks & SA_QUIRK_FIXED) &&=0A= (softc->quirks & SA_QUIRK_NO_MODESEL) =3D=3D 0 &&=0A= (softc->media_blksize !=3D softc->last_media_blksize)) {=0A= softc->media_blksize =3D softc->last_media_blksize;=0A= if (softc->media_blksize =3D=3D 0) {=0A= softc->media_blksize =3D 512;=0A= if (softc->media_blksize < softc->min_blk) {=0A= softc->media_blksize =3D softc->min_blk;=0A= }=0A= }=0A= error =3D sasetparams(periph, SA_PARAM_BLOCKSIZE,=0A= softc->media_blksize, 0, 0, SF_NO_PRINT);=0A= if (error) {=0A= xpt_print_path(ccb->ccb_h.path);=0A= printf("unable to set fixed blocksize to %d\n",=0A= softc->media_blksize);=0A= goto exit;=0A= }=0A= }=0A= =0A= if ((softc->quirks & SA_QUIRK_VARIABLE) && =0A= (softc->media_blksize !=3D 0)) {=0A= softc->last_media_blksize =3D softc->media_blksize;=0A= softc->media_blksize =3D 0;=0A= error =3D sasetparams(periph, SA_PARAM_BLOCKSIZE,=0A= 0, 0, 0, SF_NO_PRINT);=0A= if (error) {=0A= /*=0A= * If this fails and we were guessing, just=0A= * assume that we got it wrong and go try=0A= * fixed block mode. Don't even check against=0A= * density code at this point.=0A= */=0A= if (guessing) {=0A= softc->quirks &=3D ~SA_QUIRK_VARIABLE;=0A= softc->quirks |=3D SA_QUIRK_FIXED;=0A= if (softc->last_media_blksize =3D=3D 0)=0A= softc->last_media_blksize =3D 512;=0A= goto tryagain;=0A= }=0A= xpt_print_path(ccb->ccb_h.path);=0A= printf("unable to set variable blocksize\n");=0A= goto exit;=0A= }=0A= }=0A= =0A= /*=0A= * Now that we have the current block size,=0A= * set up some parameters for sastart's usage.=0A= */=0A= if (softc->media_blksize) {=0A= softc->flags |=3D SA_FLAG_FIXED;=0A= if (powerof2(softc->media_blksize)) {=0A= softc->blk_shift =3D=0A= ffs(softc->media_blksize) - 1;=0A= softc->blk_mask =3D softc->media_blksize - 1;=0A= } else {=0A= softc->blk_mask =3D ~0;=0A= softc->blk_shift =3D 0;=0A= }=0A= } else {=0A= /*=0A= * The SCSI-3 spec allows 0 to mean "unspecified".=0A= * The SCSI-1 spec allows 0 to mean 'infinite'.=0A= *=0A= * Either works here.=0A= */=0A= if (softc->max_blk =3D=3D 0) {=0A= softc->max_blk =3D ~0;=0A= }=0A= softc->blk_shift =3D 0;=0A= if (softc->blk_gran !=3D 0) {=0A= softc->blk_mask =3D softc->blk_gran - 1;=0A= } else {=0A= softc->blk_mask =3D 0;=0A= }=0A= }=0A= =0A= if (write_protect) =0A= softc->flags |=3D SA_FLAG_TAPE_WP;=0A= =0A= if (comp_supported) {=0A= if (softc->saved_comp_algorithm =3D=3D 0)=0A= softc->saved_comp_algorithm =3D=0A= softc->comp_algorithm;=0A= softc->flags |=3D SA_FLAG_COMP_SUPP;=0A= if (comp_enabled)=0A= softc->flags |=3D SA_FLAG_COMP_ENABLED;=0A= } else=0A= softc->flags |=3D SA_FLAG_COMP_UNSUPP;=0A= =0A= if ((softc->buffer_mode =3D=3D SMH_SA_BUF_MODE_NOBUF) &&=0A= (softc->quirks & SA_QUIRK_NO_MODESEL) =3D=3D 0) {=0A= error =3D sasetparams(periph, SA_PARAM_BUFF_MODE, 0,=0A= 0, 0, SF_NO_PRINT);=0A= if (error =3D=3D 0) {=0A= softc->buffer_mode =3D SMH_SA_BUF_MODE_SIBUF;=0A= } else {=0A= xpt_print_path(ccb->ccb_h.path);=0A= printf("unable to set buffered mode\n");=0A= }=0A= error =3D 0; /* not an error */=0A= }=0A= =0A= =0A= if (error =3D=3D 0) {=0A= softc->flags |=3D SA_FLAG_TAPE_MOUNTED;=0A= }=0A= exit:=0A= if (rblim !=3D NULL)=0A= free(rblim, M_TEMP);=0A= =0A= if (error !=3D 0) {=0A= softc->dsreg =3D MTIO_DSREG_NIL;=0A= } else {=0A= softc->fileno =3D softc->blkno =3D 0;=0A= softc->dsreg =3D MTIO_DSREG_REST;=0A= }=0A= #ifdef SA_1FM_AT_EOD=0A= if ((softc->quirks & SA_QUIRK_2FM) =3D=3D 0)=0A= softc->quirks |=3D SA_QUIRK_1FM;=0A= #else=0A= if ((softc->quirks & SA_QUIRK_1FM) =3D=3D 0)=0A= softc->quirks |=3D SA_QUIRK_2FM;=0A= #endif=0A= } else=0A= xpt_release_ccb(ccb);=0A= =0A= /*=0A= * If we return an error, we're not mounted any more,=0A= * so release any device reservation.=0A= */=0A= if (error !=3D 0) {=0A= (void) sareservereleaseunit(periph, FALSE);=0A= } else {=0A= /*=0A= * Clear I/O residual.=0A= */=0A= softc->last_io_resid =3D 0;=0A= softc->last_ctl_resid =3D 0;=0A= }=0A= return (error);=0A= }=0A= =0A= /*=0A= * How many filemarks do we need to write if we were to terminate the=0A= * tape session right now? Note that this can be a negative number=0A= */=0A= =0A= static int=0A= samarkswanted(struct cam_periph *periph)=0A= {=0A= int markswanted;=0A= struct sa_softc *softc;=0A= =0A= softc =3D (struct sa_softc *)periph->softc;=0A= markswanted =3D 0;=0A= if ((softc->flags & SA_FLAG_TAPE_WRITTEN) !=3D 0) {=0A= markswanted++;=0A= if (softc->quirks & SA_QUIRK_2FM)=0A= markswanted++;=0A= }=0A= markswanted -=3D softc->filemarks;=0A= return (markswanted);=0A= }=0A= =0A= static int=0A= sacheckeod(struct cam_periph *periph)=0A= {=0A= int error;=0A= int markswanted;=0A= =0A= markswanted =3D samarkswanted(periph);=0A= =0A= if (markswanted > 0) {=0A= error =3D sawritefilemarks(periph, markswanted, FALSE);=0A= } else {=0A= error =3D 0;=0A= }=0A= return (error);=0A= }=0A= =0A= static int=0A= saerror(union ccb *ccb, u_int32_t cflgs, u_int32_t sflgs)=0A= {=0A= static const char *toobig =3D=0A= "%d-byte tape record bigger than supplied buffer\n";=0A= struct cam_periph *periph;=0A= struct sa_softc *softc;=0A= struct ccb_scsiio *csio;=0A= struct scsi_sense_data *sense;=0A= u_int32_t resid =3D 0;=0A= int32_t info =3D 0;=0A= cam_status status;=0A= int error_code, sense_key, asc, ascq, error, aqvalid;=0A= =0A= periph =3D xpt_path_periph(ccb->ccb_h.path);=0A= softc =3D (struct sa_softc *)periph->softc;=0A= csio =3D &ccb->csio;=0A= sense =3D &csio->sense_data;=0A= scsi_extract_sense(sense, &error_code, &sense_key, &asc, &ascq);=0A= aqvalid =3D sense->extra_len >=3D 6;=0A= error =3D 0;=0A= =0A= status =3D csio->ccb_h.status & CAM_STATUS_MASK;=0A= =0A= /*=0A= * Calculate/latch up, any residuals... We do this in a funny 2-step=0A= * so we can print stuff here if we have CAM_DEBUG enabled for this=0A= * unit.=0A= */=0A= if (status =3D=3D CAM_SCSI_STATUS_ERROR) {=0A= if ((sense->error_code & SSD_ERRCODE_VALID) !=3D 0) {=0A= info =3D (int32_t) scsi_4btoul(sense->info);=0A= resid =3D info;=0A= if ((softc->flags & SA_FLAG_FIXED) !=3D 0)=0A= resid *=3D softc->media_blksize;=0A= } else {=0A= resid =3D csio->dxfer_len;=0A= info =3D resid;=0A= if ((softc->flags & SA_FLAG_FIXED) !=3D 0) {=0A= if (softc->media_blksize)=0A= info /=3D softc->media_blksize;=0A= }=0A= }=0A= if (CCB_Type(csio) =3D=3D SA_CCB_BUFFER_IO) {=0A= bcopy((caddr_t) sense, (caddr_t) &softc->last_io_sense,=0A= sizeof (struct scsi_sense_data));=0A= bcopy(csio->cdb_io.cdb_bytes, softc->last_io_cdb,=0A= (int) csio->cdb_len);=0A= softc->last_io_resid =3D resid;=0A= softc->last_resid_was_io =3D 1;=0A= } else {=0A= bcopy((caddr_t) sense, (caddr_t) &softc->last_ctl_sense,=0A= sizeof (struct scsi_sense_data));=0A= bcopy(csio->cdb_io.cdb_bytes, softc->last_ctl_cdb,=0A= (int) csio->cdb_len);=0A= softc->last_ctl_resid =3D resid;=0A= softc->last_resid_was_io =3D 0;=0A= }=0A= CAM_DEBUG(periph->path, CAM_DEBUG_INFO, ("CDB[0]=3D0x%x Key 0x%x "=0A= "ASC/ASCQ 0x%x/0x%x CAM STATUS 0x%x flags 0x%x resid %d "=0A= "dxfer_len %d\n", csio->cdb_io.cdb_bytes[0] & 0xff,=0A= sense_key, asc, ascq, status,=0A= sense->flags & ~SSD_KEY_RESERVED, resid, csio->dxfer_len));=0A= } else {=0A= CAM_DEBUG(periph->path, CAM_DEBUG_INFO,=0A= ("Cam Status 0x%x\n", status));=0A= }=0A= =0A= switch (status) {=0A= case CAM_REQ_CMP:=0A= return (0);=0A= case CAM_SCSI_STATUS_ERROR:=0A= /*=0A= * If a read/write command, we handle it here.=0A= */=0A= if (CCB_Type(csio) !=3D SA_CCB_WAITING) {=0A= break;=0A= }=0A= /*=0A= * If this was just EOM/EOP, Filemark, Setmark or ILI detected=0A= * on a non read/write command, we assume it's not an error=0A= * and propagate the residule and return.=0A= */=0A= if ((aqvalid && asc =3D=3D 0 && ascq > 0 && ascq <=3D 5) ||=0A= (aqvalid =3D=3D 0 && sense_key =3D=3D SSD_KEY_NO_SENSE)) {=0A= csio->resid =3D resid;=0A= QFRLS(ccb);=0A= return (0);=0A= }=0A= /*=0A= * Otherwise, we let the common code handle this.=0A= */=0A= return (cam_periph_error(ccb, cflgs, sflgs, &softc->saved_ccb));=0A= =0A= /*=0A= * XXX: To Be Fixed=0A= * We cannot depend upon CAM honoring retry counts for these.=0A= */=0A= case CAM_SCSI_BUS_RESET:=0A= case CAM_BDR_SENT:=0A= if (ccb->ccb_h.retry_count <=3D 0) {=0A= return (EIO);=0A= }=0A= /* FALLTHROUGH */=0A= default:=0A= return (cam_periph_error(ccb, cflgs, sflgs, &softc->saved_ccb));=0A= }=0A= =0A= /*=0A= * Handle filemark, end of tape, mismatched record sizes....=0A= * From this point out, we're only handling read/write cases.=0A= * Handle writes && reads differently.=0A= */=0A= =0A= if (csio->cdb_io.cdb_bytes[0] =3D=3D SA_WRITE) {=0A= if (sense_key =3D=3D SSD_KEY_VOLUME_OVERFLOW) {=0A= csio->resid =3D resid;=0A= error =3D ENOSPC;=0A= } else if (sense->flags & SSD_EOM) {=0A= softc->flags |=3D SA_FLAG_EOM_PENDING;=0A= /*=0A= * Grotesque as it seems, the few times=0A= * I've actually seen a non-zero resid,=0A= * the tape drive actually lied and had=0A= * written all the data!.=0A= */=0A= csio->resid =3D 0;=0A= }=0A= } else {=0A= csio->resid =3D resid;=0A= if (sense_key =3D=3D SSD_KEY_BLANK_CHECK) {=0A= if (softc->quirks & SA_QUIRK_1FM) {=0A= error =3D 0;=0A= softc->flags |=3D SA_FLAG_EOM_PENDING;=0A= } else {=0A= error =3D EIO;=0A= }=0A= } else if (sense->flags & SSD_FILEMARK) {=0A= if (softc->flags & SA_FLAG_FIXED) {=0A= error =3D -1;=0A= softc->flags |=3D SA_FLAG_EOF_PENDING;=0A= }=0A= /*=0A= * Unconditionally, if we detected a filemark on a read,=0A= * mark that we've run moved a file ahead.=0A= */=0A= if (softc->fileno !=3D (daddr_t) -1) {=0A= softc->fileno++;=0A= softc->blkno =3D 0;=0A= csio->ccb_h.ccb_pflags |=3D SA_POSITION_UPDATED;=0A= }=0A= }=0A= }=0A= =0A= /*=0A= * Incorrect Length usually applies to read, but can apply to writes.=0A= */=0A= if (error =3D=3D 0 && (sense->flags & SSD_ILI)) {=0A= if (info < 0) {=0A= xpt_print_path(csio->ccb_h.path);=0A= printf(toobig, csio->dxfer_len - info);=0A= csio->resid =3D csio->dxfer_len;=0A= error =3D EIO;=0A= } else {=0A= csio->resid =3D resid;=0A= if (softc->flags & SA_FLAG_FIXED) {=0A= softc->flags |=3D SA_FLAG_EIO_PENDING;=0A= }=0A= /*=0A= * Bump the block number if we hadn't seen a filemark.=0A= * Do this independent of errors (we've moved anyway).=0A= */=0A= if ((sense->flags & SSD_FILEMARK) =3D=3D 0) {=0A= if (softc->blkno !=3D (daddr_t) -1) {=0A= softc->blkno++;=0A= csio->ccb_h.ccb_pflags |=3D=0A= SA_POSITION_UPDATED;=0A= }=0A= }=0A= }=0A= }=0A= =0A= if (error <=3D 0) {=0A= /*=0A= * Unfreeze the queue if frozen as we're not returning anything=0A= * to our waiters that would indicate an I/O error has occurred=0A= * (yet).=0A= */=0A= QFRLS(ccb);=0A= error =3D 0;=0A= }=0A= return (error);=0A= }=0A= =0A= static int=0A= sagetparams(struct cam_periph *periph, sa_params params_to_get,=0A= u_int32_t *blocksize, u_int8_t *density, u_int32_t *numblocks,=0A= int *buff_mode, u_int8_t *write_protect, u_int8_t *speed,=0A= int *comp_supported, int *comp_enabled, u_int32_t *comp_algorithm,=0A= sa_comp_t *tcs)=0A= {=0A= union ccb *ccb;=0A= void *mode_buffer;=0A= struct scsi_mode_header_6 *mode_hdr;=0A= struct scsi_mode_blk_desc *mode_blk;=0A= int mode_buffer_len;=0A= struct sa_softc *softc;=0A= u_int8_t cpage;=0A= int error;=0A= cam_status status;=0A= =0A= softc =3D (struct sa_softc *)periph->softc;=0A= ccb =3D cam_periph_getccb(periph, 1);=0A= if (softc->quirks & SA_QUIRK_NO_CPAGE)=0A= cpage =3D SA_DEVICE_CONFIGURATION_PAGE;=0A= else=0A= cpage =3D SA_DATA_COMPRESSION_PAGE;=0A= =0A= retry:=0A= mode_buffer_len =3D sizeof(*mode_hdr) + sizeof(*mode_blk);=0A= =0A= if (params_to_get & SA_PARAM_COMPRESSION) {=0A= if (softc->quirks & SA_QUIRK_NOCOMP) {=0A= *comp_supported =3D FALSE;=0A= params_to_get &=3D ~SA_PARAM_COMPRESSION;=0A= } else=0A= mode_buffer_len +=3D sizeof (sa_comp_t);=0A= }=0A= =0A= mode_buffer =3D malloc(mode_buffer_len, M_TEMP, M_WAITOK | M_ZERO);=0A= mode_hdr =3D (struct scsi_mode_header_6 *)mode_buffer;=0A= mode_blk =3D (struct scsi_mode_blk_desc *)&mode_hdr[1];=0A= =0A= /* it is safe to retry this */=0A= scsi_mode_sense(&ccb->csio, 5, sadone, MSG_SIMPLE_Q_TAG, FALSE,=0A= SMS_PAGE_CTRL_CURRENT, (params_to_get & SA_PARAM_COMPRESSION) ?=0A= cpage : SMS_VENDOR_SPECIFIC_PAGE, mode_buffer, mode_buffer_len,=0A= SSD_FULL_SIZE, SCSIOP_TIMEOUT);=0A= =0A= error =3D cam_periph_runccb(ccb, saerror, 0, SF_NO_PRINT,=0A= softc->device_stats);=0A= QFRLS(ccb);=0A= =0A= status =3D ccb->ccb_h.status & CAM_STATUS_MASK;=0A= =0A= if (error =3D=3D EINVAL && (params_to_get & SA_PARAM_COMPRESSION) !=3D = 0) {=0A= /*=0A= * Hmm. Let's see if we can try another page...=0A= * If we've already done that, give up on compression=0A= * for this device and remember this for the future=0A= * and attempt the request without asking for compression=0A= * info.=0A= */=0A= if (cpage =3D=3D SA_DATA_COMPRESSION_PAGE) {=0A= cpage =3D SA_DEVICE_CONFIGURATION_PAGE;=0A= goto retry;=0A= }=0A= softc->quirks |=3D SA_QUIRK_NOCOMP;=0A= free(mode_buffer, M_TEMP);=0A= goto retry;=0A= } else if (status =3D=3D CAM_SCSI_STATUS_ERROR) {=0A= /* Tell the user about the fatal error. */=0A= scsi_sense_print(&ccb->csio);=0A= goto sagetparamsexit;=0A= }=0A= =0A= /*=0A= * If the user only wants the compression information, and=0A= * the device doesn't send back the block descriptor, it's=0A= * no big deal. If the user wants more than just=0A= * compression, though, and the device doesn't pass back the=0A= * block descriptor, we need to send another mode sense to=0A= * get the block descriptor.=0A= */=0A= if ((mode_hdr->blk_desc_len =3D=3D 0) &&=0A= (params_to_get & SA_PARAM_COMPRESSION) &&=0A= (params_to_get & ~(SA_PARAM_COMPRESSION))) {=0A= =0A= /*=0A= * Decrease the mode buffer length by the size of=0A= * the compression page, to make sure the data=0A= * there doesn't get overwritten.=0A= */=0A= mode_buffer_len -=3D sizeof (sa_comp_t);=0A= =0A= /*=0A= * Now move the compression page that we presumably=0A= * got back down the memory chunk a little bit so=0A= * it doesn't get spammed.=0A= */=0A= bcopy(&mode_hdr[0], &mode_hdr[1], sizeof (sa_comp_t));=0A= bzero(&mode_hdr[0], sizeof (mode_hdr[0]));=0A= =0A= /*=0A= * Now, we issue another mode sense and just ask=0A= * for the block descriptor, etc.=0A= */=0A= =0A= scsi_mode_sense(&ccb->csio, 2, sadone, MSG_SIMPLE_Q_TAG, FALSE,=0A= SMS_PAGE_CTRL_CURRENT, SMS_VENDOR_SPECIFIC_PAGE,=0A= mode_buffer, mode_buffer_len, SSD_FULL_SIZE,=0A= SCSIOP_TIMEOUT);=0A= =0A= error =3D cam_periph_runccb(ccb, saerror, 0, SF_NO_PRINT,=0A= softc->device_stats);=0A= QFRLS(ccb);=0A= =0A= if (error !=3D 0)=0A= goto sagetparamsexit;=0A= }=0A= =0A= if (params_to_get & SA_PARAM_BLOCKSIZE)=0A= *blocksize =3D scsi_3btoul(mode_blk->blklen);=0A= =0A= if (params_to_get & SA_PARAM_NUMBLOCKS)=0A= *numblocks =3D scsi_3btoul(mode_blk->nblocks);=0A= =0A= if (params_to_get & SA_PARAM_BUFF_MODE)=0A= *buff_mode =3D mode_hdr->dev_spec & SMH_SA_BUF_MODE_MASK;=0A= =0A= if (params_to_get & SA_PARAM_DENSITY)=0A= *density =3D mode_blk->density;=0A= =0A= if (params_to_get & SA_PARAM_WP)=0A= *write_protect =3D (mode_hdr->dev_spec & SMH_SA_WP)? TRUE : FALSE;=0A= =0A= if (params_to_get & SA_PARAM_SPEED)=0A= *speed =3D mode_hdr->dev_spec & SMH_SA_SPEED_MASK;=0A= =0A= if (params_to_get & SA_PARAM_COMPRESSION) {=0A= sa_comp_t *ntcs =3D (sa_comp_t *) &mode_blk[1];=0A= if (cpage =3D=3D SA_DATA_COMPRESSION_PAGE) {=0A= struct scsi_data_compression_page *cp =3D &ntcs->dcomp;=0A= *comp_supported =3D=0A= (cp->dce_and_dcc & SA_DCP_DCC)? TRUE : FALSE;=0A= *comp_enabled =3D=0A= (cp->dce_and_dcc & SA_DCP_DCE)? TRUE : FALSE;=0A= *comp_algorithm =3D scsi_4btoul(cp->comp_algorithm);=0A= } else {=0A= struct scsi_dev_conf_page *cp =3D &ntcs->dconf;=0A= /*=0A= * We don't really know whether this device supports=0A= * Data Compression if the the algorithm field is=0A= * zero. Just say we do.=0A= */=0A= *comp_supported =3D TRUE;=0A= *comp_enabled =3D=0A= (cp->sel_comp_alg !=3D SA_COMP_NONE)? TRUE : FALSE;=0A= *comp_algorithm =3D cp->sel_comp_alg;=0A= }=0A= if (tcs !=3D NULL)=0A= bcopy(ntcs, tcs, sizeof (sa_comp_t));=0A= }=0A= =0A= if (CAM_DEBUGGED(periph->path, CAM_DEBUG_INFO)) {=0A= int idx;=0A= char *xyz =3D mode_buffer;=0A= xpt_print_path(periph->path);=0A= printf("Mode Sense Data=3D");=0A= for (idx =3D 0; idx < mode_buffer_len; idx++)=0A= printf(" 0x%02x", xyz[idx] & 0xff);=0A= printf("\n");=0A= }=0A= =0A= sagetparamsexit:=0A= =0A= xpt_release_ccb(ccb);=0A= free(mode_buffer, M_TEMP);=0A= return (error);=0A= }=0A= =0A= /*=0A= * The purpose of this function is to set one of four different = parameters=0A= * for a tape drive:=0A= * - blocksize=0A= * - density=0A= * - compression / compression algorithm=0A= * - buffering mode=0A= *=0A= * The assumption is that this will be called from saioctl(), and = therefore=0A= * from a process context. Thus the waiting malloc calls below. If that=0A= * assumption ever changes, the malloc calls should be changed to be=0A= * NOWAIT mallocs.=0A= *=0A= * Any or all of the four parameters may be set when this function is=0A= * called. It should handle setting more than one parameter at once.=0A= */=0A= static int=0A= sasetparams(struct cam_periph *periph, sa_params params_to_set,=0A= u_int32_t blocksize, u_int8_t density, u_int32_t calg,=0A= u_int32_t sense_flags)=0A= {=0A= struct sa_softc *softc;=0A= u_int32_t current_blocksize;=0A= u_int32_t current_calg;=0A= u_int8_t current_density;=0A= u_int8_t current_speed;=0A= int comp_enabled, comp_supported;=0A= void *mode_buffer;=0A= int mode_buffer_len;=0A= struct scsi_mode_header_6 *mode_hdr;=0A= struct scsi_mode_blk_desc *mode_blk;=0A= sa_comp_t *ccomp, *cpage;=0A= int buff_mode;=0A= union ccb *ccb =3D NULL;=0A= int error;=0A= =0A= softc =3D (struct sa_softc *)periph->softc;=0A= =0A= ccomp =3D malloc(sizeof (sa_comp_t), M_TEMP, M_WAITOK);=0A= =0A= /*=0A= * Since it doesn't make sense to set the number of blocks, or=0A= * write protection, we won't try to get the current value. We=0A= * always want to get the blocksize, so we can set it back to the=0A= * proper value.=0A= */=0A= error =3D sagetparams(periph,=0A= params_to_set | SA_PARAM_BLOCKSIZE | SA_PARAM_SPEED,=0A= ¤t_blocksize, ¤t_density, NULL, &buff_mode, NULL,=0A= ¤t_speed, &comp_supported, &comp_enabled,=0A= ¤t_calg, ccomp);=0A= =0A= if (error !=3D 0) {=0A= free(ccomp, M_TEMP);=0A= return (error);=0A= }=0A= =0A= mode_buffer_len =3D sizeof(*mode_hdr) + sizeof(*mode_blk);=0A= if (params_to_set & SA_PARAM_COMPRESSION)=0A= mode_buffer_len +=3D sizeof (sa_comp_t);=0A= =0A= mode_buffer =3D malloc(mode_buffer_len, M_TEMP, M_WAITOK | M_ZERO);=0A= =0A= mode_hdr =3D (struct scsi_mode_header_6 *)mode_buffer;=0A= mode_blk =3D (struct scsi_mode_blk_desc *)&mode_hdr[1];=0A= =0A= ccb =3D cam_periph_getccb(periph, 1);=0A= =0A= retry:=0A= =0A= if (params_to_set & SA_PARAM_COMPRESSION) {=0A= if (mode_blk) {=0A= cpage =3D (sa_comp_t *)&mode_blk[1];=0A= } else {=0A= cpage =3D (sa_comp_t *)&mode_hdr[1];=0A= }=0A= bcopy(ccomp, cpage, sizeof (sa_comp_t));=0A= cpage->hdr.pagecode &=3D ~0x80;=0A= } else=0A= cpage =3D NULL;=0A= =0A= /*=0A= * If the caller wants us to set the blocksize, use the one they=0A= * pass in. Otherwise, use the blocksize we got back from the=0A= * mode select above.=0A= */=0A= if (mode_blk) {=0A= if (params_to_set & SA_PARAM_BLOCKSIZE)=0A= scsi_ulto3b(blocksize, mode_blk->blklen);=0A= else=0A= scsi_ulto3b(current_blocksize, mode_blk->blklen);=0A= =0A= /*=0A= * Set density if requested, else preserve old density.=0A= * SCSI_SAME_DENSITY only applies to SCSI-2 or better=0A= * devices, else density we've latched up in our softc.=0A= */=0A= if (params_to_set & SA_PARAM_DENSITY) {=0A= mode_blk->density =3D density;=0A= } else if (softc->scsi_rev > SCSI_REV_CCS) {=0A= mode_blk->density =3D SCSI_SAME_DENSITY;=0A= } else {=0A= mode_blk->density =3D softc->media_density;=0A= }=0A= }=0A= =0A= /*=0A= * For mode selects, these two fields must be zero.=0A= */=0A= mode_hdr->data_length =3D 0;=0A= mode_hdr->medium_type =3D 0;=0A= =0A= /* set the speed to the current value */=0A= mode_hdr->dev_spec =3D current_speed;=0A= =0A= /* if set, set single-initiator buffering mode */=0A= if (softc->buffer_mode =3D=3D SMH_SA_BUF_MODE_SIBUF) {=0A= mode_hdr->dev_spec |=3D SMH_SA_BUF_MODE_SIBUF;=0A= }=0A= =0A= if (mode_blk)=0A= mode_hdr->blk_desc_len =3D sizeof(struct scsi_mode_blk_desc);=0A= else=0A= mode_hdr->blk_desc_len =3D 0;=0A= =0A= /*=0A= * First, if the user wants us to set the compression algorithm or=0A= * just turn compression on, check to make sure that this drive=0A= * supports compression.=0A= */=0A= if (params_to_set & SA_PARAM_COMPRESSION) {=0A= /*=0A= * If the compression algorithm is 0, disable compression.=0A= * If the compression algorithm is non-zero, enable=0A= * compression and set the compression type to the=0A= * specified compression algorithm, unless the algorithm is=0A= * MT_COMP_ENABLE. In that case, we look at the=0A= * compression algorithm that is currently set and if it is=0A= * non-zero, we leave it as-is. If it is zero, and we have=0A= * saved a compression algorithm from a time when=0A= * compression was enabled before, set the compression to=0A= * the saved value.=0A= */=0A= switch (ccomp->hdr.pagecode & ~0x80) {=0A= case SA_DEVICE_CONFIGURATION_PAGE:=0A= {=0A= struct scsi_dev_conf_page *dcp =3D &cpage->dconf;=0A= if (calg =3D=3D 0) {=0A= dcp->sel_comp_alg =3D SA_COMP_NONE;=0A= break;=0A= }=0A= if (calg !=3D MT_COMP_ENABLE) {=0A= dcp->sel_comp_alg =3D calg;=0A= } else if (dcp->sel_comp_alg =3D=3D SA_COMP_NONE &&=0A= softc->saved_comp_algorithm !=3D 0) {=0A= dcp->sel_comp_alg =3D softc->saved_comp_algorithm;=0A= }=0A= break;=0A= }=0A= case SA_DATA_COMPRESSION_PAGE:=0A= if (ccomp->dcomp.dce_and_dcc & SA_DCP_DCC) {=0A= struct scsi_data_compression_page *dcp =3D &cpage->dcomp;=0A= if (calg =3D=3D 0) {=0A= /*=0A= * Disable compression, but leave the=0A= * decompression and the capability bit=0A= * alone.=0A= */=0A= dcp->dce_and_dcc =3D SA_DCP_DCC;=0A= dcp->dde_and_red |=3D SA_DCP_DDE;=0A= break;=0A= }=0A= /* enable compression && decompression */=0A= dcp->dce_and_dcc =3D SA_DCP_DCE | SA_DCP_DCC;=0A= dcp->dde_and_red |=3D SA_DCP_DDE;=0A= /*=0A= * If there, use compression algorithm from caller.=0A= * Otherwise, if there's a saved compression algorithm=0A= * and there is no current algorithm, use the saved=0A= * algorithm. Else parrot back what we got and hope=0A= * for the best.=0A= */=0A= if (calg !=3D MT_COMP_ENABLE) {=0A= scsi_ulto4b(calg, dcp->comp_algorithm);=0A= scsi_ulto4b(calg, dcp->decomp_algorithm);=0A= } else if (scsi_4btoul(dcp->comp_algorithm) =3D=3D 0 &&=0A= softc->saved_comp_algorithm !=3D 0) {=0A= scsi_ulto4b(softc->saved_comp_algorithm,=0A= dcp->comp_algorithm);=0A= scsi_ulto4b(softc->saved_comp_algorithm,=0A= dcp->decomp_algorithm);=0A= }=0A= break;=0A= }=0A= /*=0A= * Compression does not appear to be supported-=0A= * at least via the DATA COMPRESSION page. It=0A= * would be too much to ask us to believe that=0A= * the page itself is supported, but incorrectly=0A= * reports an ability to manipulate data compression,=0A= * so we'll assume that this device doesn't support=0A= * compression. We can just fall through for that.=0A= */=0A= /* FALLTHROUGH */=0A= default:=0A= /*=0A= * The drive doesn't seem to support compression,=0A= * so turn off the set compression bit.=0A= */=0A= params_to_set &=3D ~SA_PARAM_COMPRESSION;=0A= xpt_print_path(periph->path);=0A= printf("device does not seem to support compression\n");=0A= =0A= /*=0A= * If that was the only thing the user wanted us to set,=0A= * clean up allocated resources and return with=0A= * 'operation not supported'.=0A= */=0A= if (params_to_set =3D=3D SA_PARAM_NONE) {=0A= free(mode_buffer, M_TEMP);=0A= xpt_release_ccb(ccb);=0A= return (ENODEV);=0A= }=0A= =0A= /*=0A= * That wasn't the only thing the user wanted us to set.=0A= * So, decrease the stated mode buffer length by the=0A= * size of the compression mode page.=0A= */=0A= mode_buffer_len -=3D sizeof(sa_comp_t);=0A= }=0A= }=0A= =0A= /* It is safe to retry this operation */=0A= scsi_mode_select(&ccb->csio, 5, sadone, MSG_SIMPLE_Q_TAG,=0A= (params_to_set & SA_PARAM_COMPRESSION)? TRUE : FALSE,=0A= FALSE, mode_buffer, mode_buffer_len, SSD_FULL_SIZE, SCSIOP_TIMEOUT);=0A= =0A= error =3D cam_periph_runccb(ccb, saerror, 0,=0A= sense_flags, softc->device_stats);=0A= QFRLS(ccb);=0A= =0A= if (CAM_DEBUGGED(periph->path, CAM_DEBUG_INFO)) {=0A= int idx;=0A= char *xyz =3D mode_buffer;=0A= xpt_print_path(periph->path);=0A= printf("Err%d, Mode Select Data=3D", error);=0A= for (idx =3D 0; idx < mode_buffer_len; idx++)=0A= printf(" 0x%02x", xyz[idx] & 0xff);=0A= printf("\n");=0A= }=0A= =0A= =0A= if (error) {=0A= /*=0A= * If we can, try without setting density/blocksize.=0A= */=0A= if (mode_blk) {=0A= if ((params_to_set &=0A= (SA_PARAM_DENSITY|SA_PARAM_BLOCKSIZE)) =3D=3D 0) {=0A= mode_blk =3D NULL;=0A= goto retry;=0A= }=0A= } else {=0A= mode_blk =3D (struct scsi_mode_blk_desc *)&mode_hdr[1];=0A= cpage =3D (sa_comp_t *)&mode_blk[1];=0A= }=0A= =0A= /*=0A= * If we were setting the blocksize, and that failed, we=0A= * want to set it to its original value. If we weren't=0A= * setting the blocksize, we don't want to change it.=0A= */=0A= scsi_ulto3b(current_blocksize, mode_blk->blklen);=0A= =0A= /*=0A= * Set density if requested, else preserve old density.=0A= * SCSI_SAME_DENSITY only applies to SCSI-2 or better=0A= * devices, else density we've latched up in our softc.=0A= */=0A= if (params_to_set & SA_PARAM_DENSITY) {=0A= mode_blk->density =3D current_density;=0A= } else if (softc->scsi_rev > SCSI_REV_CCS) {=0A= mode_blk->density =3D SCSI_SAME_DENSITY;=0A= } else {=0A= mode_blk->density =3D softc->media_density;=0A= }=0A= =0A= if (params_to_set & SA_PARAM_COMPRESSION)=0A= bcopy(ccomp, cpage, sizeof (sa_comp_t));=0A= =0A= /*=0A= * The retry count is the only CCB field that might have been=0A= * changed that we care about, so reset it back to 1.=0A= */=0A= ccb->ccb_h.retry_count =3D 1;=0A= cam_periph_runccb(ccb, saerror, 0, sense_flags,=0A= softc->device_stats);=0A= QFRLS(ccb);=0A= }=0A= =0A= xpt_release_ccb(ccb);=0A= =0A= if (ccomp !=3D NULL)=0A= free(ccomp, M_TEMP);=0A= =0A= if (params_to_set & SA_PARAM_COMPRESSION) {=0A= if (error) {=0A= softc->flags &=3D ~SA_FLAG_COMP_ENABLED;=0A= /*=0A= * Even if we get an error setting compression,=0A= * do not say that we don't support it. We could=0A= * have been wrong, or it may be media specific.=0A= * softc->flags &=3D ~SA_FLAG_COMP_SUPP;=0A= */=0A= softc->saved_comp_algorithm =3D softc->comp_algorithm;=0A= softc->comp_algorithm =3D 0;=0A= } else {=0A= softc->flags |=3D SA_FLAG_COMP_ENABLED;=0A= softc->comp_algorithm =3D calg;=0A= }=0A= }=0A= =0A= free(mode_buffer, M_TEMP);=0A= return (error);=0A= }=0A= =0A= static void=0A= saprevent(struct cam_periph *periph, int action)=0A= {=0A= struct sa_softc *softc;=0A= union ccb *ccb; =0A= int error, sf;=0A= =0A= softc =3D (struct sa_softc *)periph->softc;=0A= =0A= if ((action =3D=3D PR_ALLOW) && (softc->flags & SA_FLAG_TAPE_LOCKED) = =3D=3D 0)=0A= return;=0A= if ((action =3D=3D PR_PREVENT) && (softc->flags & SA_FLAG_TAPE_LOCKED) = !=3D 0)=0A= return;=0A= =0A= /*=0A= * We can be quiet about illegal requests.=0A= */=0A= if (CAM_DEBUGGED(periph->path, CAM_DEBUG_INFO)) {=0A= sf =3D 0;=0A= } else=0A= sf =3D SF_QUIET_IR;=0A= =0A= ccb =3D cam_periph_getccb(periph, 1);=0A= =0A= /* It is safe to retry this operation */=0A= scsi_prevent(&ccb->csio, 5, sadone, MSG_SIMPLE_Q_TAG, action,=0A= SSD_FULL_SIZE, SCSIOP_TIMEOUT);=0A= =0A= error =3D cam_periph_runccb(ccb, saerror, 0, sf, softc->device_stats);=0A= QFRLS(ccb);=0A= if (error =3D=3D 0) {=0A= if (action =3D=3D PR_ALLOW)=0A= softc->flags &=3D ~SA_FLAG_TAPE_LOCKED;=0A= else=0A= softc->flags |=3D SA_FLAG_TAPE_LOCKED;=0A= }=0A= =0A= xpt_release_ccb(ccb);=0A= }=0A= =0A= static int=0A= sarewind(struct cam_periph *periph)=0A= {=0A= union ccb *ccb;=0A= struct sa_softc *softc;=0A= int error;=0A= =0A= softc =3D (struct sa_softc *)periph->softc;=0A= =0A= ccb =3D cam_periph_getccb(periph, 1);=0A= =0A= /* It is safe to retry this operation */=0A= scsi_rewind(&ccb->csio, 2, sadone, MSG_SIMPLE_Q_TAG, FALSE,=0A= SSD_FULL_SIZE, REWIND_TIMEOUT);=0A= =0A= softc->dsreg =3D MTIO_DSREG_REW;=0A= error =3D cam_periph_runccb(ccb, saerror, 0, 0, softc->device_stats);=0A= softc->dsreg =3D MTIO_DSREG_REST;=0A= =0A= if ((ccb->ccb_h.status & CAM_DEV_QFRZN) !=3D 0)=0A= cam_release_devq(ccb->ccb_h.path, 0, 0, 0, FALSE);=0A= =0A= xpt_release_ccb(ccb);=0A= if (error =3D=3D 0)=0A= softc->fileno =3D softc->blkno =3D (daddr_t) 0;=0A= else=0A= softc->fileno =3D softc->blkno =3D (daddr_t) -1;=0A= return (error);=0A= }=0A= =0A= static int=0A= saspace(struct cam_periph *periph, int count, scsi_space_code code)=0A= {=0A= union ccb *ccb;=0A= struct sa_softc *softc;=0A= int error;=0A= =0A= softc =3D (struct sa_softc *)periph->softc;=0A= =0A= ccb =3D cam_periph_getccb(periph, 1);=0A= =0A= /* This cannot be retried */=0A= =0A= scsi_space(&ccb->csio, 0, sadone, MSG_SIMPLE_Q_TAG, code, count,=0A= SSD_FULL_SIZE, SPACE_TIMEOUT);=0A= =0A= /*=0A= * Clear residual because we will be using it.=0A= */=0A= softc->last_ctl_resid =3D 0;=0A= =0A= softc->dsreg =3D (count < 0)? MTIO_DSREG_REV : MTIO_DSREG_FWD;=0A= error =3D cam_periph_runccb(ccb, saerror, 0, 0, softc->device_stats);=0A= softc->dsreg =3D MTIO_DSREG_REST;=0A= =0A= if ((ccb->ccb_h.status & CAM_DEV_QFRZN) !=3D 0)=0A= cam_release_devq(ccb->ccb_h.path, 0, 0, 0, FALSE);=0A= =0A= xpt_release_ccb(ccb);=0A= =0A= /*=0A= * If a spacing operation has failed, we need to invalidate=0A= * this mount.=0A= *=0A= * If the spacing operation was setmarks or to end of recorded data,=0A= * we no longer know our relative position.=0A= *=0A= * If the spacing operations was spacing files in reverse, we=0A= * take account of the residual, but still check against less=0A= * than zero- if we've gone negative, we must have hit BOT.=0A= *=0A= * If the spacing operations was spacing records in reverse and=0A= * we have a residual, we've either hit BOT or hit a filemark.=0A= * In the former case, we know our new record number (0). In=0A= * the latter case, we have absolutely no idea what the real=0A= * record number is- we've stopped between the end of the last=0A= * record in the previous file and the filemark that stopped=0A= * our spacing backwards.=0A= */=0A= if (error) {=0A= softc->fileno =3D softc->blkno =3D (daddr_t) -1;=0A= } else if (code =3D=3D SS_SETMARKS || code =3D=3D SS_EOD) {=0A= softc->fileno =3D softc->blkno =3D (daddr_t) -1;=0A= } else if (code =3D=3D SS_FILEMARKS && softc->fileno !=3D (daddr_t) -1) = {=0A= softc->fileno +=3D (count - softc->last_ctl_resid);=0A= if (softc->fileno < 0) /* we must of hit BOT */=0A= softc->fileno =3D 0;=0A= softc->blkno =3D 0;=0A= } else if (code =3D=3D SS_BLOCKS && softc->blkno !=3D (daddr_t) -1) {=0A= softc->blkno +=3D (count - softc->last_ctl_resid);=0A= if (count < 0) {=0A= if (softc->last_ctl_resid || softc->blkno < 0) {=0A= if (softc->fileno =3D=3D 0) {=0A= softc->blkno =3D 0;=0A= } else {=0A= softc->blkno =3D (daddr_t) -1;=0A= }=0A= }=0A= }=0A= }=0A= return (error);=0A= }=0A= =0A= static int=0A= sawritefilemarks(struct cam_periph *periph, int nmarks, int setmarks)=0A= {=0A= union ccb *ccb;=0A= struct sa_softc *softc;=0A= int error, nwm =3D 0;=0A= =0A= softc =3D (struct sa_softc *)periph->softc;=0A= =0A= ccb =3D cam_periph_getccb(periph, 1);=0A= /*=0A= * Clear residual because we will be using it.=0A= */=0A= softc->last_ctl_resid =3D 0;=0A= =0A= softc->dsreg =3D MTIO_DSREG_FMK;=0A= /* this *must* not be retried */=0A= scsi_write_filemarks(&ccb->csio, 0, sadone, MSG_SIMPLE_Q_TAG,=0A= FALSE, setmarks, nmarks, SSD_FULL_SIZE, IO_TIMEOUT);=0A= softc->dsreg =3D MTIO_DSREG_REST;=0A= =0A= =0A= error =3D cam_periph_runccb(ccb, saerror, 0, 0, softc->device_stats);=0A= =0A= if ((ccb->ccb_h.status & CAM_DEV_QFRZN) !=3D 0)=0A= cam_release_devq(ccb->ccb_h.path, 0, 0, 0, FALSE);=0A= =0A= if (error =3D=3D 0 && nmarks) {=0A= struct sa_softc *softc =3D (struct sa_softc *)periph->softc;=0A= nwm =3D nmarks - softc->last_ctl_resid;=0A= softc->filemarks +=3D nwm;=0A= }=0A= =0A= xpt_release_ccb(ccb);=0A= =0A= /*=0A= * Update relative positions (if we're doing that).=0A= */=0A= if (error) {=0A= softc->fileno =3D softc->blkno =3D (daddr_t) -1;=0A= } else if (softc->fileno !=3D (daddr_t) -1) {=0A= softc->fileno +=3D nwm;=0A= softc->blkno =3D 0;=0A= }=0A= return (error);=0A= }=0A= =0A= static int=0A= sardpos(struct cam_periph *periph, int hard, u_int32_t *blkptr)=0A= {=0A= struct scsi_tape_position_data loc;=0A= union ccb *ccb;=0A= struct sa_softc *softc =3D (struct sa_softc *)periph->softc;=0A= int error;=0A= =0A= /*=0A= * We try and flush any buffered writes here if we were writing=0A= * and we're trying to get hardware block position. It eats=0A= * up performance substantially, but I'm wary of drive firmware.=0A= *=0A= * I think that *logical* block position is probably okay-=0A= * but hardware block position might have to wait for data=0A= * to hit media to be valid. Caveat Emptor.=0A= */=0A= =0A= if (hard && (softc->flags & SA_FLAG_TAPE_WRITTEN)) {=0A= error =3D sawritefilemarks(periph, 0, 0);=0A= if (error && error !=3D EACCES)=0A= return (error);=0A= }=0A= =0A= ccb =3D cam_periph_getccb(periph, 1);=0A= scsi_read_position(&ccb->csio, 1, sadone, MSG_SIMPLE_Q_TAG,=0A= hard, &loc, SSD_FULL_SIZE, SCSIOP_TIMEOUT);=0A= softc->dsreg =3D MTIO_DSREG_RBSY;=0A= error =3D cam_periph_runccb(ccb, saerror, 0, 0, softc->device_stats);=0A= softc->dsreg =3D MTIO_DSREG_REST;=0A= if ((ccb->ccb_h.status & CAM_DEV_QFRZN) !=3D 0)=0A= cam_release_devq(ccb->ccb_h.path, 0, 0, 0, 0);=0A= =0A= if (error =3D=3D 0) {=0A= if (loc.flags & SA_RPOS_UNCERTAIN) {=0A= error =3D EINVAL; /* nothing is certain */=0A= } else {=0A= *blkptr =3D scsi_4btoul(loc.firstblk);=0A= }=0A= }=0A= =0A= xpt_release_ccb(ccb);=0A= return (error);=0A= }=0A= =0A= static int=0A= sasetpos(struct cam_periph *periph, int hard, u_int32_t *blkptr)=0A= {=0A= union ccb *ccb;=0A= struct sa_softc *softc;=0A= int error;=0A= =0A= /*=0A= * We used to try and flush any buffered writes here.=0A= * Now we push this onto user applications to either=0A= * flush the pending writes themselves (via a zero count=0A= * WRITE FILEMARKS command) or they can trust their tape=0A= * drive to do this correctly for them.=0A= */=0A= =0A= softc =3D (struct sa_softc *)periph->softc;=0A= ccb =3D cam_periph_getccb(periph, 1);=0A= =0A= =0A= scsi_set_position(&ccb->csio, 1, sadone, MSG_SIMPLE_Q_TAG,=0A= hard, *blkptr, SSD_FULL_SIZE, SPACE_TIMEOUT);=0A= =0A= =0A= softc->dsreg =3D MTIO_DSREG_POS;=0A= error =3D cam_periph_runccb(ccb, saerror, 0, 0, softc->device_stats);=0A= softc->dsreg =3D MTIO_DSREG_REST;=0A= if ((ccb->ccb_h.status & CAM_DEV_QFRZN) !=3D 0)=0A= cam_release_devq(ccb->ccb_h.path, 0, 0, 0, 0);=0A= xpt_release_ccb(ccb);=0A= /*=0A= * Note relative file && block number position as now unknown.=0A= */=0A= softc->fileno =3D softc->blkno =3D (daddr_t) -1;=0A= return (error);=0A= }=0A= =0A= static int=0A= saretension(struct cam_periph *periph)=0A= {=0A= union ccb *ccb;=0A= struct sa_softc *softc;=0A= int error;=0A= =0A= softc =3D (struct sa_softc *)periph->softc;=0A= =0A= ccb =3D cam_periph_getccb(periph, 1);=0A= =0A= /* It is safe to retry this operation */=0A= scsi_load_unload(&ccb->csio, 5, sadone, MSG_SIMPLE_Q_TAG, FALSE,=0A= FALSE, TRUE, TRUE, SSD_FULL_SIZE, ERASE_TIMEOUT);=0A= =0A= softc->dsreg =3D MTIO_DSREG_TEN;=0A= error =3D cam_periph_runccb(ccb, saerror, 0, 0, softc->device_stats);=0A= softc->dsreg =3D MTIO_DSREG_REST;=0A= =0A= if ((ccb->ccb_h.status & CAM_DEV_QFRZN) !=3D 0)=0A= cam_release_devq(ccb->ccb_h.path, 0, 0, 0, FALSE);=0A= xpt_release_ccb(ccb);=0A= if (error =3D=3D 0)=0A= softc->fileno =3D softc->blkno =3D (daddr_t) 0;=0A= else=0A= softc->fileno =3D softc->blkno =3D (daddr_t) -1;=0A= return (error);=0A= }=0A= =0A= static int=0A= sareservereleaseunit(struct cam_periph *periph, int reserve)=0A= {=0A= union ccb *ccb;=0A= struct sa_softc *softc;=0A= int error;=0A= =0A= softc =3D (struct sa_softc *)periph->softc;=0A= ccb =3D cam_periph_getccb(periph, 1);=0A= =0A= /* It is safe to retry this operation */=0A= scsi_reserve_release_unit(&ccb->csio, 2, sadone, MSG_SIMPLE_Q_TAG,=0A= FALSE, 0, SSD_FULL_SIZE, SCSIOP_TIMEOUT, reserve);=0A= softc->dsreg =3D MTIO_DSREG_RBSY;=0A= error =3D cam_periph_runccb(ccb, saerror, 0,=0A= SF_RETRY_UA | SF_NO_PRINT, softc->device_stats);=0A= softc->dsreg =3D MTIO_DSREG_REST;=0A= QFRLS(ccb);=0A= xpt_release_ccb(ccb);=0A= =0A= /*=0A= * If the error was Illegal Request, then the device doesn't support=0A= * RESERVE/RELEASE. This is not an error.=0A= */=0A= if (error =3D=3D EINVAL) {=0A= error =3D 0;=0A= }=0A= =0A= return (error);=0A= }=0A= =0A= static int=0A= saloadunload(struct cam_periph *periph, int load)=0A= {=0A= union ccb *ccb;=0A= struct sa_softc *softc;=0A= int error;=0A= =0A= softc =3D (struct sa_softc *)periph->softc;=0A= =0A= ccb =3D cam_periph_getccb(periph, 1);=0A= =0A= /* It is safe to retry this operation */=0A= scsi_load_unload(&ccb->csio, 5, sadone, MSG_SIMPLE_Q_TAG, FALSE,=0A= FALSE, FALSE, load, SSD_FULL_SIZE, REWIND_TIMEOUT);=0A= =0A= softc->dsreg =3D (load)? MTIO_DSREG_LD : MTIO_DSREG_UNL;=0A= error =3D cam_periph_runccb(ccb, saerror, 0, 0, softc->device_stats);=0A= softc->dsreg =3D MTIO_DSREG_REST;=0A= QFRLS(ccb);=0A= xpt_release_ccb(ccb);=0A= =0A= if (error || load =3D=3D 0)=0A= softc->fileno =3D softc->blkno =3D (daddr_t) -1;=0A= else if (error =3D=3D 0)=0A= softc->fileno =3D softc->blkno =3D (daddr_t) 0;=0A= return (error);=0A= }=0A= =0A= static int=0A= saerase(struct cam_periph *periph, int longerase)=0A= {=0A= =0A= union ccb *ccb;=0A= struct sa_softc *softc;=0A= int error;=0A= =0A= softc =3D (struct sa_softc *)periph->softc;=0A= =0A= ccb =3D cam_periph_getccb(periph, 1);=0A= =0A= scsi_erase(&ccb->csio, 1, sadone, MSG_SIMPLE_Q_TAG, FALSE, longerase,=0A= SSD_FULL_SIZE, ERASE_TIMEOUT);=0A= =0A= softc->dsreg =3D MTIO_DSREG_ZER;=0A= error =3D cam_periph_runccb(ccb, saerror, 0, 0, softc->device_stats);=0A= softc->dsreg =3D MTIO_DSREG_REST;=0A= =0A= if ((ccb->ccb_h.status & CAM_DEV_QFRZN) !=3D 0)=0A= cam_release_devq(ccb->ccb_h.path, 0, 0, 0, FALSE);=0A= xpt_release_ccb(ccb);=0A= return (error);=0A= }=0A= =0A= #endif /* _KERNEL */=0A= =0A= /*=0A= * Read tape block limits command.=0A= */=0A= void=0A= scsi_read_block_limits(struct ccb_scsiio *csio, u_int32_t retries,=0A= void (*cbfcnp)(struct cam_periph *, union ccb *),=0A= u_int8_t tag_action,=0A= struct scsi_read_block_limits_data *rlimit_buf,=0A= u_int8_t sense_len, u_int32_t timeout)=0A= {=0A= struct scsi_read_block_limits *scsi_cmd;=0A= =0A= cam_fill_csio(csio, retries, cbfcnp, CAM_DIR_IN, tag_action,=0A= (u_int8_t *)rlimit_buf, sizeof(*rlimit_buf), sense_len,=0A= sizeof(*scsi_cmd), timeout);=0A= =0A= scsi_cmd =3D (struct scsi_read_block_limits *)&csio->cdb_io.cdb_bytes;=0A= bzero(scsi_cmd, sizeof(*scsi_cmd));=0A= scsi_cmd->opcode =3D READ_BLOCK_LIMITS;=0A= }=0A= =0A= void=0A= scsi_sa_read_write(struct ccb_scsiio *csio, u_int32_t retries,=0A= void (*cbfcnp)(struct cam_periph *, union ccb *),=0A= u_int8_t tag_action, int readop, int sli,=0A= int fixed, u_int32_t length, u_int8_t *data_ptr,=0A= u_int32_t dxfer_len, u_int8_t sense_len, u_int32_t timeout)=0A= {=0A= struct scsi_sa_rw *scsi_cmd;=0A= =0A= scsi_cmd =3D (struct scsi_sa_rw *)&csio->cdb_io.cdb_bytes;=0A= scsi_cmd->opcode =3D readop ? SA_READ : SA_WRITE;=0A= scsi_cmd->sli_fixed =3D 0;=0A= if (sli && readop)=0A= scsi_cmd->sli_fixed |=3D SAR_SLI;=0A= if (fixed)=0A= scsi_cmd->sli_fixed |=3D SARW_FIXED;=0A= scsi_ulto3b(length, scsi_cmd->length);=0A= scsi_cmd->control =3D 0;=0A= =0A= cam_fill_csio(csio, retries, cbfcnp, readop ? CAM_DIR_IN : CAM_DIR_OUT,=0A= tag_action, data_ptr, dxfer_len, sense_len,=0A= sizeof(*scsi_cmd), timeout);=0A= }=0A= =0A= void=0A= scsi_load_unload(struct ccb_scsiio *csio, u_int32_t retries, =0A= void (*cbfcnp)(struct cam_periph *, union ccb *), =0A= u_int8_t tag_action, int immediate, int eot,=0A= int reten, int load, u_int8_t sense_len,=0A= u_int32_t timeout)=0A= {=0A= struct scsi_load_unload *scsi_cmd;=0A= =0A= scsi_cmd =3D (struct scsi_load_unload *)&csio->cdb_io.cdb_bytes;=0A= bzero(scsi_cmd, sizeof(*scsi_cmd));=0A= scsi_cmd->opcode =3D LOAD_UNLOAD;=0A= if (immediate)=0A= scsi_cmd->immediate =3D SLU_IMMED;=0A= if (eot)=0A= scsi_cmd->eot_reten_load |=3D SLU_EOT;=0A= if (reten)=0A= scsi_cmd->eot_reten_load |=3D SLU_RETEN;=0A= if (load)=0A= scsi_cmd->eot_reten_load |=3D SLU_LOAD;=0A= =0A= cam_fill_csio(csio, retries, cbfcnp, CAM_DIR_NONE, tag_action,=0A= NULL, 0, sense_len, sizeof(*scsi_cmd), timeout); =0A= }=0A= =0A= void=0A= scsi_rewind(struct ccb_scsiio *csio, u_int32_t retries, =0A= void (*cbfcnp)(struct cam_periph *, union ccb *), =0A= u_int8_t tag_action, int immediate, u_int8_t sense_len, =0A= u_int32_t timeout)=0A= {=0A= struct scsi_rewind *scsi_cmd;=0A= =0A= scsi_cmd =3D (struct scsi_rewind *)&csio->cdb_io.cdb_bytes;=0A= bzero(scsi_cmd, sizeof(*scsi_cmd));=0A= scsi_cmd->opcode =3D REWIND;=0A= if (immediate)=0A= scsi_cmd->immediate =3D SREW_IMMED;=0A= =0A= cam_fill_csio(csio, retries, cbfcnp, CAM_DIR_NONE, tag_action, NULL,=0A= 0, sense_len, sizeof(*scsi_cmd), timeout);=0A= }=0A= =0A= void=0A= scsi_space(struct ccb_scsiio *csio, u_int32_t retries,=0A= void (*cbfcnp)(struct cam_periph *, union ccb *),=0A= u_int8_t tag_action, scsi_space_code code,=0A= u_int32_t count, u_int8_t sense_len, u_int32_t timeout)=0A= {=0A= struct scsi_space *scsi_cmd;=0A= =0A= scsi_cmd =3D (struct scsi_space *)&csio->cdb_io.cdb_bytes;=0A= scsi_cmd->opcode =3D SPACE;=0A= scsi_cmd->code =3D code;=0A= scsi_ulto3b(count, scsi_cmd->count);=0A= scsi_cmd->control =3D 0;=0A= =0A= cam_fill_csio(csio, retries, cbfcnp, CAM_DIR_NONE, tag_action, NULL,=0A= 0, sense_len, sizeof(*scsi_cmd), timeout);=0A= }=0A= =0A= void=0A= scsi_write_filemarks(struct ccb_scsiio *csio, u_int32_t retries,=0A= void (*cbfcnp)(struct cam_periph *, union ccb *),=0A= u_int8_t tag_action, int immediate, int setmark,=0A= u_int32_t num_marks, u_int8_t sense_len,=0A= u_int32_t timeout)=0A= {=0A= struct scsi_write_filemarks *scsi_cmd;=0A= =0A= scsi_cmd =3D (struct scsi_write_filemarks *)&csio->cdb_io.cdb_bytes;=0A= bzero(scsi_cmd, sizeof(*scsi_cmd));=0A= scsi_cmd->opcode =3D WRITE_FILEMARKS;=0A= if (immediate)=0A= scsi_cmd->byte2 |=3D SWFMRK_IMMED;=0A= if (setmark)=0A= scsi_cmd->byte2 |=3D SWFMRK_WSMK;=0A= =0A= scsi_ulto3b(num_marks, scsi_cmd->num_marks);=0A= =0A= cam_fill_csio(csio, retries, cbfcnp, CAM_DIR_NONE, tag_action, NULL,=0A= 0, sense_len, sizeof(*scsi_cmd), timeout);=0A= }=0A= =0A= /*=0A= * The reserve and release unit commands differ only by their opcodes.=0A= */=0A= void=0A= scsi_reserve_release_unit(struct ccb_scsiio *csio, u_int32_t retries,=0A= void (*cbfcnp)(struct cam_periph *, union ccb *),=0A= u_int8_t tag_action, int third_party,=0A= int third_party_id, u_int8_t sense_len,=0A= u_int32_t timeout, int reserve)=0A= {=0A= struct scsi_reserve_release_unit *scsi_cmd;=0A= =0A= scsi_cmd =3D (struct scsi_reserve_release_unit = *)&csio->cdb_io.cdb_bytes;=0A= bzero(scsi_cmd, sizeof(*scsi_cmd));=0A= =0A= if (reserve)=0A= scsi_cmd->opcode =3D RESERVE_UNIT;=0A= else=0A= scsi_cmd->opcode =3D RELEASE_UNIT;=0A= =0A= if (third_party) {=0A= scsi_cmd->lun_thirdparty |=3D SRRU_3RD_PARTY;=0A= scsi_cmd->lun_thirdparty |=3D=0A= ((third_party_id << SRRU_3RD_SHAMT) & SRRU_3RD_MASK);=0A= }=0A= =0A= cam_fill_csio(csio, retries, cbfcnp, CAM_DIR_NONE, tag_action, NULL,=0A= 0, sense_len, sizeof(*scsi_cmd), timeout);=0A= }=0A= =0A= void=0A= scsi_erase(struct ccb_scsiio *csio, u_int32_t retries,=0A= void (*cbfcnp)(struct cam_periph *, union ccb *),=0A= u_int8_t tag_action, int immediate, int long_erase,=0A= u_int8_t sense_len, u_int32_t timeout)=0A= {=0A= struct scsi_erase *scsi_cmd;=0A= =0A= scsi_cmd =3D (struct scsi_erase *)&csio->cdb_io.cdb_bytes;=0A= bzero(scsi_cmd, sizeof(*scsi_cmd));=0A= =0A= scsi_cmd->opcode =3D ERASE;=0A= =0A= if (immediate)=0A= scsi_cmd->lun_imm_long |=3D SE_IMMED;=0A= =0A= if (long_erase)=0A= scsi_cmd->lun_imm_long |=3D SE_LONG;=0A= =0A= cam_fill_csio(csio, retries, cbfcnp, CAM_DIR_NONE, tag_action, NULL,=0A= 0, sense_len, sizeof(*scsi_cmd), timeout);=0A= }=0A= =0A= /*=0A= * Read Tape Position command.=0A= */=0A= void=0A= scsi_read_position(struct ccb_scsiio *csio, u_int32_t retries,=0A= void (*cbfcnp)(struct cam_periph *, union ccb *),=0A= u_int8_t tag_action, int hardsoft,=0A= struct scsi_tape_position_data *sbp,=0A= u_int8_t sense_len, u_int32_t timeout)=0A= {=0A= struct scsi_tape_read_position *scmd;=0A= =0A= cam_fill_csio(csio, retries, cbfcnp, CAM_DIR_IN, tag_action,=0A= (u_int8_t *)sbp, sizeof (*sbp), sense_len, sizeof(*scmd), timeout);=0A= scmd =3D (struct scsi_tape_read_position *)&csio->cdb_io.cdb_bytes;=0A= bzero(scmd, sizeof(*scmd));=0A= scmd->opcode =3D READ_POSITION;=0A= scmd->byte1 =3D hardsoft;=0A= }=0A= =0A= /*=0A= * Set Tape Position command.=0A= */=0A= void=0A= scsi_set_position(struct ccb_scsiio *csio, u_int32_t retries,=0A= void (*cbfcnp)(struct cam_periph *, union ccb *),=0A= u_int8_t tag_action, int hardsoft, u_int32_t blkno,=0A= u_int8_t sense_len, u_int32_t timeout)=0A= {=0A= struct scsi_tape_locate *scmd;=0A= =0A= cam_fill_csio(csio, retries, cbfcnp, CAM_DIR_NONE, tag_action,=0A= (u_int8_t *)NULL, 0, sense_len, sizeof(*scmd), timeout);=0A= scmd =3D (struct scsi_tape_locate *)&csio->cdb_io.cdb_bytes;=0A= bzero(scmd, sizeof(*scmd));=0A= scmd->opcode =3D LOCATE;=0A= if (hardsoft)=0A= scmd->byte1 |=3D SA_SPOS_BT;=0A= scsi_ulto4b(blkno, scmd->blkaddr);=0A= }=0A= ------=_NextPart_000_001A_01C54C04.3DD952C0 Content-Type: application/octet-stream; name="README" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="README" # Atempo Bpr 28/04/2005=0A= #=0A= # On FreeBSD 5.3 the sa driver make a scsi reserve and it release only = when we execute a offline=0A= #=0A= # To correct the sa drive we must patch it.=0A= #=0A= # =0A= 1/ Patch source driver=0A= =0A= =0A= cd /usr/src/sys/cam/scsi=0A= patch Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6F6CF16A4CE; Thu, 28 Apr 2005 13:09:30 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 447D643D53; Thu, 28 Apr 2005 13:09:30 +0000 (GMT) (envelope-from le@FreeBSD.org) Received: from freefall.freebsd.org (le@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j3SD9Unt004066; Thu, 28 Apr 2005 13:09:30 GMT (envelope-from le@freefall.freebsd.org) Received: (from le@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j3SD9Ts5004062; Thu, 28 Apr 2005 13:09:29 GMT (envelope-from le) Date: Thu, 28 Apr 2005 13:09:29 GMT From: Lukas Ertl Message-Id: <200504281309.j3SD9Ts5004062@freefall.freebsd.org> To: stijn@win.tue.nl, le@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: kern/80427: gvinum checkparity corrupts striped plexes X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Apr 2005 13:09:30 -0000 Synopsis: gvinum checkparity corrupts striped plexes State-Changed-From-To: open->closed State-Changed-By: le State-Changed-When: Thu Apr 28 13:09:18 GMT 2005 State-Changed-Why: Thank you, good catch. I've committed a fix. http://www.freebsd.org/cgi/query-pr.cgi?pr=80427 From owner-freebsd-bugs@FreeBSD.ORG Thu Apr 28 14:18:18 2005 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6435616A4CE; Thu, 28 Apr 2005 14:18:18 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3E47543D45; Thu, 28 Apr 2005 14:18:18 +0000 (GMT) (envelope-from robert@FreeBSD.org) Received: from freefall.freebsd.org (robert@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j3SEIItG012585; Thu, 28 Apr 2005 14:18:18 GMT (envelope-from robert@freefall.freebsd.org) Received: (from robert@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j3SEII3o012581; Thu, 28 Apr 2005 14:18:18 GMT (envelope-from robert) Date: Thu, 28 Apr 2005 14:18:18 GMT From: Robert Drehmel Message-Id: <200504281418.j3SEII3o012581@freefall.freebsd.org> To: robert@FreeBSD.org, freebsd-bugs@FreeBSD.org, robert@FreeBSD.org Subject: Re: bin/78085: id command inconsistency X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Apr 2005 14:18:18 -0000 Synopsis: id command inconsistency Responsible-Changed-From-To: freebsd-bugs->robert Responsible-Changed-By: robert Responsible-Changed-When: Thu Apr 28 14:17:27 GMT 2005 Responsible-Changed-Why: I'll try to fix that. http://www.freebsd.org/cgi/query-pr.cgi?pr=78085 From owner-freebsd-bugs@FreeBSD.ORG Thu Apr 28 15:39:43 2005 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1B26716A4CE; Thu, 28 Apr 2005 15:39:43 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B40AC43D54; Thu, 28 Apr 2005 15:39:42 +0000 (GMT) (envelope-from robert@FreeBSD.org) Received: from freefall.freebsd.org (robert@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j3SFdg7i023796; Thu, 28 Apr 2005 15:39:42 GMT (envelope-from robert@freefall.freebsd.org) Received: (from robert@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j3SFdfZ1023792; Thu, 28 Apr 2005 15:39:41 GMT (envelope-from robert) Date: Thu, 28 Apr 2005 15:39:41 GMT From: Robert Drehmel Message-Id: <200504281539.j3SFdfZ1023792@freefall.freebsd.org> To: ss@matik.com.br, robert@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: bin/80058: adduser -f exits silently if file has empty line or line starting with # X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Apr 2005 15:39:43 -0000 Synopsis: adduser -f exits silently if file has empty line or line starting with # State-Changed-From-To: open->patched State-Changed-By: robert State-Changed-When: Thu Apr 28 15:38:59 GMT 2005 State-Changed-Why: A fix has been committed to -CURRENT. http://www.freebsd.org/cgi/query-pr.cgi?pr=80058 From owner-freebsd-bugs@FreeBSD.ORG Thu Apr 28 15:40:52 2005 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6461916A4CF; Thu, 28 Apr 2005 15:40:52 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3CE1143D5A; Thu, 28 Apr 2005 15:40:52 +0000 (GMT) (envelope-from robert@FreeBSD.org) Received: from freefall.freebsd.org (robert@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j3SFeqCq023983; Thu, 28 Apr 2005 15:40:52 GMT (envelope-from robert@freefall.freebsd.org) Received: (from robert@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j3SFepjm023978; Thu, 28 Apr 2005 15:40:51 GMT (envelope-from robert) Date: Thu, 28 Apr 2005 15:40:51 GMT From: Robert Drehmel Message-Id: <200504281540.j3SFepjm023978@freefall.freebsd.org> To: dunstan@freebsd.czest.pl, robert@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: bin/80348: rs(1) handles command line arguments improperly (SIGSEGV) X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Apr 2005 15:40:52 -0000 Synopsis: rs(1) handles command line arguments improperly (SIGSEGV) State-Changed-From-To: open->patched State-Changed-By: robert State-Changed-When: Thu Apr 28 15:40:24 GMT 2005 State-Changed-Why: A fix has been committed to -CURRENT. http://www.freebsd.org/cgi/query-pr.cgi?pr=80348 From owner-freebsd-bugs@FreeBSD.ORG Thu Apr 28 19:51:26 2005 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6311116A4CE; Thu, 28 Apr 2005 19:51:26 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 36A0A43D3F; Thu, 28 Apr 2005 19:51:26 +0000 (GMT) (envelope-from green@FreeBSD.org) Received: from freefall.freebsd.org (green@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j3SJpQqe054688; Thu, 28 Apr 2005 19:51:26 GMT (envelope-from green@freefall.freebsd.org) Received: (from green@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j3SJpQG7054684; Thu, 28 Apr 2005 19:51:26 GMT (envelope-from green) Date: Thu, 28 Apr 2005 19:51:26 GMT From: Brian Feldman Message-Id: <200504281951.j3SJpQG7054684@freefall.freebsd.org> To: green@FreeBSD.org, freebsd-bugs@FreeBSD.org, scottl@FreeBSD.org Subject: Re: kern/62597: [asr] [patch] /dev/rdpti# patch X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Apr 2005 19:51:26 -0000 Synopsis: [asr] [patch] /dev/rdpti# patch Responsible-Changed-From-To: freebsd-bugs->scottl Responsible-Changed-By: green Responsible-Changed-When: Thu Apr 28 19:49:55 GMT 2005 Responsible-Changed-Why: Over to scottl to try to get this closed -- a link from asr%d to dpti%d is a perfectly workable solution, and belongs in the driver. With that and ports/72520, asr-tools work. http://www.freebsd.org/cgi/query-pr.cgi?pr=62597 From owner-freebsd-bugs@FreeBSD.ORG Fri Apr 29 11:16:59 2005 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9EC2C16A4CE; Fri, 29 Apr 2005 11:16:59 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7671743D31; Fri, 29 Apr 2005 11:16:59 +0000 (GMT) (envelope-from davidxu@FreeBSD.org) Received: from freefall.freebsd.org (davidxu@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j3TBGx70000870; Fri, 29 Apr 2005 11:16:59 GMT (envelope-from davidxu@freefall.freebsd.org) Received: (from davidxu@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j3TBGxc0000866; Fri, 29 Apr 2005 11:16:59 GMT (envelope-from davidxu) Date: Fri, 29 Apr 2005 11:16:59 GMT From: David Xu Message-Id: <200504291116.j3TBGxc0000866@freefall.freebsd.org> To: konstantin.belousov@zoral.com.ua, davidxu@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: kern/80130: [patch] sigprocmask erronously cleared on fork (5-STABLE and later) X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Apr 2005 11:16:59 -0000 Synopsis: [patch] sigprocmask erronously cleared on fork (5-STABLE and later) State-Changed-From-To: open->closed State-Changed-By: davidxu State-Changed-When: Fri Apr 29 11:15:42 GMT 2005 State-Changed-Why: Fixed on -CURRENT,RELENG_5_4 and RELENG_5. http://www.freebsd.org/cgi/query-pr.cgi?pr=80130 From owner-freebsd-bugs@FreeBSD.ORG Fri Apr 29 12:40:02 2005 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D891416A4D0 for ; Fri, 29 Apr 2005 12:40:02 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7CA4443D54 for ; Fri, 29 Apr 2005 12:40:02 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j3TCe2VO010539 for ; Fri, 29 Apr 2005 12:40:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j3TCe2Dx010538; Fri, 29 Apr 2005 12:40:02 GMT (envelope-from gnats) Resent-Date: Fri, 29 Apr 2005 12:40:02 GMT Resent-Message-Id: <200504291240.j3TCe2Dx010538@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Heiko Adam Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B961316A4CE for ; Fri, 29 Apr 2005 12:30:44 +0000 (GMT) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9BE9B43D5D for ; Fri, 29 Apr 2005 12:30:44 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j3TCUiDw073218 for ; Fri, 29 Apr 2005 12:30:44 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id j3TCUhhg073217; Fri, 29 Apr 2005 12:30:43 GMT (envelope-from nobody) Message-Id: <200504291230.j3TCUhhg073217@www.freebsd.org> Date: Fri, 29 Apr 2005 12:30:43 GMT From: Heiko Adam To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: misc/80454: UML-Tool poseidon doesn't work with linux-sun-jdk X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Apr 2005 12:40:03 -0000 >Number: 80454 >Category: misc >Synopsis: UML-Tool poseidon doesn't work with linux-sun-jdk >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Apr 29 12:40:02 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Heiko Adam >Release: 5.3 >Organization: Insitute of Oceanography, University of Hamburg >Environment: FreeBSD machine 5.3-RELEASE-p10 FreeBSD 5.3-RELEASE-p10 #11: Tue Apr 26 17:34:16 CEST 2005 root@machine:/usr/src/sys/i386/compile/ MACHINE i386 >Description: Ports: poseidon-3.0.1.03 A popular UML CASE tool linux-sun-jdk-1.4.2.08_1 Sun Java Development Kit 1.4 for Linux -------- When using "poseidon for uml" from the company "gentleware" with the java-Version from linux-sun-jdk Port it hangs in the poseidon splash-screen at the point: "Installing language resources" The upcomming windows from the license-Manager and so on are working. After pressing the "Start Poseidon" the following steps are successful executed: "Booting MDR and MOF", "General Setup", "Loading UML 1.4". On every system tested, the problem happens, but every other java-Application works well - for example: argouml or eclipse. Thank you for your effort, H. Adam >How-To-Repeat: Use poseidon-Port in combination with linux-sun-jdk. >Fix: >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Fri Apr 29 16:44:58 2005 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2AA6716A4CE; Fri, 29 Apr 2005 16:44:58 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 01B6443D41; Fri, 29 Apr 2005 16:44:58 +0000 (GMT) (envelope-from thierry@FreeBSD.org) Received: from freefall.freebsd.org (thierry@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j3TGivpV041763; Fri, 29 Apr 2005 16:44:57 GMT (envelope-from thierry@freefall.freebsd.org) Received: (from thierry@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j3TGiv2U041759; Fri, 29 Apr 2005 16:44:57 GMT (envelope-from thierry) Date: Fri, 29 Apr 2005 16:44:57 GMT From: Thierry Thomas Message-Id: <200504291644.j3TGiv2U041759@freefall.freebsd.org> To: thierry@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-ports@FreeBSD.org Subject: Re: ports/80454: UML-Tool poseidon doesn't work with linux-sun-jdk X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Apr 2005 16:44:58 -0000 Synopsis: UML-Tool poseidon doesn't work with linux-sun-jdk Responsible-Changed-From-To: freebsd-bugs->freebsd-ports Responsible-Changed-By: thierry Responsible-Changed-When: Fri Apr 29 16:43:58 GMT 2005 Responsible-Changed-Why: Set category to ports. http://www.freebsd.org/cgi/query-pr.cgi?pr=80454 From owner-freebsd-bugs@FreeBSD.ORG Fri Apr 29 20:30:03 2005 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6D03A16A4CE for ; Fri, 29 Apr 2005 20:30:03 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id EE51943D58 for ; Fri, 29 Apr 2005 20:30:02 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j3TKU2Mn068105 for ; Fri, 29 Apr 2005 20:30:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j3TKU2SR068104; Fri, 29 Apr 2005 20:30:02 GMT (envelope-from gnats) Resent-Date: Fri, 29 Apr 2005 20:30:02 GMT Resent-Message-Id: <200504292030.j3TKU2SR068104@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Palle Girgensohn Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B230D16A4CE for ; Fri, 29 Apr 2005 20:24:26 +0000 (GMT) Received: from rambutan.pingpong.net (81.milagro.bahnhof.net [195.178.168.81]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7C7E643D41 for ; Fri, 29 Apr 2005 20:24:25 +0000 (GMT) (envelope-from girgen@rambutan.pingpong.net) Received: from rambutan.pingpong.net (localhost [127.0.0.1]) by rambutan.pingpong.net (8.13.3/8.13.3) with ESMTP id j3TKOMog027439 for ; Fri, 29 Apr 2005 22:24:22 +0200 (CEST) (envelope-from girgen@rambutan.pingpong.net) Received: (from girgen@localhost) by rambutan.pingpong.net (8.13.3/8.13.3/Submit) id j3TKOMQ4027438; Fri, 29 Apr 2005 22:24:22 +0200 (CEST) (envelope-from girgen) Message-Id: <200504292024.j3TKOMQ4027438@rambutan.pingpong.net> Date: Fri, 29 Apr 2005 22:24:22 +0200 (CEST) From: Palle Girgensohn To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: bin/80468: rc.conf's "dumpdev" does not accept AUTO as documented X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Palle Girgensohn List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Apr 2005 20:30:03 -0000 >Number: 80468 >Category: bin >Synopsis: rc.conf's "dumpdev" does not accept AUTO as documented >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Apr 29 20:30:02 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Palle Girgensohn >Release: FreeBSD 5.4-PRERELEASE i386 >Organization: >Environment: System: FreeBSD rambutan.pingpong.net 5.4-PRERELEASE FreeBSD 5.4-PRERELEASE #1: Fri Feb 25 17:38:53 CET 2005 girgen@rambutan.pingpong.net:/opt/obj/.a/banan/usr/src/sys/WORKSTATION i386 >Description: the man page for rc.conf: dumpdev (str) Indicates the device (usually a swap partition) to which a crash dump should be written in the event of a system crash. If the value of this variable is ``AUTO'', the first suitable swap device listed in /etc/fstab will be used as dump device. Otherwise, the value of this variable is passed as the argument to dumpon(8). To disable crash dumps, set this variable to ``NO''. but the /etc/rc.d/savecore script will fail if dumpdev="AUTO", since the code described in the man page seems not to be implemented. I couldn't get dumpon to work either. >How-To-Repeat: set dumpdev="AUTO" in rc.conf crash the machine and you won't be able to retrieve a crash dump (grr) >Fix: Implement the AUTO in savecore (and dumpon?), or change the manual like this: Index: rc.conf.5 =================================================================== RCS file: /misc/ncvs/src/share/man/man5/rc.conf.5,v retrieving revision 1.221.2.11 diff -u -r1.221.2.11 rc.conf.5 --- rc.conf.5 17 Mar 2005 00:04:45 -0000 1.221.2.11 +++ rc.conf.5 29 Apr 2005 20:21:29 -0000 @@ -2487,12 +2487,7 @@ .Pq Vt str Indicates the device (usually a swap partition) to which a crash dump should be written in the event of a system crash. -If the value of this variable is -.Dq Li AUTO , -the first suitable swap device listed in -.Pa /etc/fstab -will be used as dump device. -Otherwise, the value of this variable is passed as the argument to +The value of this variable is passed as the argument to .Xr dumpon 8 . To disable crash dumps, set this variable to .Dq Li NO . >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Fri Apr 29 20:50:05 2005 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DB4AA16A4CE for ; Fri, 29 Apr 2005 20:50:05 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B906443D1D for ; Fri, 29 Apr 2005 20:50:05 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j3TKo502069549 for ; Fri, 29 Apr 2005 20:50:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j3TKo5m0069547; Fri, 29 Apr 2005 20:50:05 GMT (envelope-from gnats) Date: Fri, 29 Apr 2005 20:50:05 GMT Message-Id: <200504292050.j3TKo5m0069547@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Maxim Konovalov Subject: Re: bin/80468: rc.conf's "dumpdev" does not accept AUTO as documented X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Maxim Konovalov List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Apr 2005 20:50:06 -0000 The following reply was made to PR bin/80468; it has been noted by GNATS. From: Maxim Konovalov To: Palle Girgensohn Cc: des@freebsd.org, bug-followup@freebsd.org Subject: Re: bin/80468: rc.conf's "dumpdev" does not accept AUTO as documented Date: Sat, 30 Apr 2005 00:43:03 +0400 (MSD) > >Release: FreeBSD 5.4-PRERELEASE i386 [...] > >Description: > the man page for rc.conf: > > dumpdev (str) Indicates the device (usually a swap partition) to > which a crash dump should be written in the event of a system > crash. If the value of this variable is ``AUTO'', the first > suitable swap device listed in /etc/fstab will be used as > dump device. Otherwise, the value of this variable is passed > as the argument to dumpon(8). To disable crash dumps, set > this variable to ``NO''. > > but the /etc/rc.d/savecore script will fail if dumpdev="AUTO", since > the code described in the man page seems not to be implemented. I > couldn't get dumpon to work either. > >How-To-Repeat: > set dumpdev="AUTO" in rc.conf > crash the machine and you won't be able to retrieve a crash dump (grr) This part of man page was accidentally merged from HEAD in rev. 1.221.2.7. Perhaps better to MFC etc/rc.d/savecore from HEAD too. -- Maxim Konovalov From owner-freebsd-bugs@FreeBSD.ORG Fri Apr 29 20:50:10 2005 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6E69D16A4CE for ; Fri, 29 Apr 2005 20:50:10 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 50C2743D31 for ; Fri, 29 Apr 2005 20:50:10 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j3TKoATq069581 for ; Fri, 29 Apr 2005 20:50:10 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j3TKoAHB069580; Fri, 29 Apr 2005 20:50:10 GMT (envelope-from gnats) Date: Fri, 29 Apr 2005 20:50:10 GMT Message-Id: <200504292050.j3TKoAHB069580@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Thiemo Nordenholz Subject: Re: kern/79117: iavc(4) for AVM B1 PCI does not attach X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Thiemo Nordenholz List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Apr 2005 20:50:10 -0000 The following reply was made to PR kern/79117; it has been noted by GNATS. From: Thiemo Nordenholz To: bug-followup@FreeBSD.org Cc: Subject: Re: kern/79117: iavc(4) for AVM B1 PCI does not attach Date: Fri, 29 Apr 2005 22:42:52 +0200 I have for further experiments disabled the SYS_RES_MEMORY allocation routine in the iavc_pci_attach() routine (commented out everything between "use the memory mapped DMA controller" and "do some detection"). With this changed driver, the driver did attach. Upon starting of isdnd, the firmware could not be uploaded to the interface because: [ ... ] Apr 29 19:18:30 mygiea kernel: iavc0: firmware loaded, wait for ACK .... Apr 29 19:18:30 mygiea kernel: iavc0: loading failed, bad ack = 75 This is actually RECEIVE_POLLDWORD instead of the RECEIVE_POLL expected when not using DMA, so I changed the check for this in iavc_lli.c to check for the return code we receive. This way, isdnd at least states it had uploaded the firmware correctly. All I checked so far was if isdnd would somehow show incoming calls, which did not work. Further investigation should be done here. My current theory is that I have an older B1 card which not yet supports DMA (bought it on eBay), and behaves different from the officially supported B1 PCI V4. -- Query a PGP key server (e.g. http://www.pgp.net/) for my public key 41068629. Strange sender address? Please see http://www.thiemo.net/misc/list-mail.shtml From owner-freebsd-bugs@FreeBSD.ORG Sat Apr 30 03:30:03 2005 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2C66016A4CE for ; Sat, 30 Apr 2005 03:30:03 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id DB70043D48 for ; Sat, 30 Apr 2005 03:30:02 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j3U3U2Rd016111 for ; Sat, 30 Apr 2005 03:30:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j3U3U21a016110; Sat, 30 Apr 2005 03:30:02 GMT (envelope-from gnats) Resent-Date: Sat, 30 Apr 2005 03:30:02 GMT Resent-Message-Id: <200504300330.j3U3U21a016110@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Jeffrey Li Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B29E216A4CE for ; Sat, 30 Apr 2005 03:25:30 +0000 (GMT) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9778443D5D for ; Sat, 30 Apr 2005 03:25:30 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j3U3PUXP016768 for ; Sat, 30 Apr 2005 03:25:30 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id j3U3PUfw016740; Sat, 30 Apr 2005 03:25:30 GMT (envelope-from nobody) Message-Id: <200504300325.j3U3PUfw016740@www.freebsd.org> Date: Sat, 30 Apr 2005 03:25:30 GMT From: Jeffrey Li To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: kern/80469: mount_smbfs causes freebsd to reboot X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Apr 2005 03:30:03 -0000 >Number: 80469 >Category: kern >Synopsis: mount_smbfs causes freebsd to reboot >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Apr 30 03:30:02 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Jeffrey Li >Release: 6.0-Current >Organization: institute of software >Environment: FreeBSD aipc2 6.0-CURRENT FreeBSD 6.0-CURRENT #0: Tue Apr 26 17:30:01 CST 2005 root@aipc2:/usr/obj/usr/src/sys/GENERIC i386 >Description: When I mount a non-existing windows share name, (for example, I once mounted a share of //lsh2/c$ to /mnt, then lsh2 reboots, the "server" service of lsh2 doesn't start yet so the share c$ doesn't really exist, and /mnt is not umounted, then if I tries to mount //lsh2/c$ again to /mnt) freebsd automatically reboots. I cannot figure out what causes the problem. >How-To-Repeat: mount_smbfs //lsh2/c$ /mnt reboot lsh2 without starting "server"(windows share) service mount_smbfs //lsh2/c$ /mnt again then freebsd reboots >Fix: >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-bugs@FreeBSD.ORG Sat Apr 30 13:53:26 2005 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D530C16A4CE; Sat, 30 Apr 2005 13:53:26 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id AD17143D49; Sat, 30 Apr 2005 13:53:26 +0000 (GMT) (envelope-from des@FreeBSD.org) Received: from freefall.freebsd.org (des@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j3UDrQdv022184; Sat, 30 Apr 2005 13:53:26 GMT (envelope-from des@freefall.freebsd.org) Received: (from des@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j3UDrQ8Y022180; Sat, 30 Apr 2005 13:53:26 GMT (envelope-from des) Date: Sat, 30 Apr 2005 13:53:26 GMT From: Dag-Erling Smorgrav Message-Id: <200504301353.j3UDrQ8Y022180@freefall.freebsd.org> To: des@FreeBSD.org, freebsd-bugs@FreeBSD.org, des@FreeBSD.org Subject: Re: conf/80468: rc.conf's "dumpdev" does not accept AUTO as documented X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Apr 2005 13:53:26 -0000 Synopsis: rc.conf's "dumpdev" does not accept AUTO as documented Responsible-Changed-From-To: freebsd-bugs->des Responsible-Changed-By: des Responsible-Changed-When: Sat Apr 30 13:53:26 GMT 2005 Responsible-Changed-Why: My code. http://www.freebsd.org/cgi/query-pr.cgi?pr=80468 From owner-freebsd-bugs@FreeBSD.ORG Sat Apr 30 16:10:06 2005 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2111216A4CE for ; Sat, 30 Apr 2005 16:10:06 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id CF8C743D49 for ; Sat, 30 Apr 2005 16:10:05 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j3UGA5bc039761 for ; Sat, 30 Apr 2005 16:10:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j3UGA5wO039760; Sat, 30 Apr 2005 16:10:05 GMT (envelope-from gnats) Date: Sat, 30 Apr 2005 16:10:05 GMT Message-Id: <200504301610.j3UGA5wO039760@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Thierry Thomas Subject: Re: kern/80383: [PATCH] Add quirk for uhid to ignore certain usb devices (blacklist) X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Thierry Thomas List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Apr 2005 16:10:06 -0000 The following reply was made to PR kern/80383; it has been noted by GNATS. From: Thierry Thomas To: Lonnie Mendez Cc: FreeBSD-gnats-submit@FreeBSD.org, dignome@gmail.com, freebsd-usb@freebsd.org Subject: Re: kern/80383: [PATCH] Add quirk for uhid to ignore certain usb devices (blacklist) Date: Sat, 30 Apr 2005 18:06:50 +0200 --m51xatjYGsM+13rf Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit Le Mer 27 avr 05 à 7:55:31 +0200, Lonnie Mendez écrivait : > > >Number: 80383 > >Category: kern > >Synopsis: [PATCH] Add quirk for uhid to ignore certain usb devices (blacklist) > >Description: > > This patch allows uhid to leave alone devices that identify themselves as hid based, but are indeed > used via another interface. This is very simliar in concept to the hid blacklist table found in hid-core.c > in the linux kernel. Fine! I also need this to use the new MGE UPS devices (with nut, libusb and the newhidups driver). I have applied the submitted patch on a 5.4-STABLE, and it's OK. To add the MGE UPS devices, I need the attached patches. -- Th. Thomas. --m51xatjYGsM+13rf Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="usb_quirks.diff" --- src/sys/dev/usb/usb_quirks.c.orig Sat Feb 5 16:05:51 2005 +++ src/sys/dev/usb/usb_quirks.c Sat Apr 30 09:27:35 2005 @@ -101,6 +101,13 @@ ANY, { UQ_ASSUME_CM_OVER_DATA }}, { USB_VENDOR_SUNTAC, USB_PRODUCT_SUNTAC_AS64LX, 0x100, { UQ_ASSUME_CM_OVER_DATA }}, + /* Devices which should be ignored by uhid */ + { USB_VENDOR_DELORME, USB_PRODUCT_DELORME_EARTHMATE, + ANY, { UQ_HID_IGNORE }}, + { USB_VENDOR_MGE, USB_PRODUCT_MGE_UPS1, + ANY, { UQ_HID_IGNORE }}, + { USB_VENDOR_MGE, USB_PRODUCT_MGE_UPS2, + ANY, { UQ_HID_IGNORE }}, { 0, 0, 0, { 0 } } }; --m51xatjYGsM+13rf Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="usbdevs.diff" --- src/sys/dev/usb/usbdevs.orig Sun Apr 3 16:37:47 2005 +++ src/sys/dev/usb/usbdevs Sat Apr 30 16:00:53 2005 @@ -90,6 +90,7 @@ vendor DIAMOND2 0x045a Diamond (Supra) vendor MICROSOFT 0x045e Microsoft vendor PRIMAX 0x0461 Primax Electronics +vendor MGE 0x0463 MGE UPS Systems vendor AMP 0x0464 AMP vendor CHERRY 0x046a Cherry Mikroschalter vendor MEGATRENDS 0x046b American Megatrends @@ -962,6 +963,10 @@ /* Metricom products */ product METRICOM RICOCHET_GS 0x0001 Ricochet GS + +/* MGE UPS Systems */ +product MGE UPS1 0x0001 MGEUPS newhidups 1 +product MGE UPS2 0xffff MGEUPS newhidups 2 /* Microsoft products */ product MICROSOFT SIDEPREC 0x0008 SideWinder Precision Pro --m51xatjYGsM+13rf-- From owner-freebsd-bugs@FreeBSD.ORG Sat Apr 30 19:42:22 2005 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8B84516A4CE for ; Sat, 30 Apr 2005 19:42:22 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4251A43D2D for ; Sat, 30 Apr 2005 19:41:47 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j3UJfC8u063477 for ; Sat, 30 Apr 2005 19:41:12 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j3UJfCuQ063476; Sat, 30 Apr 2005 19:41:12 GMT (envelope-from gnats) Resent-Date: Sat, 30 Apr 2005 19:41:12 GMT Resent-Message-Id: <200504301941.j3UJfCuQ063476@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2434F16A4CE for ; Sat, 30 Apr 2005 19:33:32 +0000 (GMT) Received: from zeus.di.uoa.gr (zeus.di.uoa.gr [195.134.65.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id C87C443D4C for ; Sat, 30 Apr 2005 19:33:30 +0000 (GMT) (envelope-from root@paidi-fantasma.di.uoa.gr) Received: from paidi-fantasma.di.uoa.gr (ppp-157.dialup.uoa.gr [195.134.69.157]) by zeus.di.uoa.gr (8.12.10/8.12.10) with ESMTP id j3UJXYDu013509 for ; Sat, 30 Apr 2005 22:33:35 +0300 (EEST) Received: from paidi-fantasma.di.uoa.gr (localhost [127.0.0.1]) j3UIRLbk000993 for ; Sat, 30 Apr 2005 21:27:22 +0300 (EEST) (envelope-from root@paidi-fantasma.di.uoa.gr) Received: (from root@localhost) by paidi-fantasma.di.uoa.gr (8.13.3/8.13.3/Submit) id j3UIRKqJ000992; Sat, 30 Apr 2005 21:27:20 +0300 (EEST) (envelope-from root) Message-Id: <200504301827.j3UIRKqJ000992@paidi-fantasma.di.uoa.gr> Date: Sat, 30 Apr 2005 21:27:20 +0300 (EEST) From: To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: kern/80487: QUIRK: United MP 5512 Portable MP3 Player (2-in-1 USB DISK/MP3) X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: tnu@chania.di.uoa.gr List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Apr 2005 19:42:22 -0000 >Number: 80487 >Category: kern >Synopsis: QUIRK: United MP 5512 Portable MP3 Player (2-in-1 USB DISK/MP3) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Apr 30 19:40:01 GMT 2005 >Closed-Date: >Last-Modified: >Originator: >Release: FreeBSD 5.4-STABLE i386 >Organization: >Environment: System: FreeBSD 5.4-STABLE FreeBSD 5.4-STABLE #0: Fri Apr 29 12:19:56 EEST 2005 r@p:/usr/obj/usr/src/sys/L i386 >Description: Quirk for United MP 5512 Portable MP3 Player (2-in-1 USB DISK/MP3). The device is well detected... umass0: vendor 0x8341 product 0x0000, rev 1.10/1.00, addr 2 da0 at umass-sim0 bus 0 target 0 lun 0 da0: Removable Direct Access SCSI-0 device da0: 1.000MB/s transfers da0: 256MB (131072 2048 byte sectors: 64H 32S/T 64C) ...but fails to function properly. It cannot be mounted (da0 is non-existent) and any camcontrol command performed on da0 simply hangs. After waiting for some time (or unplugging violently the device)... umass0: BBB reset failed, STALLED umass0: BBB bulk-in clear stall failed, STALLED umass0: BBB bulk-out clear stall failed, STALLED (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0 umass0: BBB reset failed, STALLED umass0: BBB bulk-in clear stall failed, STALLED umass0: BBB bulk-out clear stall failed, STALLED [...] umass0: BBB reset failed, STALLED umass0: BBB bulk-in clear stall failed, STALLED umass0: BBB bulk-out clear stall failed, STALLED [...] umass0: BBB reset failed, STALLED umass0: BBB bulk-in clear stall failed, STALLED umass0: at uhub0 port 1 (addr 2) disconnected (da0:umass-sim0:0:0:0): lost device umass0: detached (da0:umass-sim0:0:0:0): removing device entry Opened disk da0 -> 5 The "Synchronize cache failed" is quite a hint so adding a "DA_Q_NO_SYNC_CACHE" in sys/cam/scsi/scsi_da.c eliminates the problem. After adding the quirk the device can be mounted (da0 exists) and it functions as expected. For the record: # camcontrol inquiry da0 pass0: Removable Direct Access SCSI-0 device pass0: 1.000MB/s transfers # usbdevs -v Controller /dev/usb0: addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), VIA(0x0000), rev 1.00 port 1 addr 2: full speed, power 100 mA, config 1, product 0x0000(0x0000), vendor 0x8341(0x8341), rev 1.00 port 2 powered >How-To-Repeat: >Fix: --- sys/cam/scsi/scsi_da.c.orig Fri Apr 29 03:10:36 2005 +++ sys/cam/scsi/scsi_da.c Sat Apr 30 21:01:32 2005 @@ -318,6 +318,13 @@ {T_DIRECT, SIP_MEDIA_REMOVABLE, "FL" , "NexIA+*", "*"}, /*quirks*/ DA_Q_NO_SYNC_CACHE }, + { + /* + * United MP5512 Portable MP3 Player (2-in-1 USB DISK/MP3) + */ + {T_DIRECT, SIP_MEDIA_REMOVABLE, "Generic*", "MUSIC DISK", "*"}, + /*quirks*/ DA_Q_NO_SYNC_CACHE + }, }; static disk_strategy_t dastrategy; >Release-Note: >Audit-Trail: >Unformatted: