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. losing serial console with ULE (Bjoern A. Zeeb)
   2. Re: today's CURRENT lockups (Michael L. Hostbaek)
   3. Re: today's CURRENT lockups (Don Lewis)
   4. Re: speeding up ugen by an order of magnitude. (Julian Elischer)
   5. Re: speeding up ugen by an order of magnitude. (Bernd Walter)
   6. Re: today's CURRENT lockups (Gleb Smirnoff)
   7. Re: speeding up ugen by an order of magnitude. 
      (Poul-Henning Kamp)
   8. [current tinderbox] failure on amd64/amd64 (FreeBSD Tinderbox)
   9. witness warn (Giorgos Keramidas)
  10. HEADSUP: bluetooth is about to be marked as non-i386 specific
      (Maksim Yevmenkin)
  11. Re: WITNESS bug (Was Re: kern/68442: panic - acquiring
      duplicate	lock of same type: "sleepq chain") (Harald Schmalzbauer)
  12. Re: current build error without usb (Pawel Worach)
  13. Re: Rewrite cvsup & portupgrade in C (Harald Arnesen)
  14. -current mysql error (Harald Schmalzbauer)
  15. Re: Rewrite cvsup & portupgrade in C (Garrett Wollman)
  16. tty patch: centralization of DTRWAIT (Poul-Henning Kamp)


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

Message: 1
Date: Thu, 8 Jul 2004 09:07:11 +0000 (UTC)
From: "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>
Subject: losing serial console with ULE
To: FreeBSD current mailing list <current@freebsd.org>
Message-ID:
	<Pine.BSF.4.53.0407080858100.59767@e0-0.zab2.int.zabbadoz.net>
Content-Type: TEXT/PLAIN; charset=US-ASCII

Hi,

had a kernel yesterday with SCHED_4BSD where boot -h and serial
console worked fine. Then I had built a kernel (same sources with
SCHED_ULE and with updated sources somewhen this night).

After console=comconsole pxeboot prints things on serial console - so
this works; but after boot (-h) nothing is printed with both ULE
kernels.

checked sio0 and sio1 for output - just in case. also checked the screen
but neither with boot -h nor with boot anything appears there either.

anyone any ideas ?

-- 
Bjoern A. Zeeb				bzeeb at Zabbadoz dot NeT

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

Message: 2
Date: Thu, 8 Jul 2004 11:10:51 +0200
From: "Michael L. Hostbaek" <mich@FreeBSD.org>
Subject: Re: today's CURRENT lockups
To: Don Lewis <truckman@FreeBSD.org>
Cc: glebius@cell.sick.ru
Message-ID: <20040708091051.GC50232@mich2.itxmarket.com>
Content-Type: text/plain; charset=us-ascii

Don Lewis (truckman) writes:
> 
> I got bit by this problem when I tried to do some browsing on my
> Thinkpad R40 after my primary (4.10-STABLE) machine lost a disk.
> 
> It's a July 5th kernel with SCHED_ULE, DDB, INVARIANTS, WITNESS, and
> ACPI.

Try to cvsup your sources, and rebuild your kernel. rwatson's commit to
sched_ule.c (rev. 1.113) fix this issue for me.

/mich

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

Message: 3
Date: Thu, 8 Jul 2004 02:26:40 -0700 (PDT)
From: Don Lewis <truckman@FreeBSD.org>
Subject: Re: today's CURRENT lockups
To: mich@FreeBSD.org
Cc: glebius@cell.sick.ru
Message-ID: <200407080926.i689QeS0008918@gw.catspoiler.org>
Content-Type: TEXT/plain; charset=us-ascii

On  8 Jul, Michael L. Hostbaek wrote:
> Don Lewis (truckman) writes:
>> 
>> I got bit by this problem when I tried to do some browsing on my
>> Thinkpad R40 after my primary (4.10-STABLE) machine lost a disk.
>> 
>> It's a July 5th kernel with SCHED_ULE, DDB, INVARIANTS, WITNESS, and
>> ACPI.
> 
> Try to cvsup your sources, and rebuild your kernel. rwatson's commit to
> sched_ule.c (rev. 1.113) fix this issue for me.

I use cvsup in CVS mode maintain a local copy of the repository, and
then use cvs to update the local machines from that repository.  My copy
of the cvs repository lived on the dead disk.  I fired up mozilla on my
laptop to go shopping for a replacement disk ...

  There's a hole in the bucket, dear Liza, dear Liza
  There's a hole in the bucket, dear Liza, there's a hole.

I was able to salvage all the data and scrounged up a couple of
replacement disks, and when I loaded the data onto the new disks it
became apparent that there are some severe performace problems in the
filesystem code, probably in the inode and/or block allocators.
Restoring 5 GB of data to the cyrus imap spool directory that was also
on that disk took about 6 hours ...


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

Message: 4
Date: Thu, 8 Jul 2004 02:29:05 -0700 (PDT)
From: Julian Elischer <julian@elischer.org>
Subject: Re: speeding up ugen by an order of magnitude.
To: ticso@cicely.de
Cc: phk@phk.freebsd.dk
Message-ID:
	<Pine.BSF.4.21.0407080220470.66234-100000@InterJet.elischer.org>
Content-Type: TEXT/PLAIN; charset=US-ASCII



On Thu, 8 Jul 2004, Bernd Walter wrote:

> On Thu, Jul 08, 2004 at 01:16:24AM -0700, Julian Elischer wrote:
> > 
> > Matt Dillon just made a simple patch for this on Dfly and I'm looking at
> > back-porting it. there is nothing in ugen that shouldn't let it take
> > data from a bulk USB2 device at a good speed except that it doesn't ask
> 
> There are technical limits - such as that we can't support select and
> prereads without breaking generalness for bulk endpoints.

yes but we can do better that 1KB per xfer :-)


> 
> > for the data that fast.. it is possible that there is a problem in the
> > ehci driver too, but I haven't got my mind around that driver quite
> > fully enough yet to say for sure.. it looks like it doesn't allow more
> > than one transfer per msec frame from the ugen device.  solving this
> 
> Possibly a side effect because we have to disconnect the pipe queue to
> modify it, but I still think its the time we need to take the completed
> xfer and setting up the next one.


No, we get the same slowdown no matter how fast the machine is..
If doing this can give you a 60X slowdown then we must be doing it
wrong..

Since we are the ONLY user of this bus, then there is nothing happenning
on the sync schedule at the time we decide to do an xfer, and 
it should be halted. We should then add our 8 elements and kick it off,
and then wait for the EOT interrupt. It is possible that the next
transaction doesn't get started unil teh next frame boundary
(as an alternate explanation) but either way it looks to me that
something is slightly wrong in there..


> 
> > would allow the use of smaller buffers. I don;t think it's a problem
> > woth overhead and small transfers, but rather that ugen is asking for
> > only 1 x 1KB transaction per mSec when USB2 is capable of delivering
> > 60KB/mSec. I think increasing the buffer size means still asking for one
> > transaction per mSec, but it's a bigger transaction :-)
> 
> What interrupt rate do you see from the host controller?

yes, that occured to me earlier this evening and I'll
check it tomorrow (thursday) when I have access to the hardware
again..

> 
> -- 
> B.Walter                   BWCT                http://www.bwct.de
> bernd@bwct.de                                  info@bwct.de
> 
> _______________________________________________
> 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"
> 


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

Message: 5
Date: Thu, 8 Jul 2004 11:31:46 +0200
From: Bernd Walter <ticso@cicely12.cicely.de>
Subject: Re: speeding up ugen by an order of magnitude.
To: Julian Elischer <julian@elischer.org>
Cc: phk@phk.freebsd.dk
Message-ID: <20040708093145.GX12877@cicely12.cicely.de>
Content-Type: text/plain; charset=us-ascii

On Thu, Jul 08, 2004 at 10:46:51AM +0200, Bernd Walter wrote:
> On Thu, Jul 08, 2004 at 01:16:24AM -0700, Julian Elischer wrote:
> > On Wed, 7 Jul 2004, M. Warner Losh wrote:
> There are technical limits - such as that we can't support select and
> prereads without breaking generalness for bulk endpoints.
> 
> > for the data that fast.. it is possible that there is a problem in the
> > ehci driver too, but I haven't got my mind around that driver quite
> > fully enough yet to say for sure.. it looks like it doesn't allow more
> > than one transfer per msec frame from the ugen device.  solving this
> 
> Possibly a side effect because we have to disconnect the pipe queue to
> modify it, but I still think its the time we need to take the completed
> xfer and setting up the next one.
> 
> > would allow the use of smaller buffers. I don;t think it's a problem
> > woth overhead and small transfers, but rather that ugen is asking for
> > only 1 x 1KB transaction per mSec when USB2 is capable of delivering
> > 60KB/mSec. I think increasing the buffer size means still asking for one
> > transaction per mSec, but it's a bigger transaction :-)
> 
> What interrupt rate do you see from the host controller?

OK - It looks like you are absolutely right.
It seems that the controller sweeps trough the request queues on a
per frame basis - we can only get per frame what we have set.
What we havn't set at that time won't make it onto the bus until the
next frame.
Not surprising after rethinking, because the priority calculation
is done on a per frame base.

If we just have a single 1k xfer then 1k is all we can ever get per ms.
If we have two 8k xfers or a single 16k xfer then that's what we can
get per ms at maximum.
I havn't calculated the maximum size per frame yet, but if it's 60k
then we really have to push xfers for 60k into the pipe in parallel
and we are required to have setup the next xfers in time for the next
frame.

Say you are doing 128k and you get 60k per frame.
Then you get 60k in the first ms, 60k in the second and only 8k in
the third - then you setup the next one and get 60k again.
If the bus is loaded with other requests then the splitting is
different.
Interleaving two 64k requests would get us 4k of the first request and
56k of the second request during the second ms.
Well - that theoretical so far...

Can we do interleaving with physio?

-- 
B.Walter                   BWCT                http://www.bwct.de
bernd@bwct.de                                  info@bwct.de


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

Message: 6
Date: Thu, 8 Jul 2004 13:33:09 +0400
From: Gleb Smirnoff <glebius@cell.sick.ru>
Subject: Re: today's CURRENT lockups
To: "Michael L. Hostbaek" <mich@FreeBSD.org>,	Don Lewis
	<truckman@FreeBSD.org>, current@FreeBSD.org
Message-ID: <20040708093309.GA80884@cell.sick.ru>
Content-Type: text/plain; charset=koi8-r

On Thu, Jul 08, 2004 at 11:10:51AM +0200, Michael L. Hostbaek wrote:
M> > I got bit by this problem when I tried to do some browsing on my
M> > Thinkpad R40 after my primary (4.10-STABLE) machine lost a disk.
M> > 
M> > It's a July 5th kernel with SCHED_ULE, DDB, INVARIANTS, WITNESS, and
M> > ACPI.
M> 
M> Try to cvsup your sources, and rebuild your kernel. rwatson's commit to
M> sched_ule.c (rev. 1.113) fix this issue for me.

Now I am working with rev. 1.113 and I faced some performance degradation.
Sound from xmms trembles when I start xterm or open a new TAB in mozilla,
unless I give a real time priority to xmms. No CPU consumers are working at
this moment, LA is 0.

Yesterday I was working on a buggy revision of 1.113, but compiled without
'#define PREEMPTION'. There were no performance problems.

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

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

Message: 7
Date: Thu, 08 Jul 2004 11:35:32 +0200
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
Subject: Re: speeding up ugen by an order of magnitude. 
To: ticso@cicely.de
Cc: mycroft@netbsd.org
Message-ID: <11354.1089279332@critter.freebsd.dk>

In message <20040708093145.GX12877@cicely12.cicely.de>, Bernd Walter writes:

>Can we do interleaving with physio?

physio is just a way to avoid copyin/copyout.  It maps & pins the
space the user indicated in read(2) or write(2) into the kernel
address space so that the kernel can access it directly.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.

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

Message: 8
Date: Thu,  8 Jul 2004 06:57:43 -0400 (EDT)
From: FreeBSD Tinderbox <tinderbox@freebsd.org>
Subject: [current tinderbox] failure on amd64/amd64
To: FreeBSD Tinderbox <tinderbox@freebsd.org>, <current@freebsd.org>,
	<amd64@freebsd.org>
Message-ID: <20040708105743.98C7F7303F@freebsd-current.sentex.ca>

TB --- 2004-07-08 09:44:39 - tinderbox 2.3 running on freebsd-current.sentex.c
a
TB --- 2004-07-08 09:44:39 - starting CURRENT tinderbox run for amd64/amd64
TB --- 2004-07-08 09:44:39 - checking out the source tree
TB --- 2004-07-08 09:44:39 - cd /home/tinderbox/sandbox/CURRENT/amd64/amd64
TB --- 2004-07-08 09:44:39 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A 
src
TB --- 2004-07-08 09:49:38 - building world (CFLAGS=-O2 -pipe)
TB --- 2004-07-08 09:49:38 - cd /home/tinderbox/sandbox/CURRENT/amd64/amd64/sr
c
TB --- 2004-07-08 09:49:38 - /usr/bin/make -B buildworld
>>> Rebuilding the temporary build tree
>>> stage 1.1: legacy release compatibility shims
>>> stage 1.2: bootstrap tools
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3: cross tools
>>> stage 4.1: building includes
>>> stage 4.2: building libraries
>>> stage 4.3: make dependencies
>>> stage 4.4: building everything
TB --- 2004-07-08 10:49:04 - building generic kernel (COPTFLAGS=-O2 -pipe)
TB --- 2004-07-08 10:49:04 - cd /home/tinderbox/sandbox/CURRENT/amd64/amd64/sr
c
TB --- 2004-07-08 10:49:04 - /usr/bin/make buildkernel KERNCONF=GENERIC
>>> Kernel build for GENERIC started on Thu Jul  8 10:49:04 UTC 2004
>>> stage 1: configuring the kernel
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3.1: making dependencies
>>> stage 3.2: building everything
[...]
fdc_pccard.o(.data+0x18): In function `fdctl_wr_pcmcia':
machine/bus_amd64.h:534: undefined reference to `fdc_attach'
fdc_pccard.o(.data+0x28): In function `fdctl_wr_pcmcia':
/tinderbox/CURRENT/amd64/amd64/src/sys/dev/fdc/fdc_pccard.c:50: undefined refe
rence to `fdc_detach'
fdc_pccard.o(.data+0x68): In function `fdc_pccard_probe':
/tinderbox/CURRENT/amd64/amd64/src/sys/dev/fdc/fdc_pccard.c:62: undefined refe
rence to `fdc_print_child'
fdc_pccard.o(.data+0x78):/tinderbox/CURRENT/amd64/amd64/src/sys/dev/fdc/fdc_pc
card.c:68: undefined reference to `fdc_read_ivar'
fdc_pccard.o(.data+0x100): undefined reference to `fdc_devclass'
*** Error code 1

Stop in /tinderbox/CURRENT/amd64/amd64/obj/amd64/tinderbox/CURRENT/amd64/amd64
/src/sys/GENERIC.
*** Error code 1

Stop in /tinderbox/CURRENT/amd64/amd64/src.
*** Error code 1

Stop in /tinderbox/CURRENT/amd64/amd64/src.
TB --- 2004-07-08 10:57:43 - WARNING: /usr/bin/make returned exit code  1 
TB --- 2004-07-08 10:57:43 - ERROR: failed to build generic kernel
TB --- 2004-07-08 10:57:43 - tinderbox aborted


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

Message: 9
Date: Tue, 6 Jul 2004 17:44:58 +0300
From: Giorgos Keramidas <keramida@ceid.upatras.gr>
Subject: witness warn
To: current@freebsd.org
Message-ID: <20040706144458.GA3643@orion.daedalusnetworks.priv>
Content-Type: text/plain; charset=us-ascii

I'm running a -CURRENT built earlier today:
FreeBSD 5.2-CURRENT #0: Tue Jul  6 15:34:51 EEST 2004

While NFS-sharing parts of my disk to a Solaris machine, I saw these
messages flashing by on my console:

Jul  6 17:41:04 orion kernel: malloc(M_WAITOK) of "Mbuf", forcing M_NOWAIT wit
h the following non-sleepable locks held:
Jul  6 17:41:04 orion kernel: exclusive sleep mutex inp (tcpinp) r = 0 (0xc174
b630) locked @ /usr/src/sys/netinet/tcp_usrreq.c:592
Jul  6 17:41:04 orion kernel: exclusive sleep mutex tcp r = 0 (0xc06a6f6c) loc
ked @ /usr/src/sys/netinet/tcp_usrreq.c:592
Jul  6 17:41:04 orion kernel: Stack backtrace:
Jul  6 17:41:04 orion kernel: backtrace(2,c16dbd00,c0c44b40,0,d1b7fad8) at bac
ktrace+0x12
Jul  6 17:41:04 orion kernel: witness_warn(5,0,c06360cb,c0622260) at witness_w
arn+0x18e
Jul  6 17:41:04 orion kernel: uma_zalloc_arg(c0c44b40,d1b7faf0,2) at uma_zallo
c_arg+0x38
Jul  6 17:41:04 orion kernel: nfs_realign(c190bca4,28,c1769a30,80000094,c1769a
30) at nfs_realign+0x92
Jul  6 17:41:04 orion kernel: nfsrv_getstream(c190bc80,1) at nfsrv_getstream+0
x2dd
Jul  6 17:41:04 orion kernel: nfsrv_rcv(c17699e0,c190bc80,1) at nfsrv_rcv+0x14
7
Jul  6 17:41:04 orion kernel: sowakeup(c17699e0,c1769a30) at sowakeup+0xb1
Jul  6 17:41:04 orion kernel: tcp_input(c16dbd00,14,0,14,8200060a) at tcp_inpu
t+0x249e
Jul  6 17:41:04 orion kernel: ip_input(c16dbd00) at ip_input+0x832
Jul  6 17:41:04 orion kernel: netisr_processqueue(c06a6178,c144dbc0,c1451500,d
1b7fd1c,c04c4814) at netisr_processqueue+0x6e
Jul  6 17:41:04 orion kernel: swi_net(0) at swi_net+0x85
Jul  6 17:41:04 orion kernel: ithread_loop(c1451500,d1b7fd48,c1451500,c04c46e0
,0) at ithread_loop+0x134
Jul  6 17:41:04 orion kernel: fork_exit(c04c46e0,c1451500,d1b7fd48) at fork_ex
it+0x98
Jul  6 17:41:04 orion kernel: fork_trampoline() at fork_trampoline+0x8
Jul  6 17:41:04 orion kernel: --- trap 0x1, eip = 0, esp = 0xd1b7fd7c, ebp = 0
 ---

How do I go about investigating the cause of this?

Giorgos


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

Message: 10
Date: Wed, 7 Jul 2004 09:49:03 -0700
From: Maksim Yevmenkin <maksim.yevmenkin@gmail.com>
Subject: HEADSUP: bluetooth is about to be marked as non-i386 specific
To: freebsd-current@freebsd.org
Message-ID: <bb4a86c7040707094913c8c234@mail.gmail.com>
Content-Type: text/plain; charset=US-ASCII

Dear Hackers,

in a few hours i will be committing small changes to a few Makefile's.
these changes will take bluetooth code from ".if ${MACHINE_ARCH} ==
"i386"" section. i did crossbuild on sledge for the tier 1 platforms
(amd64, sparc64) and some of the tier 2 platforms (alpha) and it
worked for me.

i will monitor tinderbox build emails, but if your build failed and
you believe that it is bluetooth related please let me know right
away. please note that it is possible to use NO_BLUETOOTH knob to
disable bluetooth build all together.

thanks,
max

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

Message: 11
Date: Wed, 7 Jul 2004 19:13:46 +0200
From: Harald Schmalzbauer <h@schmalzbauer.de>
Subject: Re: WITNESS bug (Was Re: kern/68442: panic - acquiring
	duplicate	lock of same type: "sleepq chain")
To: freebsd-current@freebsd.org
Message-ID: <200407071913.46339@harryhomeworkstation>
Content-Type: text/plain; charset="iso-8859-1"

Am Sonntag, 4. Juli 2004 21:42 schrieb Daniel Lang:

[...]
> >
> > Btw, the addition of WITNESS is indeed something that has
> > changed since all the trouble started. When the machine was
> > still running in a stable fashion I did not have WITNESS
> > enabled. I did it, when I put in more memory and built a PAE
> > kernel and left it in since.
>
> [..]
>
> I am now more convinced, that the bug is indeed in WITNESS itself.
> Without WITNESS the machine is running rock stable again now
> for three days. With WITNESS enabled it has crashed within minutes,
> uptime at most a few hours. Also the stack trace I got points
> into WITNESS code.

I'd like to contribute a completley unqualifide note:
When I build a -current kernel with WITNESS and I use the nvidia driver (not 

the GL-Part, just the kernel module and the x-driver) the system freezes 
without panic or anything else, only a powercycle helps.
After removing WITNESS the box is running fine. Now for about 3 Weeks without 

any problem.....

If I can do any tests please give me instructions, I'd love to help.

-Harry

>
> For me, I can run without WITNESS, but I guess that's not how it
> is supposed to be....
>
> Tomorrow I will reinsert the additional memory and re-enable PAE,
> but certainly not WITNESS. If it still runs stable, I will return it
> to full production.
>
> If anyone is still interested in locking into this bug, please let
> me know. I still have the crash-dump around.
>
> Cheers,
>  Daniel
-------------- 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/20040707/
6f9c335f/attachment-0001.bin

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

Message: 12
Date: Wed, 7 Jul 2004 12:30:00 -0700 (PDT)
From: Pawel Worach <pawel_worach@yahoo.com>
Subject: Re: current build error without usb
To: "M. Warner Losh" <imp@bsdimp.com>
Cc: current@freebsd.org
Message-ID: <20040707193000.42919.qmail@web61203.mail.yahoo.com>
Content-Type: text/plain; charset=us-ascii

--- "M. Warner Losh" <imp@bsdimp.com> wrote:
> 
> When were the sources grabbed?  I could have sworn I fixed this...
> 
Last time I tested and ran into this was on 2004-07-06, I don't use
and special build flags except -j2 or -j4. I also think that I ran into
this once on a non -jN build but with NOCLEAN defined with an empty
$OBJDIR. It always seems to fail while entering the "usb" directory
but I'm not sure as make doesn't tell in which directory it actually
failed.

  - Pawel


		
__________________________________
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail 

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

Message: 13
Date: Thu, 08 Jul 2004 01:37:17 +0200
From: Harald Arnesen <harald@skogtun.org>
Subject: Re: Rewrite cvsup & portupgrade in C
To: freebsd-current@freebsd.org
Cc: Kirk Strauser <kirk@strauser.com>
Message-ID: <87eknn9yoi.fsf@basilikum.skogtun.org>
Content-Type: text/plain; charset=us-ascii

"David O'Brien" <obrien@freebsd.org> writes:

>> 	I'm confused.  Once these applications are in binary form, what 
>> difference does it make what language they were written in?
>
> HUGE!  Well maybe not HUGE, but huge.  Languages such as Ada and Modula-3
> actually do bounds checking on arrays, for instance.  The safety and
> correctness of an application running depends on the language it is
> written in.  We should have a LOT less buffer overflows if an application
> language were used for web servers, mail servers, and other network
> daemons.

This has always puzzled me. If, as the supporters of Ada, Modula, Oberon
and so on claim, that the language an application is written in matters
that much, why don't we see a mail server or other network daemons
written in those languages? Aren't the people who know those languages
interested in contributing to a secure system?
-- 
Hilsen Harald.

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

Message: 14
Date: Thu, 8 Jul 2004 03:39:08 +0200
From: Harald Schmalzbauer <h@schmalzbauer.de>
Subject: -current mysql error
To: freebsd-current@freebsd.org
Message-ID: <200407080339.14639@harryhomeworkstation>
Content-Type: text/plain; charset="iso-8859-15"

Hi all,

is it possible that a -current bug causes 'mysql -h this.host.tld' to fail?
On a 5.2.1-p6 system it's working with mysql40.
On my -current from 26. May it fails with mysql40 and mysql41.

Both run inside jails!

Is it possible that it has something todo with pthread made the standard 
threading library and the port must be fixed?

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/20040708/
cb3f42cb/attachment-0001.bin

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

Message: 15
Date: Thu, 8 Jul 2004 00:14:29 -0400 (EDT)
From: Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
Subject: Re: Rewrite cvsup & portupgrade in C
To: Wesley Morgan <morganw@chemikals.org>
Cc: freebsd-current@FreeBSD.ORG
Message-ID: <200407080414.i684ET38041942@khavrinen.lcs.mit.edu>

<<On Wed, 7 Jul 2004 22:56:17 -0400 (EDT), Wesley Morgan <morganw@chemikals.or
g> said:

> developers can make commits from a fresh install? I can imagine a similar 
> argument to this one taking place when cvs was imported.

CVS was Always There.  If there was a debate (among the half-dozen
original developers) about its inclusion, it took place before I
joined the project in 1993.

-GAWollman


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

Message: 16
Date: Thu, 08 Jul 2004 13:40:55 +0200
From: Poul-Henning Kamp <phk@phk.freebsd.dk>
Subject: tty patch: centralization of DTRWAIT
To: current@freebsd.org
Message-ID: <2261.1089286855@critter.freebsd.dk>


http://phk.freebsd.dk/patch/tty.patch

This patch centralizes the DTRWAIT functionality and adds a ttygone()
function which signals hardware detachment to the central tty code.

Please test & review.

Affected files:
	Index: dev/cx/if_cx.c
	Index: dev/cy/cy.c
	Index: dev/digi/digi.c
	Index: dev/digi/digi.h
	Index: dev/rc/rc.c
	Index: dev/rp/rp.c
	Index: dev/rp/rpvar.h
	Index: dev/si/si.c
	Index: dev/si/si.h
	Index: dev/sio/sio.c
	Index: dev/sx/sx.c
	Index: dev/sx/sx.h
	Index: kern/tty.c
	Index: pc98/pc98/sio.c
	Index: sys/tty.h


-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.

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

_______________________________________________
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 68, Issue 11
***********************************************


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


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