Re: [PATCH] Dynamic tick for x86 version 050610-1

2005-07-19 Thread hugang
/proc/pmu/battery_0, like this. -- flags : 0011 charge : 907 max_charge : 2863 current: -987 voltage: 10950 time rem. : 3600 -- I only intresting with current, that show the system power load. When I enable dynamic, The current can low at -900. So, It works. :> 2.

Re: [PATCH] Dynamic tick for x86 version 050610-1

2005-07-19 Thread hugang
max_charge : 2863 current: -987 voltage: 10950 time rem. : 3600 -- I only intresting with current, that show the system power load. When I enable dynamic, The current can low at -900. So, It works. : 2.6.12 + suspend2 + ck3 + dynamic http://soulinfo.com/~hugang/kernel/linux-2.6.12

Re: [PATCH] [19/48] Suspend2 2.1.9.8 for 2.6.12: 510-version-specific-mac.patch

2005-07-06 Thread hugang
[204016] GPG Key ID ^^-^^ http://soulinfo.com/~hugang/hugang.asc - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH] [19/48] Suspend2 2.1.9.8 for 2.6.12: 510-version-specific-mac.patch

2005-07-06 Thread hugang
^^-^^ http://soulinfo.com/~hugang/hugang.asc - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [swsusp/ppc] Re: What's going on here ?

2005-03-14 Thread hugang
On Tue, Mar 15, 2005 at 01:19:46PM +1100, Benjamin Herrenschmidt wrote: > > > rjw and hugang did (pretty neccessary) changes to base swsusp (pagedir > > table -> pagedir linklist), that unfortunately needed update to all > > the assembly parts. It was series 1/3 upda

Re: [swsusp/ppc] Re: What's going on here ?

2005-03-14 Thread hugang
On Tue, Mar 15, 2005 at 01:19:46PM +1100, Benjamin Herrenschmidt wrote: rjw and hugang did (pretty neccessary) changes to base swsusp (pagedir table - pagedir linklist), that unfortunately needed update to all the assembly parts. It was series 1/3 update core, i386 and x86-64, 2/3 update

Re: [PATCH][3/3] swsusp: use non-contiguous memory

2005-03-06 Thread hugang
list instead of an array of page backup entries > during resume. > > Signed-off-by: Rafael J. Wysocki <[EMAIL PROTECTED]> Signed-off-by: Hu Gang <[EMAIL PROTECTED]> ... -- Hu Gang .-. /v\ // \\ Linux User /( )\ [204016] GPG Key ID ^

Re: [PATCH][3/3] swsusp: use non-contiguous memory

2005-03-06 Thread hugang
backup entries during resume. Signed-off-by: Rafael J. Wysocki [EMAIL PROTECTED] Signed-off-by: Hu Gang [EMAIL PROTECTED] ... -- Hu Gang .-. /v\ // \\ Linux User /( )\ [204016] GPG Key ID ^^-^^ http://soulinfo.com/~hugang/hugang.asc - To unsubscribe

Re: [RFC][PATCH] swsusp: do not use higher order allocations on resume [update 2]

2005-02-12 Thread hugang
xt, offsetof(struct pbe, next)); + DEFINE(NUM_USER_SEGMENTS, TASK_SIZE>>28); return 0; } -- Hu Gang .-. /v\ // \\ Linux User /( )\ [204016] GPG Key ID ^^-^^ http://soulinfo.com/~hugang/hugang.asc - To unsubscribe from this list: send the line

Re: [RFC][PATCH] swsusp: do not use higher order allocations on resume [update 2]

2005-02-12 Thread hugang
ume-v4-ppc/include/linux/suspend.h 2005-02-13 12:22:06.0 +0800 @@ -1,7 +1,7 @@ #ifndef _LINUX_SWSUSP_H #define _LINUX_SWSUSP_H -#if defined(CONFIG_X86) || defined(CONFIG_FRV) +#if defined(CONFIG_X86) || defined(CONFIG_FRV) || defined(CONFIG_PPC32) #include #endif #include --

Re: [RFC][PATCH] swsusp: do not use higher order allocations on resume [update 2]

2005-02-12 Thread hugang
://soulinfo.com/~hugang/hugang.asc - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [RFC][PATCH] swsusp: do not use higher order allocations on resume [update 2]

2005-02-12 Thread hugang
\ // \\ Linux User /( )\ [204016] GPG Key ID ^^-^^ http://soulinfo.com/~hugang/hugang.asc - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ

Re: [PATCH] raw1394 : Fix hang on unload

2005-02-07 Thread hugang
/v\ // \\ Linux User /( )\ [204016] GPG Key ID ^^-^^ http://soulinfo.com/~hugang/hugang.asc --- 2.6.10-mm1-axg-swap_mem/drivers/ieee1394/sbp2.c~hang2005-02-07 18:17:12.0 +0800 +++ 2.6.10-mm1-axg-swap_mem/drivers/ieee1394/sbp2.c 2005-02-07 18:17:2

Re: [PATCH] raw1394 : Fix hang on unload

2005-02-07 Thread hugang
sbp2 rmmod hang, But not tested. -- Hu Gang .-. /v\ // \\ Linux User /( )\ [204016] GPG Key ID ^^-^^ http://soulinfo.com/~hugang/hugang.asc --- 2.6.10-mm1-axg-swap_mem/drivers/ieee1394/sbp2.c~hang2005-02-07 18:17:12.0 +0800 +++ 2.6.10-mm1

Re: Applications segfault on evo n620c with 2.6.10

2005-01-27 Thread hugang
tive swap space, then do suspend. 3: after system resume, the sh will crash like. that can 100% reproduce it my in X86, X86_64, PPC32. The Software suspend2 has not that problem. -- Hu Gang .-. /v\ // \\ Linux User /( )\ [204016] GPG Key ID ^^-^^ http:

Re: Applications segfault on evo n620c with 2.6.10

2005-01-27 Thread hugang
. that can 100% reproduce it my in X86, X86_64, PPC32. The Software suspend2 has not that problem. -- Hu Gang .-. /v\ // \\ Linux User /( )\ [204016] GPG Key ID ^^-^^ http://soulinfo.com/~hugang/hugang.asc - To unsubscribe from this list: send the line

Re: [PATCH][RFC] swsusp: speed up image restoring on x86-64

2005-01-21 Thread hugang
using it here). > > > I think this should be "rep movsl". > > Yes, it should. > I'll change my code. > > I have a suggestion. > > hugang, you are currently replacing an array of pbes with a list of arrays > of pbes contained within individual pages.

Re: [PATCH][RFC] swsusp: speed up image restoring on x86-64

2005-01-21 Thread hugang
be rep movsl. Yes, it should. I'll change my code. I have a suggestion. hugang, you are currently replacing an array of pbes with a list of arrays of pbes contained within individual pages. I would go further and replace it with a single one-directional list of pbes. Namely, I would

Re: [PATCH][RFC] swsusp: speed up image restoring on x86-64

2005-01-20 Thread hugang
applied. > > I am aware of that, but you are not going to merge the hugang's patches soon, > are you? > If necessary, I can change the patch to work with his code (hugang, what do > you think?). > I like this patch, And I change my code with this, Please have a look, It pass in qemu

Re: [PATCH][RFC] swsusp: speed up image restoring on x86-64

2005-01-20 Thread hugang
are not going to merge the hugang's patches soon, are you? If necessary, I can change the patch to work with his code (hugang, what do you think?). I like this patch, And I change my code with this, Please have a look, It pass in qemu X86_64. :) Full patch still can get from http

Re: 2.6.10-mm3: swsusp: out of memory on resume (was: Re: Ho ho ho - Linux v2.6.10)

2005-01-17 Thread hugang
e from prev version. 2005-1-16.x86_64.diff 18-Jan-2005 09:37 2k no change from prev version. 2005-1-18.core.eatmem.diff 18-Jan-2005 09:37 1k Pavel Machek's patch, that's useful fix memory allocation problems. http://soulinfo.com/~hugang/swsusp/2005-1-18/ Signed-off

Re: 2.6.10-mm3: swsusp: out of memory on resume (was: Re: Ho ho ho - Linux v2.6.10)

2005-01-17 Thread hugang
18-Jan-2005 09:37 2k no change from prev version. 2005-1-18.core.eatmem.diff 18-Jan-2005 09:37 1k Pavel Machek's patch, that's useful fix memory allocation problems. http://soulinfo.com/~hugang/swsusp/2005-1-18/ Signed-off-by: Hu Gang [EMAIL PROTECTED] -- Hu Gang

Re: 2.6.10-mm3: swsusp: out of memory on resume (was: Re: Ho ho ho - Linux v2.6.10)

2005-01-16 Thread hugang
with your previous patch > applied? It would be much easier to apply. :-) > http://soulinfo.com/~hugang/swsusp/2005-1-16/ -- Hu Gang .-. /v\ // \\ Linux User /( )\ [204016] GPG Key ID ^^-^^ http://soulinfo.com/~hugang/hugang.asc - To unsubscribe

Re: 2.6.10-mm3: swsusp: out of memory on resume (was: Re: Ho ho ho - Linux v2.6.10)

2005-01-16 Thread hugang
? It would be much easier to apply. :-) http://soulinfo.com/~hugang/swsusp/2005-1-16/ -- Hu Gang .-. /v\ // \\ Linux User /( )\ [204016] GPG Key ID ^^-^^ http://soulinfo.com/~hugang/hugang.asc - To unsubscribe from this list: send the line unsubscribe

Re: 2.6.10-mm3: swsusp: out of memory on resume (was: Re: Ho ho ho - Linux v2.6.10)

2005-01-15 Thread hugang
u, Can someone owner x86_64 test it. I disable Flush TLB after copy page, It speedup the in qemu, But I can't sure the right thing in real machine, can someone give me point. -- Hu Gang .-. /v\ // \\ Linux User /( )\ [204016] GPG Key ID ^^-^^ http:/

Re: 2.6.10-mm3: swsusp: out of memory on resume (was: Re: Ho ho ho - Linux v2.6.10)

2005-01-15 Thread hugang
^^-^^ http://soulinfo.com/~hugang/hugang.asc 2005-1-16.x86_64.diff --- 2.6.11-rc1-mm1/arch/x86_64/kernel/suspend_asm.S 2004-12-30 14:56:35.0 +0800 +++ 2.6.11-rc1-mm1-swsusp-x86_64/arch/x86_64/kernel/suspend_asm.S 2005-01-16 13:38:25.0 +0800 @@ -35,6 +35,7 @@ ENTRY

Re: GPIB support

2001-06-24 Thread hugang
On Sat, 23 Jun 2001 12:34:37 +0800 (HKT) Wan Hing Wah <[EMAIL PROTECTED]> wrote: > I'm doing a project which port a component testing program in DOS which > use GPIB to linux > Does the Linux kernel support GPIB? > > > I find a linux gpib driver in the linux lab project >

Re: RPC vs Socket

2001-06-24 Thread hugang
On 23 Jun 2001 17:49:39 +0200 Trond Myklebust <[EMAIL PROTECTED]> wrote: > > " " == Jan Hudec <[EMAIL PROTECTED]> writes: > > > Both seem to have pros and cons. RPC should be easier to write > > (especialy the server side), but it performs bad with UDP on > > slow

Re: RPC vs Socket

2001-06-24 Thread hugang
On 23 Jun 2001 17:49:39 +0200 Trond Myklebust [EMAIL PROTECTED] wrote: == Jan Hudec [EMAIL PROTECTED] writes: Both seem to have pros and cons. RPC should be easier to write (especialy the server side), but it performs bad with UDP on slow links. (NFS did not

Re: GPIB support

2001-06-24 Thread hugang
On Sat, 23 Jun 2001 12:34:37 +0800 (HKT) Wan Hing Wah [EMAIL PROTECTED] wrote: I'm doing a project which port a component testing program in DOS which use GPIB to linux Does the Linux kernel support GPIB? I find a linux gpib driver in the linux lab project http://www.llp.fu-berlin.de/

Where can find document of RPC program in kernel.

2001-06-04 Thread hugang
Hello: I try to write a kernel modules with RPC (SUN Remote Procedure Call) ,Someone know where can find documents for it. thanks -- Best Regard! Àñ£¡ -- mail from: hugang [ºú¸Õ] mail : [EMAIL PROTECTED] [EMAIL PROTECTED

Where can find document of RPC program in kernel.

2001-06-04 Thread hugang
Hello: I try to write a kernel modules with RPC (SUN Remote Procedure Call) ,Someone know where can find documents for it. thanks -- Best Regard! Àñ£¡ -- mail from: hugang [ºú¸Õ] mail : [EMAIL PROTECTED] [EMAIL PROTECTED

[path]filter scsi disk message.

2001-05-14 Thread hugang
hello all: -- Best Regard! Àñ£¡ -- mail from: hugang [ºú¸Õ] mail : [EMAIL PROTECTED] [EMAIL PROTECTED] company : [EMAIL PROTECTED] China Beijing Soul [±±¾©ÖÚÖ¾ºÏ´ï] -- sd_2.4.4

[path]filter scsi disk message.

2001-05-14 Thread hugang
hello all: -- Best Regard! Àñ£¡ -- mail from: hugang [ºú¸Õ] mail : [EMAIL PROTECTED] [EMAIL PROTECTED] company : [EMAIL PROTECTED] China Beijing Soul [±±¾©ÖÚÖ¾ºÏ´ï] -- sd_2.4.4

[ISDN-ERR]

2001-03-29 Thread hugang
Hello all: --- OPEN: 10.0.0.2 -> 202.99.16.1 UDP, port: 1024 -> 53 ippp0: dialing 1 86310163... isdn: HiSax,ch0 cause: E001B<--- error !! isdn_net: local hangup ippp0 ippp0: Chargesum is 0 ---

Re: how can I send a signal like kill

2001-03-29 Thread hugang
On Thu, 29 Mar 2001 11:46:42 +0200 Cedric Lienart <[EMAIL PROTECTED]> wrote: > how can I send a signal like 'kill (pid_t pid, int sig);' from a driver > module to a user program. When I include signal.h in my module I have Try use force_sig(int sig, struct task_struct *p), Can read

Re: how can I send a signal like kill

2001-03-29 Thread hugang
On Thu, 29 Mar 2001 11:46:42 +0200 Cedric Lienart [EMAIL PROTECTED] wrote: how can I send a signal like 'kill (pid_t pid, int sig);' from a driver module to a user program. When I include signal.h in my module I have Try use force_sig(int sig, struct task_struct *p), Can read

[ISDN-ERR]

2001-03-29 Thread hugang
Hello all: --- OPEN: 10.0.0.2 - 202.99.16.1 UDP, port: 1024 - 53 ippp0: dialing 1 86310163... isdn: HiSax,ch0 cause: E001B--- error !! isdn_net: local hangup ippp0 ippp0: Chargesum is 0 ---

Re: Problems with reiserfs

2001-02-23 Thread hugang
Patrick Mackinlay : If your use redhat 7.0 ;Your will check the kernel "Makefile" ,change the gcc to kgcc , Try again ! Update the gcc from http://www.redhat.com/ > <_EIP>: >Code; d2cf9db8 <[reiserfs]create_virtual_node+298/490> <= > 0: 8b 40 14

Re: Problems with reiserfs

2001-02-23 Thread hugang
Patrick Mackinlay : If your use redhat 7.0 ;Your will check the kernel "Makefile" ,change the gcc to kgcc , Try again ! Update the gcc from http://www.redhat.com/ _EIP: Code; d2cf9db8 [reiserfs]create_virtual_node+298/490 = 0: 8b 40 14 mov

Re: pre 10

2001-01-23 Thread hugang
On Tue, 23 Jan 2001 22:01:41 -0500 [EMAIL PROTECTED] wrote: upgrade the ppp to 2.4.0. >I have successfully compiled and used 2.4.0 on pentium 133 >system. However because I wanted to try reiserfs I installed >2.4.1-pre10. ppp is now broken. I get the following error > >- > >Jan

Re: pre 10

2001-01-23 Thread hugang
On Tue, 23 Jan 2001 22:01:41 -0500 [EMAIL PROTECTED] wrote: upgrade the ppp to 2.4.0. I have successfully compiled and used 2.4.0 on pentium 133 system. However because I wanted to try reiserfs I installed 2.4.1-pre10. ppp is now broken. I get the following error - Jan 23

patch:reiserfs 3.6.25 + LVM

2001-01-13 Thread hugang
--- reiserfs_fs.h Sat Jan 13 22:46:42 2001 +++ reiserfs_fs.h.old Sat Jan 13 22:17:45 2001 @@ -1420,7 +1420,7 @@ #define op_is_left_mergeable(key,bsize) item_ops[le_key_k_type (le_key_version (key), key)]->is_left_mergeable (key, bsize) #define op_print_item(ih,item)

patch:reiserfs 3.6.25 + LVM(Fix oops reiserfs filesystem)

2001-01-13 Thread hugang
--- reiserfs_fs.h.old Sat Jan 13 22:17:45 2001 +++ reiserfs_fs.h Sat Jan 13 22:46:42 2001 @@ -1420,7 +1420,7 @@ #define op_is_left_mergeable(key,bsize) item_ops[le_key_k_type (le_key_version (key), key)]->is_left_mergeable (key, bsize) #define op_print_item(ih,item)

patch:reiserfs 3.6.25 + LVM(Fix oops reiserfs filesystem)

2001-01-13 Thread hugang
--- reiserfs_fs.h.old Sat Jan 13 22:17:45 2001 +++ reiserfs_fs.h Sat Jan 13 22:46:42 2001 @@ -1420,7 +1420,7 @@ #define op_is_left_mergeable(key,bsize) item_ops[le_key_k_type (le_key_version (key), key)]-is_left_mergeable (key, bsize) #define op_print_item(ih,item)

patch:reiserfs 3.6.25 + LVM

2001-01-13 Thread hugang
--- reiserfs_fs.h Sat Jan 13 22:46:42 2001 +++ reiserfs_fs.h.old Sat Jan 13 22:17:45 2001 @@ -1420,7 +1420,7 @@ #define op_is_left_mergeable(key,bsize) item_ops[le_key_k_type (le_key_version (key), key)]-is_left_mergeable (key, bsize) #define op_print_item(ih,item)

2.4.0+reiserfs+lvm oops

2001-01-12 Thread hugang
hello all. - ksymoops 2.3.4 on i686 2.4.0-prerelease. Options used -V (default) -k /proc/ksyms (default) -l /proc/modules (default) -o /lib/modules/2.4.0-prerelease/ (default) -m

2.4.0+reiserfs+lvm oops

2001-01-12 Thread hugang
hello all. - ksymoops 2.3.4 on i686 2.4.0-prerelease. Options used -V (default) -k /proc/ksyms (default) -l /proc/modules (default) -o /lib/modules/2.4.0-prerelease/ (default) -m

Abort x86 assemble code

2001-01-03 Thread hugang
Hello all I have following code ,and I can not understand the mark line,who can tell me.thanks. -- 0eb8 movb (%ebx),%al <> 0eba incl %ebx 0ebb movl %edi,%ecx 0ebd shrl $0x8,%ecx 0ec0

Abort x86 assemble code

2001-01-03 Thread hugang
Hello all I have following code ,and I can not understand the mark line,who can tell me.thanks. -- 0eb8 movb (%ebx),%al IMPORTANT 1-4 0eba incl %ebx 0ebb movl %edi,%ecx 0ebd shrl $0x8,%ecx

Path: for oom_kill.c

2000-12-04 Thread hugang
Hello all: old> points = p->mm->total_vm; change to ---> points = p->pid; I write a shell to test it, cat > bin/hello hello ^D hello before change it ,kernel will kill some pid, to change it kernel will kill hello(bash). - To unsubscribe from this list:

Path: for oom_kill.c

2000-12-04 Thread hugang
Hello all: old points = p-mm-total_vm; change to --- points = p-pid; I write a shell to test it, cat bin/hello hello ^D hello before change it ,kernel will kill some pid, to change it kernel will kill hello(bash). - To unsubscribe from this list: send

Re: Linux v2.2.17: IDE disk error on Compact Flash device

2000-11-07 Thread hugang
On Tue, 7 Nov 2000 11:58:48 -0600 [EMAIL PROTECTED] wrote: > > > Hello. > > When attempting to boot Linux kernel v2.2.17 from a Compact Flash (CF) device I > am getting the errors shown below. This CF device is in a PCMCIA form factor > and is the Master device on the secondary IDE

Re: Linux v2.2.17: IDE disk error on Compact Flash device

2000-11-07 Thread hugang
On Tue, 7 Nov 2000 11:58:48 -0600 [EMAIL PROTECTED] wrote: Hello. When attempting to boot Linux kernel v2.2.17 from a Compact Flash (CF) device I am getting the errors shown below. This CF device is in a PCMCIA form factor and is the Master device on the secondary IDE controller