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. print HEADSUP at installworld time? (was: HEADSUP gconcat(8)
      and	gstripe(8) users!) (Matthias Andree)
   2. RE: rc.d/localpkg (Robin P. Blanchard)
   3. Re: patch: altq on vr (Max Laier)
   4. Re: rc.d/localpkg (Scot Hetzel)
   5. Re: Questionable code in sys/dev/sound/pcm/channel.c
      (Mathew Kanner)
   6. Re: Questionable code in sys/dev/sound/pcm/channel.c
      (Mathew Kanner)
   7. Re: rc.d/localpkg (David W. Chapman Jr.)
   8. Re: Questionable code in sys/dev/sound/pcm/channel.c
      (Conrad J. Sabatier)
   9. Re: rc.d/localpkg (Alex Kapranoff)
  10. ataraid panic (Harald Schmalzbauer)
  11. Re: rc.d/localpkg (Mike Makonnen)
  12. Re: rc.d/localpkg (Mike Makonnen)
  13. Re: Unloading USB driver while device is attached.  (Ian Dowse)
  14. Re: suspend/resume problems (APM) on Thinkpad T40 (Anders Odberg)
  15. Re: Xorg built fails on CURRENT: can't find Xauth.h 
      (Kevin Oberman)
  16. RE: cvs commit: src/sys/geom/vinum geom_vinum.c
      geom_vinum_drive.c (Daniel Eriksson)
  17. out of inodes on md /tmp (Jan-Espen Pettersen)
  18. UMA space calculation changes (PLEASE TEST, ESPECIALLY IF YOU
      HAVE	A sparc64 OR OTHER 64-bit CPU) (Bosko Milekic)
  19. Re: Assertion td->td_turnstile (Randy Bush)
  20. Re: Anyone Else Seeing: Assertion td->td_turnstile
      (Garance A Drosihn)
  21. Re: Anyone Else Seeing: Assertion td->td_turnstile (Randy Bush)
  22. Re: ataraid panic (Pawel Jakub Dawidek)
  23. gvinum and sysinstall? (Daniel Eriksson)
  24. Re: print HEADSUP at installworld time? (was: HEADSUP
      gconcat(8) and gstripe(8) users!) (Johan Pettersson)
  25. FreeBSD and wine mmap (Anish Mistry)
  26. Re: Anyone Else Seeing: Assertion td->td_turnstile (Randy Bush)
  27. Re: ataraid panic (Simon L. Nielsen)
  28. Re: Questionable code in sys/dev/sound/pcm/channel.c (Don Lewis)
  29. Re: Questionable code in sys/dev/sound/pcm/channel.c (Don Lewis)
  30. Re: Xorg built fails on CURRENT: can't find Xauth.h
      (Alexandre "Sunny" Kovalenko)
  31. Fatal LOR: PV ENTRY (UMA zone) @
      /home2/src/sys/vm/uma_core.c:2033 (Willem Jan Withagen)
  32. Re: Xorg built fails on CURRENT: can't find Xauth.h 
      (Kevin Oberman)
  33. Re: Anyone Else Seeing: Assertion td->td_turnstile (Randy Bush)


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

Message: 1
Date: Tue, 27 Jul 2004 14:07:55 +0200
From: Matthias Andree <ma@dt.e-technik.uni-dortmund.de>
Subject: print HEADSUP at installworld time? (was: HEADSUP gconcat(8)
	and	gstripe(8) users!)
To: Pawel Jakub Dawidek <pjd@FreeBSD.org>
Cc: freebsd-current@freebsd.org
Message-ID: <m38yd5ac10.fsf_-_@merlin.emma.line.org>
Content-Type: text/plain; charset=us-ascii

Pawel Jakub Dawidek <pjd@FreeBSD.org> writes:

> +> I wonder if "make installworld" should display such warnings (or head
> +> /usr/src/UPDATING FWIW) and give the user a chance to abort the
> +> installation.
>
> First of all, I don't think there are many gstripe/gconcat users out there.

>
> Gstripe as well as gconcat was introduced after 5.2.1 - there was no
> FreeBSD release with this code.
>
> That's why I think this is not necessary, this is -CURRENT and user can
> always fix his /etc/fstab on boot.

OK, not for gstripe/gconcat then, but I'm wondering if a mechanism to
print such announcements would generally be useful. Changing subject.

-- 
Matthias Andree

Encrypted mail welcome: my GnuPG key ID is 0x052E7D95 (PGP/MIME preferred)

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

Message: 2
Date: Tue, 27 Jul 2004 08:49:09 -0400
From: "Robin P. Blanchard" <robin.blanchard@gactr.uga.edu>
Subject: RE: rc.d/localpkg
To: "Alex Kapranoff" <kappa@rambler-co.ru>,	"Mike Makonnen"
	<mtm@identd.net>
Cc: current@freebsd.org
Message-ID: <9B5C1FCAFB35084787C21EFFFA78DD9EE490@EBE1.gc.nat>
Content-Type: text/plain;	charset="us-ascii"



> -----Original Message-----
> From: Alex Kapranoff [mailto:kappa@rambler-co.ru] 
> Sent: Tuesday, July 27, 2004 7:34 AM
> To: Mike Makonnen
> Cc: Robin P. Blanchard; current@freebsd.org
> Subject: Re: rc.d/localpkg
> 
> * Mike Makonnen <mtm@identd.net> [July 27 2004, 11:42]:
> > On Mon, Jul 26, 2004 at 03:00:53PM -0400, Robin P. Blanchard wrote:
> > > How does this apply to beasts such as postfix which recommends:
> > > 
> > > cd /usr/local/etc/rc.d
> > > ln -s /usr/local/sbin/postfix postfix.sh
> > 
> > That depends. If sbin/postfix is an old-style script then 
> nothing will 
> > have changed. It gets sourced same as before. If it's an 
> rc.d script 
> > then it will probably have to be patched to conform to rc.d style.
> 
> % file =postfix
> /usr/local/sbin/postfix: ELF 32-bit LSB executable, Intel 
> 80386, version 1 (FreeBSD), for FreeBSD 5.0.2, dynamically 
> linked (uses shared libs), not stripped
> 
> --
> Alex Kapranoff.
> 

I think there's something still quite awry with the new rc.d/localpkg...

>From rc(8):
     o   The scripts within each directory are executed in lexicographical
         order.  If a specific order is required, numbers may be used as a
         prefix to the existing filenames, so for example 100.foo would be
         executed before 200.bar; without the numeric prefixes the opposite
         would be true.

# ls -al /usr/local/etc/rc.d/
total 12
drwxr-xr-x  2 root  wheel   512B Jul 27 08:41 ./
drwxr-xr-x  6 root  wheel   512B Jul 26 14:48 ../
-rwxr-x---  1 root  wheel   181B Mar 30 13:03 000.mysql-client.sh
-rwxr-xr-x  1 root  wheel   423B Jul 26 17:46 01_dccifd.sh
-r-xr-xr-x  1 root  wheel   783B Jul 26 17:42 02_clamav-clamd.sh
-r-xr-xr-x  1 root  wheel   672B Mar 26 11:21 03_amavisd.sh
lrwxr-xr-x  1 root  wheel    23B Jul 26 14:39 04_postfix.sh ->
/usr/local/sbin/postfix

Yet as far as I can determine, these are not being processed in numerical
order, with amavis being started before clamav, resulting in the system not
coming up properly. Am I missing something here or is my pola at an all time
low ?




---------------------------------------
Robin P. Blanchard
Systems Integration Specialist
Georgia Center for Continuing Education
fon: 706.542.2404 < > fax: 706.542.6546
---------------------------------------
 

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

Message: 3
Date: Tue, 27 Jul 2004 16:34:42 +0200
From: Max Laier <max@love2party.net>
Subject: Re: patch: altq on vr
To: Divacky Roman <xdivac02@stud.fit.vutbr.cz>
Cc: current@freebsd.org
Message-ID: <200407271634.50676.max@love2party.net>
Content-Type: text/plain; charset="iso-8859-1"

On Tuesday 27 July 2004 13:17, Divacky Roman wrote:
> Hi,
>
> I updated altq patch for vr NIC. The old one you have on your page does not

> apply cleanly anymore... it seems to work (I am using it now)
>
> url: hysteria.sk/~neologism/vr_altq.patch

I have updated the patch on http://people.freebsd.org/~mlaier/ALTQ_driver/ 
thanks!

> think it can (and maybe should) be commited

Thank you very much, I am indeed looking into committing the next chunk of 
drivers in the next couple of days.

-- 
/"\  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/20040727/
92ae3ee7/attachment-0001.bin

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

Message: 4
Date: Tue, 27 Jul 2004 09:49:16 -0500
From: Scot Hetzel <swhetzel@gmail.com>
Subject: Re: rc.d/localpkg
To: Alex Kapranoff <kappa@rambler-co.ru>
Cc: "Robin P. Blanchard" <robin.blanchard@gactr.uga.edu>
Message-ID: <790a9fff04072707497059c616@mail.gmail.com>
Content-Type: text/plain; charset=US-ASCII

On Tue, 27 Jul 2004 15:33:50 +0400, Alex Kapranoff <kappa@rambler-co.ru> wrote
:
> * Mike Makonnen <mtm@identd.net> [July 27 2004, 11:42]:
> > On Mon, Jul 26, 2004 at 03:00:53PM -0400, Robin P. Blanchard wrote:
> > > How does this apply to beasts such as postfix which recommends:
> > >
> > > cd /usr/local/etc/rc.d
> > > ln -s /usr/local/sbin/postfix postfix.sh
> >
> > That depends. If sbin/postfix is an old-style script then nothing will
> > have changed. It gets sourced same as before. If it's an rc.d script then

> > it will probably have to be patched to conform to rc.d style.
> 
> % file =postfix
> /usr/local/sbin/postfix: ELF 32-bit LSB executable, Intel 80386, version 1 (
FreeBSD), for FreeBSD 5.0.2, dynamically linked (uses shared libs), not stripp
ed
> 
Since the program postfix is not a shell script the recommendation is
to create a rcNG shell script to start and stop postfix, instead of
creating a link to the executeable.  This way you could pass flags to
postfix by defining postfix_flags in /etc/rc.conf, /etc/rc.conf.local,
or /etc/rc.conf.d/postfix.

Scot

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

Message: 5
Date: Tue, 27 Jul 2004 11:23:27 -0400
From: Mathew Kanner <mat@cnd.mcgill.ca>
Subject: Re: Questionable code in sys/dev/sound/pcm/channel.c
To: "Conrad J. Sabatier" <conrads@cox.net>,
	freebsd-current@freebsd.org
Message-ID: <20040727152327.GA92352@cnd.mcgill.ca>
Content-Type: text/plain; charset=us-ascii

On Jul 26, John-Mark Gurney wrote:
> Conrad J. Sabatier wrote this message on Mon, Jul 26, 2004 at 16:35 -0500:
> > Why the formulaic calculation of timeout, if it's simply going to be
> > unconditionally set to 1 immediately afterwards anyway?  What's going on
> > here?
> 
> Well, if you look at the annotations, that absolute set of timeout was
> added in rev 1.65 by cg with the comment:
> tweaks to reduce latency/pauses in output
> 


	I think this has been raised on the mailling list before.
IIRC, the logic for this is to check frequently for dead channels but
CG is the authoriy.


> > Also, at the end of the function:
> > 
> >     if (count <= 0) {
> >         c->flags |= CHN_F_DEAD;
> >         printf("%s: play interrupt timeout, channel dead\n", c->name);
> >     }
> > 
> >     return ret;
> > }
> 
> that was changed in rev1.52 (by cg also), and previously was just a check
> for count == 0..
> 
> So, I'd recommend a message off to cg and ask why he made this changes...

	I have no clue about this one.

	--Mat

-- 
	We peer so suspiciously at each other that we cannot see
	that we Canadians are standing on the mountaintop of human
	wealth, freedom and privilege.
			- Pierre Elliott Trudeau

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

Message: 6
Date: Tue, 27 Jul 2004 11:24:29 -0400
From: Mathew Kanner <mat@cnd.mcgill.ca>
Subject: Re: Questionable code in sys/dev/sound/pcm/channel.c
To: "Conrad J. Sabatier" <conrads@cox.net>
Cc: Don Lewis <truckman@freebsd.org>
Message-ID: <20040727152429.GB92352@cnd.mcgill.ca>
Content-Type: text/plain; charset=us-ascii

On Jul 26, Conrad J. Sabatier wrote:
> 
> On 26-Jul-2004 Don Lewis wrote:
> > 
> > I just looked at the code some more.  With timeout hardwired to 1,
> > count can never go negative.  The code initializes count to hz, and
> > then decrements it whenever chn_sleep() returns EWOULDBLOCK, and
> > re-initializes count to hz if chn_sleep() returns zero.  With timeout
> > hardwired to 1, count should only be able to decrement to zero if
> > chn_sleep() returns EWOULDBLOCK hz times in a row, which means that
> > nothing could be stuffed into the buffer for one second, which seems
> > like a long time ...
> > 
> > I suspect that with your change the write() call is returning a 0 and
> > the player software is doing a retry that succeeds (or this might be
> > audible as a skip).
> 
> Hmmm.  Well, one thing's for certain: you've obviously managed to
> discern more about what's going on in this code than me!  :-)
> 
> It would be nice to hear from our sound maintainers on this issue. 
> They've been rather...quiet lately.  :-)

	Who are the sound maintainers ?  :) My internet is supposed to
be re-connected on Friday so I will start to be more active then.
However, my knowledge of internals of PCM is somewhat limited.

	--Mat

-- 
	sig machine broken

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

Message: 7
Date: Tue, 27 Jul 2004 10:20:43 -0500
From: "David W. Chapman Jr." <dwcjr@inethouston.net>
Subject: Re: rc.d/localpkg
To: Scot Hetzel <swhetzel@gmail.com>
Cc: "Robin P. Blanchard" <robin.blanchard@gactr.uga.edu>
Message-ID: <20040727152043.GA70747@minubian.inethouston.net>
Content-Type: text/plain; charset=us-ascii

On Tue, Jul 27, 2004 at 09:49:16AM -0500, Scot Hetzel wrote:
> On Tue, 27 Jul 2004 15:33:50 +0400, Alex Kapranoff <kappa@rambler-co.ru> wro
te:
> > 
> Since the program postfix is not a shell script the recommendation is
> to create a rcNG shell script to start and stop postfix, instead of
> creating a link to the executeable.  This way you could pass flags to
> postfix by defining postfix_flags in /etc/rc.conf, /etc/rc.conf.local,
> or /etc/rc.conf.d/postfix.

postfix really would not need any flags passed to it at startup time 
except "start" so this wouldn't be a problem either.
-- 
David W. Chapman Jr.
dwcjr@inethouston.net	Raintree Network Services, Inc. <www.inethouston.net>

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

Message: 8
Date: Tue, 27 Jul 2004 10:41:06 -0500 (CDT)
From: "Conrad J. Sabatier" <conrads@cox.net>
Subject: Re: Questionable code in sys/dev/sound/pcm/channel.c
To: freebsd-current@freebsd.org
Message-ID: <XFMail.20040727104106.conrads@cox.net>
Content-Type: text/plain; charset=us-ascii


On 26-Jul-2004 Conrad J. Sabatier wrote:
> 
> On 26-Jul-2004 Conrad J. Sabatier wrote:
>> I'm a little perplexed at the following bit of logic in chn_write()
>> (which is where the "interrupt timeout, channel dead" messages are
>> being generated).

[snip]

>> Also, at the end of the function:
>> 
>>     if (count <= 0) {
>>         c->flags |= CHN_F_DEAD;
>>         printf("%s: play interrupt timeout, channel dead\n",
>> c->name);
>>     }
>> 
>>     return ret;
>> }
>> 
>> Could it be that the conditional test is wrong here?  Perhaps
>> we should be using (count < 0) instead?
> 
> I'm now running a kernel built with this last conditional test
> changed to "if (count < 0)" and sound is still working OK.  Have yet
> to see if this eliminates the interrupt timeout messages.

Well, that was a failure.  :-)  Didn't see any timeout error messages,
but the device still died eventually, nonetheless.  I've since changed
back to the original code.

-- 
Conrad J. Sabatier <conrads@cox.net> -- "In Unix veritas"

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

Message: 9
Date: Tue, 27 Jul 2004 20:05:55 +0400
From: Alex Kapranoff <kappa@rambler-co.ru>
Subject: Re: rc.d/localpkg
To: Scot Hetzel <swhetzel@gmail.com>,	"Robin P. Blanchard"
	<robin.blanchard@gactr.uga.edu>,	current@freebsd.org, Mike Makonnen
	<mtm@identd.net>
Message-ID: <20040727160555.GA65312@capella.park.rambler.ru>
Content-Type: text/plain; charset=us-ascii

* David W. Chapman Jr. <dwcjr@inethouston.net> [July 27 2004, 19:20]:
> On Tue, Jul 27, 2004 at 09:49:16AM -0500, Scot Hetzel wrote:
> > On Tue, 27 Jul 2004 15:33:50 +0400, Alex Kapranoff <kappa@rambler-co.ru> w
rote:
> > > 
> > Since the program postfix is not a shell script the recommendation is
> > to create a rcNG shell script to start and stop postfix, instead of
> > creating a link to the executeable.  This way you could pass flags to
> > postfix by defining postfix_flags in /etc/rc.conf, /etc/rc.conf.local,
> > or /etc/rc.conf.d/postfix.
> 
> postfix really would not need any flags passed to it at startup time 
> except "start" so this wouldn't be a problem either.

Except that sourcing binary executables into shell is
counter-productive whether there're additional vars or not :)

-- 
Alex Kapranoff.

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

Message: 10
Date: Tue, 27 Jul 2004 18:29:30 +0200
From: Harald Schmalzbauer <h@schmalzbauer.de>
Subject: ataraid panic
To: freebsd-current@freebsd.org
Message-ID: <200407271829.36587@harryhomeworkstation>
Content-Type: text/plain; charset="iso-8859-15"

Dear all,

for over a month ataraid is now broken with the sil0680 chipset.
Since I thought that this controller isn't supported anyway (the 
BIOS-generated mirror isn't detected as /dev/ar?) I suspected that 
'atacontrol create RAID1 ad4 ad6' just does the same like with two disks 
connected to "non-raid" controllers (I'm aware that these cheap cards are not 

really RAID controllers!).
When I settle 'atacontrol create RAID1 ad0 ad1' with -current from 07/26 I get
 
the following panic:

panic: duplicate free of item 0xc18ba800 from zone 0xc1435c60(2048)
cpuid = 0;
[thread 100032]
Stopped at kdb_enter+0x2b: nop
db> trace
kdb_enter(c07d2b72) at kdb_enter+0x2b
panic(c07ec3cd,c18ba800,c1435c60,c0796c10,c07ec3b1) at panic+0x131
uma_dbg_free(c1435c60,c17cbc58,c18ba800) at uma_zfree_arg+0xe9
free(c18ba800,c0806be0,c1848200,c7c1bc90,c0631df7) at free+0xcd
ar_rw_done(c1848200) at ar_rw_done+0x14
biodone(c1848200,c182aa8c,c7c1bcb4,c04b2a9e,c182aa8c) at biodone+0x57
ad_done(c182aa8c) at ad_done+0x2d
ata_completed(c182aa8c,c7c1bcd4,0,c07ce006,195) at ata_completed+0x3a2
g_io_schedule_up(c16c7dc0) at g_io_schedule_up+0x67
g_up_procbody(0,c7c1bd48,0,c05c397c,0) at fork_exit+0x98
fork_trampoline() at fork_trampoline+0x8
--- trap 0x1, eip = 0, esp = 0xc7c1bd7c, ebp = 0 ---
db>

The controller is the 440BX integrated INTEL PIIX4 UDMA33

Let me know if you need more info.

And please remove the cmd649 and sil0680 detection since these chips are not 

supported and getting users into big trouble.
Also HPT370 needs to be fixed or removed!

Thanks,

-Harry
-------------- 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/20040727/
ab1c2958/attachment-0001.bin

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

Message: 11
Date: Tue, 27 Jul 2004 19:38:23 +0300
From: Mike Makonnen <mtm@identd.net>
Subject: Re: rc.d/localpkg
To: Alex Kapranoff <kappa@rambler-co.ru>
Cc: "Robin P. Blanchard" <robin.blanchard@gactr.uga.edu>
Message-ID: <20040727163822.GC81394@rogue.acs-et.com>
Content-Type: text/plain; charset=us-ascii

On Tue, Jul 27, 2004 at 03:33:50PM +0400, Alex Kapranoff wrote:
> * Mike Makonnen <mtm@identd.net> [July 27 2004, 11:42]:
> > On Mon, Jul 26, 2004 at 03:00:53PM -0400, Robin P. Blanchard wrote:
> > > How does this apply to beasts such as postfix which recommends:
> > > 
> > > cd /usr/local/etc/rc.d
> > > ln -s /usr/local/sbin/postfix postfix.sh
> > 
> > That depends. If sbin/postfix is an old-style script then nothing will
> > have changed. It gets sourced same as before. If it's an rc.d script then

> > it will probably have to be patched to conform to rc.d style.
> 
> % file =postfix
> /usr/local/sbin/postfix: ELF 32-bit LSB executable, Intel 80386, version 1 (
FreeBSD), for FreeBSD 5.0.2, dynamically linked (uses shared libs), not stripp
ed

Binary's should give 0 matches for rc.d keywords, so they will be treated like

old style scripts. However, it might be a good idea to make that explicit.

Cheers.
-- 
Mike Makonnen  | GPG-KEY: http://www.identd.net/~mtm/mtm.asc
mtm@identd.net | Fingerprint: AC7B 5672 2D11 F4D0 EBF8  5279 5359 2B82 7CD4 1F
55
mtm@FreeBSD.Org| FreeBSD - Unleash the Daemon !

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

Message: 12
Date: Tue, 27 Jul 2004 19:45:13 +0300
From: Mike Makonnen <mtm@identd.net>
Subject: Re: rc.d/localpkg
To: "Robin P. Blanchard" <robin.blanchard@gactr.uga.edu>
Cc: Alex Kapranoff <kappa@rambler-co.ru>
Message-ID: <20040727164513.GD81394@rogue.acs-et.com>
Content-Type: text/plain; charset=us-ascii

On Tue, Jul 27, 2004 at 08:49:09AM -0400, Robin P. Blanchard wrote:
> 
> 
> I think there's something still quite awry with the new rc.d/localpkg...
> 
> >From rc(8):
>      o   The scripts within each directory are executed in lexicographical
>          order.  If a specific order is required, numbers may be used as a
>          prefix to the existing filenames, so for example 100.foo would be
>          executed before 200.bar; without the numeric prefixes the opposite

>          would be true.

This applied to old style startup scripts. This paragraph will have to
be revised.

> 
> # ls -al /usr/local/etc/rc.d/
> total 12
> drwxr-xr-x  2 root  wheel   512B Jul 27 08:41 ./
> drwxr-xr-x  6 root  wheel   512B Jul 26 14:48 ../
> -rwxr-x---  1 root  wheel   181B Mar 30 13:03 000.mysql-client.sh
> -rwxr-xr-x  1 root  wheel   423B Jul 26 17:46 01_dccifd.sh
> -r-xr-xr-x  1 root  wheel   783B Jul 26 17:42 02_clamav-clamd.sh
> -r-xr-xr-x  1 root  wheel   672B Mar 26 11:21 03_amavisd.sh
> lrwxr-xr-x  1 root  wheel    23B Jul 26 14:39 04_postfix.sh ->
> /usr/local/sbin/postfix
> 
> Yet as far as I can determine, these are not being processed in numerical
> order, with amavis being started before clamav, resulting in the system not

> coming up properly. Am I missing something here or is my pola at an all time

> low ?

It depends. All rc.d scripts are executed first according to rcorder(8). Then

old style scripts are executed in lexicographical order. Both scripts appear
to be rc.d scripts (in today's ports tree). So, if amavis should be started
after clamav, then the maintainer has to specify that in the dependency:
REQUIRE: clamd

Cheers.
-- 
Mike Makonnen  | GPG-KEY: http://www.identd.net/~mtm/mtm.asc
mtm@identd.net | Fingerprint: AC7B 5672 2D11 F4D0 EBF8  5279 5359 2B82 7CD4 1F
55
mtm@FreeBSD.Org| FreeBSD - Unleash the Daemon !

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

Message: 13
Date: Tue, 27 Jul 2004 18:43:52 +0100
From: Ian Dowse <iedowse@maths.tcd.ie>
Subject: Re: Unloading USB driver while device is attached. 
To: Ian Dowse <iedowse@maths.tcd.ie>
Cc: pjd@freebsd.org
Message-ID: <200407271843.aa10377@salmon.maths.tcd.ie>

In message <200407200045.aa99979@salmon.maths.tcd.ie>, Ian Dowse writes:
>>: 	http://people.freebsd.org/~iedowse/usb.diff

FYI, I've updated this patch to the latest -CURRENT, and finished
an initial attempt at support for EHCI interrupt pipes. The interrupt
pipe support is likely to be fairly broken, but it seems to be
enough to allow attachment of USB2 hubs and at least some USB2
devices through USB2 hubs; I have only tested it with a USB2 umass
device connected through a USB2 hub. USB1 devices will definitely
not work via USB2 hubs, as none of the split transaction support
is there.

This is also in p4 (//depot/user/iedowse/iedowse_test/dev/usb).

Ian

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

Message: 14
Date: Tue, 27 Jul 2004 20:56:39 +0200
From: Anders Odberg <anders.odberg@usit.uio.no>
Subject: Re: suspend/resume problems (APM) on Thinkpad T40
To: Gleb Smirnoff <glebius@freebsd.org>
Cc: freebsd-current@freebsd.org
Message-ID: <rfar7qxcm8o.fsf@fangorn.uio.no>
Content-Type: text/plain; charset=us-ascii

[Gleb Smirnoff]

|  |   I have a Thinkpad T40 (model 2373-94G) running FreeBSD-5-CURRENT.
|  |   Until the beginning of June, using APM to suspend/resume worked
|  |   great on this machine. On every cvsup I've tried after the beginning
|  |   of June, suspend seems to work fine, but when resuming, the machine
|  |   will simply freeze. I get my prompt back on the display, but no
|  |   input is accepted, the machine is completely dead, and needs to be
|  |   power-cycled.
|
|   I can confirm that I see the same problems in T20. The break definitely
|   occured somewhat between July 9 and July 15. July 9 kernel works
|   fine for me.

Thanks! I didn't have the chance to upgrade between mid-June and mid-July,
but the last time APM worked for me was 2004-05-28. All cvsup's between
2004-06-03 and 2004-06-16 would always cause the machine to hang upon
resume, and so did the source I cvsup'ed on 2004-07-24.

Based on your suggestion, I have now tried building kernel from source
cvsup'ed several times around 2004-07-09. With kernel based on source from
date=2004.07.08.18.00.00 suspend/resume actually works fine! With source
from date=2004.07.09.00.00.00 and later, it will hang upon resume. I can
try to narrow it further, if that is helpful.

|   If noone replies until weekend, I'll try to find the commit which broke it
..

Thanks. If you are able to get APM-resume to work again on your T20 with
more recent source, please let me know, and I'll check if it also solves my
problems. 

-ao.
-- 
  Anders Odberg, <anders.odberg@usit.uio.no>
  Center for Information Technology Services
  University of Oslo, Norway

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

Message: 15
Date: Tue, 27 Jul 2004 12:08:48 -0700
From: "Kevin Oberman" <oberman@es.net>
Subject: Re: Xorg built fails on CURRENT: can't find Xauth.h 
To: "Alexandre \"Sunny\" Kovalenko" <Alex.Kovalenko@verizon.net>
Cc: freebsd-current@freebsd.org
Message-ID: <20040727190848.016C85D08@ptavv.es.net>

> From: "Alexandre \"Sunny\" Kovalenko" <Alex.Kovalenko@verizon.net>
> Date: Mon, 26 Jul 2004 21:28:47 -0400
> Sender: owner-freebsd-current@freebsd.org
> 
> On Mon, 2004-07-26 at 20:39, Alexandre "Sunny" Kovalenko wrote:
> > On Mon, 2004-07-26 at 14:23, Eric Anholt wrote:
> > > On Mon, 2004-07-26 at 11:01, Chris Shenton wrote:
> > > > Fixed, but I don't know if what I did really helped.
> > > > 
> > > > I had already removed imake-4 and replaced it with imake-6.  For
> > > > yucks, I did
> > > > 
> > > >   cd /usr/ports/devel/imake-6
> > > >   make deinstall reinstall clean
> > > 
> > > Yeah, something got botched with your ports -- I suspect you had
> > > xorg-libraries and XFree86 libraries installed at the same time and
> > > pkg_deleting messed things up.
> > > 
> > > > Then re-did the Xorg build:
> > > > 
> > > >   cd /usr/ports/x11/xorg
> > > >   make clean
> > > >   make         [it seemed to do some new stuff now it didn't do before
]
> > > >   make install [built then installed lots of stuff]
> > > > 
> > > > Finished cleanly. I hate it when "It fixed itself".
> > > > Sorry I don't know what really helped.
> > > > 
> > > > Now to rebuild all my X11-based ports I guess.  
> > > 
> > > No need to do that.  It's all binary compatible.
> > 
> > It seams that way, however, after installation I have lost two GNOME
> > applets to the following error message:
> > 
> > --------------------------------------------------------------------------
--------------
> > The panel encountered a problem while loading
> > "OAFIID:GNOME_WorkspaceSwitcherApplet".
> > Details: Failed to resolve, or extend
> > '!prefs_key=/apps/panel/profiles/default/applets/applet_0/prefs;background
=none:;orient=up;size=x-small;locked_down=false
> > 
> > Do you want to delete the applet from your configuration?
> > --------------------------------------------------------------------------
--------------
> > 
> > Second one was WindowsMenuApplet.
> > 
> > I did portupgrade -rf x11/gnomeapplets2, but that did not seem to help.
> > 
> > I will probably do portupgrade -rf x11/gnome2 overnight, but any other
> > suggestions will be greatly appreciated.
> > 
> > Alexandre "Sunny" Kovalenko.
> > 
> > _______________________________________________
> > 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"

> 
> Some kind soul on gnome@ suggested the solution:
> 
> portupgrade -f x11-toolkits/libwnck
> portupgrade -f x11/libxklavier
> portupgrade -f x11/gnomepanel
> 
> did the trick.

Always check /usr/ports/UPDATING! This (and more) is documented there.

Oh, you shouldn't have to rebuild x11/gnomepanel. You do need the other
two and you MAY need to edit your XF86Config file slightly (also covered
in UPDATING).
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: oberman@es.net			Phone: +1 510 486-8634

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

Message: 16
Date: Tue, 27 Jul 2004 21:17:43 +0200
From: "Daniel Eriksson" <daniel_k_eriksson@telia.com>
Subject: RE: cvs commit: src/sys/geom/vinum geom_vinum.c
	geom_vinum_drive.c
To: "'Lukas Ertl'" <le@FreeBSD.org>
Cc: freebsd-current@FreeBSD.org
Message-ID:
	<!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAA0VcX9IoJqUaXPS8MjT1PdsKAAAAQA
AAAASp9gKSSTUqcz9C4wBaIuAEAAAAA@telia.com>
	
Content-Type: text/plain;	charset="us-ascii"

Lukas Ertl wrote:

> > This made geom_vinum work on my system, at least partially. 
> What is the
> > correct way of starting geom_vinum? I tried adding 
> geom_vinum_load="YES" in
> > loader.conf, but that made the machine panic during disc probing.
> 
> Where does it panic?  Do you have a backtrace?

No, no backtrace available because after an upgrade of the system to
2004.07.27.11.00.00 (earlier today) the panic is gone.

I might have found another slight problem though, but I'm not sure if it's a
fluke or if it's repeatable. I'll let you know next time I take the server
offline. The problem was that some if the gvinum filesystems (all the
striped filesystems, but not the mirrored) did not properly clear the dirty
flag on shutdown. Again, I don't know if this is a real problem. I'll report
back here if it is.

/Daniel Eriksson



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

Message: 17
Date: Tue, 27 Jul 2004 21:30:08 +0200
From: Jan-Espen Pettersen <sigsegv@leakingmemory.org>
Subject: out of inodes on md /tmp
To: freebsd-current@freebsd.org
Cc: sigsegv@leakingmemory.org
Message-ID: <4106AD40.5020500@leakingmemory.org>
Content-Type: text/plain; charset="us-ascii"

I ran into a problem when having a lot of small files in a memory disk
filesystem /tmp, which is now turned on by default through
/etc/defaults/rc.conf and /etc/rc.d/tmp . This caused /tmp to quickly
run out of inodes. In this case it was a cvs update over ssh that
triggered the problem.

One way to solve this is to increase the size of /tmp (this was also
required to solve my problem, since at least 130M was required for cvs
update to complete). But increasing the size of /tmp to 512M was not
enough to get a sufficient number of inodes. Therefore I suggest a
change to /etc/rc.d/tmp and /etc/defaults/rc.conf to let bytes-per-inode
be a configureable option through /etc/rc.conf

The diff I have attached to this message is what I've used for a few
days now. It seems to work for me. I don't know how many people who
actually need such an option, since this is relatively easy to work
around by other means.

from (log) messages:
Jul 24 11:34:02 endeavour kernel: pid 15026 (cvs), uid 1001 inumber 1407
on /tmp: out of inodes


-------------- next part --------------
Index: etc/defaults/rc.conf
===================================================================
RCS file: /usr/ncvs/src/etc/defaults/rc.conf,v
retrieving revision 1.211
diff -u -r1.211 rc.conf
--- etc/defaults/rc.conf	18 Jul 2004 18:01:47 -0000	1.211
+++ etc/defaults/rc.conf	24 Jul 2004 10:35:47 -0000
@@ -40,6 +40,7 @@
 removable_interfaces=""	# Removable network interfaces for /etc/pccard_ether.

 tmpmfs="AUTO"		# Set to YES to always create an mfs /tmp, NO to never
 tmpsize="20m"		# Size of mfs /tmp if created
+tmpbpi="DEFAULT"	# Bytes-per-inode of mfs /tmp if created
 varmfs="AUTO"		# Set to YES to always create an mfs /var, NO to never
 varsize="32m"		# Size of mfs /var if created
 populate_var="AUTO"	# Set to YES to always (re)populate /var, NO to never
Index: etc/rc.d/tmp
===================================================================
RCS file: /usr/ncvs/src/etc/rc.d/tmp,v
retrieving revision 1.32
diff -u -r1.32 tmp
--- etc/rc.d/tmp	23 Mar 2004 23:22:35 -0000	1.32
+++ etc/rc.d/tmp	24 Jul 2004 11:06:45 -0000
@@ -35,15 +35,27 @@
 
 name="tmp"
 
+md_bpi=""
+
 load_rc_config $name
 
+if [ -n "$tmpbpi" ]; then
+	case "$tmpbpi" in
+	[Dd][Ee][Ff][Aa][Uu][Ll][Tt])
+		;;
+	*)
+		md_bpi="$tmpbpi"
+		;;
+	esac
+fi
+
 # If we do not have a writable /tmp, create a memory
 # filesystem for /tmp.  If /tmp is a symlink (e.g. to /var/tmp,
 # then it should already be writable).
 #
 case "${tmpmfs}" in
 [Yy][Ee][Ss])
-	mount_md ${tmpsize} /tmp
+	mount_md ${tmpsize} /tmp ${md_bpi}
 	chmod 01777 /tmp
 	;;
 [Nn][Oo])
@@ -57,7 +69,7 @@
 			echo "dropping into shell, ^D to continue anyway."
 			/bin/sh
 		else
-			mount_md ${tmpsize} /tmp
+			mount_md ${tmpsize} /tmp ${md_bpi}
 			chmod 01777 /tmp
 		fi
 	fi

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040727/
a1028f94/signature-0001.bin

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

Message: 18
Date: Tue, 27 Jul 2004 20:03:48 +0000
From: Bosko Milekic <bmilekic@FreeBSD.org>
Subject: UMA space calculation changes (PLEASE TEST, ESPECIALLY IF YOU
	HAVE	A sparc64 OR OTHER 64-bit CPU)
To: freebsd-current@freebsd.org
Message-ID: <20040727200348.GA18269@freefall.freebsd.org>
Content-Type: text/plain; charset=us-ascii


Hi,

  I had to modify/correct space calculation changes in UMA, in
  particular following the extensions added with mbuma.

  Here is a patch:

  http://people.freebsd.org/~bmilekic/code/uma_space.diff

  This helps ARM boot to single user.

  If you have a sparc64 or any other 64-bit CPU, or even i386
  SMP or UP, please try the above patch with and/or without
  INVARIANTS and let me know how it goes.

-Bosko


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

Message: 19
Date: Tue, 27 Jul 2004 10:15:28 -1000
From: Randy Bush <randy@psg.com>
Subject: Re: Assertion td->td_turnstile
To: FreeBSD Current <freebsd-current@freebsd.org>
Message-ID: <16646.47072.297810.282486@roam.psg.com>
Content-Type: text/plain; charset=us-ascii

> panic: Assertion td->td_turnstile != NULL failed at /usr/src/sys/kern/subr_t
urnstile.c:478
> cpuid = 0; 
> KDB: enter: panic
> [thread 100340]
> Stopped at      kdb_enter+0x30: movl    %ebp,%esp
> db> trace
> kdb_enter(c05f8022,0,c05f4cb4,df14faa8,100) at kdb_enter+0x30
> panic(c05f4cb4,c05fb006,c05fadea,1de,c064d588) at panic+0x156
> turnstile_wait(c2142a00,c0642980,c27b89a0,20e,c26d4dc0) at turnstile_wait+0x
2ac
> _mtx_lock_sleep(c0642980,0,c05f4d75,cc,c26d4dc0) at _mtx_lock_sleep+0x195
> _mtx_lock_flags(c0642980,0,c05f4d75,cc,1) at _mtx_lock_flags+0xb2
> cv_wait_sig(c0672e24,c0672e00,c05fbc70,2ee,4) at cv_wait_sig+0x2f4
> kern_select(c26d4dc0,4,bfbfed10,0,0) at kern_select+0x516
> select(c26d4dc0,df14fd14,14,431,5) at select+0x66
> syscall(835002f,2f,a7f002f,835b000,0) at syscall+0x2a0
> Xint0x80_syscall() at Xint0x80_syscall+0x1f
> --- syscall (93, FreeBSD ELF32, select), eip = 0x284e3fbf, esp = 0xbfbfe8bc,
 ebp = 0xbfbfe8f8 ---
> db> 

this problem persists causing much pain.  the machine can not
stay up for three hours.  i keep cvsupping and rebuilding, but
to no avail.

problem is with or without smp.

see kern/69629

randy, about to revert to RELENG_5_2 in desperation


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

Message: 20
Date: Tue, 27 Jul 2004 16:51:13 -0400
From: Garance A Drosihn <drosih@rpi.edu>
Subject: Re: Anyone Else Seeing: Assertion td->td_turnstile
To: Randy Bush <randy@psg.com>,	FreeBSD Current
	<freebsd-current@freebsd.org>
Message-ID: <p0611040fbd2c6fd1ab7d@[128.113.24.47]>
Content-Type: text/plain; charset="us-ascii" ; format="flowed"

At 10:15 AM -1000 7/27/04, Randy Bush wrote:
>  > panic: Assertion td->td_turnstile != NULL failed at 
>/usr/src/sys/kern/subr_turnstile.c:478
>>  cpuid = 0;
>>  KDB: enter: panic
>>  [thread 100340]
>>  Stopped at      kdb_enter+0x30: movl    %ebp,%esp
>>  db> trace
>>  kdb_enter(c05f8022,0,c05f4cb4,df14faa8,100) at kdb_enter+0x30
>>  panic(c05f4cb4,c05fb006,c05fadea,1de,c064d588) at panic+0x156
>>  turnstile_wait(c2142a00,c0642980,c27b89a0,20e,c26d4dc0) at 
>>turnstile_wait+0x2ac
>>  _mtx_lock_sleep(c0642980,0,c05f4d75,cc,c26d4dc0) at _mtx_lock_sleep+0x195

>>  _mtx_lock_flags(c0642980,0,c05f4d75,cc,1) at _mtx_lock_flags+0xb2
>>  cv_wait_sig(c0672e24,c0672e00,c05fbc70,2ee,4) at cv_wait_sig+0x2f4
>>  kern_select(c26d4dc0,4,bfbfed10,0,0) at kern_select+0x516
>>  select(c26d4dc0,df14fd14,14,431,5) at select+0x66
>>  syscall(835002f,2f,a7f002f,835b000,0) at syscall+0x2a0
>>  Xint0x80_syscall() at Xint0x80_syscall+0x1f
>>  --- syscall (93, FreeBSD ELF32, select), eip = 0x284e3fbf, esp = 
>>0xbfbfe8bc, ebp = 0xbfbfe8f8 ---
>>  db>
>
>this problem persists causing much pain.  the machine can not
>stay up for three hours.  i keep cvsupping and rebuilding, but
>to no avail.
>
>problem is with or without smp.
>
>see kern/69629
>
>randy, about to revert to RELENG_5_2 in desperation

I have not seen this, but then my i386 system is still running a
snapshot from July 19th.  If this has been plaguing you since
your rebuild on the 26th, I would think that other people should
be seeing it by now.  I can try a system rebuild (after making a
backup, just in case!) and see what happens.

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

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

Message: 21
Date: Tue, 27 Jul 2004 11:01:57 -1000
From: Randy Bush <randy@psg.com>
Subject: Re: Anyone Else Seeing: Assertion td->td_turnstile
To: Garance A Drosihn <drosih@rpi.edu>
Cc: FreeBSD Current <freebsd-current@freebsd.org>
Message-ID: <16646.49861.173672.187321@roam.psg.com>
Content-Type: text/plain; charset=us-ascii

> I have not seen this, but then my i386 system is still running a
> snapshot from July 19th.  If this has been plaguing you since
> your rebuild on the 26th, I would think that other people should
> be seeing it by now.  I can try a system rebuild (after making a
> backup, just in case!) and see what happens.

i suspect it could be related to load.  the puppy is running a
serious mail load, apache, jabberd, a lot of dns, ...  also,
it's sata/twe, softupdates, ...

it's not soggy, but it's not bored.

randy


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

Message: 22
Date: Tue, 27 Jul 2004 23:05:59 +0200
From: Pawel Jakub Dawidek <pjd@FreeBSD.org>
Subject: Re: ataraid panic
To: Harald Schmalzbauer <h@schmalzbauer.de>
Cc: freebsd-current@freebsd.org
Message-ID: <20040727210559.GJ57678@darkness.comp.waw.pl>
Content-Type: text/plain; charset="iso-8859-2"

On Tue, Jul 27, 2004 at 06:29:30PM +0200, Harald Schmalzbauer wrote:
+> for over a month ataraid is now broken with the sil0680 chipset.
+> Since I thought that this controller isn't supported anyway (the 
+> BIOS-generated mirror isn't detected as /dev/ar?) I suspected that 
+> 'atacontrol create RAID1 ad4 ad6' just does the same like with two disks 
+> connected to "non-raid" controllers (I'm aware that these cheap cards are n
ot 
+> really RAID controllers!).
+> When I settle 'atacontrol create RAID1 ad0 ad1' with -current from 07/26 I 
get 
+> the following panic:
[...]

Could you try this patch:

	http://people.freebsd.org/~pjd/patches/ata-raid.c.patch

-- 
Pawel Jakub Dawidek                       http://www.FreeBSD.org
pjd@FreeBSD.org                           http://garage.freebsd.pl
FreeBSD committer                         Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040727/
4a02d125/attachment-0001.bin

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

Message: 23
Date: Tue, 27 Jul 2004 23:14:44 +0200
From: "Daniel Eriksson" <daniel_k_eriksson@telia.com>
Subject: gvinum and sysinstall?
To: <freebsd-current@FreeBSD.org>
Message-ID:
	<!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAA0VcX9IoJqUaXPS8MjT1PdsKAAAAQA
AAAdq9MpNgYEEaONLVzBO+chAEAAAAA@telia.com>
	
Content-Type: text/plain;	charset="us-ascii"

 
Ever since I started using gvinum instead of classic vinum in my 5-CURRENT
system, sysinstall exits with a "BARF 257" or "BARF 259" after a few seconds
of probing.
 
Is this an expected problem or am I doing something wrong?
 
/Daniel Eriksson
 

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

Message: 24
Date: Tue, 27 Jul 2004 23:17:58 +0200
From: Johan Pettersson <manlix@demonized.net>
Subject: Re: print HEADSUP at installworld time? (was: HEADSUP
	gconcat(8) and gstripe(8) users!)
To: Matthias Andree <ma@dt.e-technik.uni-dortmund.de>
Cc: ma@dt.e-technik.uni-dortmund.de
Message-ID: <20040727231758.54e68418.manlix@demonized.net>
Content-Type: text/plain; charset=US-ASCII

On Tue, 27 Jul 2004 14:07:55 +0200
Matthias Andree <ma@dt.e-technik.uni-dortmund.de> wrote:

> Pawel Jakub Dawidek <pjd@FreeBSD.org> writes:
> 
> > +> I wonder if "make installworld" should display such warnings (or
> > head+> /usr/src/UPDATING FWIW) and give the user a chance to abort
> > the+> installation.
> >
> > First of all, I don't think there are many gstripe/gconcat users out
> > there.
> >
> > Gstripe as well as gconcat was introduced after 5.2.1 - there was no
> > FreeBSD release with this code.
> >
> > That's why I think this is not necessary, this is -CURRENT and user
> > can always fix his /etc/fstab on boot.
> 
> OK, not for gstripe/gconcat then, but I'm wondering if a mechanism to
> print such announcements would generally be useful. Changing subject.
> 

Why? Users should read UPDATING before upgrading.

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

Message: 25
Date: Tue, 27 Jul 2004 17:30:59 -0400
From: Anish Mistry <mistry.7@osu.edu>
Subject: FreeBSD and wine mmap
To: freebsd-current@freebsd.org
Message-ID: <200407271731.12282.mistry.7@osu.edu>
Content-Type: Text/Plain;  charset="us-ascii"

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

Has there been any progress on changing the mmap so that wine will work with 

FreeBSD beyond May's version?

Previous discussion on wine:
http://www.mail-archive.com/wine-devel@winehq.org/msg07739.html
Some more discussion at DFly:
http://leaf.dragonflybsd.org/mailarchive/kernel/2004-07/msg00168.html

- -- 
Anish Mistry
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFBBsmbxqA5ziudZT0RAp5jAKCDU8EGMIS3oOr6CxFgF0buQ6JjkQCfR6uB
uMXSsRCeBO27/+L9s7V78ok=
=hIAm
-----END PGP SIGNATURE-----

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

Message: 26
Date: Tue, 27 Jul 2004 11:35:28 -1000
From: Randy Bush <randy@psg.com>
Subject: Re: Anyone Else Seeing: Assertion td->td_turnstile
To: Garance A Drosihn <drosih@rpi.edu>
Cc: FreeBSD Current <freebsd-current@freebsd.org>
Message-ID: <16646.51872.848411.893128@roam.psg.com>
Content-Type: text/plain; charset=us-ascii

oh, and with an unassertive kernel, i get a similar hard crash

kernel trap 12 with interrupts disabled


Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x10
fault code              = supervisor write, page not present
instruction pointer     = 0x8:0xc04dce1c
stack pointer           = 0x10:0xdf021ae0
frame pointer           = 0x10:0xdf021b00
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, def32 1, gran 1
processor eflags        = resume, IOPL = 0
current process         = 830 (mysqld)
[thread 100261]
Stopped at      turnstile_wait+0x20c:   movl    %eax,0x10(%edx)
db> trace
turnstile_wait(c23f8ac0,c0644b80,c22e8420,4,c2822b00) at turnstile_wait+0x20c

_mtx_lock_sleep(c0644b80,0,0,0,1) at _mtx_lock_sleep+0xd5
cv_wait_sig(c064a004,c0649fe0,df021b8c,4,4) at cv_wait_sig+0x29e
kern_select(c2822b00,4,bfbfed10,0,0) at kern_select+0x688
select(c2822b00,df021d14,14,6,5) at select+0x66
syscall(835002f,2f,835002f,835b000,0) at syscall+0x320
Xint0x80_syscall() at Xint0x80_syscall+0x1f
--- syscall (93, FreeBSD ELF32, select), eip = 0x284e3fbf, esp = 0xbfbfe8bc, e
bp = 0xbfbfe8f8 ---

randy


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

Message: 27
Date: Wed, 28 Jul 2004 00:02:49 +0200
From: "Simon L. Nielsen" <simon@FreeBSD.org>
Subject: Re: ataraid panic
To: Pawel Jakub Dawidek <pjd@FreeBSD.org>
Cc: freebsd-current@freebsd.org
Message-ID: <20040727220248.GB1136@zaphod.nitro.dk>
Content-Type: text/plain; charset="us-ascii"

On 2004.07.27 23:05:59 +0200, Pawel Jakub Dawidek wrote:
> On Tue, Jul 27, 2004 at 06:29:30PM +0200, Harald Schmalzbauer wrote:
> +> for over a month ataraid is now broken with the sil0680 chipset.
> +> Since I thought that this controller isn't supported anyway (the 
> +> BIOS-generated mirror isn't detected as /dev/ar?) I suspected that 
> +> 'atacontrol create RAID1 ad4 ad6' just does the same like with two disks 

> +> connected to "non-raid" controllers (I'm aware that these cheap cards are
 not 
> +> really RAID controllers!).
> +> When I settle 'atacontrol create RAID1 ad0 ad1' with -current from 07/26 
I get 
> +> the following panic:
> [...]
> 
> Could you try this patch:
> 
> 	http://people.freebsd.org/~pjd/patches/ata-raid.c.patch

This fixes the panic for me.  The few simple tests I did on the
created ar0 device worked as expected.

So I guess now I don't need to use geom_mirror anymore... ;-).

-- 
Simon L. Nielsen
FreeBSD Documentation Team
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040728/
4e3e9f44/attachment-0001.bin

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

Message: 28
Date: Tue, 27 Jul 2004 15:15:06 -0700 (PDT)
From: Don Lewis <truckman@FreeBSD.org>
Subject: Re: Questionable code in sys/dev/sound/pcm/channel.c
To: mat@cnd.mcgill.ca
Cc: freebsd-current@FreeBSD.org
Message-ID: <200407272215.i6RMF6jQ061016@gw.catspoiler.org>
Content-Type: TEXT/plain; charset=us-ascii

On 27 Jul, Mathew Kanner wrote:
> On Jul 26, John-Mark Gurney wrote:
>> Conrad J. Sabatier wrote this message on Mon, Jul 26, 2004 at 16:35 -0500:

>> > Why the formulaic calculation of timeout, if it's simply going to be
>> > unconditionally set to 1 immediately afterwards anyway?  What's going on

>> > here?
>> 
>> Well, if you look at the annotations, that absolute set of timeout was
>> added in rev 1.65 by cg with the comment:
>> tweaks to reduce latency/pauses in output
>> 
> 
> 
> 	I think this has been raised on the mailling list before.
> IIRC, the logic for this is to check frequently for dead channels but
> CG is the authoriy.

My suspicion is that this change was made to reduce the consequences of
lost wakeups from the interrupt routine.  This would have been more of a
problem when tsleep() was used in chn_sleep() and shouldn't be needed
now that the top and bottom halves of the code use the channel lock and
chn_sleep() uses msleep() to atomically release the lock and wait for
the wakeup from the interrupt code.  That said, setting timeout to 1
shouldn't hurt anything and will just waste a bit of CPU time.


>> > Also, at the end of the function:
>> > 
>> >     if (count <= 0) {
>> >         c->flags |= CHN_F_DEAD;
>> >         printf("%s: play interrupt timeout, channel dead\n", c->name);
>> >     }
>> > 
>> >     return ret;
>> > }
>> 
>> that was changed in rev1.52 (by cg also), and previously was just a check
>> for count == 0..
>> 
>> So, I'd recommend a message off to cg and ask why he made this changes...

The original version of the code always set timeout to 1 and looped on
(count > 0), so count could never go negative.  When the code was
changed to set count to something larger than 1, count could go negative
if (hz % timeout != 0), so the condition for setting CHN_F_DEAD had to
be modified accordingly.

My suspicion is that there is sometimes enough latency in executing the
interrupt routine that the hardware DMA pointer is wrapping and
chn_dmaupdate() is calculating delta as zero.  This would cause
chn_wrfeed() not to consume any data from the software buffer (and skip
the wakeup()), which might be enough to cause the chn_write() to time
out while waiting for space to become available in the software buffer.
It would be interesting to enable the debug code in chn_dmaupdate(), and
add (delta == 0) as a condition to trigger the device_printf().

The bigger question is what is the cause of the latency ...



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

Message: 29
Date: Tue, 27 Jul 2004 15:21:57 -0700 (PDT)
From: Don Lewis <truckman@FreeBSD.org>
Subject: Re: Questionable code in sys/dev/sound/pcm/channel.c
To: conrads@cox.net
Cc: freebsd-current@FreeBSD.org
Message-ID: <200407272222.i6RMLvDa061031@gw.catspoiler.org>
Content-Type: TEXT/plain; charset=us-ascii

On 27 Jul, Conrad J. Sabatier wrote:
> 
> On 26-Jul-2004 Conrad J. Sabatier wrote:
>> 
>> On 26-Jul-2004 Conrad J. Sabatier wrote:
>>> I'm a little perplexed at the following bit of logic in chn_write()
>>> (which is where the "interrupt timeout, channel dead" messages are
>>> being generated).
> 
> [snip]
> 
>>> Also, at the end of the function:
>>> 
>>>     if (count <= 0) {
>>>         c->flags |= CHN_F_DEAD;
>>>         printf("%s: play interrupt timeout, channel dead\n",
>>> c->name);
>>>     }
>>> 
>>>     return ret;
>>> }
>>> 
>>> Could it be that the conditional test is wrong here?  Perhaps
>>> we should be using (count < 0) instead?
>> 
>> I'm now running a kernel built with this last conditional test
>> changed to "if (count < 0)" and sound is still working OK.  Have yet
>> to see if this eliminates the interrupt timeout messages.
> 
> Well, that was a failure.  :-)  Didn't see any timeout error messages,
> but the device still died eventually, nonetheless.  I've since changed
> back to the original code.

That's an interesting data point. At this point I'd start looking at the
driver code for your sound hardware.  I suspect that the driver
interrupt code is either no longer seeing interrupts, or it is no longer
calling chn_intr().


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

Message: 30
Date: Tue, 27 Jul 2004 18:25:54 -0400
From: "Alexandre \"Sunny\" Kovalenko" <Alex.Kovalenko@verizon.net>
Subject: Re: Xorg built fails on CURRENT: can't find Xauth.h
To: Kevin Oberman <oberman@es.net>
Cc: freebsd-current@freebsd.org
Message-ID: <1090967153.3526.5.camel@RabbitsDen>
Content-Type: text/plain

On Tue, 2004-07-27 at 15:08, Kevin Oberman wrote:
> > From: "Alexandre \"Sunny\" Kovalenko" <Alex.Kovalenko@verizon.net>
> > Date: Mon, 26 Jul 2004 21:28:47 -0400
> > Sender: owner-freebsd-current@freebsd.org
> > 
> > On Mon, 2004-07-26 at 20:39, Alexandre "Sunny" Kovalenko wrote:
> > > On Mon, 2004-07-26 at 14:23, Eric Anholt wrote:
> > > > On Mon, 2004-07-26 at 11:01, Chris Shenton wrote:
> > > > > Fixed, but I don't know if what I did really helped.
> > > > > 
> > > > > I had already removed imake-4 and replaced it with imake-6.  For
> > > > > yucks, I did
> > > > > 
> > > > >   cd /usr/ports/devel/imake-6
> > > > >   make deinstall reinstall clean
> > > > 
> > > > Yeah, something got botched with your ports -- I suspect you had
> > > > xorg-libraries and XFree86 libraries installed at the same time and
> > > > pkg_deleting messed things up.
> > > > 
> > > > > Then re-did the Xorg build:
> > > > > 
> > > > >   cd /usr/ports/x11/xorg
> > > > >   make clean
> > > > >   make         [it seemed to do some new stuff now it didn't do befo
re]
> > > > >   make install [built then installed lots of stuff]
> > > > > 
> > > > > Finished cleanly. I hate it when "It fixed itself".
> > > > > Sorry I don't know what really helped.
> > > > > 
> > > > > Now to rebuild all my X11-based ports I guess.  
> > > > 
> > > > No need to do that.  It's all binary compatible.
> > > 
> > > It seams that way, however, after installation I have lost two GNOME
> > > applets to the following error message:
> > > 
> > > ------------------------------------------------------------------------
----------------
> > > The panel encountered a problem while loading
> > > "OAFIID:GNOME_WorkspaceSwitcherApplet".
> > > Details: Failed to resolve, or extend
> > > '!prefs_key=/apps/panel/profiles/default/applets/applet_0/prefs;backgrou
nd=none:;orient=up;size=x-small;locked_down=false
> > > 
> > > Do you want to delete the applet from your configuration?
> > > ------------------------------------------------------------------------
----------------
> > > 
> > > Second one was WindowsMenuApplet.
> > > 
> > > I did portupgrade -rf x11/gnomeapplets2, but that did not seem to help.

> > > 
> > > I will probably do portupgrade -rf x11/gnome2 overnight, but any other
> > > suggestions will be greatly appreciated.
> > > 
> > > Alexandre "Sunny" Kovalenko.
> > > 
> > > _______________________________________________
> > > freebsd-current@freebsd.org mailing list
> > > http://lists.freebsd.org/mailman/listinfo/freebsd-current
> > > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.or
g"
> > 
> > Some kind soul on gnome@ suggested the solution:
> > 
> > portupgrade -f x11-toolkits/libwnck
> > portupgrade -f x11/libxklavier
> > portupgrade -f x11/gnomepanel
> > 
> > did the trick.
> 
> Always check /usr/ports/UPDATING! This (and more) is documented there.
> 
> Oh, you shouldn't have to rebuild x11/gnomepanel. You do need the other
> two and you MAY need to edit your XF86Config file slightly (also covered
> in UPDATING).

But... there is nothing in UPDATING. I have copied the list just in case
someone out there thinks there should be. Right now:

sunny:RabbitsDen>grep -i xorg UPDATING
sunny:RabbitsDen>grep -i libwnck UPDATING
sunny:RabbitsDen>grep -i libxklavier UPDATING
sunny:RabbitsDen>ls -l UPDATING
-rw-r--r--  1 root  wheel  69125 Jul 25 16:37 UPDATING

Considering that this is ports issue, I honestly did not expect
anything in UPDATING anyway.

Thanks for taking time to reply.

Alexandre "Sunny" Kovalenko.




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

Message: 31
Date: Wed, 28 Jul 2004 00:33:20 +0200
From: "Willem Jan Withagen" <wjw@withagen.nl>
Subject: Fatal LOR: PV ENTRY (UMA zone) @
	/home2/src/sys/vm/uma_core.c:2033
To: <current@FreeBSD.ORG>
Cc: bzeeb+freebsd+lor@zabbadoz.net
Message-ID: <022801c47429$b8957420$471b3dd4@digiware.nl>
Content-Type: text/plain;	charset="iso-8859-1"

Running on amd64:

lock order reversal
 1st 0xffffff007fed7c10 PV ENTRY (UMA zone) @ /home2/src/sys/vm/uma_core.c:203
3
 2nd 0xffffffff8063dce0 UMA pcpu (UMA pcpu) @ /home2/src/sys/vm/uma_core.c:201
5
KDB: stack backtrace:
kdb_backtrace() at kdb_backtrace+0x34
witness_checkorder() at witness_checkorder+0x613
_mtx_lock_flags() at _mtx_lock_flags+0x68
uma_zfree_arg() at uma_zfree_arg+0x80
namei() at namei+0x15c
vn_open_cred() at vn_open_cred+0x285
vn_open() at vn_open+0x17
kern_open() at kern_open+0x101
open() at open+0x18
syscall() at syscall+0x330
Xfast_syscall() at Xfast_syscall+0xa8
--- syscall (5, FreeBSD ELF64, open), rip = 0x76d75c, rsp = 0x7fffffffe088, rb
p
= 0x7fffffffe0c0 ---

And right followed by....

panic: lock (sleep mutex) Giant not locked @ /home2/src/sys/kern/vfs_syscalls.
c:
959
cpuid = 0;
KDB: stack backtrace:
kdb_backtrace() at kdb_backtrace+0x34
panic() at panic+0x1d2
witness_unlock() at witness_unlock+0xdd
_mtx_unlock_flags() at _mtx_unlock_flags+0x68
kern_open() at kern_open+0x128
open() at open+0x18
syscall() at syscall+0x330
Xfast_syscall() at Xfast_syscall+0xa8
--- syscall (5, FreeBSD ELF64, open), rip = 0x76d75c, rsp = 0x7fffffffe088, rb
p
= 0x7fffffffe0c0 ---
KDB: enter: panic
[thread 100316]
Stopped at      kdb_enter+0x2e: nop

--WjW


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

Message: 32
Date: Tue, 27 Jul 2004 15:37:01 -0700
From: "Kevin Oberman" <oberman@es.net>
Subject: Re: Xorg built fails on CURRENT: can't find Xauth.h 
To: "Alexandre \"Sunny\" Kovalenko" <Alex.Kovalenko@verizon.net>
Cc: freebsd-current@freebsd.org
Message-ID: <20040727223701.07D1B5D08@ptavv.es.net>

> From: "Alexandre \"Sunny\" Kovalenko" <Alex.Kovalenko@verizon.net>
> Date: Tue, 27 Jul 2004 18:25:54 -0400
> 
> On Tue, 2004-07-27 at 15:08, Kevin Oberman wrote:
> > > From: "Alexandre \"Sunny\" Kovalenko" <Alex.Kovalenko@verizon.net>
> > > Date: Mon, 26 Jul 2004 21:28:47 -0400
> > > Sender: owner-freebsd-current@freebsd.org
> > > 
> > > On Mon, 2004-07-26 at 20:39, Alexandre "Sunny" Kovalenko wrote:
> > > > On Mon, 2004-07-26 at 14:23, Eric Anholt wrote:
> > > > > On Mon, 2004-07-26 at 11:01, Chris Shenton wrote:
> > > > > > Fixed, but I don't know if what I did really helped.
> > > > > > 
> > > > > > I had already removed imake-4 and replaced it with imake-6.  For
> > > > > > yucks, I did
> > > > > > 
> > > > > >   cd /usr/ports/devel/imake-6
> > > > > >   make deinstall reinstall clean
> > > > > 
> > > > > Yeah, something got botched with your ports -- I suspect you had
> > > > > xorg-libraries and XFree86 libraries installed at the same time and

> > > > > pkg_deleting messed things up.
> > > > > 
> > > > > > Then re-did the Xorg build:
> > > > > > 
> > > > > >   cd /usr/ports/x11/xorg
> > > > > >   make clean
> > > > > >   make         [it seemed to do some new stuff now it didn't do be
fore]
> > > > > >   make install [built then installed lots of stuff]
> > > > > > 
> > > > > > Finished cleanly. I hate it when "It fixed itself".
> > > > > > Sorry I don't know what really helped.
> > > > > > 
> > > > > > Now to rebuild all my X11-based ports I guess.  
> > > > > 
> > > > > No need to do that.  It's all binary compatible.
> > > > 
> > > > It seams that way, however, after installation I have lost two GNOME
> > > > applets to the following error message:
> > > > 
> > > > ----------------------------------------------------------------------
------------------
> > > > The panel encountered a problem while loading
> > > > "OAFIID:GNOME_WorkspaceSwitcherApplet".
> > > > Details: Failed to resolve, or extend
> > > > '!prefs_key=/apps/panel/profiles/default/applets/applet_0/prefs;backgr
ound=none:;orient=up;size=x-small;locked_down=false
> > > > 
> > > > Do you want to delete the applet from your configuration?
> > > > ----------------------------------------------------------------------
------------------
> > > > 
> > > > Second one was WindowsMenuApplet.
> > > > 
> > > > I did portupgrade -rf x11/gnomeapplets2, but that did not seem to help
..
> > > > 
> > > > I will probably do portupgrade -rf x11/gnome2 overnight, but any other

> > > > suggestions will be greatly appreciated.
> > > > 
> > > > Alexandre "Sunny" Kovalenko.
> > > > 
> > > > _______________________________________________
> > > > 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"
> > > 
> > > Some kind soul on gnome@ suggested the solution:
> > > 
> > > portupgrade -f x11-toolkits/libwnck
> > > portupgrade -f x11/libxklavier
> > > portupgrade -f x11/gnomepanel
> > > 
> > > did the trick.
> > 
> > Always check /usr/ports/UPDATING! This (and more) is documented there.
> > 
> > Oh, you shouldn't have to rebuild x11/gnomepanel. You do need the other
> > two and you MAY need to edit your XF86Config file slightly (also covered
> > in UPDATING).
> 
> But... there is nothing in UPDATING. I have copied the list just in case
> someone out there thinks there should be. Right now:
> 
> sunny:RabbitsDen>grep -i xorg UPDATING
> sunny:RabbitsDen>grep -i libwnck UPDATING
> sunny:RabbitsDen>grep -i libxklavier UPDATING
> sunny:RabbitsDen>ls -l UPDATING
> -rw-r--r--  1 root  wheel  69125 Jul 25 16:37 UPDATING
> 
> Considering that this is ports issue, I honestly did not expect
> anything in UPDATING anyway.
> 
> Thanks for taking time to reply.
> 
> Alexandre "Sunny" Kovalenko.
> 

Which UPDATING file?
> ls -l /usr/ports/UPDATING
-rw-r--r--  1 root  wheel  19155 Jul 27 03:56 /usr/ports/UPDATING

ports has its own and that is where to look for such information on ports.
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: oberman@es.net			Phone: +1 510 486-8634

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

Message: 33
Date: Tue, 27 Jul 2004 12:37:17 -1000
From: Randy Bush <randy@psg.com>
Subject: Re: Anyone Else Seeing: Assertion td->td_turnstile
To: Garance A Drosihn <drosih@rpi.edu>
Cc: FreeBSD Current <freebsd-current@freebsd.org>
Message-ID: <16646.55581.469252.166142@roam.psg.com>
Content-Type: text/plain; charset=us-ascii

fyi, her eis kernel conf

#
# GENERIC -- Generic kernel configuration file for FreeBSD/i386
#
# For more information on this file, please read the handbook section on
# Kernel Configuration Files:
#
#    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-co
nfig.html
#
# The handbook is also available locally in /usr/share/doc/handbook
# if you've installed the doc distribution, otherwise always see the
# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
# latest information.
#
# An exhaustive list of options and more detailed explanations of the
# device lines is also present in the ../../conf/NOTES and NOTES files.
# If you are in doubt as to the purpose or necessity of a line, check first
# in NOTES.
#
# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.407 2004/07/18 09:03:12 maxim Exp $


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

# 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_ULE		# ULE scheduler
options 	INET			# InterNETworking
#options 	INET6			# IPv6 communications protocols
options 	FFS			# Berkeley Fast Filesystem
options 	SOFTUPDATES		# Enable FFS soft updates support
options 	UFS_ACL			# Support for access control lists
options 	UFS_DIRHASH		# Improve performance on big directories
#options 	MD_ROOT			# MD is a potential root device
#options 	NFSCLIENT		# Network Filesystem Client
#options 	NFSSERVER		# Network Filesystem Server
#options 	NFS_ROOT		# NFS usable as /, requires NFSCLIENT
#options 	MSDOSFS			# MSDOS Filesystem
options 	CD9660			# ISO 9660 Filesystem
options 	PROCFS			# Process filesystem (requires PSEUDOFS)
options 	PSEUDOFS		# Pseudo-filesystem framework
options 	GEOM_GPT		# GUID Partition Tables.
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.
#options 	PFIL_HOOKS		# pfil(9) framework

options		IPFIREWALL		#firewall
options		IPFIREWALL_VERBOSE	#print information on dropped packets
#options	IPFIREWALL_VERBOSE_LIMIT=100	#limit verbosity
# needed for natd to support vmware
#options	IPDIVERT		#divert sockets

options 	TCP_DROP_SYNFIN		#drop TCP packets with SYN+FIN

# Debugging for use in -current
options 	KDB			# Enable kernel debugger support.
options 	DDB			# Support DDB.
options 	GDB			# Support remote GDB.
#options 	INVARIANTS		# Enable calls of extra sanity checking
#options 	INVARIANT_SUPPORT	# Extra sanity checks of internal structures, requ
ired 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
#device		apic		# I/O APIC

# Bus support.  Do not remove isa, even if you have no isa slots
device		isa
#device		eisa
device		pci

# Floppy drives
device		fdc

# ATA and ATAPI devices
device		ata
device		atadisk			# ATA disk drives
#device		ataraid			# ATA RAID 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

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

# RAID controllers interfaced to the SCSI subsystem
#device		amr		# AMI MegaRAID
#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		ips		# IBM (Adaptec) ServeRAID
#device		mly		# Mylex AcceleRAID/eXtremeRAID
#device		twa		# 3ware 9000 series PATA/SATA RAID

# RAID controllers
#device		aac		# Adaptec FSA RAID
#device		aacp		# SCSI passthrough for aac (requires CAM)
#device		ida		# Compaq Smart RAID
#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

#device		cy	1
#options 	CY_PCI_FASTINTR		# Use with cy_pci unless irq is shared

# 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

# If you've got a "dumb" serial or parallel PCI card that is
# supported by the puc(4) glue driver, uncomment the following
# line to enable it (connects to the sio and/or ppc drivers):
#device         puc

# PCI Ethernet NICs.
#device		de		# DEC/Intel DC21x4x (``Tulip'')
device		em		# Intel PRO/1000 adapter Gigabit Ethernet Card
#device		ixgb		# Intel PRO/10GbE 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		bfe		# Broadcom BCM440x 10/100 Ethernet
#device		bge		# Broadcom BCM570xx Gigabit Ethernet
#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		re		# RealTek 8139C+/8169/8169S/8110S
#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 & 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'')

# 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.
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
#device		rue		# RealTek RTL8150 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!)


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

_______________________________________________
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 70, Issue 6
**********************************************


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


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