Message-ID: <4DKNca$CO0@bbs.ustc.edu.cn>
Subject: freebsd-current Digest, Vol 69, Issue 11
Date: Thu, 22 Jul 2004 10:26:12 +0000
From: Galoisz.bbs@bbs.ustc.edu.cn (���博士)
Path: 74.82.202.154!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-cn.bbs.comp.unix.mbox.zip!g2news1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!zeus.visi.com!news-out.visi.com!news-out.octanews.net!indigo.octanews.net!feed5.newsreader.com!newsreader.com!news3.optonline.net!news.bylinux.net!netnews.sdu.edu.cn!USTC
Newsgroups: cn.bbs.comp.unix
Organization: 嫺�����
X-Filename: Unix/M.1090491972.A
Lines: 1974
Xref: 74.82.202.154 cn.bbs.comp.unix:1374


Send freebsd-current mailing list submissions to
	freebsd-current@freebsd.org

To subscribe or unsubscribe via the World Wide Web, visit
	http://lists.freebsd.org/mailman/listinfo/freebsd-current
or, via email, send a message with subject or body 'help' to
	freebsd-current-request@freebsd.org

You can reach the person managing the list at
	freebsd-current-owner@freebsd.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of freebsd-current digest..."


Today's Topics:

   1. Re: vmnet.ko missing - but it's there! - vmware and crashes
      (Garance A Drosihn)
   2. Re: laptop for -current (Daniel Eischen)
   3. Re: LORs with PF (Max Laier)
   4. Re: laptop for -current (Jake Hamby)
   5. Re: laptop for -current (Merill Ronquillo)
   6. Re: laptop for -current (Eric Anderson)
   7. Re: laptop for -current (George Hartzell)
   8. Re: laptop for -current (Drew Broadley)
   9. Re: laptop for -current (Robert Klein)
  10. Re: nanosleep returning early (Chuck Swiger)
  11. Re: laptop for -current (Gleb Smirnoff)
  12. Re: laptop for -current (Gleb Smirnoff)
  13. Re: laptop for -current (Bruce M Simpson)
  14. Re: NEW TAR (Harti Brandt)
  15. Re: laptop for -current (Lukas Ertl)
  16. Re: NEW TAR (Andrey Chernov)
  17. Re: NEW TAR  (Danny Braniss)
  18. Re: laptop for -current (Michael Ranner)
  19. Intel Pro/Wireless 2011B & FreeBSD 5.2.1 (Marian Hettwer)
  20. Re: Intel Pro/Wireless 2011B & FreeBSD 5.2.1 (Daniel O'Connor)
  21. Re: LORs with PF (Bjoern A. Zeeb)
  22. Re: Excellent job on the firewire support! (Doug Rabson)
  23. Re: Erros in: make -j 16 buildword (Willem Jan Withagen)
  24. Re: laptop for -current (Doug Rabson)
  25. 3Ware 9500 and disklabel (Philip Murray)
  26. Re: Anyone else noticed: bgfsck doesn't bgfsck non-root 'a'
      partitions? (Peter Jeremy)
  27. Re: NEW TAR (Peter Jeremy)
  28. Buildworld Failure  at libntp (Martin MATO)
  29. Re: Intel Pro/Wireless 2011B & FreeBSD 5.2.1 (Marian Hettwer)
  30. 5.2-CURRENT constantly crashing (Jan Lentfer)


----------------------------------------------------------------------

Message: 1
Date: Wed, 21 Jul 2004 20:59:24 -0400
From: Garance A Drosihn <drosih@rpi.edu>
Subject: Re: vmnet.ko missing - but it's there! - vmware and crashes
To: Robert Watson <rwatson@freebsd.org>
Cc: freebsd-current@freebsd.org
Message-ID: <p0611042dbd24c03d5927@[128.113.24.47]>
Content-Type: text/plain; charset="us-ascii" ; format="flowed"

At 12:01 PM -0400 7/21/04, Robert Watson wrote:
>
>I've been wondering if we shouldn't bring the VMware modules into
>the base source tree for some time -- the license is probably an
>issue, but VMware is a valuable tool for development, and I'm
>amazed at how frequently and accurately I shoot my feet due to
>stale versions of the module ...

It would be great to have more reliable support for VMware, as
it can be a very helpful tool.  I am also hopeful that the guys
at http://www.serenityvirtual.com/ will eventually get to their
virtual-machine product, which is supposed to run natively under
FreeBSD.  Right now they're still in the beta-version process,
and they have not started to beta-test the product which will
run with FreeBSD as the host OS.  (perhaps they're waiting for
5.3-stable... :-).

Right now my solution is to keep running VMware 2 on my
freebsd 4.10-system.  Neither of those are changing much, so
that works well enough for my purposes.  But if I had an option
which would reliably work on a 5.x-system, that would be very
helpful.

-- 
Garance Alistair Drosehn            =   gad@gilead.netel.rpi.edu
Senior Systems Programmer           or  gad@freebsd.org
Rensselaer Polytechnic Institute    or  drosih@rpi.edu

------------------------------

Message: 2
Date: Wed, 21 Jul 2004 22:19:58 -0400 (EDT)
From: Daniel Eischen <eischen@vigrid.com>
Subject: Re: laptop for -current
To: Martin <nakal@web.de>
Cc: Kim Culhan <w8hdkim@yahoo.com>
Message-ID:
	<Pine.GSO.4.10.10407212218310.5015-100000@pcnet5.pcnet.com>
Content-Type: TEXT/PLAIN; charset=US-ASCII

On Thu, 22 Jul 2004, Martin wrote:

> Am Mi, den 21.07.2004 schrieb Kim Culhan um 22:36:
> > Anyone know a laptop they think is good for FreeBSd-current?
> 
> My Thinkpad R40 works quite well, too.

Not mine.  My R40 doesn't work well due to bugs with ATA retry
handling.  I wouldn't recommend any IBM until this is fixed.

-- 
Dan Eischen


------------------------------

Message: 3
Date: Thu, 22 Jul 2004 04:56:12 +0200
From: Max Laier <max@love2party.net>
Subject: Re: LORs with PF
To: freebsd-current@freebsd.org
Message-ID: <200407220456.19592.max@love2party.net>
Content-Type: text/plain; charset="iso-8859-1"

On Wednesday 21 July 2004 23:37, Wiktor Niesiobedzki wrote:
> Hi,
>
> I don't think, it was reported yet, but here it goes:
>
> lock order reversal
>  1st 0xc0632c80 pf task mtx (pf task mtx) @
> /usr/src/sys/contrib/pf/net/pf.c:5822 2nd 0xc066638c tcp (tcp) @
> /usr/src/sys/contrib/pf/net/pf.c:2420
> KDB: stack backtrace:
> kdb_backtrace(c05f529a,c066638c,c05f4e21,c05f4e21,c05e7e3f) at
> kdb_backtrace+0x2e witness_checkorder(c066638c,9,c05e7e3f,974,104) at
> witness_checkorder+0x672 _mtx_lock_flags(c066638c,0,c05e7e3f,974,c1893230)
> at _mtx_lock_flags+0x80
> pf_socket_lookup(cb9659b4,cb9659b8,2,cb965a70,c14fad00) at
> pf_socket_lookup+0xb4 pf_test_tcp(cb965a20,cb965a18,2,c14fad00,c1475100) at

> pf_test_tcp+0x529 pf_test(2,c10d8014,cb965b00,c15276a0,c0665ee0) at
> pf_test+0x4a3
> pf_check_out(0,cb965b00,c10d8014,2,c1475100) at pf_check_out+0x5b
> pfil_run_hooks(c0665ee0,cb965bc0,c10d8014,2,c04e8a70) at
> pfil_run_hooks+0xca ip_output(c1475100,0,0,1,0) at ip_output+0x66d
> ip_forward(c1475100,0,0,1,0) at ip_forward+0x37d
> ip_input(c1475100,0,c05fad20,96,c0665598) at ip_input+0x65d
> netisr_processqueue(c0665598,0,c05fad20,fe,c10d62c0) at
> netisr_processqueue+0x8e swi_net(0,0,c05ef737,263,c063ae60) at swi_net+0xa3

> ithread_loop(c10dd400,cb965d48,c05ef52e,328,c10dd400) at ithread_loop+0x172

> fork_exit(c04ad4c0,c10dd400,cb965d48) at fork_exit+0xc2
> fork_trampoline() at fork_trampoline+0x8
> --- trap 0x1, eip = 0, esp = 0xcb965d7c, ebp = 0 ---

Ture, this was not reported earlier but is wellknown with ipfw. It exists as 

checking UID/GID in an IP-level firewall is a layer violation. The original 
LO comes from the following path:
   proto_output: lock PCB -> ip_output(... pcb) -> pflil_hooks -> pf: lock pf

vs. the above
   ip_input -> pfil_hooks -> pf: lock pf -> check socket credentials: lock PCB


It is not possible to drop the pf lock for lookup as this happens during 
ruleset evaluation (and no other thread should be allowed to modify the 
rules). I know that people are looking for a solution for ipfw, I have no 
idea at the moment and hence am very happy for any suggestion.

-- 
/"\  Best regards,			| mlaier@freebsd.org
\ /  Max Laier				| ICQ #67774661
 X   http://pf4freebsd.love2party.net/	| mlaier@EFnet
/ \  ASCII Ribbon Campaign		| Against HTML Mail and News
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: signature
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040722/
c27661ae/attachment-0001.bin

------------------------------

Message: 4
Date: Wed, 21 Jul 2004 20:01:28 -0700
From: Jake Hamby <jhamby@anobject.com>
Subject: Re: laptop for -current
To: Kim Culhan <w8hdkim@yahoo.com>
Cc: freebsd-current@freebsd.org
Message-ID: <40FF2E08.2040706@anobject.com>
Content-Type: text/plain; charset=us-ascii; format=flowed

Kim Culhan wrote:
> Anyone know a laptop they think is good for FreeBSd-current?

I just bought a Fujitsu Lifebook N5010, not specifically to run FreeBSD, 
but as a desktop replacement for software development (I typically 
dual-boot between Windows and Linux or FreeBSD).  The features unique to 
Fujitsu notebooks that I appreciated the most were:

* exceptionally crisp and bright 16" display visible from all angles
* one of the few brands to still include a built-in 3.5" floppy drive
* exceptionally fast Radeon 9600 3-D chipset w/ 64MB. (1)
* convenient, big rotary volume control knob with LED volume display.
* very well-designed keyboard layout and keyboard feel
* Built-in Atheros 802.11a/b/g (not yet supported by FreeBSD-current, 
but I have ported the latest version of the Linux driver). (2)

(1) Unfortunately, the Radeon 9600 is not yet supported for 3-D 
acceleration by the free drivers in XFree86.  It is supported by the 
proprietary ATI drivers for Linux which are not yet available for FreeBSD.

(2) You can download it here: 
http://www.anobject.com/jehamby/atheros_driver.tar.bz2

Other than general instability of the current -current (random hard 
freezes during moderate to heavy system activity, which doesn't happen 
with the RELENG_5_2 kernel), the main features not currently supported 
by FreeBSD on this laptop are:

* onboard 10/100 Ethernet not being detected (seems to be an issue with 
the PCI bus enumerator not seeing the card at all)
* the laptop doesn't come back up after an ACPI suspend.

If you can live without these two features until they get fixed, and are 
willing to lug around a 7 pound laptop w/ a 2-hour battery life, I think 
this is a stylish and high-quality machine for a reasonable price.

--
Jake Hamby
GoPix, Inc.

------------------------------

Message: 5
Date: Wed, 21 Jul 2004 20:07:14 -0700
From: Merill Ronquillo <mronquillo@gmail.com>
Subject: Re: laptop for -current
To: Drew Broadley <drew@corrupt.co.nz>
Cc: Kim Culhan <w8hdkim@yahoo.com>
Message-ID: <874121bf0407212007988e9e2@mail.gmail.com>
Content-Type: text/plain; charset=US-ASCII

On Thu, 22 Jul 2004 10:54:33 +1200, Drew Broadley <drew@corrupt.co.nz> wrote:

>    XFree86 doesn't like coming back up when I close the lid and open it
>    Suspend and Resume do not work.
> 
> Any help is appreciated for the following cons
> 
> - Drew

When you open your lid, go to another tty (e.g. hit CTRL+F2). Close
then open your lid so your screen comes back. Then hit CTRL+F9 to get
back in X.

------------------------------

Message: 6
Date: Wed, 21 Jul 2004 22:27:48 -0500
From: Eric Anderson <anderson@centtech.com>
Subject: Re: laptop for -current
To: Merill Ronquillo <mronquillo@gmail.com>
Cc: Drew Broadley <drew@corrupt.co.nz>
Message-ID: <40FF3434.2050700@centtech.com>
Content-Type: text/plain; charset=us-ascii; format=flowed

Merill Ronquillo wrote:

>On Thu, 22 Jul 2004 10:54:33 +1200, Drew Broadley <drew@corrupt.co.nz> wrote:

>  
>
>>   XFree86 doesn't like coming back up when I close the lid and open it
>>   Suspend and Resume do not work.
>>
>>Any help is appreciated for the following cons
>>
>>- Drew
>>    
>>
>
>When you open your lid, go to another tty (e.g. hit CTRL+F2). Close
>then open your lid so your screen comes back. Then hit CTRL+F9 to get
>back in X.
>  
>

I use the xfree86 snap version from ports 
(x11-servers/XFree86-4-Server-snap) and it works perfectly..

Eric


-- 
------------------------------------------------------------------
Eric Anderson     Sr. Systems Administrator    Centaur Technology
Talk sense to a fool and he calls you foolish.
------------------------------------------------------------------


------------------------------

Message: 7
Date: Wed, 21 Jul 2004 20:36:30 -0700
From: George Hartzell <hartzell@kestrel.alerce.com>
Subject: Re: laptop for -current
To: Kim Culhan <w8hdkim@yahoo.com>
Cc: freebsd-current@freebsd.org
Message-ID: <16639.13886.117931.641180@rosebud.alerce.com>
Content-Type: text/plain; charset=us-ascii

Kim Culhan writes:
 > Anyone know a laptop they think is good for FreeBSd-current?

I'd find it really useful if people would include a comment about
whether the machines sucessfull suspend/sleep (S3, S3bios, S4, ...)
and recover.

Thanks!

g.


------------------------------

Message: 8
Date: Thu, 22 Jul 2004 15:37:34 +1200
From: Drew Broadley <drew@corrupt.co.nz>
Subject: Re: laptop for -current
To: Merill Ronquillo <mronquillo@gmail.com>
Cc: Kim Culhan <w8hdkim@yahoo.com>
Message-ID: <40FF367E.9000203@corrupt.co.nz>
Content-Type: text/plain; charset=us-ascii; format=flowed

Merill Ronquillo wrote:

>On Thu, 22 Jul 2004 10:54:33 +1200, Drew Broadley <drew@corrupt.co.nz> wrote:

>  
>
>>   XFree86 doesn't like coming back up when I close the lid and open it
>>   Suspend and Resume do not work.
>>
>>Any help is appreciated for the following cons
>>
>>- Drew
>>    
>>
>
>When you open your lid, go to another tty (e.g. hit CTRL+F2). Close
>then open your lid so your screen comes back. Then hit CTRL+F9 to get
>back in X.
>
>  
>
Yes, I can get ti back after a few ctrl+alt+f1, ctrl+alt+f2 while 
holding the lid switch and releasing it.

I just find it very very annoying.

- Drew


------------------------------

Message: 9
Date: Thu, 22 Jul 2004 07:46:55 +0200
From: Robert Klein <RoKlein@roklein.de>
Subject: Re: laptop for -current
To: freebsd-current@freebsd.org
Message-ID: <200407220746.55870.RoKlein@roklein.de>
Content-Type: text/plain;  charset="iso-8859-1"

On Mittwoch, 21. Juli 2004 22:36, Kim Culhan wrote:
> Anyone know a laptop they think is good for FreeBSd-current?

I have an Acer Travelmate 291LCI which doesn't boot.
Stable doesn't find the CD-ROM, all currents I tried had some 
kinda panic during boot.. :(  

Robert


------------------------------

Message: 10
Date: Thu, 22 Jul 2004 02:01:53 -0400
From: Chuck Swiger <cswiger@mac.com>
Subject: Re: nanosleep returning early
To: John Birrell <jb@cimlogic.com.au>
Cc: current@freebsd.org
Message-ID: <40FF5851.5080207@mac.com>
Content-Type: text/plain; charset=us-ascii; format=flowed

John Birrell wrote:
[ ... ]
> Bruce, have you seen this document: <http://www.dragonflybsd.org/docs/nanosl
eep/>?
> I'm not looking for a critique here. The document talks about the sleep
> overruns in various operatingg systems. There is a patch that was applied
> to DragonFly which a[p]plies to the FreeBSD code base too.

This was a good link, BTW, John: thanks for the pointer.  I've created diffs 

of containing the first part of the changes for -CURRENT and -STABLE at:

http://www.pkix.net/~chuck/timer/timer-STABLE.diff
http://www.pkix.net/~chuck/timer/timer-CURRENT.diff

On a 4.10 P3-grade machine using HZ=1000, I get the following graphs for 200 

seconds worth of the "wakeup.c" program:

http://www.pkix.net/~chuck/timer/wakeup001.gif

..so the changes reduce the latency seen from around 1.2ms to around 0.46ms.


The aliasing problem is still clearly visible since I haven't had a chance to 

test the second set of changes.  Matt's PLL code in i386/isa/clock.c has 
diverged a fair amount and the Dfly code apparently no longer works on 
486-grade hardware due to using 8254 timing modes, if I understand what's 
going on correctly, but just the improvement above seems quite worthwhile.

I'm going to retest using HZ=100, too, to see what's going on under default 
conditions.  Please note that the wakeup interval after the patch can go very 

slightly negative (by 5-10 us): I'm not sure whether my hardware clock is off 

or a little flaky in the microsecond range, whether there is some issue with 

nanosleep() waking things up a little early, or whether the diffs need to be 

tweaked more.

Testing on a few other machines would be good.  :-)

-- 
-Chuck


------------------------------

Message: 11
Date: Thu, 22 Jul 2004 10:39:03 +0400
From: Gleb Smirnoff <glebius@freebsd.org>
Subject: Re: laptop for -current
To: Drew Broadley <drew@corrupt.co.nz>
Cc: Kim Culhan <w8hdkim@yahoo.com>
Message-ID: <20040722063903.GA70548@cell.sick.ru>
Content-Type: text/plain; charset=koi8-r

On Thu, Jul 22, 2004 at 03:37:34PM +1200, Drew Broadley wrote:
D> >When you open your lid, go to another tty (e.g. hit CTRL+F2). Close
D> >then open your lid so your screen comes back. Then hit CTRL+F9 to get
D> >back in X.
D> >
D> > 
D> >
D> Yes, I can get ti back after a few ctrl+alt+f1, ctrl+alt+f2 while 
D> holding the lid switch and releasing it.
D> 
D> I just find it very very annoying.

Put 

hw.syscons.sc_no_suspend_vtswitch=1

in you /etc/sysctl.conf

-- 
Totus tuus, Glebius.
GLEBIUS-RIPN GLEB-RIPE

------------------------------

Message: 12
Date: Thu, 22 Jul 2004 10:41:11 +0400
From: Gleb Smirnoff <glebius@freebsd.org>
Subject: Re: laptop for -current
To: George Hartzell <hartzell@kestrel.alerce.com>
Cc: Kim Culhan <w8hdkim@yahoo.com>
Message-ID: <20040722064111.GB70548@cell.sick.ru>
Content-Type: text/plain; charset=koi8-r

On Wed, Jul 21, 2004 at 08:36:30PM -0700, George Hartzell wrote:
G> Kim Culhan writes:
G>  > Anyone know a laptop they think is good for FreeBSd-current?
G> 
G> I'd find it really useful if people would include a comment about
G> whether the machines sucessfull suspend/sleep (S3, S3bios, S4, ...)
G> and recover.

As I have already posted to CURRENT my IBM T20 was sleeping/resuming
perfectly just 2 weeks ago. Now something is broekn in apm o related
code.

-- 
Totus tuus, Glebius.
GLEBIUS-RIPN GLEB-RIPE

------------------------------

Message: 13
Date: Thu, 22 Jul 2004 07:48:54 +0100
From: Bruce M Simpson <bms@spc.org>
Subject: Re: laptop for -current
To: Daniel Eischen <eischen@vigrid.com>
Cc: Kim Culhan <w8hdkim@yahoo.com>
Message-ID: <20040722064854.GG775@empiric.dek.spc.org>
Content-Type: text/plain; charset=us-ascii

On Wed, Jul 21, 2004 at 10:19:58PM -0400, Daniel Eischen wrote:
> > My Thinkpad R40 works quite well, too.
> 
> Not mine.  My R40 doesn't work well due to bugs with ATA retry
> handling.  I wouldn't recommend any IBM until this is fixed.

This is *definitely a show stopper for 5.3*.

Just my 2 pence.
BMS

------------------------------

Message: 14
Date: Thu, 22 Jul 2004 09:02:44 +0200 (CEST)
From: Harti Brandt <harti@freebsd.org>
Subject: Re: NEW TAR
To: Daniel Lang <dl@leo.org>
Cc: current@freebsd.org
Message-ID: <20040722085729.O9549@beagle.kn.op.dlr.de>
Content-Type: TEXT/PLAIN; charset=US-ASCII

On Wed, 21 Jul 2004, Daniel Lang wrote:

DL>To Harti:
DL>I admit I don't know for sure, but to my understanding the handling
DL>of the sparse file is done in the filesystem layer and not in the 
DL>application, right? Then all possible performance benefit on reading
DL>a sparse file should be gained anyway. Regardless if the application
DL>(the archiver) knows about the locations of the gaps or not....

I know of at least one application that does sparse file handling in the 
sense that it tries to create sparse file when the underlying FS supports
it - that is my PDP11 emulator. I have even a special zcp utility that 
may re-sparse a file by copying it and looking for 0 blocks. It's not that 
p11 depends on the file system supporting sparse files - it just tries to 
use them if they are available.

Again, for tar it's a matter of speed. Didn't Tim say that with the 
current sparse file info layout (gtar) he needs more than one pass over 
the file?

harti

------------------------------

Message: 15
Date: Thu, 22 Jul 2004 09:06:33 +0200 (CEST)
From: Lukas Ertl <le@FreeBSD.org>
Subject: Re: laptop for -current
To: George Hartzell <hartzell@kestrel.alerce.com>
Cc: Kim Culhan <w8hdkim@yahoo.com>
Message-ID: <20040722090555.G632@korben.in.tern>
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed

On Wed, 21 Jul 2004, George Hartzell wrote:

> Kim Culhan writes:
> > Anyone know a laptop they think is good for FreeBSd-current?
>
> I'd find it really useful if people would include a comment about
> whether the machines sucessfull suspend/sleep (S3, S3bios, S4, ...)
> and recover.

<shameless plug>
I'd also like to point to the FreeBSD Laptop Compatibility List 
<http://gerda.univie.ac.at/freebsd-laptops/>.

cheers,
le

-- 
Lukas Ertl                         http://homepage.univie.ac.at/l.ertl/
le@FreeBSD.org                     http://people.freebsd.org/~le/

------------------------------

Message: 16
Date: Thu, 22 Jul 2004 11:19:29 +0400
From: Andrey Chernov <ache@nagual.pp.ru>
Subject: Re: NEW TAR
To: Tim Kientzle <tim@kientzle.com>
Cc: ports@FreeBSD.ORG
Message-ID: <20040722071929.GA13591@nagual.pp.ru>
Content-Type: text/plain; charset=us-ascii

On Mon, Jul 19, 2004 at 09:29:54PM -0700, Tim Kientzle wrote:
> but they're not gtar-compatible.  (The gtar
> approach has a number of drawbacks.  The primary
> one being that on many systems it requires reading
> the entire file twice, once to find holes and again
> to actually archive the file.  It is possible to
> do both in one pass if you store the sparse file
> data in a different fashion.)

I can't imagine the case when 2 passes are needed. Even if you have normal 
file in the archive and specify -S only when extracting (it should work as 
expected), only 1 pass is needed. Just stop on first '\0' and count them 
until they finished, then do lseek (real case will be a bit harder to 
implement because of block boundaries).

-- 
Andrey Chernov | http://ache.pp.ru/

------------------------------

Message: 17
Date: Thu, 22 Jul 2004 10:34:34 +0300
From: Danny Braniss <danny@cs.huji.ac.il>
Subject: Re: NEW TAR 
To: Brooks Davis <brooks@one-eyed-alien.net>
Cc: Jan Grant <Jan.Grant@bristol.ac.uk>
Message-ID: <20040722073437.4274843D5D@mx1.FreeBSD.org>
Content-Type: text/plain; charset=us-ascii

> 
> --lrZ03NoBR/3+SXJZ
> Content-Type: text/plain; charset=us-ascii
> Content-Disposition: inline
> Content-Transfer-Encoding: quoted-printable
> 
> On Wed, Jul 21, 2004 at 05:14:27PM +0200, Daniel Lang wrote:
> > Hi,
> >=20
> > Jan Grant wrote on Wed, Jul 21, 2004 at 02:44:42PM +0100:
> > [..]
> > > You're correct, in that filesystem semantics don't require an archiver=

> =20
> > > to recreate holes. There are storage efficiency gains to be made in=20
> > > identifying holes, that's true - particularly in the case of absolutely=

> =20
> > > whopping but extremely sparse files. In those cases, a simple=20
> > > userland-view-of-the-filesystem-semantics approach to ideentifying area=

> s=20
> > > that _might_ be holes (just for archive efficiency) can still be=20
> > > expensive and might involve the scanning of multiple gigabytes of=20
> > > "virtual" zeroes.
> > >=20
> > > Solaris offers an fcntl to identify holes (IIRC) for just this purpose.=

> =20
> > > If the underlying filesystem can't be made to support it, there's an=20

> > > efficiency loss but otherwise it's no great shakes.
> >=20
> > I don't get it.
> >=20
> > I assume, that for any consumer it is totally transparent if
> > possibly existing chunks of 0-bytes are actually blocks full of
> > zeroes or just non-allocated blocks, correct?
> >=20
> > Second, it is true, that there is a gain in terms of occupied disk
> > space, if chunks of zeroes are not allocated at all, correct?
> >=20
> > So, from my point of view it is totally irrelevant, if a sparse file
> > is archived and then extracted, if the areas, which contain zeroes
> > are exactly in the same manner consisting of unallocated blocks
> > or not.
> >=20
> > So, all I guess an archiver must do is:
> >=20
> >  - read the file=20
> >  - scan the file for consecutive blocks of zeroes
> >  - archive these blocks in an efficient way
> >  - on extraction, create a sparse file with the previously
> >    identified empty blocks, regardless if these blocks
> >    have been 'sparse' blocks in the original file or not.
> >=20
> > I do not see, why it is important if the original file was sparse
> > at all or maybe in different places.
> 
> Since sparse files over commit the disk, they should only be created
> deliberatly.  Otherwise you can easily get in trouble if you try to use
> reserved space later since it won't actually be reserved.  Consider the
> case of a file system image created with "dd if=3D/dev/zero ...; newfw
> =2E..".  If your archiver decides to be "smart" and restore a copy of that
> file sparce and then you use up the availble blocks on your disk you're
> going to be in a world of hurt.  I wouldn't be suprised it that resulted
> in a panic.

If the file has 'holes' and they are read as zero, then doesn't compressing
the tar file nicely reduce it?

dd if=/dev/zero of=junk count=100
tar czf junk.tar.gz junk
ls -ls junk*
 50 -rw-r--r--  1 danny  wheel  51200 Jul 22 10:28 junk
  2 -rw-r--r--  1 danny  wheel    170 Jul 22 10:33 junk.tar.gz

danny



------------------------------

Message: 18
Date: Thu, 22 Jul 2004 09:51:13 +0200
From: Michael Ranner <mranner@inode.at>
Subject: Re: laptop for -current
To: freebsd-current@freebsd.org
Message-ID: <200407220951.13659.mranner@inode.at>
Content-Type: text/plain;  charset="iso-8859-1"

Am Mittwoch, 21. Juli 2004 22:36 schrieb Kim Culhan:
> Anyone know a laptop they think is good for FreeBSd-current?
>
> With all the differences in hardware, trying to find
> one which is mostly compatible is not straightforward.
>
> The manufacturers don't make it easier..

Hi, running 5.2.1 nicely on HP compaq nx9005. This laptop has onboard LAN, 
firewire, DVD ROM/CD-Writer, USB 2.0 but also old style serial, parallel and 

floppy drive.

Soundcard works fine, gfx card needs X Server better than XFree86 4.3, I am 
running 4.3.99. Only the built in wavelan card is not supported, but have not 

yet tried to use ndisulator (Project Evil).

You might use the PowerNow kernel modul from http://poupinou.org/cpufreq/bsd/

because runnung the cpu on highes speed is not preferable (temp, noise, 
battery life time), but see this bice howto for FreeBSD on this Laptop:

http://demira.shopkeeper.de/~sascha/nx9005/

-- 
/\/\ichael Ranner

mranner@inode.at - mranner@jawa.at - mranner@bugat.at
-----------------------------------------------------
   BSD Usergroup Austria - http://www.bugat.at/

-----BEGIN GEEK CODE BLOCK-----
GIT/CS/AT dx(-) s+:(++:) a- C++ UBLVS++++$ P++>+++$ L-(+)$ E---
W+++$ N+(++) o-- K- w--()$ O-(--) M@ V-(--) PS+>++ PE(-) Y+ PGP(-)
t+ 5+ X+++(++++) R* tv++ b+(++) DI++ D-(--) G- e h--(*) r++ y?
------END GEEK CODE BLOCK------

------------------------------

Message: 19
Date: Thu, 22 Jul 2004 09:52:44 +0200
From: Marian Hettwer <Mh@kernel32.de>
Subject: Intel Pro/Wireless 2011B & FreeBSD 5.2.1
To: freebsd-current@freebsd.org
Message-ID: <40FF724C.5080308@kernel32.de>
Content-Type: text/plain; charset=us-ascii; format=flowed

Hi All,

I searched the the pr database and figured out, that support for Intel's 
2011B is in progress and that wi(4) actually doesn't support it.
I was just wondering wether there's any progress, because the pr entry 
is from May 2002 ...

I would have a 2011B which I could borrow for development purpose. 
Unluckily it'll probably be only borrowing, not donating.

If I could help testing patches for wi(4) to get support for the 2011B 
just drop me a line :)

thanks and best regards,
Marian

------------------------------

Message: 20
Date: Thu, 22 Jul 2004 17:29:01 +0930
From: "Daniel O'Connor" <doconnor@gsoft.com.au>
Subject: Re: Intel Pro/Wireless 2011B & FreeBSD 5.2.1
To: freebsd-current@freebsd.org
Cc: Marian Hettwer <Mh@kernel32.de>
Message-ID: <200407221729.01137.doconnor@gsoft.com.au>
Content-Type: Text/Plain;  charset="iso-8859-1"

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, 22 Jul 2004 17:22, Marian Hettwer wrote:
> I searched the the pr database and figured out, that support for Intel's
> 2011B is in progress and that wi(4) actually doesn't support it.
> I was just wondering wether there's any progress, because the pr entry
> is from May 2002 ...
>
> I would have a 2011B which I could borrow for development purpose.
> Unluckily it'll probably be only borrowing, not donating.
>
> If I could help testing patches for wi(4) to get support for the 2011B
> just drop me a line :)

I doubt wi will ever support it.

You could try if_ndis.. (If you are running 5.2-CURRENT)

- -- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFA/3PF5ZPcIHs/zowRAu+JAJ0RuCIK33M/PX+7Oeb+1T7Kw5rXcQCfdHN8
LDSBPyPMiHhajiGRy6o3+Zo=
=8nnr
-----END PGP SIGNATURE-----

------------------------------

Message: 21
Date: Thu, 22 Jul 2004 07:59:08 +0000 (UTC)
From: "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>
Subject: Re: LORs with PF
To: Wiktor Niesiobedzki <bsd@w.evip.pl>
Cc: FreeBSD current mailing list <current@freebsd.org>
Message-ID:
	<Pine.BSF.4.53.0407220758080.76391@e0-0.zab2.int.zabbadoz.net>
Content-Type: TEXT/PLAIN; charset=US-ASCII

On Wed, 21 Jul 2004, Wiktor Niesiobedzki wrote:

Hi,

> I don't think, it was reported yet, but here it goes:
>
> lock order reversal
>  1st 0xc0632c80 pf task mtx (pf task mtx) @ /usr/src/sys/contrib/pf/net/pf.c
:5822
>  2nd 0xc066638c tcp (tcp) @ /usr/src/sys/contrib/pf/net/pf.c:2420

for reference: added it to "LOR page" with LOR # 017:
http://sources.zabbadoz.net/freebsd/lor.html#017

-- 
Bjoern A. Zeeb				bzeeb at Zabbadoz dot NeT

------------------------------

Message: 22
Date: Thu, 22 Jul 2004 09:38:40 +0100
From: Doug Rabson <dfr@nlsystems.com>
Subject: Re: Excellent job on the firewire support!
To: Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>
Cc: simokawa@freebsd.org
Message-ID: <200407220938.40393.dfr@nlsystems.com>
Content-Type: text/plain;  charset="iso-8859-1"

On Wednesday 21 July 2004 22:53, Hidetoshi Shimokawa wrote:
> At Wed, 21 Jul 2004 15:59:01 +0100,
>
> Doug Rabson wrote:
> > > If no, assuming I had a Windows or Linux box on the firewire bus,
> > > would it be possible to access physical memory from a different
> > > OS?
> >
> > Windows XP has some kind of firewire debug driver that you might
> > have to load (I haven't read the docs on that). I don't think the
> > linux driver enables physical access by default but it would be
> > easy to hack it in (just write all ones to the right fwohci
> > register).
>
> The physical access is usually used for SBP-2 initiator mode.
> Without physical access, the performance of SBP-2 should be
> poorer and we see more load on CPU.
>
> The physical access can be restricted by two way. You can
> restrict it per node-id and by physical memory range(upper bound).

My vague plan was for the SBP driver to enable physical access from the 
SBP node. This could be done on a transaction basis so that we enable 
it before posting a transaction and disabled it when all current 
transactions have completed.

>
> As far as I have tried, WindowsXP seems not to allow physical access
> of usual nodes. But I think you can easily cheat it by a node with
> sbp target mode(use sbp_targ(4) ;-).

If you can avoid enabling access for drives that you are not actually 
using, this might not be that bad. Defaulting to auto-login means that 
an attacker would have plenty of opportunity though.

>
> In my opinion, it's hard to ensure security with current OHCI
> specification.

In practice, any attacker is likely to be only a few meters away so the 
best defense is probably to just reach over and hit them :-)

------------------------------

Message: 23
Date: Thu, 22 Jul 2004 10:46:48 +0200
From: "Willem Jan Withagen" <wjw@withagen.nl>
Subject: Re: Erros in: make -j 16 buildword
To: "Doug White" <dwhite@gumbysoft.com>
Cc: current@FreeBSD.ORG
Message-ID: <01ea01c46fc8$6d1f32c0$471b3dd4@digiware.nl>
Content-Type: text/plain;	charset="iso-8859-1"

From: "Doug White" <dwhite@gumbysoft.com>
> On Tue, 20 Jul 2004, Willem Jan Withagen wrote:
>
> > Hi,
> >
> > One way or another it seems that I can no longer buildworld with -j16.
> > -j8 works perfectly, but -j16 fails consistently at:
> [...]
> >
> > Unless anybody has suggestions of which programs generate these tearse
> > messages???
> > Or a way to get make to be more informative???
>
> You need to capture the entire output since the error is buried in there.
> Make doesn't abort -j builds until all the subprocesses are finished, and
> they can run for a long time...

You know how long the output of a buildworld is, right??
When the errors are reported, visually it is at the point where it normally
looks like it is done.

Building ports gives you notice of the directory in which it started to come u
p
from thus telling you which package was in error.....

Maybe I'll see if I can put something like this in make of the makefiles....

Thanx
--WjW


------------------------------

Message: 24
Date: Thu, 22 Jul 2004 09:48:23 +0100
From: Doug Rabson <dfr@nlsystems.com>
Subject: Re: laptop for -current
To: freebsd-current@freebsd.org
Cc: Kim Culhan <w8hdkim@yahoo.com>
Message-ID: <200407220948.23115.dfr@nlsystems.com>
Content-Type: text/plain;  charset="iso-8859-1"

On Wednesday 21 July 2004 21:36, Kim Culhan wrote:
> Anyone know a laptop they think is good for FreeBSd-current?
>
> With all the differences in hardware, trying to find
> one which is mostly compatible is not straightforward.
>
> The manufacturers don't make it easier..

I have no idea whether or not it works well with FreeBSD-current but I 
*really* want a Sony VAIO x505. If someone felt like buying me one, I 
would fix FreeBSD-current so that it worked :-)

------------------------------

Message: 25
Date: Thu, 22 Jul 2004 21:01:55 +1200
From: Philip Murray <pmurray@nevada.net.nz>
Subject: 3Ware 9500 and disklabel
To: freebsd-current@www.freebsd.org
Message-ID: <40FF8283.1030102@nevada.net.nz>
Content-Type: text/plain; charset="iso-8859-1"

Hi,

I'm trying to test out -CURRENT (22/7/2004) on a dual Opteron (Tyan 
board) with a 3Ware 9500-8 raid controller and I'm having problems with 
disklabel.

At the moment I have a RAID0 array totalling 600GB. I fdisk'd them to 
create a single partition using the entire volume, fdisk (from 
sysinstall) complained about the geometry, I wasn't sure what the 
correct geometry was, so I forged ahead anyway.

Then I went to try and disklabel it. It seemed to work from sysinstall 
until I went to write the changes out and it complained "ERROR: Unable 
to write data to disk da0!'. So I tried disklabel on the command line, as so

    disklabel -e /dev/da0s1

Where it promptly hangs (won't respond to ^C), ps lists it as

    root      641  0.0  0.0  5600  940  p1  DL+   8:48PM   0:00.01 
disklabel -e /dev/da0s1

Is this something stupid I've done (geometry?) or a bug with the twa driver?

I've attached my dmesg FWIW, any other information I can provide on request.

Philip

-------------- next part --------------
Copyright (c) 1992-2004 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD 5.2-CURRENT #2: Thu Jul 22 19:10:14 NZST 2004
    root@wildfire.office.open2view.com:/usr/obj/usr/src/sys/WILDFIRE
WARNING: WITNESS option enabled, expect reduced performance.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Opteron(tm) Processor 244 (1791.80-MHz K8-class CPU)
  Origin = "AuthenticAMD"  Id = 0xf58  Stepping = 8
  Features=0x78bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,
CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2>
  AMD Features=0xe0500800<SYSCALL,NX,MMX+,LM,3DNow+,3DNow>
real memory  = 2147418112 (2047 MB)
avail memory = 2061725696 (1966 MB)
ACPI APIC Table: <A M I  OEMAPIC >
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
MADT: Forcing active-low polarity and level trigger for SCI
ioapic0 <Version 1.1> irqs 0-23 on motherboard
ioapic1 <Version 1.1> irqs 24-27 on motherboard
ioapic2 <Version 1.1> irqs 28-31 on motherboard
acpi0: <A M I OEMXSDT> on motherboard
acpi0: [GIANT-LOCKED]
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x5008-0x500b on acpi0
cpu0: <ACPI CPU> on acpi0
cpu1: <ACPI CPU> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib1: <ACPI PCI-PCI bridge> at device 6.0 on pci0
pci3: <ACPI PCI bus> on pcib1
ohci0: <OHCI (generic) USB controller> mem 0xfeafc000-0xfeafcfff irq 19 at dev
ice 0.0 on pci3
ohci0: [GIANT-LOCKED]
usb0: OHCI version 1.0, legacy support
usb0: <OHCI (generic) USB controller> on ohci0
usb0: USB revision 1.0
uhub0: AMD OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
ohci1: <OHCI (generic) USB controller> mem 0xfeafd000-0xfeafdfff irq 19 at dev
ice 0.1 on pci3
ohci1: [GIANT-LOCKED]
usb1: OHCI version 1.0, legacy support
usb1: <OHCI (generic) USB controller> on ohci1
usb1: USB revision 1.0
uhub1: AMD OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 3 ports with 3 removable, self powered
atapci0: <SiI 3114 SATA150 controller> port 0xa800-0xa80f,0xac00-0xac03,0xb000
-0xb007,0xb400-0xb403,0xbc00-0xbc07 mem 0xfeafec00-0xfeafefff irq 19 at device
 5.0 on pci3
ata2: at 0xfeafec00 on atapci0
ata3: at 0xfeafec00 on atapci0
ata4: at 0xfeafec00 on atapci0
ata5: at 0xfeafec00 on atapci0
pci3: <display, VGA> at device 6.0 (no driver attached)
fxp0: <Intel 82551 Pro/100 Ethernet> port 0xa400-0xa43f mem 0xfeaa0000-0xfeabf
fff,0xfeafb000-0xfeafbfff irq 18 at device 8.0 on pci3
miibus0: <MII bus> on fxp0
inphy0: <i82555 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp0: Ethernet address: 00:e0:81:29:b6:cf
fxp0: [GIANT-LOCKED]
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci1: <AMD 8111 UDMA133 controller> port 0xffa0-0xffaf,0x376,0x170-0x177,0x
3f6,0x1f0-0x1f7 at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci1
ata1: at 0x170 irq 15 on atapci1
amdpm0: <AMD 756/766/768/8111 Power Management Controller> port 0xe0-0xff,0xcc
00-0xcc1f irq 19 at device 7.2 on pci0
amdpm0: could not map i/o space
device_attach: amdpm0 attach returned 6
pci0: <bridge, PCI-unknown> at device 7.3 (no driver attached)
pcib2: <ACPI PCI-PCI bridge> at device 10.0 on pci0
pci2: <ACPI PCI bus> on pcib2
bge0: <Broadcom BCM5704C Dual Gigabit Ethernet, ASIC rev. 0x2003> mem 0xfc8b00
00-0xfc8bffff,0xfc8c0000-0xfc8cffff irq 24 at device 9.0 on pci2
miibus1: <MII bus> on bge0
brgphy0: <BCM5704 10/100/1000baseTX PHY> on miibus1
brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000base
TX-FDX, auto
bge0: Ethernet address: 00:e0:81:29:f0:14
bge0: [GIANT-LOCKED]
bge1: <Broadcom BCM5704C Dual Gigabit Ethernet, ASIC rev. 0x2003> mem 0xfc8e00
00-0xfc8effff,0xfc8f0000-0xfc8fffff irq 25 at device 9.1 on pci2
miibus2: <MII bus> on bge1
brgphy1: <BCM5704 10/100/1000baseTX PHY> on miibus2
brgphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000base
TX-FDX, auto
bge1: Ethernet address: 00:e0:81:29:f0:15
bge1: [GIANT-LOCKED]
pci0: <base peripheral, interrupt controller> at device 10.1 (no driver attach
ed)
pcib3: <ACPI PCI-PCI bridge> at device 11.0 on pci0
pci1: <ACPI PCI bus> on pcib3
3ware device driver for 9000 series storage controllers, version: 2.50.00.000

twa0: <3ware 9000 series Storage Controller> port 0x9800-0x98ff mem 0xfb800000
-0xfbffffff,0xfc7ffc00-0xfc7ffcff irq 28 at device 3.0 on pci1
twa0: [GIANT-LOCKED]
twa0: 8 ports, Firmware FE9X 2.02.00.011, BIOS BE9X 2.02.01.037
pci0: <base peripheral, interrupt controller> at device 11.1 (no driver attach
ed)
acpi_button0: <Power Button> on acpi0
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A, console
sio1 port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
fdc0: <floppy drive controller (FDE)> port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on ac
pi0
orm0: <ISA Option ROMs> at iomem 0xcc800-0xcdfff,0xc8000-0xcc7ff,0xc0000-0xc7f
ff on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0
ppc0: cannot reserve I/O port range
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x100>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounters tick every 0.976 msec
acpi_cpu: throttling enabled, 8 steps (100% to 12.5%), currently 100.0%
ad4: 157066MB <HDS722516VLSA80> [319120/16/63] at ata2-master SATA150
da0 at twa0 bus 0 target 0 lun 0
da0: <3ware Logical Disk 00 1.00> Fixed Direct Access SCSI-0 device 
da0: 100.000MB/s transfers
da0: 610308MB (1249910784 512 byte sectors: 255H 63S/T 77803C)
da1 at twa0 bus 0 target 1 lun 0
da1: <3ware Logical Disk 01 1.00> Fixed Direct Access SCSI-0 device 
da1: 100.000MB/s transfers
da1: 610308MB (1249910784 512 byte sectors: 255H 63S/T 77803C)
SMP: AP CPU #1 Launched!
Mounting root from ufs:/dev/ad4s1a

------------------------------

Message: 26
Date: Thu, 22 Jul 2004 19:08:06 +1000
From: Peter Jeremy <PeterJeremy@optushome.com.au>
Subject: Re: Anyone else noticed: bgfsck doesn't bgfsck non-root 'a'
	partitions?
To: Robert Watson <rwatson@freebsd.org>
Cc: current@freebsd.org
Message-ID: <20040722090806.GF3001@cirb503493.alcatel.com.au>
Content-Type: text/plain; charset=us-ascii

On Tue, 2004-Jul-20 15:55:17 -0400, Robert Watson wrote:
>fsck has logic to force a full preening fsck of '/', permitting background
>file system fsck only for non-root file systems.
..
>on /var and /usr, but not /local0.  So it sounds like the logic in fsck is
>simply guessing that any 'a' partition needs a foreground fsck.

I can't quickly find that logic anywhere.  The logic I can find is:
* "ro" and "noauto" filesystems aren't eligible for background fsck
  (fsck.c:isok())
* Previous background fsck failed or filesystem doesn't have soft-updates
  enabled or kernel doesn't have soft-updates support or filesystem already
  clean forces a foreground fsck ("fsck_ufs -F" from fsck.c:checkfs()).

Are you sure /local0 doesn't fall into one of the above categories?

The following (untested) patch disables background checking for pass 1
filesystems when fsck is running in "scan fstab" mode.  According to
fstab(5), only the root filesystem should be in pass 1.

Index: fsck.c
===================================================================
RCS file: /usr/ncvs/src/sbin/fsck/fsck.c,v
retrieving revision 1.17
diff -u -r1.17 fsck.c
--- fsck.c	29 Oct 2003 16:09:17 -0000	1.17
+++ fsck.c	22 Jul 2004 08:46:33 -0000
@@ -244,6 +244,8 @@
 	 * by invoking its check program with the -F flag.
 	 */
 	if (flags & DO_BACKGRD) {
+		if (fs->fs_passno == 1)
+			return (0);
 		if (!strcmp(fs->fs_type, FSTAB_RO))
 			return (0);
 		if (getmntpt(fs->fs_spec) == NULL)
@@ -261,7 +263,8 @@
 	 * itself to see if it is willing to defer to background
 	 * checking by invoking its check program with the -F flag.
 	 */
-	if ((flags & CHECK_BACKGRD) == 0 || !strcmp(fs->fs_type, FSTAB_RO))
+	if ((flags & CHECK_BACKGRD) == 0 || !strcmp(fs->fs_type, FSTAB_RO) ||
+		fs->fs_passno == 1)
 		return (1);
 	for (i = strlen(fs->fs_mntops) - 6; i >= 0; i--)
 		if (!strncmp(&fs->fs_mntops[i], "noauto", 6))

-- 
Peter Jeremy

------------------------------

Message: 27
Date: Thu, 22 Jul 2004 19:16:22 +1000
From: Peter Jeremy <PeterJeremy@optushome.com.au>
Subject: Re: NEW TAR
To: Andrey Chernov <ache@nagual.pp.ru>, current@FreeBSD.ORG,
	ports@FreeBSD.ORG
Message-ID: <20040722091622.GG3001@cirb503493.alcatel.com.au>
Content-Type: text/plain; charset=us-ascii

On Thu, 2004-Jul-22 11:19:29 +0400, Andrey Chernov wrote:
>On Mon, Jul 19, 2004 at 09:29:54PM -0700, Tim Kientzle wrote:
>> but they're not gtar-compatible.  (The gtar
>> approach has a number of drawbacks.  The primary
>> one being that on many systems it requires reading
>> the entire file twice, once to find holes and again
>> to actually archive the file.  It is possible to
>> do both in one pass if you store the sparse file
>> data in a different fashion.)
>
>I can't imagine the case when 2 passes are needed. Even if you have normal 
>file in the archive and specify -S only when extracting (it should work as 
>expected), only 1 pass is needed. Just stop on first '\0' and count them 
>until they finished, then do lseek (real case will be a bit harder to 
>implement because of block boundaries).

I thought gnutar implemented sparse files by writing a bitmap of used
blocks vs holes followed by the actual data.  This needs 1 pass to
calculate the bitmap and a second pass to write the data.  You probably
don't want to unnecessarily convert holes to data in your archive.
Some Un*x systems generate a core dump by writing the process memory
map to a file - holes and all - giving you a sparse file that appears
to be several GB in size.  Older dbm variants also tended to leave
large holes in the .pag file from memory.

-- 
Peter Jeremy

------------------------------

Message: 28
Date: Thu, 22 Jul 2004 11:20:40 +0200
From: Martin MATO <martin.mato@wanadoo.fr>
Subject: Buildworld Failure  at libntp
To: current@FreeBSD.ORG
Message-ID: <40FF86E8.2090306@wanadoo.fr>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

since  three or four days i get this message systematically at compiling:
the buildworld  worked perfectly before, and i  perform an  update of 
the source tree by  before  compiling

Any clues?

===> usr.sbin/ntp/libntp
rm -f .depend
mkdep -f .depend -a    
-I/usr/src/usr.sbin/ntp/libntp/../../../contrib/ntp/include 
-I/usr/src/usr.sbin/ntp/libntp/../ -DSYS_FREEBSD -DPARSE -DHAVE_CONFIG_H 
/usr/src/usr.sbin/ntp/libntp/../../../contrib/ntp/libntp/a_md5encrypt.c 
/usr/src/usr.sbin/ntp/libntp/../../../contrib/ntp/libntp/adjtime.c 
/usr/src/usr.sbin/ntp/libntp/../../../contrib/ntp/libntp/atoint.c 
/usr/src/usr.sbin/ntp/libntp/../../../contrib/ntp/libntp/atolfp.c 
/usr/src/usr.sbin/ntp/libntp/../../../contrib/ntp/libntp/atouint.c 
/usr/src/usr.sbin/ntp/libntp/../../../contrib/ntp/libntp/audio.c 
/usr/src/usr.sbin/ntp/libntp/../../../contrib/ntp/libntp/authkeys.c 
/usr/src/usr.sbin/ntp/libntp/../../../contrib/ntp/libntp/authreadkeys.c 
/usr/src/usr.sbin/ntp/libntp/../../../contrib/ntp/libntp/authusekey.c 
/usr/src/usr.sbin/ntp/libntp/../../../contrib/ntp/libntp/binio.c 
/usr/src/usr.sbin/ntp/libntp/../../../contrib/ntp/libntp/buftvtots.c 
/usr/src/usr.sbin/ntp/libntp/../../../contrib/ntp/libntp/caljulian.c 
/usr/src/usr.sbin/ntp/libntp/../../../contrib/ntp/libntp/calleapwhen.c 
/usr/src/usr.sbin/ntp/libntp/../../../contrib/ntp/libntp/caltontp.c 
/usr/src/usr.sbin/ntp/libntp/../../../contrib/ntp/libntp/calyearstart.c 
/usr/src/usr.sbin/ntp/libntp/../../../contrib/ntp/libntp/clocktime.c 
/usr/src/usr.sbin/ntp/libntp/../../../contrib/ntp/libntp/clocktypes.c 
/usr/src/usr.sbin/ntp/libntp/../../../contrib/ntp/libntp/decodenetnum.c 
/usr/src/usr.sbin/ntp/libntp/../../../contrib/ntp/libntp/dofptoa.c 
/usr/src/usr.sbin/ntp/libntp/../../../contrib/ntp/libntp/dolfptoa.c 
/usr/src/usr.sbin/ntp/libntp/../../../contrib/ntp/libntp/emalloc.c 
/usr/src/usr.sbin/ntp/libntp/../../../contrib/ntp/libntp/findconfig.c 
/usr/src/usr.sbin/ntp/libntp/../../../contrib/ntp/libntp/fptoa.c 
/usr/src/usr.sbin/ntp/libntp/../../../contrib/ntp/libntp/fptoms.c 
/usr/src/usr.sbin/ntp/libntp/../../../contrib/ntp/libntp/getopt.c 
/usr/src/usr.sbin/ntp/libntp/../../../contrib/ntp/libntp/gpstolfp.c 
/usr/src/usr.sbin/ntp/libntp/../../../contrib/ntp/libntp/hextoint.c 
/usr/src/usr.sbin/ntp/libntp/../../../contrib/ntp/libntp/hextolfp.c 
/usr/src/usr.sbin/ntp/libntp/../../../contrib/ntp/libntp/humandate.c 
/usr/src/usr.sbin/ntp/libntp/../../../contrib/ntp/libntp/icom.c 
/usr/src/usr.sbin/ntp/libntp/../../../contrib/ntp/libntp/ieee754io.c 
/usr/src/usr.sbin/ntp/libntp/../../../contrib/ntp/libntp/inttoa.c 
/usr/src/usr.sbin/ntp/libntp/../../../contrib/ntp/libntp/iosignal.c 
/usr/src/usr.sbin/ntp/libntp/../../../contrib/ntp/libntp/lib_strbuf.c 
/usr/src/usr.sbin/ntp/libntp/../../../contrib/ntp/libntp/machines.c 
/usr/src/usr.sbin/ntp/libntp/../../../contrib/ntp/libntp/md5c.c 
/usr/src/usr.sbin/ntp/libntp/../../../contrib/ntp/libntp/memmove.c 
/usr/src/usr.sbin/ntp/libntp/../../../contrib/ntp/libntp/mfp_mul.c 
/usr/src/usr.sbin/ntp/libntp/../../../contrib/ntp/libntp/mfptoa.c 
/usr/src/usr.sbin/ntp/libntp/../../../contrib/ntp/libntp/mfptoms.c 
/usr/src/usr.sbin/ntp/libntp/../../../contrib/ntp/libntp/modetoa.c 
/usr/src/usr.sbin/ntp/libntp/../../../contrib/ntp/libntp/mstolfp.c 
/usr/src/usr.sbin/ntp/libntp/../../../contrib/ntp/libntp/msutotsf.c 
/usr/src/usr.sbin/ntp/libntp/../../../contrib/ntp/libntp/msyslog.c 
/usr/src/usr.sbin/ntp/libntp/../../../contrib/ntp/libntp/netof.c 
/usr/src/usr.sbin/ntp/libntp/../../../contrib/ntp/libntp/ntp_rfc2553.c 
/usr/src/usr.sbin/ntp/libntp/../../../contrib/ntp/libntp/numtoa.c 
/usr/src/usr.sbin/ntp/libntp/../../../contrib/ntp/libntp/numtohost.c 
/usr/src/usr.sbin/ntp/libntp/../../../contrib/ntp/libntp/octtoint.c 
/usr/src/usr.sbin/ntp/libntp/../../../contrib/ntp/libntp/prettydate.c 
/usr/src/usr.sbin/ntp/libntp/../../../contrib/ntp/libntp/ranny.c 
/usr/src/usr.sbin/ntp/libntp/../../../contrib/ntp/libntp/recvbuff.c 
/usr/src/usr.sbin/ntp/libntp/../../../contrib/ntp/libntp/refnumtoa.c 
/usr/src/usr.sbin/ntp/libntp/../../../contrib/ntp/libntp/socktoa.c 
/usr/src/usr.sbin/ntp/libntp/../../../contrib/ntp/libntp/socktohost.c 
/usr/src/usr.sbin/ntp/libntp/../../../contrib/ntp/libntp/strstr.c 
/usr/src/usr.sbin/ntp/libntp/../../../contrib/ntp/libntp/systime_s.c 
/usr/src/usr.sbin/ntp/libntp/../../../contrib/ntp/libntp/statestr.c 
/usr/src/usr.sbin/ntp/libntp/../../../contrib/ntp/libntp/syssignal.c 
/usr/src/usr.sbin/ntp/libntp/../../../contrib/ntp/libntp/systime.c 
/usr/src/usr.sbin/ntp/libntp/../../../contrib/ntp/libntp/tsftomsu.c 
/usr/src/usr.sbin/ntp/libntp/../../../contrib/ntp/libntp/tstotv.c 
/usr/src/usr.sbin/ntp/libntp/../../../contrib/ntp/libntp/tvtoa.c 
/usr/src/usr.sbin/ntp/libntp/../../../contrib/ntp/libntp/tvtots.c 
/usr/src/usr.sbin/ntp/libntp/../../../contrib/ntp/libntp/uglydate.c 
/usr/src/usr.sbin/ntp/libntp/../../../contrib/ntp/libntp/uinttoa.c 
/usr/src/usr.sbin/ntp/libntp/../../../contrib/ntp/libntp/utvtoa.c 
/usr/src/usr.sbin/ntp/libntp/../../../contrib/ntp/libntp/ymd2yd.c 
/usr/src/usr.sbin/ntp/libntp/../../../contrib/ntp/libisc/assertions.c 
/usr/src/usr.sbin/ntp/libntp/../../../contrib/ntp/libisc/error.c 
/usr/src/usr.sbin/ntp/libntp/../../../contrib/ntp/libisc/inet_ntop.c 
/usr/src/usr.sbin/ntp/libntp/../../../contrib/ntp/libisc/interfaceiter.c 
/usr/src/usr.sbin/ntp/libntp/../../../contrib/ntp/libisc/isc_strerror.c 
/usr/src/usr.sbin/ntp/libntp/../../../contrib/ntp/libisc/lib.c 
/usr/src/usr.sbin/ntp/libntp/../../../contrib/ntp/libisc/mem.c 
/usr/src/usr.sbin/ntp/libntp/../../../contrib/ntp/libisc/msgcat.c 
/usr/src/usr.sbin/ntp/libntp/../../../contrib/ntp/libisc/net.c
In file included from /usr/src/contrib/ntp/include/ntp.h:10,
                 from /usr/src/contrib/ntp/libntp/authkeys.c:13:
/usr/src/contrib/ntp/include/ntp_crypto.h:5:25: openssl/evp.h: No such 
file or directory
In file included from /usr/src/contrib/ntp/include/ntp.h:10,
                 from /usr/src/contrib/ntp/libntp/authreadkeys.c:8:
/usr/src/contrib/ntp/include/ntp_crypto.h:5:25: openssl/evp.h: No such 
file or directory
In file included from /usr/src/contrib/ntp/include/ntp.h:10,
                 from /usr/src/contrib/ntp/libntp/clocktypes.c:7:
/usr/src/contrib/ntp/include/ntp_crypto.h:5:25: openssl/evp.h: No such 
file or directory
In file included from /usr/src/contrib/ntp/include/ntp.h:10,
                 from /usr/src/contrib/ntp/include/ntpd.h:7,
                 from /usr/src/contrib/ntp/libntp/iosignal.c:7:
/usr/src/contrib/ntp/include/ntp_crypto.h:5:25: openssl/evp.h: No such 
file or directory
In file included from /usr/src/contrib/ntp/include/ntp.h:10,
                 from /usr/src/contrib/ntp/libntp/netof.c:9:
/usr/src/contrib/ntp/include/ntp_crypto.h:5:25: openssl/evp.h: No such 
file or directory
In file included from /usr/src/contrib/ntp/include/ntp.h:10,
                 from /usr/src/contrib/ntp/include/ntpd.h:7,
                 from /usr/src/contrib/ntp/libntp/ntp_rfc2553.c:81:
/usr/src/contrib/ntp/include/ntp_crypto.h:5:25: openssl/evp.h: No such 
file or directory
In file included from /usr/src/contrib/ntp/include/ntp.h:10,
                 from /usr/src/contrib/ntp/include/recvbuff.h:8,
                 from /usr/src/contrib/ntp/libntp/recvbuff.c:11:
/usr/src/contrib/ntp/include/ntp_crypto.h:5:25: openssl/evp.h: No such 
file or directory
In file included from /usr/src/contrib/ntp/include/ntp.h:10,
                 from /usr/src/contrib/ntp/libntp/socktoa.c:23:
/usr/src/contrib/ntp/include/ntp_crypto.h:5:25: openssl/evp.h: No such 
file or directory
In file included from /usr/src/contrib/ntp/include/ntp.h:10,
                 from /usr/src/contrib/ntp/libntp/socktohost.c:16:
/usr/src/contrib/ntp/include/ntp_crypto.h:5:25: openssl/evp.h: No such 
file or directory
In file included from /usr/src/contrib/ntp/include/ntp.h:10,
                 from /usr/src/contrib/ntp/include/ntpsim.h:14,
                 from /usr/src/contrib/ntp/include/ntp_unixtime.h:9,
                 from /usr/src/contrib/ntp/libntp/systime.c:10,
                 from /usr/src/contrib/ntp/libntp/systime_s.c:2:
/usr/src/contrib/ntp/include/ntp_crypto.h:5:25: openssl/evp.h: No such 
file or directory
In file included from /usr/src/contrib/ntp/include/ntp.h:10,
                 from /usr/src/contrib/ntp/libntp/statestr.c:10:
/usr/src/contrib/ntp/include/ntp_crypto.h:5:25: openssl/evp.h: No such 
file or directory
mkdep: compile failed
*** Error code 1

Stop in /usr/src/usr.sbin/ntp/libntp.
*** Error code 1

Stop in /usr/src/usr.sbin/ntp.
*** Error code 1

Stop in /usr/src/usr.sbin.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.


------------------------------

Message: 29
Date: Thu, 22 Jul 2004 10:26:51 +0200
From: Marian Hettwer <Mh@kernel32.de>
Subject: Re: Intel Pro/Wireless 2011B & FreeBSD 5.2.1
To: Daniel O'Connor <doconnor@gsoft.com.au>
Cc: freebsd-current@freebsd.org
Message-ID: <40FF7A4B.1040506@kernel32.de>
Content-Type: text/plain; charset=us-ascii; format=flowed

Hi Daniel,

Daniel O'Connor wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On Thu, 22 Jul 2004 17:22, Marian Hettwer wrote:
> 
>>
>>If I could help testing patches for wi(4) to get support for the 2011B
>>just drop me a line :)
> 
> 
> I doubt wi will ever support it.
>
woops ...

> You could try if_ndis.. (If you are running 5.2-CURRENT)
> 
I'm running 5.2.1-release but IIRC if_ndis is already available... I'll 
give it a try :)

thanks anyway.

best regards,
Marian

------------------------------

Message: 30
Date: Thu, 22 Jul 2004 11:23:53 +0200
From: Jan Lentfer <lentferj@bio.tu-darmstadt.de>
Subject: 5.2-CURRENT constantly crashing
To: freebsd-current@www.freebsd.org
Message-ID: <200407221123.53863.lentferj@bio.tu-darmstadt.de>
Content-Type: text/plain;  charset="us-ascii"


Hi,

i am running 5.2-CURRENT on an old 4x PPRO (200) Amdahl EnVista Server.
The system is constantly crashing under heavy load for about 2-3 month now.
Since all drives are connected to a Mylex Raid Controller, I can't get any 
kernel dumps :(.

The system fails with "panic: page fault. fatal trap 12. fault code = 
supervisor read, page not present".

Since this is old hardware I am not quite sure if this is a hardware or 
software problem, but the system used to run stable with 5.1-RELEASE.

I don't have a serial console either, so i can't copy and paste the panic 
warning. Any way this can be sent over ssh so I can post the complete kernel 

panic??

This is the output from systat -vmstat from the last crash (don't know if it 

helps):

    2 users    Load 11.96 12.03 10.58                  Jul 22 10:23

Mem:KB    REAL            VIRTUAL                     VN PAGER  SWAP PAGER
        Tot   Share      Tot    Share    Free         in  out     in  out
Act  226024   12128   585524    18944   27160 count
All  482280   43796  3256020   172068         pages    1
                                                     1508 zfod   Interrupts
Proc:r  p  d  s  w    Csw  Trp  Sys  Int  Sof  Flt     96 cow     242 total
     3    14113 12   2044 1884 1740  350   40 1671  94240 wire        1: atkb

                                                   257092 act         5: ahc1

15.8%Sys   1.1%Intr 51.0%User 23.6%Nice  8.4%Idl   130564 inact       6: fdc0

|    |    |    |    |    |    |    |    |    |       1992 cache   129 8: rtc
========>>>>>>>>>>>>>>>>>>>>>>>>>>------------      25832 free        9: ahc0

                                                          daefr     7 10: xl0

Namei         Name-cache    Dir-cache                1257 prcfr     6 11: mlx

    Calls     hits    %     hits    %                     react       13: npx

    11579    11522  100                                   pdwak   100 0: clk
                                                          pdpgs
Disks mlxd0 mlxd1   cd0   fd0 pass0                       intrn
KB/t   5.21  0.00  0.00  0.00  0.00                 61888 buf
tps       5     0     0     0     0                   105 dirtybuf
MB/s   0.03  0.00  0.00  0.00  0.00                 35957 desiredvnodes
% busy    4     0     0     0     0                  8989 numvnodes
                                                     1193 freevnodes




amdahl# uname -a
FreeBSD amdahl.bio.tu-darmstadt.de 5.2-CURRENT FreeBSD 5.2-CURRENT #2: Thu Jul
  
8 12:37:12 CEST 2004     
lentferj@amdahl.bio.tu-darmstadt.de:/usr/obj/usr/src/sys/PPRO_SMP  i386




amdahl# cat /usr/src/sys/i386/conf/PPRO_SMP

machine         i386
#cpu            I486_CPU
#cpu            I586_CPU
cpu             I686_CPU
ident           PPRO_SMP

# Turn on Filesystem Quotas
options         QUOTA

# Enable IP Filtering
options IPFIREWALL
options IPDIVERT
options IPFIREWALL_DEFAULT_TO_ACCEPT
options DUMMYNET

#To statically compile in device wiring instead of /boot/device.hints
#hints          "GENERIC.hints"         #Default places to look for devices.

#makeoptions    DEBUG=-g                #Build kernel with gdb(1) debug 
symbols

options         SCHED_4BSD              #4BSD scheduler
options         INET                    #InterNETworking
options         INET6                   #IPv6 communications protocols
options         FFS                     #Berkeley Fast Filesystem
options         SOFTUPDATES             #Enable FFS soft updates support
options         UFS_ACL                 #Support for access control lists
options         UFS_DIRHASH             #Improve performance on big 
directories
options         MD_ROOT                 #MD is a potential root device
options         NFSCLIENT               #Network Filesystem Client
options         NFSSERVER               #Network Filesystem Server
options         NFS_ROOT                #NFS usable as root device, requires 

NFSCLIENT
options         MSDOSFS                 #MSDOS Filesystem
options         CD9660                  #ISO 9660 Filesystem
options         PROCFS                  #Process filesystem (requires 
PSEUDOFS)
options         PSEUDOFS                #Pseudo-filesystem framework
options         COMPAT_43               #Compatible with BSD 4.3 [KEEP THIS!]

options         COMPAT_FREEBSD4         #Compatible with FreeBSD4
options         SCSI_DELAY=15000        #Delay (in ms) before probing SCSI
options         KTRACE                  #ktrace(1) support
options         SYSVSHM                 #SYSV-style shared memory
options         SYSVMSG                 #SYSV-style message queues
options         SYSVSEM                 #SYSV-style semaphores
options         _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time 
extensions
options         KBD_INSTALL_CDEV        # install a CDEV entry in /dev
options         AHC_REG_PRETTY_PRINT    # Print register bitfields in debug
                                        # output.  Adds ~128k to driver.
options         AHD_REG_PRETTY_PRINT    # Print register bitfields in debug
                                        # output.  Adds ~215k to driver.

# Debugging for use in -current
#options        DDB                     #Enable the kernel debugger
#options        INVARIANTS              #Enable calls of extra sanity checking

options         INVARIANT_SUPPORT       #Extra sanity checks of internal 
structures, required by INVARIANTS
#options        WITNESS                 #Enable checks to detect deadlocks and
 
cycles
#options        WITNESS_SKIPSPIN        #Don't run witness on spinlocks for 
speed

# To make an SMP kernel, the next two are needed
options         SMP                     # Symmetric MultiProcessor Kernel
#options        APIC_IO                 # Symmetric (APIC) I/O
device          apic

device          isa
device          eisa
device          pci

# Floppy drives
device          fdc

# ATA and ATAPI devices
device          ata
device          atadisk                 # ATA disk drives
device          atapicd                 # ATAPI CDROM drives
device          atapifd                 # ATAPI floppy drives
device          atapist                 # ATAPI tape drives
options         ATA_STATIC_ID           #Static device numbering

# SCSI Controllers
#device         ahb             # EISA AHA1742 family
device          ahc             # AHA2940 and onboard AIC7xxx devices
#device         ahd             # AHA39320/29320 and onboard AIC79xx devices
#device         amd             # AMD 53C974 (Tekram DC-390(T))
#device         isp             # Qlogic family
#device         mpt             # LSI-Logic MPT-Fusion
#device         ncr             # NCR/Symbios Logic
#device         sym             # NCR/Symbios Logic (newer chipsets + those of
 
`ncr')
#device         trm             # Tekram DC395U/UW/F DC315U adapters

#device         adv             # Advansys SCSI adapters
#device         adw             # Advansys wide SCSI adapters
#device         aha             # Adaptec 154x SCSI adapters
#device         aic             # Adaptec 15[012]x SCSI adapters, AIC-6[23]60.

#device         bt              # Buslogic/Mylex MultiMaster SCSI adapters

#device         ncv             # NCR 53C500
#device         nsp             # Workbit Ninja SCSI-3
#device         stg             # TMC 18C30/18C50

# RAID controllers interfaced to the SCSI subsystem
#device         asr             # DPT SmartRAID V, VI and Adaptec SCSI RAID
#device         ciss            # Compaq Smart RAID 5*
#device         dpt             # DPT Smartcache III, IV - See NOTES for 
options!
#device         iir             # Intel Integrated RAID
#device         mly             # Mylex AcceleRAID/eXtremeRAID

# SCSI peripherals
device          scbus           # SCSI bus (required)
device          ch              # SCSI media changers
device          da              # Direct Access (disks)
device          sa              # Sequential Access (tape etc)
device          cd              # CD
device          pass            # Passthrough device (direct SCSI access)
device          ses             # SCSI Environmental Services (and SAF-TE)

# RAID controllers
#device         aac             # Adaptec FSA RAID
#device         aacp            # SCSI passthrough for aac (requires CAM)
#device         amr             # AMI MegaRAID
#device         ida             # Compaq Smart RAID
#device         ips             # IBM (Adaptec) ServeRAID
device          mlx             # Mylex DAC960 family
#device         pst             # Promise Supertrak SX6000
#device         twe             # 3ware ATA RAID

# atkbdc0 controls both the keyboard and the PS/2 mouse
device          atkbdc          # AT keyboard controller
device          atkbd           # AT keyboard
device          psm             # PS/2 mouse

device          vga             # VGA video card driver

device          splash          # Splash screen and screen saver support

# syscons is the default console driver, resembling an SCO console
device          sc

# Enable this for the pcvt (VT220 compatible) console driver
#device         vt
#options        XSERVER                 # support for X server on a vt console

#options        FAT_CURSOR              # start with block cursor

#device         agp             # support several AGP chipsets

# Floating point support - do not disable.
device          npx

# Power management support (see NOTES for more options)
#device         apm
# Add suspend/resume support for the i8254.
device          pmtimer

# PCCARD (PCMCIA) support
# Pcmcia and cardbus bridge support
#device         cbb                     # cardbus (yenta) bridge
#device         pcic                    # ExCA ISA and PCI bridges
#device         pccard                  # PC Card (16-bit) bus
#device         cardbus                 # CardBus (32-bit) bus

# Serial (COM) ports
device          sio             # 8250, 16[45]50 based serial ports

# Parallel port
device          ppc
device          ppbus           # Parallel port bus (required)
device          lpt             # Printer
device          plip            # TCP/IP over parallel
device          ppi             # Parallel port interface device
#device         vpo             # Requires scbus and da


# PCI Ethernet NICs.
#device         de              # DEC/Intel DC21x4x (``Tulip'')
#device         em              # Intel PRO/1000 adapter Gigabit Ethernet Card

#device         txp             # 3Com 3cR990 (``Typhoon'')
#device         vx              # 3Com 3c590, 3c595 (``Vortex'')

# PCI Ethernet NICs that use the common MII bus controller code.
# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
device          miibus          # MII bus support
#device         dc              # DEC/Intel 21143 and various workalikes
#device         fxp             # Intel EtherExpress PRO/100B (82557, 82558)
#device         pcn             # AMD Am79C97x PCI 10/100 (precedence over 
'lnc')
#device         rl              # RealTek 8129/8139
#device         sf              # Adaptec AIC-6915 (``Starfire'')
#device         sis             # Silicon Integrated Systems SiS 900/SiS 7016

#device         sk              # SysKonnect SK-984x and SK-982x gigabit 
ethernet
#device         ste             # Sundance ST201 (D-Link DFE-550TX)
#device         ti              # Alteon Networks Tigon I/II gigabit ethernet

#device         tl              # Texas Instruments ThunderLAN
#device         tx              # SMC EtherPower II (83c170 ``EPIC'')
#device         vr              # VIA Rhine, Rhine II
#device         wb              # Winbond W89C840F
device          xl              # 3Com 3c90x (``Boomerang'', ``Cyclone'')
#device         bge             # Broadcom BCM570xx Gigabit Ethernet

# ISA Ethernet NICs.  pccard nics included.
#device         cs              # Crystal Semiconductor CS89x0 NIC
# 'device ed' requires 'device miibus'
#device         ed              # NE[12]000, SMC Ultra, 3c503, DS8390 cards
#device         ex              # Intel EtherExpress Pro/10 and Pro/10+
#device         ep              # Etherlink III based cards
#device         fe              # Fujitsu MB8696x based cards
#device         ie              # EtherExpress 8/16, 3C507, StarLAN 10 etc.
#device         lnc             # NE2100, NE32-VL Lance Ethernet cards
#device         sn              # SMC's 9000 series of ethernet chips
#device         xe              # Xircom pccard ethernet

# ISA devices that use the old ISA shims
#device         le

# Wireless NIC cards
#device         wlan            # 802.11 support
#device         an              # Aironet 4500/4800 802.11 wireless NICs.
#device         awi             # BayStack 660 and others
#device         wi              # WaveLAN/Intersil/Symbol 802.11 wireless 
NICs.
#device         wl              # Older non 802.11 Wavelan wireless NIC.

# Pseudo devices - the number indicates how many units to allocate.
device          random          # Entropy device
device          loop            # Network loopback
device          ether           # Ethernet support
device          sl              # Kernel SLIP
device          ppp             # Kernel PPP
device          tun             # Packet tunnel.
device          pty             # Pseudo-ttys (telnet etc)
device          md              # Memory "disks"
device          gif             # IPv6 and IPv4 tunneling
device          faith           # IPv6-to-IPv4 relaying (translation)

# The `bpf' device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
device          bpf             # Berkeley packet filter

# USB support
#device         uhci            # UHCI PCI->USB interface
#device         ohci            # OHCI PCI->USB interface
#device         usb             # USB Bus (required)
#device         udbp            # USB Double Bulk Pipe devices
#device         ugen            # Generic
#device         uhid            # "Human Interface Devices"
#device         ukbd            # Keyboard
#device         ulpt            # Printer
#device         umass           # Disks/Mass storage - Requires scbus and da
#device         ums             # Mouse
#device         urio            # Diamond Rio 500 MP3 player
#device         uscanner        # Scanners
# USB Ethernet, requires mii
#device         aue             # ADMtek USB ethernet
#device         axe             # ASIX Electronics USB ethernet
#device         cue             # CATC USB ethernet
#device         kue             # Kawasaki LSI USB ethernet

# FireWire support
#device         firewire        # FireWire bus code
#device         sbp             # SCSI over FireWire (Requires scbus and da)
#device         fwe             # Ethernet over FireWire (non-standard!)




amdahl# dmesg
Copyright (c) 1992-2004 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD 5.2-CURRENT #2: Thu Jul  8 12:37:12 CEST 2004
    lentferj@amdahl.bio.tu-darmstadt.de:/usr/obj/usr/src/sys/PPRO_SMP
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Pentium Pro (198.95-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x619  Stepping = 9
  Features=0xfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMO
V>
real memory  = 536870912 (512 MB)
avail memory = 519884800 (495 MB)
MPTable: <INTEL    ALDER       >
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
 cpu2 (AP): APIC ID:  2
 cpu3 (AP): APIC ID:  4
ioapic0: Assuming intbase of 0
ioapic0 <Version 1.1> irqs 0-15 on motherboard
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Intel 82454KX/GX (Orion) host to PCI bridge> at pcibus 0 on 
motherboard
pci0: <PCI bus> on pcib0
xl0: <3Com 3c905B-TX Fast Etherlink XL> port 0xfc80-0xfcff mem 
0xfeaffc00-0xfeaffc7f irq 10 at device 13.0 on pci0
miibus0: <MII bus> on xl0
xlphy0: <3Com internal media interface> on miibus0
xlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
xl0: Ethernet address: 00:01:02:a8:b4:cf
xl0: [GIANT-LOCKED]
eisab0: <PCI-EISA bridge> at device 14.0 on pci0
eisa0: <EISA bus> on eisab0
mainboard0: <INT31c0 (System Board)> on eisa0 slot 0
isa0: <ISA bus> on eisab0
pci0: <unknown> at device 15.0 (no driver attached)
pci0: <memory, RAM> at device 20.0 (no driver attached)
pcib1: <Intel 82454KX/GX (Orion) host to PCI bridge> at pcibus 1 on 
motherboard
pci1: <PCI bus> on pcib1
mlx0: <Mylex version 3 RAID interface> port 0xec80-0xecff mem 
0xfe8ffc00-0xfe8ffc7f irq 11 at device 10.0 on pci1
mlx0: [GIANT-LOCKED]
mlx0: DAC960P/PD, 2 channels, firmware 3.51-0-04, 32MB RAM
mlxd0: <Mylex System Drive> on mlx0
mlxd0: 8188MB (16769024 sectors) RAID 0 (online)
mlxd1: <Mylex System Drive> on mlx0
mlxd1: 20455MB (41891840 sectors) RAID 0 (online)
ahc0: <Adaptec aic7880 Ultra SCSI adapter> port 0xe800-0xe8ff mem 
0xfe8fe000-0xfe8fefff irq 9 at device 11.0 on pci1
ahc0: Using left over BIOS settings
ahc0: [GIANT-LOCKED]
aic7880: Ultra Wide Channel A, SCSI Id=7, 16/253 SCBs
ahc1: <Adaptec aic7880 Ultra SCSI adapter> port 0xe400-0xe4ff mem 
0xfe8fd000-0xfe8fdfff irq 5 at device 12.0 on pci1
ahc1: Using left over BIOS settings
ahc1: [GIANT-LOCKED]
aic7880: Ultra Wide Channel A, SCSI Id=7, 16/253 SCBs
cpu0 on motherboard
cpu1 on motherboard
cpu2 on motherboard
cpu3 on motherboard
orm0: <ISA Option ROMs> at iomem 
0xec000-0xeffff,0xea000-0xebfff,0xcf000-0xcf7ff,0xce800-0xcefff,0xc0000-0xc7ff
f 
on isa0
pmtimer0 on isa0
ata0 at port 0x3f6,0x1f0-0x1f7 irq 14 on isa0
ata1 at port 0x376,0x170-0x177 irq 15 on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> at port 
0x3f7,0x3f0-0x3f5 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
unknown: <PNP0303> can't assign resources (port)
psmcpnp0: irq resource info is missing; assuming irq 12
unknown: <PNP0700> can't assign resources (port)
unknown: <PNP0400> can't assign resources (port)
unknown: <PNP0501> can't assign resources (port)
unknown: <PNP0501> can't assign resources (port)
Timecounters tick every 10.000 msec
ipfw2 initialized, divert enabled, rule-based forwarding enabled, default to 

accept, logging disabled
Waiting 15 seconds for SCSI devices to settle
SMP: AP CPU #1 Launched!
SMP: AP CPU #2 Launched!
SMP: AP CPU #3 Launched!
cd0 at ahc1 bus 0 target 0 lun 0
cd0: <TEAC CD-ROM CD-516S 1.0D> Removable CD-ROM SCSI-2 device
cd0: 10.000MB/s transfers (10.000MHz, offset 8)
cd0: Attempt to query device size failed: NOT READY, Medium not present
Mounting root from ufs:/dev/mlxd0s1a
WARNING: / was not properly dismounted
WARNING: /tmp was not properly dismounted
/tmp: mount pending error: blocks 40 files 10
WARNING: /usr was not properly dismounted
/usr: superblock summary recomputed
WARNING: /var was not properly dismounted
/var: mount pending error: blocks 12 files 0
/var: superblock summary recomputed
WARNING: /blast was not properly dismounted
Accounting enabled



Thanks,


Jan 

------------------------------

_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"

End of freebsd-current Digest, Vol 69, Issue 11
***********************************************


--
Evariste Galois:
    �����呛��樱������蔷������,����直前......


�� ��源:������� bbs.ustc.edu.cn [FROM: 210.45.72.234]