Re: libbpfcc needs a way to ensure the current kernel's headers are installed

2017-10-18 Thread Liang Guo
On Wed, Oct 18, 2017 at 9:25 PM, Ben Hutchings <b...@decadent.org.uk> wrote:
> On Wed, 2017-10-18 at 14:21 +0200, Alexander Kurtz wrote:

>> Ok, that's what I figured. Is there at least a solution to the "if the
>> user has the standard, most recent, Debian kernel running, make sure
>> the corresponding headers are installed" problem? I.e. something like
>> Ubuntu's "linux-{image,headers}-generic" packages?
>
> No, there is no common metapackage name that is available on all Debian
> architectures.  (I don't think those metapackages are available on all
> Ubuntu architectures either.)
Is it possible for kernel to provide a package , such as linux-full, depends on
the exact version of linux-image and linux-header. When  the same linux-image
 and linux-header are needed, this package can be put on depends field.

-- 
Liang Guo
http://guoliang.me/



Bug#849841: [src:linux] bpfcc-tools don't work on 4.8 signed kernels

2017-01-01 Thread Liang Guo
Hi,

On Sun, Jan 1, 2017 at 10:19 PM, Ben Hutchings <b...@decadent.org.uk> wrote:
> Control: reassign -1 src:linux 4.8.11-1
> Control: severity -1 normal
> Control: tag -1 moreinfo
> The signed and unsigned kernels have exactly the same code.  The only
> way they can differe in behaviour is on a system with Secure Boot
> enabled, where the signed one could be bootable (and then disable
> unsigned modules etc.) while the unsigned one does not.
>
> Given that you've been able to boot unsigned kernels, I don't believe
> signing has anything to do with this problem.
>
> You're not comparing the same versions of the signed and unsigned
> kernels, so perhaps there was a regression between 4.7 and 4.8 that was
> corrected between 4.8.11 and 4.8.15.  Unfortunately we're not able to
> provide a signed image for 4.8.15-1 as it failed to build on one
> architecture.  This should be corrected in the next version.
>
> Please report whether the next update to linux-signed-4.8.0-2-amd64
> fixes this.
>
I think I find the problem, when the kernel header don't match the kernel image,
bpfcc will throw Invalid argument exception, following is my test log:

root@debsidamd64:~# /usr/share/doc/bpfcc-tools/examples/hello_world.py
bpf: Invalid argument

Traceback (most recent call last):
  File "/usr/share/doc/bpfcc-tools/examples/hello_world.py", line 11,
in 
BPF(text='int kprobe__sys_clone(void *ctx) {
bpf_trace_printk("Hello, World!\\n"); return 0; }').trace_print()
  File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 203, in __init__
self._trace_autoload()
  File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 679,
in _trace_autoload
fn = self.load_func(func_name, BPF.KPROBE)
  File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 243,
in load_func
raise Exception("Failed to load BPF program %s" % func_name)
Exception: Failed to load BPF program kprobe__sys_clone

root@debsidamd64:/home/liang# dpkg -i
linux-headers-4.8.0-2-amd64_4.8.11-1_amd64.deb
linux-headers-4.8.0-2-common_4.8.11-1_amd64.deb
dpkg: 警告: 即将把 linux-headers-4.8.0-2-amd64 从 4.8.15-1 降级到 4.8.11-1
(正在读取数据库 ... 系统当前共安装有 192043 个文件和目录。)
正准备解包 linux-headers-4.8.0-2-amd64_4.8.11-1_amd64.deb  ...
正在将 linux-headers-4.8.0-2-amd64 (4.8.11-1) 解包到 (4.8.15-1) 上 ...
dpkg: 警告: 即将把 linux-headers-4.8.0-2-common 从 4.8.15-1 降级到 4.8.11-1
正准备解包 linux-headers-4.8.0-2-common_4.8.11-1_amd64.deb  ...
正在将 linux-headers-4.8.0-2-common (4.8.11-1) 解包到 (4.8.15-1) 上 ...
正在设置 linux-headers-4.8.0-2-common (4.8.11-1) ...
正在设置 linux-headers-4.8.0-2-amd64 (4.8.11-1) ...
root@debsidamd64:/home/liang# /usr/share/doc/bpfcc-tools/examples/hello_world.py
sshd-762   [000] d...   275.571167: : Hello, World!
sshd-1750  [000] d...   275.578291: : Hello, World!
 console-kit-dae-1088  [000] d...   278.033478: : Hello, World!
root@debsidamd64:/home/liang#  dpkg -l |grep 4.8.11
ii  linux-headers-4.8.0-2-amd64   4.8.11-1
amd64Header files for Linux 4.8.0-2-amd64
ii  linux-headers-4.8.0-2-common  4.8.11-1
amd64Common header files for Linux 4.8.0-2
ii  linux-image-4.8.0-2-amd64 4.8.11-1
amd64Linux 4.8 for 64-bit PCs (signed)

It looks not a kernel bug, but a kernel team's bug. If signed and
unsigned kernel use the same header files, they should have the exact
same version in Debian archive.

-- 
Liang Guo
http://guoliang.me/



Bug#849841: [src:linux] bpfcc-tools don't work on 4.8 signed kernels

2016-12-31 Thread Liang Guo
-unsigned 4.8.15-1  
  amd64Linux 4.8 for 64-bit PCs, PREEMPT_RT 
ii  linux-image-amd64 4.8+77
  amd64Linux for 64-bit PCs (meta-package)

## linux-image-4.8.0-2-rt-amd64  
root@bcat:~# python /usr/share/doc/bpfcc-tools/examples/hello_world.py
bpf: Invalid argument 

Traceback (most recent call last): 
 File "/usr/share/doc/bpfcc-tools/examples/hello_world.py", line 11, in 
 
   BPF(text='int kprobe__sys_clone(void *ctx) { bpf_trace_printk("Hello, 
World!\\n"); return 0; }').trace_print() 
 File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 203, in __init__ 
   self._trace_autoload() 
 File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 679, in 
_trace_autoload 
   fn = self.load_func(func_name, BPF.KPROBE) 
 File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 243, in 
load_func 
   raise Exception("Failed to load BPF program %s" % func_name) 
Exception: Failed to load BPF program kprobe__sys_clone 
root@bcat:~# uname -a 
Linux bcat 4.8.0-2-rt-amd64 #1 SMP PREEMPT RT Debian 4.8.11-1 (2016-12-02) 
x86_64 GNU/Linux 
root@bcat:~# dpkg -l |grep linux-image 
ic  linux-image-4.7.0-1-amd64 4.7.8-1   
  amd64Linux 4.7 for 64-bit PCs (signed) 
rc  linux-image-4.8.0-1-amd64 4.8.7-1   
  amd64Linux 4.8 for 64-bit PCs (signed) 
rc  linux-image-4.8.0-2-amd64 4.8.11-1  
  amd64Linux 4.8 for 64-bit PCs (signed) 
ii  linux-image-4.8.0-2-amd64-unsigned4.8.15-1  
  amd64Linux 4.8 for 64-bit PCs 
ii  linux-image-4.8.0-2-rt-amd64  4.8.11-1  
  amd64Linux 4.8 for 64-bit PCs, PREEMPT_RT (signed) 
rc  linux-image-4.8.0-2-rt-amd64-unsigned 4.8.15-1  
  amd64Linux 4.8 for 64-bit PCs, PREEMPT_RT 
ii  linux-image-amd64 4.8+77
  amd64Linux for 64-bit PCs (meta-package)


=linux-image-4.7.0-1-amd64=
guoliangc:~# python /usr/share/doc/bpfcc-tools/examples/hello_world.py  
   chromium-5847  [003] d... 49706.966231: : Hello, World! 
   chromium-5847  [003] d... 49706.966270: : Hello, World! 
   chromium-5847  [003] d... 49706.967351: : Hello, World! 
   chromium-5847  [003] d... 49706.967484: : Hello, World! 
   chromium-5847  [003] d... 49706.967658: : Hello, World! 
   chromium-5847  [003] d... 49706.967726: : Hello, World! 
   chromium-5847  [003] d... 49706.968571: : Hello, World! 
^Cguoliangc:~# uname -a 
Linux guoliangc 4.7.0-1-amd64 #1 SMP Debian 4.7.8-1 (2016-10-19) x86_64 
GNU/Linux 
guoliangc:~# dpkg -l |grep linux-image 
ii  linux-image-4.6.0-1-amd64 4.6.4-1   
   amd64Linux 4.6 for 64-bit PCs 
ii  linux-image-4.7.0-1-amd64 4.7.8-1   
   amd64Linux 4.7 for 64-bit PCs (signed) 
ii  linux-image-4.8.0-2-amd64-unsigned4.8.15-1  
   amd64Linux 4.8 for 64-bit PCs

Thanks and Regards,
--
Liang Guo


signature.asc
Description: PGP signature


Re: Architecture qualification for wheezy - status of Linux kernel

2012-05-07 Thread Liang Guo
On Mon, May 07, 2012 at 02:37:56PM +0100, Ben Hutchings wrote:
  
  Debian have access to at least one Power7 machine located at OSUOSL. The
  machine list shows three LPAR running on it.
 
 Yes, the project has these resources.  But a kernel porter will of
 course need to install and test new kernels.  Does the porterbox provide
 nested virtualisation for any developer?  (For some reason we haven't
 enabled KVM_BOOK3S_64, which I think means the answer is currently 'no',
 but we can fix that part, leaving the administrative issue of
 permissions to use KVM.)
 
 How about other PowerPC hardware, in particular 32-bit machines?  How,
 if at all, would a new kernel porter support these?
Should qemu be used to test PowerPC architecture? In a sense, Qemu can 
simulate ppc and ppc64. 



-- 
Thanks and Regards,
--
Liang Guo
http://bluestone.cublog.cn


signature.asc
Description: Digital signature


Bug#638264: [linux-image-3.0.0-1-amd64] Suspend to memory failed

2011-08-18 Thread Liang Guo
On Thu, Aug 18, 2011 at 11:15 AM, Liang Guo bluestonech...@gmail.com wrote:
 Package: linux-image-3.0.0-1-amd64
 Version: 3.0.0-2
 Severity: important

 I'm running linux 3.0.0-2 on a Lenovo x220 box, cpu is
 Core(TM) i5-2410M, when I try to suspend to memory, the
 screen become black with a cursor flashing, the suspend
 keep flashing too. I can only force shutdown and restart
 it.

 when I try to debug this problem according
 linux/Documentation/power/s2ram.txt, I found there is no
 /sys/power/pm_trace. The 'ls -al /sys/power' outputs:

Hi, I have cought this bug now, the root source is iwlagn, when
iwlagn is not loaded, or is configured(I means select enable
wireless in network manager), suspend to memory works as
expected; when iwlagn is loaded but not configured, suspend
to memory will fail.

The remain problem is why I don't have /sys/power/pm_trace
even if CONFIG_PM_DEBUG and CONFIG_CAN_PM_TRACE
is enabled.

$ grep -i pm_[td] /boot/config-3.0.0-1-amd64
CONFIG_PM_DEBUG=y
# CONFIG_PM_TEST_SUSPEND is not set
CONFIG_CAN_PM_TRACE=y
# CONFIG_PM_TRACE_RTC is not set

Thanks,
-- 
Liang Guo
http://bluestone.cublog.cn



-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAJwrgW6=iD8BQf1B=br9heeu0dfksoav9kzjwbzr+vr6r1d...@mail.gmail.com



Bug#638264: [linux-image-3.0.0-1-amd64] Suspend to memory failed

2011-08-17 Thread Liang Guo
Package: linux-image-3.0.0-1-amd64
Version: 3.0.0-2
Severity: important

I'm running linux 3.0.0-2 on a Lenovo x220 box, cpu is 
Core(TM) i5-2410M, when I try to suspend to memory, the
screen become black with a cursor flashing, the suspend
keep flashing too. I can only force shutdown and restart
it.

when I try to debug this problem according 
linux/Documentation/power/s2ram.txt, I found there is no
/sys/power/pm_trace. The 'ls -al /sys/power' outputs:
drwxr-xr-x  2 root root0  8月 18 10:19 .
drwxr-xr-x 13 root root0  8月 18 2011 ..
-rw-r--r--  1 root root 4096  8月 18 10:19 disk
-rw-r--r--  1 root root 4096  8月 18 10:20 image_size
-rw-r--r--  1 root root 4096  8月 18 10:20 pm_async
-rw-r--r--  1 root root 4096  8月 18 10:20 pm_test
-rw-r--r--  1 root root 4096  8月 18 10:20 reserved_size
-rw-r--r--  1 root root 4096  8月 18 10:20 resume
-rw-r--r--  1 root root 4096  8月 18 10:19 state
-rw-r--r--  1 root root 4096  8月 18 10:20 wakeup_count

How can I resolve this problem ?

Thanks, 
--- System information. ---
Architecture: amd64
Kernel:   Linux 3.0.0-1-amd64

Debian Release: wheezy/sid
  500 unstablelocalhost 
1 experimentallocalhost 

--- Package information. ---
Depends(Version) | Installed
-+-
module-init-tools| 3.16-1
linux-base   (= 3~) | 3.3
initramfs-tools  (= 0.99~)  | 0.99
 OR linux-initramfs-tool | 


Package Status  (Version) | Installed
=-+-===
firmware-bnx2 | 
firmware-bnx2x| 
firmware-ipw2x00  | 
firmware-ivtv | 
firmware-iwlwifi  | 0.33
firmware-linux| 
firmware-linux-nonfree| 0.33
firmware-qlogic   | 
firmware-ralink   | 
xen-hypervisor| 


Recommends   (Version) | Installed
==-+-===
firmware-linux-free(= 3~) | 3


Suggests (Version) | Installed
==-+-===
linux-doc-3.0.0| 
grub-pc| 
 OR extlinux   | 
 OR lilo(= 22.8-8.2~) | 




-8---8---8---8---8---8---8---8---8--
Please attach the file: 
  /tmp/reportbug-ng-linux-image-3.0.0-1-amd64-Eu80XT.txt 
to the mail. I'd do it myself if the output wasn't too long to handle.

  Thank you!
-8---8---8---8---8---8---8---8---8--
-- 
Thanks and Regards,
--
Liang Guo
http://bluestone.cublog.cn
--- Output from package bug script ---
/usr/bin/xterm: cannot load font 
'-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1'
** Version:
Linux version 3.0.0-1-amd64 (Debian 3.0.0-2) (b...@decadent.org.uk) (gcc 
version 4.5.3 (Debian 4.5.3-5) ) #1 SMP Wed Aug 17 04:08:52 UTC 2011

** Command line:
BOOT_IMAGE=/boot/vmlinuz-3.0.0-1-amd64 
root=UUID=234fa119-6886-456b-a17d-cfea1404151f ro quiet splash 
resume=UUID=a0bf88f3-edb3-4fe3-915d-9ce6fdfdb004

** Tainted: W (512)
 * Taint on warning.

** Kernel log:
[   10.328319] Adding 2097148k swap on /dev/sdb3.  Priority:-1 extents:1 
across:2097148k SS
[   10.901245] coretemp coretemp.0: TjMax is 100 C.
[   10.901261] coretemp coretemp.0: TjMax is 100 C.
[   10.906121] EFI Variables Facility v0.08 2004-May-17
[   11.104446] FAT-fs (sdb1): utf8 is not a recommended IO charset for FAT 
filesystems, filesystem will be case sensitive!
[   11.104448] 
[   11.225785] tun: Universal TUN/TAP device driver, 1.6
[   11.225788] tun: (C) 1999-2004 Max Krasnyansky m...@qualcomm.com
[   11.273844] Bridge firewalling registered
[   11.277001] device eth0 entered promiscuous mode
[   11.411817] e1000e :00:19.0: irq 40 for MSI/MSI-X
[   11.465889] e1000e :00:19.0: irq 40 for MSI/MSI-X
[   11.466490] ADDRCONF(NETDEV_UP): eth0: link is not ready
[   11.467406] device vde0 entered promiscuous mode
[   11.470637] br0: port 2(vde0) entering forwarding state
[   11.470642] br0: port 2(vde0) entering forwarding state
[   11.645101] fuse init (API version 7.16)
[   11.814729] [ cut here ]
[   11.814738] WARNING: at 
/build/buildd-linux-2.6_3.0.0-2-amd64-9iQzxp/linux-2.6-3.0.0/debian/build/source_amd64_none/kernel/printk.c:322
 do_syslog+0x84/0x430()
[   11.814741] Hardware name: 4286C13
[   11.814742] Attempt to access syslog with CAP_SYS_ADMIN but no CAP_SYSLOG 
(deprecated).
[   11.814744] Modules linked in: binfmt_misc fuse bridge stp tun nls_utf8 
nls_cp437 vfat fat efivars sbs sbshc coretemp lm90 i2c_piix4 cpufreq_stats 
cpufreq_conservative cpufreq_powersave cpufreq_userspace joydev kvm_intel kvm 
snd_hda_codec_hdmi snd_hda_codec_conexant arc4 uvcvideo iwlagn snd_hda_intel 
videodev snd_hda_codec media mac80211 v4l2_compat_ioctl32 thinkpad_acpi psmouse 
serio_raw i2c_i801 snd_hwdep nvram ac

Bug#637573: linux-image-2.6.39-2-amd64: kswapd uses 100% cpu

2011-08-12 Thread Liang Guo
On Sat, Aug 13, 2011 at 2:43 AM, Sergey sey5...@gmail.com wrote:
 Package: linux-2.6
 Version: 2.6.39-3
 Severity: important


 on sandy bridge ( Intel(R) Core(TM) i3-2310M )
 kswapd uses 100% CPU when there is little free memory.
 swap space not used.

 after the command echo 1 /proc/sys/vm/drop_kaches kswapd
 disappears.

I‘ve met this bug too, my cpu is i5-2410M, After upgrade kernel
 to  3.0.0-1-amd64, this bug disappear.

-- 
Liang Guo
http://bluestone.cublog.cn



--
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/cajwrgw4hh8sgefyx8uxqlfs2qhqjfaa+suazt_mjn-48k27...@mail.gmail.com



Bug#618979: [linux-image-2.6.38-1-amd64] System becomes very slow

2011-03-19 Thread liang
Package: linux-image-2.6.38-1-amd64
Version: 2.6.38-1
Severity: important

After upgrade to linux-image-2.6.38-1-amd64, system become very slow. For 
example, I open konsole, run vmstat 1 in one tab, and open another tab. 

On 2.6.38-1, vmstat shows:
$ vmstat 1 40
procs ---memory-- ---swap-- -io -system-- cpu
 r  b   swpd   free   buff  cache   si   sobibo   in   cs us sy id wa
 3  0  0 3183132 108740 39499600   31217  341  225 42 22 32  3
 0  0  0 3183132 108740 39499600 0   100  310  179 11  6 83  0
 0  0  0 3183008 108740 39499600 0 0  257  206  7  4 89  0
 0  0  0 3183008 108740 39499600 0 0  254  169  7  3 90  0
 0  0  0 3183008 108740 39499600 0 0  272  198  8  3 89  0
 0  0  0 3183008 108740 39499600 0 0  242  167  7  2 91  0
 0  0  0 3183008 108740 39499600 0 0  296  239  8  3 89  0
 3  0  0 3182992 108740 39499600 0 0  536  346 43 30 27  0
 2  0  0 3181984 108740 39499600 0 0  547  316 65 23 12  0
 1  0  0 3181992 108740 39499600 0 0  752  296 53  6 41  0
 2  0  0 3182488 108740 39499600 0 0 1225  653 53 21 26  0
 3  0  0 3181736 108740 39499600 0 0 1058  370 71 27  2  0
 1  0  0 3181860 108740 39499600 0 0  756  350 32 56 11  0
 1  0  0 3181744 108756 39498000 040  754  340 19 45 28  8
 2  0  0 3181868 108756 39499600 0 0  758  347 18 47 36  0
 1  0  0 3181264 108756 39499600 0 0  556  242 39 24 36  0
 1  0  0 3180868 108756 39499600 0 0  641  253 36 30 35  0
 2  0  0 3180636 108756 39499600 0 0  695  283 22 49 30  0
 2  0  0 3180272 108756 39499600 0 0  503  202 51 10 39  0
 3  0  0 3179892 108756 39499600 0 0  479  165 51  8 41  0
 2  0  0 3176652 108756 39499600 0 4  507  204 44 20 36  0
 2  0  0 3177024 108756 39499600 0 0  495  177 46 16 38  0
 2  0  0 3179776 108756 39499600 0 0  798  713 48 13 39  0
 2  0  0 3179776 108756 39499600 0 0  479  156 51  9 39  0
 3  0  0 3179280 108756 39499600 0 0  496  198 53  8 39  0
 1  0  0 3179280 108756 39499600 0 0  367  192 27  8 65  0
 1  0  0 3179280 108764 39499200 012  284  199  7  4 87  2

It shows that konsole spend about 20 seconds to open a new tab. within this 
period, User% and Sys% are high. 

On the opposite, on 2.6.37-2, konsole need only no more than 1 second to open a 
new tab. 

--- System information. ---
Architecture: amd64
Kernel:   Linux 2.6.37-2-amd64

Debian Release: wheezy/sid
  500 unstablelocalhost 
  500 stable  dl.google.com 
  500 stable  deb.opera.com 
1 experimentallocalhost 

--- Package information. ---
Depends   (Version) | Installed
===-+-===
module-init-tools   | 3.12-1
linux-base  (= 3~) | 3
initramfs-tools  (= 0.55)  | 0.98.8
 OR linux-initramfs-tool| 


Package Status  (Version) | Installed
=-+-===
firmware-bnx2 | 
firmware-bnx2x| 
firmware-ipw2x00  | 
firmware-ivtv | 
firmware-iwlwifi  | 
firmware-linux| 
firmware-linux-nonfree| 0.29
firmware-qlogic   | 
firmware-ralink   | 
xen-hypervisor| 


Recommends   (Version) | Installed
==-+-===
firmware-linux-free(= 3~) | 3


Suggests  (Version) | Installed
===-+-===
linux-doc-2.6.38| 
grub-pc | 1.99~rc1-4
 OR extlinux| 
 OR lilo (= 22.8-8.2~) | 

Thanks and Regards, 
-- 
Liang Guo
http://bluestone.cublog.cn



signature.asc
Description: Digital signature


Re: Xen dom0 (core) merged to upstream Linux 2.6.37 and other new features

2010-11-01 Thread Liang Suilong
Er.. Just wish it is coming soon.

NVIDIA and ATi proprietary drivers do not support xen kernel. If a trunk or
generic kernel is built in xen pv_ops support, when users switch from normal
mode to booting xen kernel, X server will not boot. Though we know a user
who sets up a xen server is not a Linux newbies, the result makes user
uncomfortable. It looks an uneasy problem.

Linus has released kernel-2.6.37-rc1. I read the changelog. Some Xen pvops
patch has merged into upstream kernel. Waiting Debian to push 2.6.37-rc1 to
experimental and test it for Xen.

On Mon, Nov 1, 2010 at 12:00 AM, Ben Hutchings b...@decadent.org.uk wrote:

 On Sun, 2010-10-31 at 23:36 +0800, Liang Suilong wrote:
  Upstream Linux support Xen pv_ops dom0 is a good news.
 
 
  I have some question about that. When pv_ops gets into upstream
  kernel, we can enable pv_ops dom0 support in kernel configure file
  before compiling. Does Debian drop  kernel for Xen in the future?

 The kernel team does not intend to retain the Xen featureset after
 squeeze (this was announced after our meeting last year).  We do expect
 that full Xen functionality (dom0 and domU) will be merged upstream in
 time for wheezy and we have included some of the post-2.6.32
 enhancements for domU in the default kernel images for squeeze.

  In generic kernel, we can build in pv_ops support. If users want to
  use Xen, just install xen core and configure GRUB, then they can run
  Xen Dom0.

 That's the plan.

 Ben.

 --
 Ben Hutchings
 Once a job is fouled up, anything done to improve it makes it worse.




-- 
Fedora  Debian User, former Ubuntu User
My Page: http://www.liangsuilong.info
Fedora Project Contributor -- Packager  Ambassador
https://fedoraproject.org/wiki/User:Liangsuilong


Bug#600935: [linux-2.6] Please consider to enable CONFIG_LATENCYTOP

2010-10-21 Thread liang
Package: linux-2.6
Version: 2.6.36~rc5-1~experimental.1
Severity: wishlist

Hi, 

Latencytop is a excelient utility to latency problem in desktop environment, it
can only work with CONFIG_LATENCYTOP enabled kernel, so I advice to consider 
enable CONFIG_LATENCYTOP in future linux-image. 

Compired with /boot/config-2.6.36-rc6-amd64, when CONFIG_LATENCYTOP is enabled,
following options will be enabled too. 

CONFIG_KALLSYMS_ALL
CONFIG_SCHEDSTATS
CONFIG_FRAME_POINTER

Bug 481684 was submitted to ask to enable CONFIG_LATENCY on May 18 2008, but
debian provide kernel debug now, is it the time to consider to enable 
CONFIG_LATENCYTOP ? 

Thanks and Regards, 

-- 
Liang Guo
http://bluestone.cublog.cn



signature.asc
Description: Digital signature


Re: How to apt-get install new kernel 2.6.34 on debian ?

2010-06-24 Thread Liang Guo
2010/6/24 lejkt lejkt jtam...@hotmail.com:

 Then i try  to add    keyword  non-free  in my source.list
 (/etc/apt/source.list)  file, i obtain:


 deb http://security.debian.org/ lenny/updates main
 deb-src http://security.debian.org/ lenny/updates main

 deb http://volatile.debian.org/debian-volatile lenny/volatile main
 deb-src http://volatile.debian.org/debian-volatile lenny/volatile main


 deb http://http.us.debian.org/debian lenny main contrib  non-free
 deb-src http://http.us.debian.org/debian lenny main contrib non-free

you should add following line to  /etc/apt/source.list:
deb http://http.us.debian.org/debian experimental main contrib  non-free
deb-src http://http.us.debian.org/debian experimental main contrib non-free

then try:
apt-get update
apt-get install linux-image-2.6.34-1-686

BTW: I think you'd better upgrade lenny to unstable.

-- 
Liang Guo
http://bluestone.cublog.cn


--
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktikjcvugmzmdgqdvueg7hpw1ifdqd35fqqqk8...@mail.gmail.com



Re: How to apt-get install new kernel 2.6.34 on debian ?

2010-06-22 Thread Liang Guo
2010/6/22 lejkt lejkt jtam...@hotmail.com:
 How to apt-get install  new kernel   2.6.34   on debian ?
2.6.34 is in experimental distribution.  you may enable experimental
in your /etc/apt/sources.list, and run

apt-get install -t experimental linux-image-2.6.34-1-amd64

or others depending on your archtecture,

-- 
Liang Guo
http://bluestone.cublog.cn


--
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktikrhkizvpvd_aat0e3bnymd_m0ynl0bet6_f...@mail.gmail.com



Bug#565977:

2010-01-21 Thread Liang Guo
Hi, ALL

I'm sorry that I've report a untrue bug. I've replug the touchpad jump in the 
mainboad, and the touchpad works fine today. Please close this bug. Thanks!

I apologize  one again for my mistake. 

Thanks~
-- 
Liang Guo
http://bluestone.cublog.cn



-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#565977: [linux-2.6] touchpad not woks severail minutes after X startup

2010-01-20 Thread Liang Guo
Package: linux-2.6
Version: 2.6.32-5
Severity: important

--- Please enter the report below this line. ---
Hi, 

I'm using a HP 6515b laptop with 2.6.32-trunk-amd64, After I login to kde, the 
touchpad may  not work in several minutes, when it not work, I can see 
followng message in dmesg output:

[  492.973395] psmouse.c: bad data from KBC - timeout
[  492.975399] psmouse.c: bad data from KBC - timeout
[  492.977402] psmouse.c: bad data from KBC - timeout
[  492.979414] psmouse.c: bad data from KBC - timeout
[  492.981933] psmouse.c: bad data from KBC - timeout
[  492.983419] psmouse.c: bad data from KBC - timeout
[  492.985425] psmouse.c: bad data from KBC - timeout
[  492.987426] psmouse.c: bad data from KBC - timeout
[  492.989445] psmouse.c: bad data from KBC - timeout
[  492.991962] psmouse.c: bad data from KBC - timeout
[  492.993445] psmouse.c: bad data from KBC - timeout
[  492.995463] psmouse.c: bad data from KBC - timeout


I can use rmmod psmouse; modprobe psmouse to let it work again, but It may 
fail several minutes later. 

Any help?

Thanks, 

--- System information. ---
Architecture: amd64
Kernel:   Linux 2.6.32-trunk-amd64

Debian Release: squeeze/sid
  500 unstablewww.anheng.com.cn 
  500 stable  dl.google.com 
1 experimentalwww.anheng.com.cn 

--- Package information. ---
Package's Depends field is empty.

Package's Recommends field is empty.

Package's Suggests field is empty.




-- 
Liang Guo
http://bluestone.cublog.cn



-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org