Re: sem_wait(3) is not always a cancellation point

2014-03-13 Thread David Xu
location as _libc_sem_timedwait_compat() in libc/gen/sem.c. Is this a real bug, or am I missing something? Eric You are right, the _pthread_testcancel() call should be added. Thanks, David Xu ___ freebsd-current@freebsd.org mailing list http

warning: filename ends with '.', which is not allowed on Windows: 'tools/test/sort/bigtest/q-1.024.003.'

2014-03-06 Thread David Xu
on Windows, it will be a problem. Regards, David Xu ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org

how to know atomic_cmpset_64 is defined

2013-11-05 Thread David Xu
Hi, I want to use atomic_cmpset_64, but some arch may not support it, Is there a way to figure out that atomic_cmpset_64 is defined when compiling ? Regards, David Xu ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman

Re: hacking - aio_sendfile()

2013-07-11 Thread David Xu
On 2013/07/11 14:17, Konstantin Belousov wrote: On Wed, Jul 10, 2013 at 04:36:23PM -0700, Adrian Chadd wrote: Hiya, I've started writing an aio_sendfile() syscall. http://people.freebsd.org/~adrian/ath/20130710-aio-sendfile-3.diff Yes, the diff is against -HEAD and not stable/9. It's

Re: swapcontext rewrite broke some software

2013-04-18 Thread David Xu
this change. * qemu Hi, The change is reverted. Regards, David Xu ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org

Is this a typo in if_tap.c?

2012-11-22 Thread David Xu
When I was trying to create a second tap device, kernel crashed. Is this patch correct ? Index: sys/net/if_tap.c === --- sys/net/if_tap.c(revision 243397) +++ sys/net/if_tap.c(working copy) @@ -186,7 +186,7 @@ /*

Re: ULE patch, call for testers

2012-11-05 Thread David Xu
On 2012/11/05 17:13, Andriy Gapon wrote: on 05/11/2012 04:41 David Xu said the following: Another problem I remembered is that a thread on runqueue may be starved because ULE treats a sleeping thread and a thread waiting on runqueue differently. If a thread has slept for a while, after

Re: ULE patch, call for testers

2012-11-04 Thread David Xu
. I think ULE needs some anti-starvation code to give thread a shot if it is waiting on runqueue too long time. Regards, David Xu ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send

Re: 10-CURRENT clock_getcpuclockid() usage

2012-09-09 Thread David Xu
On 2012/09/08 23:31, Kim Culhan wrote: clock_getcpuclockid() was added a few weeks ago according to the man page and I'm seeing this error while building the port net/freeswith-core-devel. The function is used in the Sofia-sip stack, courtesy Nokia Research Center, incorporated into

Re: RFC: jemalloc: qdbus sigsegv in malloc_init

2012-05-20 Thread David Xu
, then it will be fine, otherwise, it would crash. This sounds like a bug in QT. Regards, David Xu ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr

Re: RFC: jemalloc: qdbus sigsegv in malloc_init

2012-05-20 Thread David Xu
On 2012/5/21 1:24, Konstantin Belousov wrote: On Sun, May 20, 2012 at 06:42:35PM +0200, Alberto Villa wrote: On Sun, May 20, 2012 at 8:03 AM, David Xulistlog2...@gmail.com wrote: qdbus segfaults on my machine too, I tracked it down, and found the problem is in QT, it deleted

Re: RFC: jemalloc: qdbus sigsegv in malloc_init

2012-05-20 Thread David Xu
On 2012/5/21 10:54, David Xu wrote: On 2012/5/21 1:24, Konstantin Belousov wrote: On Sun, May 20, 2012 at 06:42:35PM +0200, Alberto Villa wrote: On Sun, May 20, 2012 at 8:03 AM, David Xulistlog2...@gmail.com wrote: qdbus segfaults on my machine too, I tracked it down, and found the problem

Re: ctfmerge core dump

2012-05-06 Thread David Xu
On 2012/5/6 5:08, b. f. wrote: On 5/5/12, Steve Willsswi...@freebsd.org wrote: On 05/05/12 15:43, b. f. wrote: Steve Wills wrote: After updating from -CURRENT as of April 5 to one built today, I now get a core dump running ctfmerge on libc: ctfmerge -L VERSION -g -o libc.so.7 syscall.So

Re: ctfmerge core dump

2012-05-05 Thread David Xu
On 2012/5/6 5:08, b. f. wrote: On 5/5/12, Steve Willsswi...@freebsd.org wrote: On 05/05/12 15:43, b. f. wrote: Steve Wills wrote: After updating from -CURRENT as of April 5 to one built today, I now get a core dump running ctfmerge on libc: ctfmerge -L VERSION -g -o libc.so.7 syscall.So

Re: SeaMonkey eats the CPU as of r232144

2012-03-02 Thread David Xu
again to see if the problem is still existing ? Regards, David Xu ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org

Re: SeaMonkey eats the CPU as of r232144

2012-03-02 Thread David Xu
On 2012/3/3 4:24, deeptec...@gmail.com wrote: A truss snippet from running with an older-than-r232144 kernel: clock_gettime(4,{29653.159790037 }) = 0 (0x0) write(12,\M-z,1) = 1 (0x1) clock_gettime(4,{29653.160165225 }) = 0 (0x0) gettimeofday({1330716922.220648

Re: [ptrace] please review follow fork/exec changes

2012-02-06 Thread David Xu
memory overhead. Regards, David Xu ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org

Re: atkbdc broken on current ?

2011-06-21 Thread David Xu
not use PS/2 mouse, it will not be detected. David Xu ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org

Re: svn commit: r214611 - head/sys/kern

2011-06-15 Thread David Xu
On 2011/06/15 15:39, Kostik Belousov wrote: This patch accomodates the userland to the changed ABI. Why it was changed at all ? I would argue that keeping the stable ABI there is more important then using a 'clean' type. At least, the stable branches usermode is broken on the current

Re: svn commit: r214611 - head/sys/kern

2011-06-14 Thread David Xu
On 2011/06/14 20:02, Sergey Kandaurov wrote: On 1 November 2010 03:42, David Xu davi...@freebsd.org wrote: Author: davidxu Date: Mon Nov 1 00:42:25 2010 New Revision: 214611 URL: http://svn.freebsd.org/changeset/base/214611 Log: Use integer for size of cpuset, as it won't be bigger than

Re: [PATCH] Call _thr_check_init() from _pthread_once

2011-04-19 Thread David Xu
(); + for (;;) { state = once_control-state; if (state == ONCE_DONE) If there are no objections I'll commit this soon. Have you tested that current code causes segfault ? anyway, I can not reproduce it on my machne. Regards, David Xu

Re: [PATCH] Call _thr_check_init() from _pthread_once

2011-04-19 Thread David Xu
On 2011/04/20 10:48, Ryan Stone wrote: On Tue, Apr 19, 2011 at 10:13 PM, David Xu davi...@freebsd.org wrote: Have you tested that current code causes segfault ? anyway, I can not reproduce it on my machne. Regards, David Xu Yes, I had an application where libstdc++ was calling

Re: [PATCH] Call _thr_check_init() from _pthread_once

2011-04-19 Thread David Xu
On 2011/04/20 10:48, Ryan Stone wrote: On Tue, Apr 19, 2011 at 10:13 PM, David Xu davi...@freebsd.org wrote: Have you tested that current code causes segfault ? anyway, I can not reproduce it on my machne. Regards, David Xu Yes, I had an application where libstdc++ was calling

Re: CFT(2): patch for process shared pthread objects

2010-12-09 Thread David Xu
David Xu wrote: David Xu wrote: Hi, I finally have worked out first patch to make our pthread library support process shared pthread objects: http://people.freebsd.org/~davidxu/pshared/patch1.diff Patch is updated: http://people.freebsd.org/~davidxu/pshared/patch2.diff Changes: 1) Macro

Re: CFT(2): patch for process shared pthread objects

2010-12-09 Thread David Xu
before 9.0 release. :-) Regards, David Xu Note that you should update source tree before applying this patch. ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd

Re: Process accounting/timing has broken recently

2010-12-08 Thread David Xu
John Baldwin wrote: On Tuesday, December 07, 2010 9:54:05 pm David Xu wrote: John Baldwin wrote: On Monday, December 06, 2010 7:11:28 pm David Xu wrote: John Baldwin wrote: On Sunday, December 05, 2010 6:18:29 pm Steve Kargl wrote: Sometime in the last 7-10 days, some one made a change

Re: Process accounting/timing has broken recently

2010-12-07 Thread David Xu
John Baldwin wrote: On Monday, December 06, 2010 7:11:28 pm David Xu wrote: John Baldwin wrote: On Sunday, December 05, 2010 6:18:29 pm Steve Kargl wrote: Sometime in the last 7-10 days, some one made a change that has broken process accounting/timing. laptop:kargl[42] foreach i ( 0 1 2 3

Re: Process accounting/timing has broken recently

2010-12-06 Thread David Xu
, the overhead added to system call path can directly affect a threaded application's performance now, because the time window the mutex is held is longer than before, I have seen some people likes to fiddle with system call path, it should be cautioned. Regards, David Xu

Re: non-invariant tsc and cputicker

2010-12-03 Thread David Xu
Jung-uk Kim wrote: On Friday 03 December 2010 01:14 pm, Andriy Gapon wrote: on 03/12/2010 20:05 Jung-uk Kim said the following: On Friday 03 December 2010 12:26 pm, Andriy Gapon wrote: FreeBSD uses cpu_ticks [function pointer] in a few places for a few things like process CPU

Re: CFT: patch for process shared pthread objects

2010-11-30 Thread David Xu
Alberto Villa wrote: On Tuesday 30 November 2010 06:48:11 David Xu wrote: I finally have worked out first patch to make our pthread library support process shared pthread objects: yay! http://people.freebsd.org/~davidxu/pshared/patch1.diff wouldn't it require activation

Re: CFT: patch for process shared pthread objects

2010-11-30 Thread David Xu
David Xu wrote: Hi, I finally have worked out first patch to make our pthread library support process shared pthread objects: http://people.freebsd.org/~davidxu/pshared/patch1.diff Patch is updated: http://people.freebsd.org/~davidxu/pshared/patch2.diff Changes: 1) Macro

CFT: patch for process shared pthread objects

2010-11-29 Thread David Xu
/pthread_mutexattr_setrobust.html Which I think is mostly used for process-shared mutex. In the patch, if mutex attribute is robust, the thread library also uses kernel base condition variable which does not have internal lock in userland. Regards, David Xu ___ freebsd-current

Re: CFT: patch for process shared pthread objects

2010-11-29 Thread David Xu
Garrett Cooper wrote: Doesn't build :/...: === lib/libthr (obj,depend,all,install) make: don't know how to make thr_sleepq.c. Stop *** Error code 2 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. Thanks, -Garrett

Re: sysctl -a is slow

2010-10-19 Thread David Xu
Jaakko Heinonen wrote: On 2010-09-20, David Xu wrote: I redirect all output to a disk file, and it still needs 1 second to complete, this machine is dual-core pentium E5500, faster than previous one which is a dual-core AMD 5000+ machine, the 5000+ needs 2 seconds to complete. $/usr/bin/time

Re: panic on kthread_exit under INVARIANTS

2010-10-11 Thread David Xu
Paul B Mahol wrote: Hi, If kernel threads were created via kproc_kthread_add() when last kernel thread exits it will trigger panic. It panics in queue.h probably introduced with rec I have committed a patch, can you try it ? http://svn.freebsd.org/changeset/base/213714 Regards, David

Re: sysctl -a is slow

2010-09-20 Thread David Xu
jhell wrote: On 09/19/2010 09:28, David Xu wrote: just typed sysctl -a on keyboard, and found it is slow, sometimes it has been stuck for a few seconds, further studied,I found it is stucked at sysctl kern.geom: %/usr/bin/time sysctl -a kern.geom kern.geom.collectstats: 1 kern.geom.debugflags

Re: sysctl -a is slow

2010-09-20 Thread David Xu
jhell wrote: On Mon, 20 Sep 2010 10:26, David Xu wrote: In Message-Id: 4c976f14.8000...@freebsd.org jhell wrote: On 09/19/2010 09:28, David Xu wrote: just typed sysctl -a on keyboard, and found it is slow, sometimes it has been stuck for a few seconds, further studied,I found it is stucked

Re: sysctl -a is slow

2010-09-20 Thread David Xu
Lawrence Stewart wrote: On 09/21/10 02:21, David Xu wrote: jhell wrote: On Mon, 20 Sep 2010 10:26, David Xu wrote: In Message-Id: 4c976f14.8000...@freebsd.org jhell wrote: On 09/19/2010 09:28, David Xu wrote: just typed sysctl -a on keyboard, and found

sysctl -a is slow

2010-09-19 Thread David Xu
just typed sysctl -a on keyboard, and found it is slow, sometimes it has been stuck for a few seconds, further studied,I found it is stucked at sysctl kern.geom: %/usr/bin/time sysctl -a kern.geom kern.geom.collectstats: 1 kern.geom.debugflags: 0 kern.geom.label.debug: 0

Re: Official request: Please make GNU grep the default

2010-08-19 Thread David Xu
will the grep -H print file name for me ? it is rather painful that the feature is missing. :-( So I can not use it with find: find . -exec grep -H {} world \; I don't know which file contains the word world. Regards, David Xu ___ freebsd-current

Re: Official request: Please make GNU grep the default

2010-08-19 Thread David Xu
But I think BSD grep should be compatible with GNU grep, because almost all scripts are written for GNU grep before BSD grep appears, it is not practical to rewrite all existing scripts. Anyway, thanks for your help. David Xu Stein Morten Sandbech wrote: Hi, GNU grep is OK. However standard

Re: firefox is stuck in getbuf()

2010-07-20 Thread David Xu
Kostik Belousov wrote: Can you, please, do the following: show the backtraces for the system processes, in particular, syncer, bufdaemon, softdepflush daemon, pagedaemon and vm ? for the stuck firefox thread, find the address of the buffer supplied as an argument to getdirtybuf, and print the

firefox is stuck in getbuf()

2010-07-19 Thread David Xu
With newest -HEAD code, firefox is stuck in getbuf(). top last pid: 1814; load averages: 0.00, 0.05, 0.07 up 0+00:37:11 10:54:01 135 processes: 1 running, 134 sleeping CPU: 3.7% user, 0.0% nice, 0.6% system, 0.0% interrupt, 95.7% idle Mem:

Re: licq KSE

2003-12-02 Thread David Xu
components, one of is libw32dll, which uses static LDT allocation too. David Xu ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: licq KSE

2003-12-02 Thread David Xu
://www.freebsd.org/ports/multimedia.html if you hit anyone, it is very doubtful. David Xu ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: FreeBSD 5.1-p10 reproducible crash with Apache2

2003-11-06 Thread David Xu
regards, Brane Please tell us your Apache configuration, are you using prefork or worker or perchild mode ? If you are using worker mode, which thread library are you using ? this would help us to narrow down problem scope. --- David Xu ___ [EMAIL

Re: SYSENTER in FreeBSD

2003-11-05 Thread David Xu
in FreeBSD AMD 64 branch. David Xu ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: libkse process stats breakage (Re: cvs commit: src/sys/amd64/ amd64 exception.S trap.c src/sys/amd64/include frame.h signal.h ucontext. h)

2003-10-18 Thread David Xu
Kris Kennaway wrote: On Tue, Oct 14, 2003 at 08:17:27PM -0700, Kris Kennaway wrote: On Wed, Oct 15, 2003 at 11:10:43AM +0800, David Xu wrote: The change you made to ucontext.h breaks libkse. :-( Speaking of libkse breakage: 10427 root 200 10500K 8380K kserel 6:44

Re: KSE MySQL rc.d

2003-10-15 Thread David Xu
Alexander Motin wrote: Hi. This patch did not fix the problem. On the 4th boot system hang with same symptoms. Daniel Eischen wrote: I have P4 system with SMP kernel and HyperThreading enabled. I have one strange problem with mysql 4.1.0 when using KSE on 5.1-CURRENT. I have been running

Re: Fixing -pthreads (Re: ports and -current)

2003-09-25 Thread David Xu
David Schwartz wrote: David Xu wrote: I definitly agree with Dan, -pthread is too ugly, it really really is nothing to do with compiler and should be removed. Really? What if invoking the threading library required the compiler to compile code differently? Surely it might require

Re: Fixing -pthreads (Re: ports and -current)

2003-09-24 Thread David Xu
to use -lpthread not -pthread, obviously -pthread is not suggested to use. One word, just let -pthread die. David Xu ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to [EMAIL

Re: Various problems after latest -CURRENT build. (USB, WI, KSE)

2003-09-04 Thread David Xu
revision 1.5 David Xu ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: Recent sound change still broken?

2003-08-29 Thread David Xu
David Xu wrote: | | I tried to backout ac97.c revision 1.43, now my sound card works again, | If someone wants more information, please tell me. David Could you revert to head and check that the mixer ogain is non-zero (say 100 :-)? On some codecs ogain provides the traditional functionality

Recent sound change still broken?

2003-08-28 Thread David Xu
on pci1 info: [drm] AGP at 0xf000 64MB info: [drm] Initialized radeon 1.9.0 20020828 on minor 0 info: [drm] Loading R200 Microcode -- David Xu ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe

Re: Recent sound change still broken?

2003-08-28 Thread David Xu
I use es137x module: [EMAIL PROTECTED]:/home/davidxu kldstat Id Refs AddressSize Name 15 0xc010 37fc28 kernel 21 0xc048 6964 snd_es137x.ko 32 0xc0487000 1e554snd_pcm.ko 41 0xc5f0e000 16000radeon.ko David Xu On Thursday 28 August 2003 07:37

Re: Recent sound change still broken?

2003-08-28 Thread David Xu
On Thursday 28 August 2003 07:37, David Xu wrote: My patch http://www.FreeBSD.org/cgi/query-pr.cgi?pr=kern/54810 ever worked well for my old Creative sound card, the device is probed, but now no sound at all. :-( I tried to backout ac97.c revision 1.43, now my sound card works again

Re: ACPI on Tyan Motherboard

2003-08-19 Thread David Xu
, just like FreeBSD ATA bug for my Tiger 230T, all OS I have in hand work fine, only FreeBSD does not. David Xu ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: ACPI on Tyan Motherboard

2003-08-18 Thread David Xu
it is not fully shutdown. David Xu - Original Message - From: Stephen Montgomery-Smith [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, August 19, 2003 10:13 AM Subject: ACPI on Tyan Motherboard I have a Tyan S2462 Thunder K7 motherboard. I was hoping to get power-down to work. So I

Re: NVidia glx stuff dies in sysarch(I386_SET_LDT, ...)

2003-08-01 Thread David Xu
, but setting to a fixed location of LDT in userland is also a bad idea, I think it will conflict with thread library soon, it is better to use dynamic allocating facility newly added in i386_set_ldt. David Xu ___ [EMAIL PROTECTED] mailing list http

Re: buildkernel fails on -CURRENT

2003-07-14 Thread David Xu
Fixed! sorry. - Original Message - From: Greg J. [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, July 15, 2003 10:55 AM Subject: buildkernel fails on -CURRENT -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Here's the error message... cc -c -O -pipe -march=pentium4 -Wall

HEADS UP: new KSE signal code

2003-06-28 Thread David Xu
I begin to commit KSE signal code, libkse will be broken for a while. David Xu ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: HEADS UP: new KSE signal code

2003-06-28 Thread David Xu
Finished! - Original Message - From: David Xu [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, June 28, 2003 2:56 PM Subject: HEADS UP: new KSE signal code I begin to commit KSE signal code, libkse will be broken for a while. David Xu

Re: HEADS UP: new KSE signal code

2003-06-28 Thread David Xu
widely. Thank you again, David Xu - Original Message - From: David Leimbach [EMAIL PROTECTED] To: David Schultz [EMAIL PROTECTED] Cc: David Xu [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Saturday, June 28, 2003 8:42 PM Subject: Re: HEADS UP: new KSE signal code I don't think you

Re: Heads up: checking in change to ata-card.c

2003-06-26 Thread David Xu
with these devices. FreeBSD always stuck at MODE SENSE BIG, this sucks, I must disable second IDE in BIOS before booting into FreeBSD and reenable it before booting into another OS. I changed configuration several times, both DMA and PIO mode don't work, it works only when CR-RW is pulled. David Xu

Re: [Fwd: Re: libkse now running quite well on smp]

2003-06-22 Thread David Xu
. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to [EMAIL PROTECTED] just for a notes, with David Xu patch http://people.freebsd.org/~davidxu/kse_sig/, I can JBuilder9 with JDK1.4.1-p3

Re: strange 'su' problem

2003-05-31 Thread David Xu
Can you try the patch ? http://people.freebsd.org/~davidxu/su.c.diff David Xu - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, May 31, 2003 1:03 AM Subject: strange 'su' problem Hello, just another, /me too : -current still works like a charm

Re: panic: kern/52718

2003-05-30 Thread David Xu
. kern_sig.c has same issue in several places. -- Terry ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to [EMAIL PROTECTED] David Xu

Re: panic: kern/52718

2003-05-30 Thread David Xu
- Original Message - From: Terry Lambert [EMAIL PROTECTED] To: David Xu [EMAIL PROTECTED] Cc: Bryan Liesner [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Friday, May 30, 2003 5:27 PM Subject: Re: panic: kern/52718 David Xu wrote: This was caused by rev. 1.3 of a commit by Jeff

witness needs DDB

2003-03-08 Thread David Xu
subr_witness.c now needs DDB option enabled, otherwise can not be compiled. please fix it. David Xu To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message

Re: ATA MODE_SENSE_BIG timeout

2003-03-05 Thread David Xu
- Original Message - From: Luoqi Chen [EMAIL PROTECTED] To: David Xu [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, March 05, 2003 8:44 AM Subject: RE: ATA MODE_SENSE_BIG timeout For those want to fix ATA code, I have another problem with CURRENT. I have a Tyan Tiger 230T

Re: ATA MODE_SENSE_BIG timeout

2003-03-04 Thread David Xu
- Original Message - From: Soeren Schmidt [EMAIL PROTECTED] To: David Xu [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, March 04, 2003 3:56 PM Subject: Re: ATA MODE_SENSE_BIG timeout It seems David Xu wrote: (snip snap) acd1: read data overrun 34/0 acd1: MODE_SENSE_BIG

ATA MODE_SENSE_BIG timeout

2003-03-03 Thread David Xu
:20964762 [1] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0 Mounting root from ufs:/dev/ad0s3a -- David Xu To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message

reproducable kernel crash

2003-02-19 Thread David Xu
[1] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0 Mounting root from ufs:/dev/ad0s3a --- David Xu To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message

SMP kernel crashed at reboot

2003-02-17 Thread David Xu
Did anyone experience SMP kernel crashed at reboot? On my Tyan Tiger 230T motherboard, when I type reboot, it crashed very often, typically after it printed Waiting (max 60 seconds) for system process `vnlru' to stop David Xu To Unsubscribe: send mail to [EMAIL PROTECTED

vm panic

2003-01-22 Thread David Xu
program? David Xu ¡Iì¹»®Þ±éݙ¨¥¶‰šŽŠÝ¢j­çH:+ƒ­†éì¹»®Þ~·žnÇ\ººÞžØ§¶›¡Ü¨~Ø^™ë,j

Re: ACPI warnings: ACPI-1287: *** Error: Method execution failed, AE_AML_BUFFER_LIMIT

2003-01-16 Thread David Xu
This is not surprising, ACPI also fails on my FIC motherboard, I lost floppy drive when I enable ACPI, fdc0 can not allocate resources, sigh. David Xu -- Copyright (c) 1992-2003 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994

usb hid device timeout

2003-01-05 Thread David Xu
I have a CD Tower device (a USB HID device) which always failed to be identified under CURRENT source without following patch, it is always timeout, could anyone look the following patch: Index: usb_subr.c === RCS file:

Re: truss and KSE

2002-11-14 Thread David Xu
What is your revision of kern_thread.c? revision 1.58 should fix this problem. - Original Message - From: Tim Robbins [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, November 14, 2002 9:06 PM Subject: truss and KSE While experimenting with the new libpthread, I found that if

rl driver lock order reversal

2002-10-21 Thread David Xu
rl0: RealTek 8139 10/100BaseTX port 0xe800-0xe8ff mem 0xd900-0xd9ff irq 11 at device 12.0 on pci0 rl0: Realtek 8139B detected. Warning, this may be unstable in autoselect mode ../../../vm/uma_core.c:1307: could sleep with rl0 locked from ../../../pci/if_rl.c:872

Re: rl driver lock order reversal

2002-10-21 Thread David Xu
today's source code David - Original Message - From: M. Warner Losh [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, October 22, 2002 10:20 AM Subject: Re: rl driver lock order reversal How recent is your kernel? I thought I'd fixed this in recent current

Re: rl driver lock order reversal

2002-10-21 Thread David Xu
- Original Message - From: M. Warner Losh [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, October 22, 2002 10:40 AM Subject: Re: rl driver lock order reversal In message: 00bd01c27972$5eea20f0$ef01a8c0@davidwnt David Xu [EMAIL PROTECTED] writes

Re: VESA 800x600 console not working

2002-09-22 Thread David Xu
select one of them to apply. I am not maintainer of VM86 code, so I have trouble to commit this patch unless someone allow me to do. David Xu On Sunday 22 September 2002 06:09, Gavin Atkinson wrote: On Fri, 26 Jul 2002, David Xu wrote: Yes, this is a known problem. I have a patch for this, you

kernel crash at boot time

2002-09-19 Thread David Xu
, tf_cs = 31, tf_eflags = 662, tf_esp = -1077936916, tf_ss = 47}) at ../../../i386/i386/trap.c:1046 #26 0xc02fca8d in Xint0x80_syscall () at {standard input}:140 note that when kernel ran into DDB, the fault instruction was at m_length+9, but core dump did not record the fact. David Xu

Re: kernel crash at boot time

2002-09-19 Thread David Xu
Thanks, it works again. :) - Original Message - From: Julian Elischer [EMAIL PROTECTED] To: David Xu [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, September 19, 2002 4:35 PM Subject: Re: kernel crash at boot time try now On Thu, 19 Sep 2002, David Xu wrote: Fatal

Re: kernel crash at boot time

2002-09-19 Thread David Xu
On Thursday 19 September 2002 17:03, Poul-Henning Kamp wrote: Can you try with rev. 1.101 of sys/kern/uipc_mbuf.c please ? The 1.102... is wrong and could easily cause this. Poul-Henning In message 01be01c25fb1$8b92a990$ef01a8c0@davidwnt, David Xu writes: #11 0xc02fca38 in calltrap

can not compile kernel

2002-09-18 Thread David Xu
: warning: `m' might be used uninitialized in this function *** Error code 1 # gcc -v Using built-in specs. Configured with: FreeBSD/i386 system compiler Thread model: posix gcc version 3.2.1 [FreeBSD] 20020916 (prerelease) -- David Xu To Unsubscribe: send mail to [EMAIL PROTECTED

Re: cvs commit: src/sys/kern kern_sig.c (fwd)

2002-08-13 Thread David Xu
job. the problem does not exist in STABLE branch because su does not fork. David Xu __ Do You Yahoo!? HotJobs - Search Thousands of New Jobs http://www.hotjobs.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current

Re: cvs commit: src/sys/kern kern_sig.c (fwd)

2002-08-13 Thread David Xu
--- Tim Robbins [EMAIL PROTECTED] wrote: On Tue, Aug 13, 2002 at 06:14:38AM -0700, David Xu wrote: --- Terry Lambert [EMAIL PROTECTED] wrote: I did. It's still an order of operation problem in the kernel during fork(), as Bruce pointed out in a later posting (so me pointing it out

Re: cvs commit: src/sys/kern kern_sig.c (fwd)

2002-08-13 Thread David Xu
--- Terry Lambert [EMAIL PROTECTED] wrote: David Xu wrote: What about chpass, vipw, and the other pw_edit() consumers? vipw works correctly wrt suspending with ^Z on 4.6-RELEASE, but does not on -CURRENT. As far as I can see, pw_edit()'s logic has not been changed

Re: cvs commit: src/sys/kern kern_sig.c (fwd)

2002-08-13 Thread David Xu
delivery before the fork. Note that merely blocking the delivery means that the signal will be delivered later, since block sugnals are accumulated, not discarded (see what the patch does, for details). -- Terry Sorry, I mean ignore SIGTTOU. David Xu

Re: cvs commit: src/sys/kern kern_sig.c (fwd)

2002-08-11 Thread David Xu
--- Andrey A. Chernov [EMAIL PROTECTED] wrote: On Sun, Aug 11, 2002 at 17:41:20 +0400, Andrey A. Chernov wrote: On Sun, Aug 11, 2002 at 06:28:54 -0700, David Xu wrote: does anyone believe that su behaviours correctly? I not believe in that first, so why I remove tcsetpgrg() in my

Re: cvs commit: src/sys/kern kern_sig.c (fwd)

2002-08-11 Thread David Xu
--- David Xu [EMAIL PROTECTED] wrote: --- Andrey A. Chernov [EMAIL PROTECTED] wrote: On Sun, Aug 11, 2002 at 17:41:20 +0400, Andrey A. Chernov wrote: On Sun, Aug 11, 2002 at 06:28:54 -0700, David Xu wrote: does anyone believe that su behaviours correctly? I not believe

Re: VESA 800x600 console not working

2002-07-26 Thread David Xu
Yes, this is a known problem. I have a patch for this, you may download it from here: http://opensource.zjonline.com.cn/freebsd/vm86patch.tgz David Xu - Original Message - From: Rob [EMAIL PROTECTED] To: Current [EMAIL PROTECTED] Sent: Saturday, July 27, 2002 6:46 AM Subject: VESA

Re: signal handling bug in KSE MIII

2002-07-23 Thread David Xu
suspended thread finds that it is stopped by P_STOPPED_SGNL or traced flag, it can send SIGCHLD with stopped status to parent process. David Xu --- Julian Elischer [EMAIL PROTECTED] wrote: On Sun, 21 Jul 2002, David Xu wrote: --- David Xu [EMAIL PROTECTED] wrote: I found signal

signal handling bug in KSE MIII

2002-07-21 Thread David Xu
(); - PROC_LOCK(p); break; } else -#endif + if (prop SA_IGNORE) { /* * Except for SIGCONT, shouldn't get here. David Xu

Re: signal handling bug in KSE MIII

2002-07-21 Thread David Xu
--- David Xu [EMAIL PROTECTED] wrote: I found signal handling is still broken in CURRENT source. the following program demostrates the bug is still in kernel: #include stdio.h #include signal.h void handler(int sig) { signal(SIGTSTP, SIG_DFL); kill(getpid(), SIGTSTP

race condition in kern_descrip.c and fix

2002-07-15 Thread David Xu
); + goto retry; } p-p_fd-fd_ofiles[i] = fp; FILEDESC_UNLOCK(p-p_fd); --- David Xu ¡Iì¹»®Þ±éݙ¨¥¶‰šŽŠÝ¢j­çH:+ƒ­†éì¹»®Þ~·žnÇ\ººÞžØ§¶›¡Ü¨~Ø^™ë,j

Re: i386 trap code

2002-07-12 Thread David Xu
--- John Baldwin [EMAIL PROTECTED] wrote: On 07-Jul-2002 Jonathan Lemon wrote: On Sat, Jul 06, 2002 at 11:59:50PM -0700, David Xu wrote: Jonthan, I just use DOS program as an example, for any program, if it wants to go into VM86 mode, it is very easy, just calls i386_vm86

Re: Timeout and SMP race

2002-07-11 Thread David Xu
and return, and blocking callout_stop() caller if it is not in softclock() context, the patch still has some problems, for example lock oder reversal which is pointed out by jhb. but Archie Cobbs and others are talking about another resolution, I will set back. David Xu

Re: userret() , ast() and the end of syscalls

2002-07-09 Thread David Xu
I found the problem two weeks ago, but I can not find a better way to avoid userret() to be called twice. so I keep silence. :( David Xu Gartner: Apache is vulnerable, we recommend switching back to IIS to protect yourselves - Original Message - From: Julian Elischer [EMAIL PROTECTED

  1   2   >