Successfully Unbreak Adobe Reader 7.0.8 for the New Linux Emulator

2007-01-03 Thread Intron is my alias on the Internet
It's dawning in Beijing now. I'm quite tired. Here, I only summarize the solution as is. I will write a complete hacking report after a rest. 1. Restore your /sys/compat/linux/linux_file.c to the original revision 1.99 (7.0-CURRENT) if you have applied my yesterday's patch. You have two

Partially Unbreak Adobe Reader 7.0.8 for the New Linux Emulator

2007-01-02 Thread Intron is my alias on the Internet
My patch for /sys/compat/linux/linux_file.c (7.0-CURRENT) can partially unbreak Adobe Reader 7.0.8 for Linux when the sysctl compat.linux.osrelease is set to 2.6.16. You may download the patch at: http://ftp.intron.ac/tmp/linux_file.c.diff But probably to your disappointment, the

Re: How to change kernel version?

2006-08-25 Thread Intron is my alias on the Internet
Yuan, Jue wrote: Hi all. Could I change the kernel version tag manually? say, I have a kernel which is 7.0-CUREENT, but for some reasons I wanna it be something like 6.1-RELEASE, while the kernel itself does't change from 7.0-CURRENT to 6.1-RELEASE. All I want is the change of tag. For

Re: The optimization of malloc(3): FreeBSD vs GNU libc

2006-08-16 Thread Intron is my Internet alias
Jason Evans wrote: (LI Xin) wrote: 2006-08-15 02:38 +0300ladimir Kushnir On -CURENT amd64 (Athlon64 3000+, 512k L2 cache): With jemalloc (without MY_MALLOS): ~/fdtd /usr/bin/time ./fdtd.FreeBSD 500 500 1000 ... 116.34 real 113.69 user 0.00 sys With MY_MALLOC: ~/fdtd

[Updated on 2006-8-17] My Linux AIO Implementation Calling for Test

2006-08-16 Thread Intron is my alias in the Internet
at 10:50:25PM +0800, Intron wrote: Boris Samorodov wrote: On Wed, 09 Aug 2006 21:08:20 +0800 Intron wrote: ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL

Re: The optimization of malloc(3): FreeBSD vs GNU libc

2006-08-15 Thread Intron
Brooks Davis wrote: On Tue, Aug 15, 2006 at 07:10:47AM +0800, Intron wrote: One day, a friend told me that his program was 3 times slower under FreeBSD 6.1 than under GNU/Linux (from Redhat 7.2 to Fedora Core 5). I was astonished by the real repeatable performance difference on AMD Athlon XP

Re: The optimization of malloc(3): FreeBSD vs GNU libc

2006-08-15 Thread Intron
Vladimir Kushnir wrote: Sorry for intrusion. On Mon, 14 Aug 2006, Brooks Davis wrote: On Tue, Aug 15, 2006 at 07:10:47AM +0800, Intron wrote: One day, a friend told me that his program was 3 times slower under FreeBSD 6.1 than under GNU/Linux (from Redhat 7.2 to Fedora Core 5). I

Re: Questions about devices and input.

2006-08-14 Thread Intron
Dag-Erling [iso-8859-1] Smo/rgrav wrote: Sean Bryant [EMAIL PROTECTED] writes: I'm writing some cd buring software using burncd as a reference. I was wondering if its possible to detect opening and closing of the doors. Unfortunately, no. The drive may not even have a door. DES --

Re: Questions about devices and input.

2006-08-14 Thread Intron
Dag-Erling [iso-8859-1] Smo/rgrav wrote: Intron [EMAIL PROTECTED] writes: Dag-Erling Smo/rgrav [EMAIL PROTECTED] writes: Sean Bryant [EMAIL PROTECTED] writes: I'm writing some cd buring software using burncd as a reference. I was wondering if its possible to detect opening and closing

Re: Questions about devices and input.

2006-08-14 Thread Intron
Dag-Erling [iso-8859-1] Smo/rgrav wrote: Intron [EMAIL PROTECTED] writes: Dag-Erling Smo/rgrav [EMAIL PROTECTED] writes: Intron [EMAIL PROTECTED] writes: However, software can command the drive to open/close its door. This is not what Sean wants. I want to tell Sean that he is not worth

Re: Questions about devices and input.

2006-08-14 Thread Intron
Dag-Erling [iso-8859-1] Smo/rgrav wrote: Intron [EMAIL PROTECTED] writes: Dag-Erling Smo/rgrav [EMAIL PROTECTED] writes: How does ridiculing me help Sean? Can your unilateral judgement give real help to Sean? Welcome to my kill file. Enjoy your stay. DES -- Dag-Erling Smo/rgrav - [EMAIL

Re: Questions about devices and input.

2006-08-14 Thread Intron
The section 4.11.1 Removable Media Status Notification feature set of ATA/ATAPI-7 (http://t13.org/docs2004/d1532v1r4b-ATA-ATAPI-7.pdf) reads, d) Host system periodically checks media status using the GET MEDIA STATUS command to determine if any of the following events occurred: - no media is

The optimization of malloc(3): FreeBSD vs GNU libc

2006-08-14 Thread Intron
One day, a friend told me that his program was 3 times slower under FreeBSD 6.1 than under GNU/Linux (from Redhat 7.2 to Fedora Core 5). I was astonished by the real repeatable performance difference on AMD Athlon XP 2500+ (1.8GHz, 512KB L2 Cache). After hacking, I found that the problem is

Re: UTF-8 - UTF-16BE Converter in Kernel Needs Test

2006-08-13 Thread Intron
Yoshihiro Ota wrote: You may try these patches, first. http://people.freebsd.org/~imura/kiconv/ It sounds like these patches implement better supports. Hiro On Sun, 13 Aug 2006 01:28:17 +0800 Intron [EMAIL PROTECTED] wrote: I'm sorry that I send my experimental patch set here to call

UTF-8 - UTF-16BE Converter in Kernel Needs Test

2006-08-12 Thread Intron
I'm sorry that I send my experimental patch set here to call for test. But if I send it to freebsd-i18n@, I wonder no one will respond to me. Download: http://ftp.intron.ac/tmp/kiconv_utf8_20060813.tar.bz2 My patch set implements a UTF-8 - UTF-16BE converter for iconv in kernel. It doesn't need

Re: VM question related to faults

2006-07-31 Thread Intron
Divacky Roman wrote: On Sun, Jul 30, 2006 at 12:57:32PM +0200, Divacky Roman wrote: hi, while working on SoC linuxolator project I am in a need of this: I need to do some operation on memory like mem1 = mem1 + mem2 etc. where the mem1/mem2 access can trigger fault. (memory not mapped or

Re: VM question related to faults

2006-07-31 Thread Intron
[EMAIL PROTECTED] wrote: On 31.07.2006 14:12:20, Intron wrote: Mutex(9) is sometimes too heavy, and has many limitations, while sx(9) is somewhat enough. First paragraph from sx(9) manual says: Shared/exclusive locks are used to protect data that are read far more often

Re: VM question related to faults

2006-07-30 Thread Intron
Divacky Roman wrote: hi, while working on SoC linuxolator project I am in a need of this: I need to do some operation on memory like mem1 = mem1 + mem2 etc. where the mem1/mem2 access can trigger fault. (memory not mapped or something) currently I solve this by using pcb_onfault. this must

How to Use ddb(4)?

2006-07-27 Thread Intron
I have add relevant options into my kernel (7.0-CURRENT) configuration file: makeoptions DEBUG=-g options KDB options DDB options GDB options INVARIANTS options INVARIANT_SUPPORT options WITNESS options WITNESS_SKIPSPIN When kernel

Re: How to Use ddb(4)?

2006-07-27 Thread Intron
Dag-Erling [iso-8859-1] Smo/rgrav wrote: Intron [EMAIL PROTECTED] writes: When kernel panics, the prompt db will appear. But at this time I cannot control my computer with keyboard any longer. What's wrong with me? I don't know what's wrong with you, but as regards your computer: disable

Warning Message from uma_zdestroy(9)

2006-07-27 Thread Intron
Why does uma_zdestroy(9) print message like: Freed UMA keg was not empty (100 items). Lost 2 pages of memory. But actually I have made sure that uma_zalloc(9) and uma_zfree(9) appear in pair in my code. Does it represent any problems?

Re: Improving FreeBSD's hardware compatibility

2006-07-20 Thread Intron
Peter Jeremy wrote: On Tue, 2006-Jul-18 22:11:45 -0300, Charles A. Landemaine wrote: Aside from the fact that some vendors don't cooperate to release hardware specifications, is there something we could do to revert this situation? I suspect the major problems are lack of interface

Re: kern/99979: Get Ready for Kernel Module in C++

2006-07-12 Thread Intron
Mike Meyer wrote: In [EMAIL PROTECTED], [EMAIL PROTECTED] typed: C++ is the de-facto standard for OO: a lot of people know how to use it Oh gods, does this bring to mind lots (and *lots*) of scathing commentary. I'll restrict myself to just one: Windows is the de-facto standard OS: a lot of

Re: kern/99979: Get Ready for Kernel Module in C++

2006-07-11 Thread Intron
Jason Slagle wrote: On Wed, 12 Jul 2006, [EMAIL PROTECTED] wrote: I would repeat several sentences in my last reply. Why would people write Windows application with rather MFC/ATL/.NET Framework than direct Windows API? Why is gtkmm framework created for GTK+? Would you write a X11