[2.6 patch] iwl4965-base.c: fix off-by-one errors

2007-10-14 Thread Adrian Bunk
This patch fixes two off-by-one errors resulting in array overflows spotted by the Coverity checker. Signed-off-by: Adrian Bunk [EMAIL PROTECTED] --- drivers/net/wireless/iwlwifi/iwl4965-base.c |8 1 file changed, 4 insertions(+), 4 deletions(-) ---

Re: [PATCH 0/3] debloat aic7xxx and aic79xx drivers

2007-10-14 Thread Gabriel C
Denys Vlasenko wrote: Hi, Hi, Compile tested and applies cleanly to 2.6.23. I don't have this hardware anymore and cannot run test these patches. I can test these patches on an aic7892 controller later on today if you want. BTW while you seems to care about this driver could you have a look

Re: msync(2) bug(?), returns AOP_WRITEPAGE_ACTIVATE to userland

2007-10-14 Thread Pekka J Enberg
Hi Erez, On Sun, 14 Oct 2007, Erez Zadok wrote: In unionfs_writepage() I tried to emulate as best possible what the lower f/s will have returned to the VFS. Since tmpfs's -writepage can return AOP_WRITEPAGE_ACTIVATE and re-mark its page as dirty, I did the same in unionfs: mark again my page

[2.6 patch] ivtv: fix NULL dereference

2007-10-14 Thread Adrian Bunk
We shouldn't dereference itv when we know it's NULL... Spotted by the Coverity checker. Signed-off-by: Adrian Bunk [EMAIL PROTECTED] --- --- linux-2.6/drivers/media/video/ivtv/ivtv-fileops.c.old 2007-10-14 19:17:12.0 +0200 +++ linux-2.6/drivers/media/video/ivtv/ivtv-fileops.c

b43{,legacy}_start can return uninitialized value

2007-10-14 Thread Adrian Bunk
drivers/net/wireless/b43/main.c:b43_start() consists of the following code: -- snip -- static int b43_start(struct ieee80211_hw *hw) { struct b43_wl *wl = hw_to_b43_wl(hw); struct b43_wldev *dev = wl-current_dev; int did_init = 0; int err;

tuner-core.c:fe_has_signal() can returne uninitialized value

2007-10-14 Thread Adrian Bunk
Commit 1f5ef19779df2c2f75870332b37dd3004c08a515 added the following function to drivers/media/video/tuner-core.c: -- snip -- static int fe_has_signal(struct tuner *t) { struct dvb_tuner_ops *fe_tuner_ops = t-fe.ops.tuner_ops; u16 strength; if

[2.6 patch] __inet6_csk_dst_store(): fix check-after-use

2007-10-14 Thread Adrian Bunk
The Coverity checker spotted that we have already oops'ed if dst was NULL. Since dst being NULL doesn't seem to be possible at this point this patch removes the NULL check. Signed-off-by: Adrian Bunk [EMAIL PROTECTED] --- eeb6009cf3ef5f6993ced359330d877680617a70 diff --git

Re: [PATCH] Version 7 (2.6.23) Smack: Simplified Mandatory Access Control Kernel

2007-10-14 Thread Casey Schaufler
--- Al Viro [EMAIL PROTECTED] wrote: On Sun, Oct 14, 2007 at 10:15:42AM -0700, Casey Schaufler wrote: This version fixes a major blunder in label handling. The system works, but has a serious memory leak that also induces a gradual performance degradation. Al Viro gets the credit for

[2.4 patch] Port of adutux driver from 2.6 kernel to 2.4.

2007-10-14 Thread Vitaliy Ivanov
Hello Willy, Greg and list, I have ported adutux driver for ADU series device list from 2.6 to 2.4. More on devices: http://www.ontrak.net/products.htm#Table%205 Once I needed to make ADU200 work under 2.4 enterprise kernel and wasn't able to do this. My organization decided to use another

Re: [2.6 patch] ivtv: fix NULL dereference

2007-10-14 Thread Hans Verkuil
On Sunday 14 October 2007 19:51:37 Adrian Bunk wrote: We shouldn't dereference itv when we know it's NULL... Spotted by the Coverity checker. Signed-off-by: Adrian Bunk [EMAIL PROTECTED] --- --- linux-2.6/drivers/media/video/ivtv/ivtv-fileops.c.old 2007-10-14 19:17:12.0 +0200

[PATCH] skb-tail in ibm_newemac should be skb_tail_pointer()

2007-10-14 Thread Al Viro
... since that sucker is not 32bit-only and on 64bit skb-tail is an offset, not a pointer. Signed-off-by: Al Viro [EMAIL PROTECTED] --- drivers/net/ibm_newemac/core.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/net/ibm_newemac/core.c

[PATCH] fix breakage in sctp getsockopt

2007-10-14 Thread Al Viro
copy_to_user() into on-stack array Signed-off-by: Al Viro [EMAIL PROTECTED] --- net/sctp/socket.c | 10 ++ 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/net/sctp/socket.c b/net/sctp/socket.c index 9c6a4b5..bd6f42a 100644 --- a/net/sctp/socket.c +++ b/net/sctp/socket.c

[PATCH] remove duplicate initializer (macvlan)

2007-10-14 Thread Al Viro
Signed-off-by: Al Viro [EMAIL PROTECTED] --- drivers/net/macvlan.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/drivers/net/macvlan.c b/drivers/net/macvlan.c index b7c81c8..2e4bcd5 100644 --- a/drivers/net/macvlan.c +++ b/drivers/net/macvlan.c @@ -178,7 +178,6 @@

Re: [2.4 patch] Port of adutux driver from 2.6 kernel to 2.4.

2007-10-14 Thread Willy Tarreau
Hello Vitaliy, On Sun, Oct 14, 2007 at 08:37:25PM +0300, Vitaliy Ivanov wrote: Hello Willy, Greg and list, I have ported adutux driver for ADU series device list from 2.6 to 2.4. More on devices: http://www.ontrak.net/products.htm#Table%205 Once I needed to make ADU200 work under 2.4

[PATCH] mm/migrate.c __user annotation

2007-10-14 Thread Al Viro
Signed-off-by: Al Viro [EMAIL PROTECTED] --- mm/migrate.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/mm/migrate.c b/mm/migrate.c index e2fdbce..07f22d4 100644 --- a/mm/migrate.c +++ b/mm/migrate.c @@ -972,7 +972,7 @@ asmlinkage long sys_move_pages(pid_t pid,

[PATCH] mpc5200_wdt: __user annotations

2007-10-14 Thread Al Viro
Signed-off-by: Al Viro [EMAIL PROTECTED] --- drivers/char/watchdog/mpc5200_wdt.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/char/watchdog/mpc5200_wdt.c b/drivers/char/watchdog/mpc5200_wdt.c index 564143d..9cfb975 100644 ---

[PATCH] synclink_gt endianness annotations

2007-10-14 Thread Al Viro
Signed-off-by: Al Viro [EMAIL PROTECTED] --- drivers/char/synclink_gt.c |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/char/synclink_gt.c b/drivers/char/synclink_gt.c index 2f97d2f..64e835f 100644 --- a/drivers/char/synclink_gt.c +++

[PATCH] fw-cdev __user annotations

2007-10-14 Thread Al Viro
Signed-off-by: Al Viro [EMAIL PROTECTED] --- drivers/firewire/fw-cdev.c |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/firewire/fw-cdev.c b/drivers/firewire/fw-cdev.c index 7538864..0647130 100644 --- a/drivers/firewire/fw-cdev.c +++

[PATCH] fs/partitions/sun.c endianness annotations

2007-10-14 Thread Al Viro
Signed-off-by: Al Viro [EMAIL PROTECTED] --- fs/partitions/sun.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/partitions/sun.c b/fs/partitions/sun.c index 794118d..c95e6a6 100644 --- a/fs/partitions/sun.c +++ b/fs/partitions/sun.c @@ -95,8 +95,8 @@ int

[PATCH] endian-clean in_le64/out_le64

2007-10-14 Thread Al Viro
Signed-off-by: Al Viro [EMAIL PROTECTED] --- include/asm-powerpc/io.h |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/asm-powerpc/io.h b/include/asm-powerpc/io.h index affba70..0d0589e 100644 --- a/include/asm-powerpc/io.h +++ b/include/asm-powerpc/io.h @@

[PATCH] frv: missing casts in cmpxchg()

2007-10-14 Thread Al Viro
Signed-off-by: Al Viro [EMAIL PROTECTED] --- include/asm-frv/system.h |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/include/asm-frv/system.h b/include/asm-frv/system.h index 6931af5..9f5663b 100644 --- a/include/asm-frv/system.h +++ b/include/asm-frv/system.h @@

[PATCH] long vs. unsigned long - low-hanging fruits in drivers

2007-10-14 Thread Al Viro
deal with signedness of the stuff passed to set_bit() et.al. Signed-off-by: Al Viro [EMAIL PROTECTED] --- arch/x86/kernel/scx200_32.c |2 +- drivers/atm/ambassador.h |2 +- drivers/atm/horizon.h |2 +- drivers/char/dsp56k.c

[PATCH] signedness: module_param_array nump argument

2007-10-14 Thread Al Viro
... should be unsigned int Signed-off-by: Al Viro [EMAIL PROTECTED] --- drivers/char/ipmi/ipmi_si_intf.c | 18 +- drivers/eisa/eisa-bus.c|4 ++-- drivers/media/video/ivtv/ivtv-driver.c |6 +++--- drivers/media/video/ov511.c|2 +-

[PATCH] more trivial signedness fixes in drivers

2007-10-14 Thread Al Viro
Signed-off-by: Al Viro [EMAIL PROTECTED] --- drivers/acpi/toshiba_acpi.c|2 +- drivers/ata/ata_piix.c |2 +- drivers/ata/sata_via.c |2 +- drivers/atm/firestream.c |2 +- drivers/block/cciss.c |2 +- drivers/hid/hid-input.c|2 +-

[PATCH] more low-hanging fruits - kernel, fs, lib signedness

2007-10-14 Thread Al Viro
Signed-off-by: Al Viro [EMAIL PROTECTED] --- fs/jfs/jfs_dtree.c |2 +- fs/jfs/jfs_incore.h|2 +- fs/jfs/jfs_logmgr.h|2 +- fs/smbfs/smbiod.c |2 +- include/linux/reiserfs_fs_sb.h |4 ++-- kernel/posix-timers.c |6

[PATCH] endianness annotations in arm io.h

2007-10-14 Thread Al Viro
Signed-off-by: Al Viro [EMAIL PROTECTED] --- include/asm-arm/io.h |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/asm-arm/io.h b/include/asm-arm/io.h index 1d3caa4..eebe56e 100644 --- a/include/asm-arm/io.h +++ b/include/asm-arm/io.h @@ -228,12 +228,12 @@

[PATCH] ibm_newemac annotations (iomem, NULL noise)

2007-10-14 Thread Al Viro
Signed-off-by: Al Viro [EMAIL PROTECTED] --- drivers/net/ibm_newemac/core.c |2 +- drivers/net/ibm_newemac/rgmii.c | 12 ++-- drivers/net/ibm_newemac/tah.c |4 ++-- drivers/net/ibm_newemac/zmii.c |4 ++-- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git

Re: 2.6.23-mm1

2007-10-14 Thread Andrew Morton
On Sun, 14 Oct 2007 13:54:26 +0200 Torsten Kaiser [EMAIL PROTECTED] wrote: The page-owner code can pinpoint a leak source. See ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.23/2.6.23-mm1/broken-out/page-owner-tracking-leak-detector.patch Enable CONFIG_DEBUG_SLAB_LEAK,

[PATCH] more tulip endianness annotations

2007-10-14 Thread Al Viro
Signed-off-by: Al Viro [EMAIL PROTECTED] --- drivers/net/tulip/de4x5.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/net/tulip/de4x5.h b/drivers/net/tulip/de4x5.h index 12af0cc..9fb8d7f 100644 --- a/drivers/net/tulip/de4x5.h +++ b/drivers/net/tulip/de4x5.h @@

[PATCH] hamradio: -hard_header() takes packet type in host-endian

2007-10-14 Thread Al Viro
Signed-off-by: Al Viro [EMAIL PROTECTED] --- drivers/net/hamradio/6pack.c |2 +- drivers/net/hamradio/mkiss.c |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/hamradio/6pack.c b/drivers/net/hamradio/6pack.c index ecd156d..ad9e327 100644 ---

[PATCH] inet_lro: trivial endianness annotations

2007-10-14 Thread Al Viro
Signed-off-by: Al Viro [EMAIL PROTECTED] --- include/linux/inet_lro.h |6 +++--- net/ipv4/inet_lro.c | 14 +++--- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/include/linux/inet_lro.h b/include/linux/inet_lro.h index e1fc1d1..bb1c877 100644 ---

[PATCH] fix endianness bug in inet_lro

2007-10-14 Thread Al Viro
all uses of and almost all assignments to lro_desc-tcp_ack assume that it's net-endian; one converts net-endian to host-endian and sticks it in lro_desc-tcp_ack. Signed-off-by: Al Viro [EMAIL PROTECTED] --- include/linux/inet_lro.h |2 +- net/ipv4/inet_lro.c |2 +- 2 files changed,

[PATCH] ipg: endianness annotations

2007-10-14 Thread Al Viro
Signed-off-by: Al Viro [EMAIL PROTECTED] --- drivers/net/ipg.h | 12 ++-- 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/net/ipg.h b/drivers/net/ipg.h index 1952d0d..e418b90 100644 --- a/drivers/net/ipg.h +++ b/drivers/net/ipg.h @@ -776,17 +776,17 @@ enum

[PATCH] ipg: endianness fixes

2007-10-14 Thread Al Viro
if your mask is host-endian, you should apply it after le64_to_cpu(); if it's little-endian - before. Doing both (for the same mask and little-endian value) is broken. Signed-off-by: Al Viro [EMAIL PROTECTED] --- drivers/net/ipg.c | 34 +- 1 files changed, 17

Re: drivers/net/wireless/rt2x00/: struct data_desc strangeness

2007-10-14 Thread Ivo van Doorn
On Sunday 14 October 2007, Adrian Bunk wrote: drivers/net/wireless/rt2x00/rt2x00ring.h contains the following: -- snip -- ... /* * data_desc * Each data entry also contains a descriptor which is used by the * device to determine what should be done with the packet and * what the

Re: System.map

2007-10-14 Thread Jan Engelhardt
On Oct 14 2007 19:07, Philip wrote: I want to write a script, which shows the name of the relevant kernel module for each listed pci device shown by 'lspci -m'. It's easy to find out the name of the corresponding module, if the driver has been compiled as a loadable kernel module: The file

Re: [PATCH] fw-cdev __user annotations

2007-10-14 Thread Stefan Richter
Al Viro wrote: --- a/drivers/firewire/fw-cdev.c +++ b/drivers/firewire/fw-cdev.c @@ -722,10 +722,11 @@ static int ioctl_queue_iso(struct client *client, void *buffer) buffer_end = 0; } - if (!access_ok(VERIFY_READ, request-packets, request-size)) + p =

[PATCH] : IDE-CS Add additional id string (corsair, 1GB)

2007-10-14 Thread Kristoffer Ericson
Greetings, The manf string looks weird (0x0 + 0x0), but I assume its correct. Also, whitespaces seems almost intentional, so am I missing something? Shortlog: This patch adds id strings for Corsair 1GB (identified as Hyperstone Model1) inside legacy/ide-cs.c It also includes some minor

Re: 2.6.23-mm1

2007-10-14 Thread Torsten Kaiser
On 10/14/07, Andrew Morton [EMAIL PROTECTED] wrote: On Sun, 14 Oct 2007 13:54:26 +0200 Torsten Kaiser [EMAIL PROTECTED] wrote: The page-owner code can pinpoint a leak source. See

Re: [PATCH] remove duplicate initializer (macvlan)

2007-10-14 Thread Stephen Hemminger
On Sun, 14 Oct 2007 19:22:59 +0100 Al Viro [EMAIL PROTECTED] wrote: Signed-off-by: Al Viro [EMAIL PROTECTED] --- drivers/net/macvlan.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/drivers/net/macvlan.c b/drivers/net/macvlan.c index b7c81c8..2e4bcd5 100644

Re: linux-2.6.23-mm1 crashed

2007-10-14 Thread Andrew Morton
On Sun, 14 Oct 2007 22:45:47 +0400 Dave Milter [EMAIL PROTECTED] wrote: I build linux-2.6.23-mm1 and try to boot it using qemu, and it crashed with trace like this: do_page_fault error_code lock_acquire _spin_lock_irqsave gdth_timeout run_timer_softirq __do_softirq do_softirq I have

Re: linux-2.6.23-mm1 crashed

2007-10-14 Thread Dave Milter
By the way, because of oops happens on early stage of boot, you not need any image to reproduce this bug: something like this will be enough: 1)cd /tmp/ qemu-img create hda.img 10M 2)cd linux/mm/source/code 3)qemu -kernel arch/i386/boot/bzImage -hda /tmp/hda.img if you add -s to qemu options you

Re: 2.6.23-mm1

2007-10-14 Thread Andrew Morton
On Sun, 14 Oct 2007 21:12:08 +0200 Torsten Kaiser [EMAIL PROTECTED] wrote: On 10/14/07, Andrew Morton [EMAIL PROTECTED] wrote: On Sun, 14 Oct 2007 13:54:26 +0200 Torsten Kaiser [EMAIL PROTECTED] wrote: The page-owner code can pinpoint a leak source. See

[PATCH] Include asm/vsyscall.h in arch/x86/kernel/alternative.c.

2007-10-14 Thread Doug Whitesell (LKML)
The VSYSCALL_START and VSYSCALL_END symbols are referenced in apply_alternatives(), but vsyscall.h is not always included when building on x86-64 with random configurations. Including asm/vsyscall.h guarantees availability of the symbols, and is otherwise harmless. Signed-off-by: Doug Whitesell

2.6.23.1 x86 hardware monitoring bug?

2007-10-14 Thread Justin Piszcz
As a regular user, I cannot see the sensors on the A-bit board, but I can see the CPU temperature, how come I can see one but not the other? Kernel: $ uname -a Linux mybox 2.6.23.1 #4 SMP PREEMPT Sun Oct 14 15:20:53 EDT 2007 i686 GNU/Linux Distribution: Debian Lenny $ sensors

Re: linux-2.6.23-mm1 crashed

2007-10-14 Thread Andrew Morton
(please don't top-post! edited...) On Sun, 14 Oct 2007 23:24:39 +0400 Dave Milter [EMAIL PROTECTED] wrote: On 10/14/07, Dave Milter [EMAIL PROTECTED] wrote: I build linux-2.6.23-mm1 and try to boot it using qemu, and it crashed with trace like this: do_page_fault error_code

[GIT PATCH] hwmon updates against v2.6.23

2007-10-14 Thread Mark M. Hoffman
Hi Linus: Please pull from: git://lm-sensors.org/kernel/mhoffman/hwmon-2.6.git release You'll get five new drivers, cleanups and fixes all over the place. The addition of individual alarm sysfs files to all drivers continues. Also, the conversion from struct class_device to struct

In response to kernel compression e-mail a few months ago.

2007-10-14 Thread Justin Piszcz
It turns out the one I did not test, was actually the best: Used: 7z -mx=9 a linux-2.6.16.17.tar.7z linux-2.6.16.17.tar $ du -sk * | sort -n 32392 linux-2.6.16.17.tar.7z 33520 linux-2.6.16.17.tar.lzma 33760 linux-2.6.16.17.tar.rar 38064 linux-2.6.16.17.tar.rz 39472 linux-2.6.16.17.tar.szip

Re: 2.6.23-mm1

2007-10-14 Thread Torsten Kaiser
On 10/14/07, Andrew Morton [EMAIL PROTECTED] wrote: On Sun, 14 Oct 2007 21:12:08 +0200 Torsten Kaiser [EMAIL PROTECTED] wrote: The first column is the times I found this line in page_owner. err, take another look at the changelog in page-owner-tracking-leak-detector.patch. It directs you to

Re: In response to kernel compression e-mail a few months ago.

2007-10-14 Thread Jan Engelhardt
On Oct 14 2007 15:34, Justin Piszcz wrote: It turns out the one I did not test, was actually the best: Used: 7z -mx=9 a linux-2.6.16.17.tar.7z linux-2.6.16.17.tar $ du -sk * | sort -n 32392 linux-2.6.16.17.tar.7z 33520 linux-2.6.16.17.tar.lzma 33760 linux-2.6.16.17.tar.rar 38064

Re: 2.6.23-mm1 pm_prepare() and _finish() w/ args vs. without

2007-10-14 Thread Joseph Fannin
On Sat, Oct 13, 2007 at 09:13:13PM +0200, Rafael J. Wysocki wrote: Yes. Corrected patch follows. A bit more is needed due to the rename of lite5200_pm_init() to lite5200_suspend_init(). An amended patch follows that builds and boots on my powermac. --- diff -aurN

Re: In response to kernel compression e-mail a few months ago.

2007-10-14 Thread Justin Piszcz
On Sun, 14 Oct 2007, Jan Engelhardt wrote: On Oct 14 2007 15:34, Justin Piszcz wrote: It turns out the one I did not test, was actually the best: Used: 7z -mx=9 a linux-2.6.16.17.tar.7z linux-2.6.16.17.tar $ du -sk * | sort -n 32392 linux-2.6.16.17.tar.7z 33520 linux-2.6.16.17.tar.lzma

Re: MSI interrupts and disable_irq

2007-10-14 Thread Yinghai Lu
On 10/14/07, Manfred Spraul [EMAIL PROTECTED] wrote: Yinghai Lu wrote: On 10/13/07, Manfred Spraul [EMAIL PROTECTED] wrote: Someone around with a MSI capable board? The forcedeth driver does dev-irq = pci_dev-irq in nv_probe(), especially before pci_enable_msi(). Does

Re: wierd file perms

2007-10-14 Thread Mark Lord
Jan Engelhardt wrote: On Oct 14 2007 09:27, Mark Lord wrote: Jan-Benedict Glaw wrote: On Sat, 2007-10-13 22:40:23 +0530, vignesh babu [EMAIL PROTECTED] wrote: I was surprised and did an ls -l on the files and guess what I found: total 0 ?- ? ? ? ?? fcntl.c ?-

Re: In response to kernel compression e-mail a few months ago.

2007-10-14 Thread Jan Engelhardt
On Oct 14 2007 15:53, Justin Piszcz wrote: What's with all these odd formats, and where is .zip? :) Somehow... have you tried lrzip? $ apt-cache search lrzip $ I tried most of the main ones in the standard testing distribution within Debian. Debian is not a solution to everything.

Re: 2.6.23-mm1 pm_prepare() and _finish() w/ args vs. without

2007-10-14 Thread Rafael J. Wysocki
On Sunday, 14 October 2007 21:47, Joseph Fannin wrote: On Sat, Oct 13, 2007 at 09:13:13PM +0200, Rafael J. Wysocki wrote: Yes. Corrected patch follows. A bit more is needed due to the rename of lite5200_pm_init() to lite5200_suspend_init(). Well, I didn't intend to change it. :-) An

Regression: 2.6.23-rc9 okay, 2.6.23.1 resume problems

2007-10-14 Thread Mark Lord
Since upgrading to 2.6.23.1 from 2.6.23-rc9, resume-from-RAM has been misbehaving here. It takes much (+5-7 seconds) longer to resume *sometimes*, but not all/most of the time. And sometimes I get get flashing keyboard LEDs and have to hold the power button in for a full hard reset. With

Re: In response to kernel compression e-mail a few months ago.

2007-10-14 Thread Justin Piszcz
On Sun, 14 Oct 2007, Jan Engelhardt wrote: On Oct 14 2007 15:53, Justin Piszcz wrote: What's with all these odd formats, and where is .zip? :) Somehow... have you tried lrzip? $ apt-cache search lrzip $ I tried most of the main ones in the standard testing distribution within Debian.

Re: [PATCH] : IDE-CS Add additional id string (corsair, 1GB)

2007-10-14 Thread Vlad Codrea
Hi, Could you also add the id strings for the device to drivers/ata/pata_pcmcia.c? Thanks, Vlad Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for today's economy) at Yahoo!

Re: PROBLEM: kernel panic

2007-10-14 Thread Trond Myklebust
On Sat, 2007-10-13 at 15:48 -0700, Scott Petler wrote: Machine lockup with caps lock/num lock flashing or complete reboot/panic. I get various lockup issues with this kernel, (2.6.23 also similar problem). I had problems getting e1000 lan module to work (it was fine in 2.6.21.5). I

Re: hdparm standby timeout not working for WD raptors?

2007-10-14 Thread Mark Weber
On 10/14/07, Bart Samwel [EMAIL PROTECTED] wrote: Some things to check: * Run hdparm -I on your drive. In the Capabilities section there is a line Standby timer values, for some drives this mentions a device specific minimum. I know some drives that ignore any setting below 60 seconds. *

Re: [NOT VERY SAFE] [TCP]: Set initial_ssthresh default to zero in Cubic and BIC.

2007-10-14 Thread Stephen Hemminger
On Sun, 14 Oct 2007 10:02:45 +0900 Komuro [EMAIL PROTECTED] wrote: Dear David Actually, tcp_sk(sk)-snd_ssthresh is not initialized, if initial_ssthresh is 0. The patch should be static void bictcp_init(struct sock *sk) { bictcp_reset(inet_csk_ca(sk)); - if

Re: [stable] 2.6.23 regression: top displaying 9999% CPU usage

2007-10-14 Thread Christian Borntraeger
Am Samstag, 13. Oktober 2007 schrieb Frans Pop: Please consider this patch for 2.6.23.2 http://lkml.org/lkml/2007/10/4/389 Is it already in Linus's tree? If so, do you have a git commit id? If not, please let us (stable@) know when it is, and what the id is, and then we can add it to

Re: PROBLEM: kernel panic

2007-10-14 Thread Scott Petler
Trond, I'm not exactly sure how to go back to not using the nvidia driver and select the xorg one. I do know that I wasn't able to use both monitors with the xorg driver, but I'm willing to try that to isolate the problem. Scott Output from /proc/mounts: rootfs / rootfs rw 0 0 none /sys

Re: [2.4 patch] Port of adutux driver from 2.6 kernel to 2.4.

2007-10-14 Thread Vitaliy Ivanov
Willy, On 10/14/07, Willy Tarreau [EMAIL PROTECTED] wrote: Hello Vitaliy, On Sun, Oct 14, 2007 at 08:37:25PM +0300, Vitaliy Ivanov wrote: Hello Willy, Greg and list, I have ported adutux driver for ADU series device list from 2.6 to 2.4. More on devices:

Re: In response to kernel compression e-mail a few months ago.

2007-10-14 Thread Al Viro
On Sun, Oct 14, 2007 at 09:46:15PM +0200, Jan Engelhardt wrote: (Obviously we shall pick .7z) The hell it is. Take a look at memory footprint of those suckers... - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo

Re: [v4l-dvb-maintainer] [GIT PATCHES] V4L/DVB changes for 2.6.24

2007-10-14 Thread Johannes Stezenbach
On Sun, Oct 14, 2007, Markus Rechberger wrote: the reason why I take the em28xx as hostage is, well I started with it and I work with that company and I don't see a way how to implement the latest devices without terrible hacks (and there are around 60 devices supported only by the current

Re: PROBLEM: kernel panic

2007-10-14 Thread Doug Whitesell (LKML)
On Oct 14, 2007, at 1:44 PM, Scott Petler wrote: Trond, I'm not exactly sure how to go back to not using the nvidia driver and select the xorg one. I do know that I wasn't able to use both monitors with the xorg driver, but I'm willing to try that to isolate the problem. If memory

Re: linux-2.6.23 - acting funny

2007-10-14 Thread poison
Hi and thanks for your reply :) On Friday 12 October 2007, you wrote: i have no quick ideas - the behavior you are seeing is quite unexpected. Could you try the current sched-devel code: http://redhat.com/~mingo/cfs-scheduler/devel/sched-devel-combo-v2.6.23.patc h Maybe I messed something

Re: [PATCH] : IDE-CS Add additional id string (corsair, 1GB)

2007-10-14 Thread Kristoffer Ericson
Greetings, Of course. Not sure how you want it so I've kept the patches seperate for now. Signed-off-by: Kristoffer Ericson [EMAIL PROTECTED] diff --git a/drivers/ata/pata_pcmcia.c b/drivers/ata/pata_pcmcia.c index 782ff4a..5db2013 100644 --- a/drivers/ata/pata_pcmcia.c +++

Re: In response to kernel compression e-mail a few months ago.

2007-10-14 Thread Justin Piszcz
On Sun, 14 Oct 2007, Al Viro wrote: On Sun, Oct 14, 2007 at 09:46:15PM +0200, Jan Engelhardt wrote: (Obviously we shall pick .7z) The hell it is. Take a look at memory footprint of those suckers... For compression with -mx=9 it does use 500-900 MiB of RAM, that is true. For

Re: [PATCH] remove GPL restriction from set_dumpable()

2007-10-14 Thread Christoph Hellwig
On Sun, Oct 14, 2007 at 01:04:31PM +0200, Jiri Kosina wrote: From: Jiri Kosina [EMAIL PROTECTED] remove GPL restriction from set_dumpable() Commit 6c5d5238 introduced a set_dumpable() function that replaced the direct access to mm_struct-dumpable. I don't think there is any reason to

Re: hdparm standby timeout not working for WD raptors?

2007-10-14 Thread Bart Samwel
Mark Weber wrote: On 10/14/07, Bart Samwel [EMAIL PROTECTED] wrote: Some things to check: * Run hdparm -I on your drive. In the Capabilities section there is a line Standby timer values, for some drives this mentions a device specific minimum. I know some drives that ignore any setting below

Re: Regression: 2.6.23-rc9 okay, 2.6.23.1 resume problems

2007-10-14 Thread Rafael J. Wysocki
On Sunday, 14 October 2007 22:13, Mark Lord wrote: Since upgrading to 2.6.23.1 from 2.6.23-rc9, resume-from-RAM has been misbehaving here. It takes much (+5-7 seconds) longer to resume *sometimes*, but not all/most of the time. And sometimes I get get flashing keyboard LEDs and have to

Re: [git patches] IDE updates (part 2)

2007-10-14 Thread Benjamin Herrenschmidt
How's about this patch? [PATCH] ide-pmac: fix pmac_ide_init_hwif_ports() * pmac_ide_init_hwif_ports() can be called by ide_init_hwif_ports() (through ppc_ide_md.ide_init_hwif hook) for non IDE PMAC interfaces. If this is the case the hw-io_ports[] should be already setup by

Re: tuner-core.c:fe_has_signal() can returne uninitialized value

2007-10-14 Thread Michael Krufky
Adrian Bunk wrote: Commit 1f5ef19779df2c2f75870332b37dd3004c08a515 added the following function to drivers/media/video/tuner-core.c: -- snip -- static int fe_has_signal(struct tuner *t) { struct dvb_tuner_ops *fe_tuner_ops = t-fe.ops.tuner_ops; u16 strength;

Re: [PATCH] remove GPL restriction from set_dumpable()

2007-10-14 Thread Jiri Kosina
On Sun, 14 Oct 2007, Christoph Hellwig wrote: Commit 6c5d5238 introduced a set_dumpable() function that replaced the direct access to mm_struct-dumpable. I don't think there is any reason to restrict this function to EXPORT_SYMBOL_GPL() -- previously any module could modify

menuconfig: fail with clearer error if curses.h N/A

2007-10-14 Thread Frans Pop
It would be nice if 'make menuconfig' could fail earlier or with a clearer error if curses.h is not available. The actual error is currently rather buried in a huge amount of indirect errors. After installing libncurses-dev (Debian) everything was fine. $ make menuconfig HOSTCC

undefined symbol 'APM_EMULATION' during 'make oldconfig' on HPPA

2007-10-14 Thread Frans Pop
$ git describe v2.6.23-3345-g52d4e66 $ make oldconfig /dev/null drivers/macintosh/Kconfig:121:warning: 'select' used by config symbol 'PMAC_APM_EMU' refers to undefined symbol 'APM_EMULATION' Cheers, FJP - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a

Re: PROBLEM: kernel panic

2007-10-14 Thread Scott Petler
Doug, I thought that might do it, it does seem to work. I edited the driver line in my xorg.conf from nvidia to nv and then, altctrl F1 login as root /etc/init.d/gdm stop /etc/init.d/gdm start It came back up with the same flashing crap on the second monitor, so I did it again with the 2nd

{GIT pull] x86 bugfixes

2007-10-14 Thread Thomas Gleixner
Linus, please pull from ssh://master.kernel.org/pub/scm/linux/kernel/git/tglx/linux-2.6-x86.git Thanks, tglx -- Dave Jones (1): x86: fix missing include for vsyscall Thomas Gleixner (3): clockevents: introduce force broadcast notifier x86: move local APIC timer

Re: PROBLEM: kernel panic

2007-10-14 Thread Trond Myklebust
On Sun, 2007-10-14 at 14:00 -0700, Scott Petler wrote: Doug, I thought that might do it, it does seem to work. I edited the driver line in my xorg.conf from nvidia to nv and then, altctrl F1 login as root /etc/init.d/gdm stop /etc/init.d/gdm start It came back up with the same

Re: PROBLEM: kernel panic

2007-10-14 Thread Scott Petler
Ok, I'll do that Thanks Sent from my iPhone On Oct 14, 2007, at 2:32 PM, Trond Myklebust [EMAIL PROTECTED] wrote: On Sun, 2007-10-14 at 14:00 -0700, Scott Petler wrote: Doug, I thought that might do it, it does seem to work. I edited the driver line in my xorg.conf from nvidia

Re: Regression: 2.6.23-rc9 okay, 2.6.23.1 resume problems

2007-10-14 Thread Mark Lord
Rafael J. Wysocki wrote: On Sunday, 14 October 2007 22:13, Mark Lord wrote: Since upgrading to 2.6.23.1 from 2.6.23-rc9, resume-from-RAM has been misbehaving here. It takes much (+5-7 seconds) longer to resume *sometimes*, but not all/most of the time. And sometimes I get get flashing

Re: {GIT pull] x86 bugfixes

2007-10-14 Thread Jeff Garzik
Thomas Gleixner wrote: Linus, please pull from ssh://master.kernel.org/pub/scm/linux/kernel/git/tglx/linux-2.6-x86.git Thanks, tglx -- Dave Jones (1): x86: fix missing include for vsyscall Thomas Gleixner (3): clockevents: introduce force broadcast notifier x86:

Re: MSI interrupts and disable_irq

2007-10-14 Thread Benjamin Herrenschmidt
On Sun, 2007-10-14 at 09:15 +0200, Manfred Spraul wrote: Yinghai Lu wrote: On 10/13/07, Manfred Spraul [EMAIL PROTECTED] wrote: Someone around with a MSI capable board? The forcedeth driver does dev-irq = pci_dev-irq in nv_probe(), especially before pci_enable_msi(). Does

Re: In response to kernel compression e-mail a few months ago.

2007-10-14 Thread Jan Engelhardt
On Oct 14 2007 16:58, Justin Piszcz wrote: compress: PID USER PR NI VIRT RES SHR S %CPU %MEMTIME+ COMMAND 10544 war 20 0 700m 681m 1632 S 141 20.7 1:41.46 7z Just how you can utilize a CPU to 141% remains a mystery.. [ to be noted this is sqrt(2)*100 ] - To

Re: {GIT pull] x86 bugfixes

2007-10-14 Thread Thomas Gleixner
On Sun, 14 Oct 2007, Jeff Garzik wrote: Unless the size is overlarge (currently 400k, on lkml), any chance I could talk you into appending the associated patch onto the end of future emails? Sure. See below. If it helps, I use the attached script when I send stuff upstream. Cute. Thanks,

[PATCH] Hook compat_sys_nanosleep up to high res timer code

2007-10-14 Thread Anton Blanchard
Now we have high res timers on ppc64 I thought Id test them. It turns out compat_sys_nanosleep hasnt been converted to the hrtimer code and so is limited to HZ resolution. The following patch makes compat_sys_nanosleep call hrtimer_nanosleep and uses compat_alloc_user_space to avoid setting

Re: hdparm standby timeout not working for WD raptors?

2007-10-14 Thread Mark Weber
On 10/14/07, Bart Samwel [EMAIL PROTECTED] wrote: Just to be sure: you did use -S 60 to get 5 minutes, right? Yes. And hdparm is kind enough to print: /dev/sda: setting standby to 60 (5 minutes) Here's a bizarre sequence which I just noticed: [extraneous blank lines removed for clarity]

Re: 2.6.23-mm1

2007-10-14 Thread Milan Broz
Andrew Morton wrote: On Sun, 14 Oct 2007 21:12:08 +0200 Torsten Kaiser [EMAIL PROTECTED] wrote: ... 354036 Page allocated via order 0, mask 0x11202 1 (PFN/Block always differ) PFN 3072 Block 6 type 0 Flags 354338 [0x80266373] mempool_alloc+83 354338

Which companies are helping developing the kernel

2007-10-14 Thread Stefan Heinrichsen
Hello, I posted this question at comp.linux.misc and where told this would be a better place therefore. I would like to do a internship in the field of the Linux kernel. Can someone tell me where to find a list of companies (don't matter in which country) that employ kernel developers? Stefan

Re: What still uses the block layer?

2007-10-14 Thread James Bottomley
On Sat, 2007-10-13 at 16:05 -0600, Matthew Wilcox wrote: On Thu, Oct 11, 2007 at 08:11:21PM -0500, Rob Landley wrote: My impression from asking questions on the linux-scsi mailing list is that the scsi upper/middle/lower layers doesn't use the block layer described in

Re: linux-2.6.23-mm1 crashed

2007-10-14 Thread James Bottomley
On Sun, 2007-10-14 at 12:21 -0700, Andrew Morton wrote: On Sun, 14 Oct 2007 22:45:47 +0400 Dave Milter [EMAIL PROTECTED] wrote: I build linux-2.6.23-mm1 and try to boot it using qemu, and it crashed with trace like this: do_page_fault error_code lock_acquire _spin_lock_irqsave

Re: [PATCH] Hook compat_sys_nanosleep up to high res timer code

2007-10-14 Thread Arnd Bergmann
On Sunday 14 October 2007, Anton Blanchard wrote: Now we have high res timers on ppc64 I thought Id test them. It turns out compat_sys_nanosleep hasnt been converted to the hrtimer code and so is limited to HZ resolution. The following patch makes compat_sys_nanosleep call hrtimer_nanosleep

Re: In response to kernel compression e-mail a few months ago.

2007-10-14 Thread Justin Piszcz
On Sun, 14 Oct 2007, Jan Engelhardt wrote: On Oct 14 2007 16:58, Justin Piszcz wrote: compress: PID USER PR NI VIRT RES SHR S %CPU %MEMTIME+ COMMAND 10544 war 20 0 700m 681m 1632 S 141 20.7 1:41.46 7z Just how you can utilize a CPU to 141% remains a mystery.. [

Re: Which companies are helping developing the kernel

2007-10-14 Thread Alistair John Strachan
On Sunday 14 October 2007 23:06:22 Stefan Heinrichsen wrote: Hello, I posted this question at comp.linux.misc and where told this would be a better place therefore. I would like to do a internship in the field of the Linux kernel. Can someone tell me where to find a list of companies (don't

Re: Don't leak 'listeners' in netlink_kernel_create()

2007-10-14 Thread Eric W. Biederman
Jesper Juhl [EMAIL PROTECTED] writes: From: Jesper Juhl [EMAIL PROTECTED] Subject: Don't leak 'listeners' in netlink_kernel_create() The Coverity checker spotted that we'll leak the storage allocated to 'listeners' in netlink_kernel_create() when the if (!nl_table[unit].registered)

Re: msync(2) bug(?), returns AOP_WRITEPAGE_ACTIVATE to userland

2007-10-14 Thread Erez Zadok
In message [EMAIL PROTECTED], Pekka J Enberg writes: Hi Erez, On Sun, 14 Oct 2007, Erez Zadok wrote: In unionfs_writepage() I tried to emulate as best possible what the lower f/s will have returned to the VFS. Since tmpfs's -writepage can return AOP_WRITEPAGE_ACTIVATE and re-mark its

Re: 2.6.23-mm1: BUG in reiserfs_delete_xattrs

2007-10-14 Thread Laurent Riffard
Le 12.10.2007 06:31, Andrew Morton a écrit : ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.23/2.6.23-mm1/ /home is mounted with the following options: /dev/mapper/vglinux1-lvhome on /home type reiserfs (rw,noatime,nodiratime,user_xattr) I guess that beagled (the Beagle

<    1   2   3   4   5   >