Re: What's up with CONFIG_BLK_DEV?

2007-08-26 Thread Jan Engelhardt
On Aug 26 2007 01:08, Rob Landley wrote: >On Friday 24 August 2007 3:36:54 pm Jan Engelhardt wrote: >> >>Is there _ever_ a time you want the block layer but no block devices? >> >> Well, where do you think your hard disk drivers come from? Definitely >> not from the BLK_DEV menu... > >Now that I l

libata not working for sis5533

2007-08-26 Thread Patrizio Bassi
My sis630 chipset shipped with Asus A1000 doesn't work properly with suspend with ide drivers (http://bugzilla.kernel.org/show_bug.cgi?id=7077) i tried to switch to libata but i cannot boot. I've enabled generic ide and sis specific code, both in-kernel. of course scsi too. when i boot i get: irq

Re: [PATCH 1/1] hotplug cpu: migrate a task within its cpuset

2007-08-26 Thread Andrew Morton
On Sun, 26 Aug 2007 10:47:24 +1000 Rusty Russell <[EMAIL PROTECTED]> wrote: > On Sun, 2007-08-26 at 05:46 +0530, Gautham R Shenoy wrote: > > On Sat, Aug 25, 2007 at 01:47:40PM +0400, Oleg Nesterov wrote: > > > Before this patch, process leaves its ->cpuset and migrates to some > > > "random" > >

Re: [PATCH] Prefix each line of multiline printk(KERN_ "foo\nbar") with KERN_

2007-08-26 Thread Geert Uytterhoeven
On Fri, 24 Aug 2007, Joe Perches wrote: > Corrected printk calls with multiple output lines which > did not correctly preface each line with KERN_ > > Fixed uses of some single lines with too many KERN_ > --- a/arch/arm/kernel/ecard.c > +++ b/arch/arm/kernel/ecard.c > @@ -547,7 +547,8 @@ static v

[PATCH] atyfb: remove dead code

2007-08-26 Thread Olaf Hering
Remove dead code. Signed-off-by: Olaf Hering <[EMAIL PROTECTED]> --- drivers/video/aty/atyfb_base.c |6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) --- a/drivers/video/aty/atyfb_base.c +++ b/drivers/video/aty/atyfb_base.c @@ -2767,8 +2767,7 @@ static int atyfb_blank(int blank, st

Re: [Linux-fbdev-devel] [PATCH] uvesafb: select connector in Kconfig

2007-08-26 Thread Michal Januszewski
On Sat, Aug 25, 2007 at 08:23:41AM -0700, Randy Dunlap wrote: > There are 2 problems with this. > > a. CONNECTOR depends on NET, but select won't enable NET, so if > NET is not enabled otherwise, CONNECTOR still won't build. > This is a longstanding select/kconfig issue. > > b. CONNECTOR depen

Re: [PATCH] Add all thread stats for TASKSTATS_CMD_ATTR_TGID

2007-08-26 Thread Guillaume Chazarain
Le Sun, 26 Aug 2007 10:28:44 +0530, Balbir Singh <[EMAIL PROTECTED]> a écrit : > From what I understand, task->start_time and task->real_start_time > are taken from the realtime clock. The accounting in CSA seems > to be very similar to the accounting done in do_acct_process() > (kernel/acct.c). >

Re: 2.6.22.5 SATA Failure

2007-08-26 Thread Dong Feng
2007/8/26, Robert Hancock <[EMAIL PROTECTED]>: > > It looks like you have some CONFIG_IDE options enabled in your kernel > configuration that result in drivers/ide trying to drive part or all of > that controller, preventing libata from doing so. Likely the easiest > thing to do is just set CONFIG_

Re: USB Key light on/off state depending on mount

2007-08-26 Thread Xavier Bestel
On Sat, 25 Aug 2007 21:26:09 +0200 (CEST), Guennadi Liakhovetski <[EMAIL PROTECTED]> wrote: > On Fri, 24 Aug 2007, Josh Boyer wrote: > >> On 8/24/07, Casey Dahlin <[EMAIL PROTECTED]> wrote: >> > Most USB keys nowadays have a small LED somewhere inside of them that >> > lights up when they are p

Re: [PATCH] ahci.c: fix ati sb600 sata IRQ_TF_ERR

2007-08-26 Thread Tejun Heo
Andreas John wrote: > 00:00.0 Host bridge [0600]: ATI Technologies Inc Unknown device [1002:7910] Okidoki, another ATI host bridge which can't forward MSI write upto the cpu. I'll blacklist it. Thanks. -- tejun - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the b

Re: [PATCH] ahci.c: fix ati sb600 sata IRQ_TF_ERR

2007-08-26 Thread Andreas John
Hm, it seems we are victim of a SATA NCQ HORKAGE: http://www.mail-archive.com/[EMAIL PROTECTED]/msg08936.html Disableing NCQ seems to work on the sb600. Samsung already ships a newer edition ("403" instead of "401") but there is no fix for the NCQ in the 401 edition. With Samsungs HUTIL you cann

Re: [PATCH] Prefix each line of multiline printk(KERN_ "foo\nbar") with KERN_

2007-08-26 Thread Mike Frysinger
On 8/26/07, Geert Uytterhoeven <[EMAIL PROTECTED]> wrote: > On Fri, 24 Aug 2007, Joe Perches wrote: > > Corrected printk calls with multiple output lines which > > did not correctly preface each line with KERN_ > > > > Fixed uses of some single lines with too many KERN_ > > > --- a/arch/arm/kernel/

PROBLEM: kernel BUG at kernel/workqueue.c:323!

2007-08-26 Thread fredoxygene
PROBLEM: kernel BUG at kernel/workqueue.c:323! Summary : Happened while i was transferring a huge amount of data on wifi (ipw3945). Computer is a Fujitsu/Siemens Si 1520 / T5500, running Unbuntu Feisty 7.04. Follows : - dmesg output with "kernel bug" - scripts/ver_linux output - others thinks lik

Re: [PATCH] Prefix each line of multiline printk(KERN_ "foo\nbar") with KERN_

2007-08-26 Thread Geert Uytterhoeven
On Sun, 26 Aug 2007, Mike Frysinger wrote: > On 8/26/07, Geert Uytterhoeven <[EMAIL PROTECTED]> wrote: > > On Fri, 24 Aug 2007, Joe Perches wrote: > > > Corrected printk calls with multiple output lines which > > > did not correctly preface each line with KERN_ > > > > > > Fixed uses of some single

[patch v2 1/1] md: Software Raid autodetect dev list not array

2007-08-26 Thread Michael J. Evans
From: Michael J. Evans <[EMAIL PROTECTED]> In current release kernels the md module (Software RAID) uses a static array (dev_t[128]) to store partition/device info temporarily for autostart. This patch replaces that static array with a list. Signed-off-by: Michael J. Evans <[EMAIL PROTECTED]> -

Re: "exception Emask: 0x42" errors with 2.6.22.x and SATA drives

2007-08-26 Thread Alistair John Strachan
On Friday 24 August 2007 20:20:02 Alan Cox wrote: > On Fri, 24 Aug 2007 14:39:10 +0100 > > "Dermot Bradley" <[EMAIL PROTECTED]> wrote: > > I've just built a new machine using a ASUS M2A-VM boardboard (ATI SB600 > > chipset), AMD X2 3800+ processor, and 2 Western Digital 2.5" 80Gb drives > > running

Re: [patch v2 1/1] md: Software Raid autodetect dev list not array

2007-08-26 Thread Michael Evans
Also, I forgot to mention, the reason I added the counters was mostly for debugging. However they're also as useful in the same way that listing the partitions when a new disk is added can be (in fact this augments that and the existing messages the autodetect routines provide). As for using auto

Re: [PATCH] Fix boot-time hang on G31/G33 PC

2007-08-26 Thread Matthew Wilcox
On Sat, Aug 25, 2007 at 10:24:57PM -0600, Robert Hancock wrote: > We've already got a patch for this in Greg's PCI tree, hopefully it > should go in for 2.6.24. I haven't seen it. I guess it wasn't sent to the PCI mailing list. Your patch had two or three problems with it; assuming we're talkin

Re: [patch v2 1/1] md: Software Raid autodetect dev list not array

2007-08-26 Thread Jan Engelhardt
On Aug 26 2007 04:51, Michael J. Evans wrote: > { >- if (dev_cnt >= 0 && dev_cnt < 127) >- detected_devices[dev_cnt++] = dev; >+ struct detected_devices_node *node_detected_dev; >+ node_detected_dev = kzalloc(sizeof(*node_detected_dev), GFP_KERNEL);\ What's the \ good

X freezes kernel during exit [Re: 2.6.23-rc3-mm1]

2007-08-26 Thread Jiri Slaby
Andrew Morton napsal(a): > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.23-rc3/2.6.23-rc3-mm1/ Hi, I've found a regression against 2.6.23-rc2-mm2. X server shutdown freezes (untainted) kernel hardly. Nothing on netconsole, X output follows: X Window System Version 1.3.0 Rel

Re: [PATCH] Fix boot-time hang on G31/G33 PC

2007-08-26 Thread Matthew Wilcox
On Sun, Aug 26, 2007 at 06:55:42AM -0600, Matthew Wilcox wrote: > On Sat, Aug 25, 2007 at 10:24:57PM -0600, Robert Hancock wrote: > > We've already got a patch for this in Greg's PCI tree, hopefully it > > should go in for 2.6.24. > > I haven't seen it. I guess it wasn't sent to the PCI mailing

[PATCH 1/1] remove BITS_TO_TYPE macro

2007-08-26 Thread Jiri Slaby
remove BITS_TO_TYPE macro I realized, that it is actually the same as DIV_ROUND_UP, use it instead. Signed-off-by: Jiri Slaby <[EMAIL PROTECTED]> --- commit c1b003cd9e5befbc3d915a9e37f46585127f9d1f tree d800859baebde3f7fcb001801d32c528c4240250 parent 5a28a23f3c53993aaf6e7ef6c392e5f4c20d4a3b auth

Re: [PATCH 09/30] mtd: Don't cast kmalloc() return value in drivers/mtd/maps/pmcmsp-flash.c

2007-08-26 Thread Denys Vlasenko
On Sunday 26 August 2007 01:23, Robert P. J. Day wrote: > On Sun, 26 Aug 2007, Jesper Juhl wrote: > > On 26/08/07, Robert P. J. Day <[EMAIL PROTECTED]> wrote: > > > i was thinking more along the lines of > > > > > > msp_parts[i] = kcalloc(pcnt, sizeof(struct mtd_partition), GFP_KERNEL); > > > > > >

Re: [PATCH 09/30] mtd: Don't cast kmalloc() return value in drivers/mtd/maps/pmcmsp-flash.c

2007-08-26 Thread Jan Engelhardt
On Aug 26 2007 15:28, Denys Vlasenko wrote: >> > >> > What exactely would using kcalloc() over kzalloc() here buy us? >> >> technically, nothing. > >The idea of calloc is that it can check for underflow in parameter. Actually, overflow. calloc(0x, 0x1000) => will return NULL malloc(0xFF

Slow, persistent memory leak in 2.6.20

2007-08-26 Thread Fred Tyler
I think I've come across a memory leak in 2.6.20. I've upgraded to the latest 2.6.20.17, but it didn't seem to help. A little background: I saw something exactly like this many months ago with a 2.6.12 kernel. However, by 2.6.16.x the leak had apparently been fixed, so I didn't pursue it. I just a

Re: [PATCH] debloat aic7xxx and aic79xx drivers by deinlining

2007-08-26 Thread Denys Vlasenko
On Saturday 25 August 2007 22:57, Arjan van de Ven wrote: > On Sat, 25 Aug 2007 22:57:07 +0100 > > Denys Vlasenko <[EMAIL PROTECTED]> wrote: > > Hi, > > > > Attached patch deinlines and moves big functions from .h to .c files > > in drivers/scsi/aic7xxx/*. I also had to add prototypes for > > ahc_l

Re: Slow, persistent memory leak in 2.6.20

2007-08-26 Thread Alexey Dobriyan
On Sun, Aug 26, 2007 at 10:39:11AM -0400, Fred Tyler wrote: > I think I've come across a memory leak in 2.6.20. I've upgraded to the > latest 2.6.20.17, but it didn't seem to help. > > A little background: I saw something exactly like this many months ago > with a 2.6.12 kernel. However, by 2.6.16

Re: Slow, persistent memory leak in 2.6.20

2007-08-26 Thread Fred Tyler
On 8/26/07, Fred Tyler <[EMAIL PROTECTED]> wrote: > I think I've come across a memory leak in 2.6.20. I've upgraded to the > latest 2.6.20.17, but it didn't seem to help. One more thing, I just found this message from July from someone seeing a similar problem: http://lkml.org/lkml/2007/7/27/

Re: Linux 2.6.20.17

2007-08-26 Thread Boris B. Zhmurov
Hello, Randy Dunlap. On 25.08.2007 22:01 you said the following: I'm getting build errors: x86_64 allyesconfig, allmodconfig: drivers/ata/pata_atiixp.c:286: error: 'PCI_DEVICE_ID_ATI_IXP700_IDE' undeclared here (not in a function) net/bluetooth/rfcomm/tty.c:275: error: 'struct rfcomm_dev' h

Re: Linux 2.6.20.17

2007-08-26 Thread Marcel Holtmann
Hi Boris, > > I'm getting build errors: > > > > x86_64 allyesconfig, allmodconfig: > > > > drivers/ata/pata_atiixp.c:286: error: 'PCI_DEVICE_ID_ATI_IXP700_IDE' > > undeclared here (not in a function) > > net/bluetooth/rfcomm/tty.c:275: error: 'struct rfcomm_dev' has no member > > named 'tty_de

Re: Slow, persistent memory leak in 2.6.20

2007-08-26 Thread Fred Tyler
On 8/26/07, Fred Tyler <[EMAIL PROTECTED]> wrote: > I think I've come across a memory leak in 2.6.20. I've upgraded to the > latest 2.6.20.17, but it didn't seem to help. Sorry to keep replying to my own post, but further investigation suggests that the memory losses may be occurring at times of h

Re: Slow, persistent memory leak in 2.6.20

2007-08-26 Thread Jan Engelhardt
On Aug 26 2007 11:51, Fred Tyler wrote: >On 8/26/07, Fred Tyler <[EMAIL PROTECTED]> wrote: >> I think I've come across a memory leak in 2.6.20. I've upgraded to the >> latest 2.6.20.17, but it didn't seem to help. > >Sorry to keep replying to my own post, but further investigation >suggests that t

Re: [patch v2 1/1] md: Software Raid autodetect dev list not array

2007-08-26 Thread Michael Evans
On 8/26/07, Jan Engelhardt <[EMAIL PROTECTED]> wrote: > > On Aug 26 2007 04:51, Michael J. Evans wrote: > > { > >- if (dev_cnt >= 0 && dev_cnt < 127) > >- detected_devices[dev_cnt++] = dev; > >+ struct detected_devices_node *node_detected_dev; > >+ node_detected_dev = kz

Re: [LV] [PATCH] avoid negative shifts in radix-tree.c

2007-08-26 Thread Jan-Benedict Glaw
On Sat, 2007-08-25 16:26:07 +0200, Peter Firefly Lund <[EMAIL PROTECTED]> wrote: > --- lib/radix-tree-old.c 2007-08-25 15:36:40.0 +0200 > +++ lib/radix-tree.c 2007-08-25 15:36:51.0 +0200 > @@ -980,12 +980,14 @@ radix_tree_node_ctor(void *node, struct > > static __init unsi

Re: [PATCH] atyfb: remove dead code

2007-08-26 Thread Ville Syrjälä
On Sun, Aug 26, 2007 at 11:12:37AM +0200, Olaf Hering wrote: > Remove dead code. > > Signed-off-by: Olaf Hering <[EMAIL PROTECTED]> > > --- > drivers/video/aty/atyfb_base.c |6 ++ > 1 file changed, 2 insertions(+), 4 deletions(-) > > --- a/drivers/video/aty/atyfb_base.c > +++ b/drivers/

Re: [PATCH 1/1] remove BITS_TO_TYPE macro

2007-08-26 Thread Robert P. J. Day
On Sun, 26 Aug 2007, Jiri Slaby wrote: > remove BITS_TO_TYPE macro > > I realized, that it is actually the same as DIV_ROUND_UP, use it instead. unless there are some patches in the queue, the whole area of rounding up and aligning is still sort of messy. kernel.h defines the following: ... #de

Re: Slow, persistent memory leak in 2.6.20

2007-08-26 Thread Fred Tyler
On 8/26/07, Fred Tyler <[EMAIL PROTECTED]> wrote: > On 8/26/07, Jan Engelhardt <[EMAIL PROTECTED]> wrote: > > > > On Aug 26 2007 11:51, Fred Tyler wrote: > > >On 8/26/07, Fred Tyler <[EMAIL PROTECTED]> wrote: > > >> I think I've come across a memory leak in 2.6.20. I've upgraded to the > > >> lates

Re: Slow, persistent memory leak in 2.6.20

2007-08-26 Thread Fred Tyler
On 8/26/07, Jan Engelhardt <[EMAIL PROTECTED]> wrote: > > On Aug 26 2007 11:51, Fred Tyler wrote: > >On 8/26/07, Fred Tyler <[EMAIL PROTECTED]> wrote: > >> I think I've come across a memory leak in 2.6.20. I've upgraded to the > >> latest 2.6.20.17, but it didn't seem to help. > > > >Sorry to keep

Re: CFS review

2007-08-26 Thread Al Boldi
Ingo Molnar wrote: > * Al Boldi <[EMAIL PROTECTED]> wrote: > > > ok. I think i might finally have found the bug causing this. Could > > > you try the fix below, does your webserver thread-startup test work > > > any better? > > > > It seems to help somewhat, but the problem is still visible. Even

Re: [PATCH] ahci.c: fix ati sb600 sata IRQ_TF_ERR

2007-08-26 Thread Ulrich
Hi, my system has an Nvidia "nForce 630A MCP" chipset. (Asrock ALiveNF7G-HDready mainboard) If it helps, I've uploaded the output of "lspci -vvxxx" to: http://datenparkplatz.de/DiesUndDas/lspci-vvxxx.output.txt. Best wishes, Ulrich - To unsubscribe from this list: send the line "unsubscribe

Re: Slow, persistent memory leak in 2.6.20

2007-08-26 Thread Jan Engelhardt
On Aug 26 2007 12:16, Fred Tyler wrote: >> Please rule out filesystem caches by issuing >> sync; >> echo 3 >/proc/sys/vm/drop_caches; > >(Sorry if this goes to the list twice... Mailer problems.) alright.. >Ok, I did this on a non-production machine that has only been up for a >fe

Re: CFS review

2007-08-26 Thread Ingo Molnar
* Al Boldi <[EMAIL PROTECTED]> wrote: > > and could you also check 20.4 on 2.6.22.5 perhaps, or very latest > > -git? (Peter has experienced smaller spikes with that.) > > Ok, I tried all your suggestions, but nothing works as smooth as > removing __update_curr. could you send the exact patch

Re: Slow, persistent memory leak in 2.6.20

2007-08-26 Thread Fred Tyler
On 8/26/07, Jan Engelhardt <[EMAIL PROTECTED]> wrote: > > On Aug 26 2007 12:16, Fred Tyler wrote: > >> Please rule out filesystem caches by issuing > >> sync; > >> echo 3 >/proc/sys/vm/drop_caches; > > > > >Ok, I did this on a non-production machine that has only been up for a > >fe

Re: [patch v2 1/1] md: Software Raid autodetect dev list not array

2007-08-26 Thread Randy Dunlap
On Sun, 26 Aug 2007 04:51:24 -0700 Michael J. Evans wrote: > From: Michael J. Evans <[EMAIL PROTECTED]> > > In current release kernels the md module (Software RAID) uses a static array > (dev_t[128]) to store partition/device info temporarily for autostart. > > This patch replaces that static a

Re: Slow, persistent memory leak in 2.6.20

2007-08-26 Thread Fred Tyler
On 8/26/07, Jan Engelhardt <[EMAIL PROTECTED]> wrote: > > On Aug 26 2007 12:16, Fred Tyler wrote: > >> Please rule out filesystem caches by issuing > >> sync; > >> echo 3 >/proc/sys/vm/drop_caches; > > > > > >So, I guess it worked? (I don't know what was supposed to happen, but > >m

Re: Slow, persistent memory leak in 2.6.20

2007-08-26 Thread Jan Engelhardt
On Aug 26 2007 12:49, Fred Tyler wrote: >> >> So I guess you are not seeing any memory leak at all, but just the regular >> caching? > >I certainly hope that is the case, but until I try it on the >production machine tonight I won't know for sure. Note that not all kernels have the 'drop_caches'

Re: Slow, persistent memory leak in 2.6.20

2007-08-26 Thread Denys Vlasenko
On Sunday 26 August 2007 17:16, Fred Tyler wrote: > So, I guess it worked? (I don't know what was supposed to happen, but > memory usage dropped significantly when I did this.) If you can reclaim "leaked" memory this way, it means that you found a bug where cached data is incorrectly kept in RAM i

Re: [uml-devel] [PATCH 3/6] UML - Userspace files should call libc directly

2007-08-26 Thread Blaisorblade
On venerdì 17 agosto 2007, Jeff Dike wrote: > A number of files that were changed in the recent removal of tt mode > are userspace files which call the os_* wrappers instead of calling > libc directly. A few other files were affected by this, through > os_print_error has no remaining callers, so

Re: 2.6.23-rc3-mm1 -- drivers/net/wireless/rt2x00mac.c:65: error: too many arguments to function ‘ieee80211_rts_get ’

2007-08-26 Thread Randy Dunlap
On Sun, 26 Aug 2007 12:54:33 -0400 Miles Lane wrote: > CC [M] drivers/net/wireless/rt2x00mac.o > drivers/net/wireless/rt2x00mac.c: In function 'rt2x00mac_tx_rts_cts': > drivers/net/wireless/rt2x00mac.c:61: warning: passing argument 2 of > 'ieee80211_ctstoself_get' makes pointer from integer wit

Re: [PATCH] Prefix each line of multiline printk(KERN_ "foo\nbar") with KERN_

2007-08-26 Thread Joe Perches
On Sun, 2007-08-26 at 10:30 +0200, Geert Uytterhoeven wrote: > On Fri, 24 Aug 2007, Joe Perches wrote: > > Corrected printk calls with multiple output lines which > > did not correctly preface each line with KERN_ > > Fixed uses of some single lines with too many KERN_ > > --- a/arch/arm/kernel/ec

Re: Slow, persistent memory leak in 2.6.20

2007-08-26 Thread Fred Tyler
On 8/26/07, Denys Vlasenko <[EMAIL PROTECTED]> wrote: > On Sunday 26 August 2007 17:16, Fred Tyler wrote: > > So, I guess it worked? (I don't know what was supposed to happen, but > > memory usage dropped significantly when I did this.) > > If you can reclaim "leaked" memory this way, it means that

Re: Slow, persistent memory leak in 2.6.20

2007-08-26 Thread Jan Engelhardt
On Aug 26 2007 12:58, Fred Tyler wrote: >> So I guess you are not seeing any memory leak at all, but just the regular >> caching? > >Also, how can you explain the differences between the graphs of >long-term memory usage? This first graph is from a server running >2.6.16 that never has memory prob

Re: Slow, persistent memory leak in 2.6.20

2007-08-26 Thread Jan Engelhardt
On Aug 26 2007 13:41, Fred Tyler wrote: > >I'm going to run drop_caches on the 2.6.20 machines tonight and see >what happens... Better add "Slab" to your graphs, that looks like it's the amount of non-cache kernel memory used. Jan -- - To unsubscribe from this list: send the line "unsub

Re: [parisc-linux] errno codes intertwined

2007-08-26 Thread Mike Frysinger
On Friday 24 August 2007, Jan Engelhardt wrote: > So I'm just asking: can I rely on the same errno across Linuxes? nope > And should the errno values be fixed up? i guess that depends on whether you think it's even broken :) no spec requires any errno symbol have an exact numeric value ... i'm

[PATCH] IOC3: Program UART predividers.

2007-08-26 Thread Ralf Baechle
The IOC3 driver's UART detection bits used to rely on the the firmware setting the UART pre-divider in a way that's apropriate for the 8250 driver which doesn't currently program this register. This happens to work for the console but not rarely for additional ports. While at it, also program the

Re: [PATCH] Fix boot-time hang on G31/G33 PC

2007-08-26 Thread Robert Hancock
Matthew Wilcox wrote: On Sun, Aug 26, 2007 at 06:55:42AM -0600, Matthew Wilcox wrote: On Sat, Aug 25, 2007 at 10:24:57PM -0600, Robert Hancock wrote: We've already got a patch for this in Greg's PCI tree, hopefully it should go in for 2.6.24. I haven't seen it. I guess it wasn't sent to the P

Re: 2.6.23-rc3-mm1 -- drivers/ net/wireless/zd1211rw-mac80211/zd_mac.c:822: erro r: ‘IEEE80211_ERP_CHANGE_PREAMBLE ’ undeclared (first use in this function)

2007-08-26 Thread Ulrich Kunitz
Miles Lane wrote: > CC [M] drivers/net/wireless/zd1211rw-mac80211/zd_mac.o > drivers/net/wireless/zd1211rw-mac80211/zd_mac.c: In function > 'zd_op_erp_ie_changed': > drivers/net/wireless/zd1211rw-mac80211/zd_mac.c:822: error: > 'IEEE80211_ERP_CHANGE_PREAMBLE' undeclared (first use in this > fun

Re: [parisc-linux] errno codes intertwined

2007-08-26 Thread Jan Engelhardt
On Aug 26 2007 13:45, Mike Frysinger wrote: >> can I rely on the same errno across Linuxes? > >nope > >> And should the errno values be fixed up? > >i guess that depends on whether you think it's even broken :) > >no spec requires any errno symbol have an exact numeric value ... i'm guessing >you

PROBLEM: Suspend corrupts bios clock since 2.6.21

2007-08-26 Thread Andreas Steffan
Hallo everybody, I am running fedora core 7 on my Dell latitude D810 notebook (BIOS rev A05). Since 2.6.21 I found that suspending (to disk and to ram) corrupts the bios clock most of the time (not always). The corruption is happening during suspend. When I enter the system bios right after I swi

Re: [Linux-fbdev-devel] [PATCH] fbdev: find mode with highest refresh rate in fb_find_mode()

2007-08-26 Thread Michal Januszewski
On Wed, Jul 18, 2007 at 11:18:15PM +0800, Antonino A. Daplas wrote: > > > Currently if the refresh rate is not specified fb_find_mode() returns > > > the first known video mode with the requested resoluion, which provides > > > no guarantees wrt the refresh rate. Change this so that the mode with

Re: [patch v2 1/1] md: Software Raid autodetect dev list not array

2007-08-26 Thread Michael Evans
On 8/26/07, Randy Dunlap <[EMAIL PROTECTED]> wrote: > On Sun, 26 Aug 2007 04:51:24 -0700 Michael J. Evans wrote: > > > From: Michael J. Evans <[EMAIL PROTECTED]> > > > > Is there any way to tell the user what device (or partition?) is > bein skipped? This printk should just print (confirm) that >

Re: PROBLEM: Suspend corrupts bios clock since 2.6.21

2007-08-26 Thread Robert Hancock
Andreas Steffan wrote: Hallo everybody, I am running fedora core 7 on my Dell latitude D810 notebook (BIOS rev A05). Since 2.6.21 I found that suspending (to disk and to ram) corrupts the bios clock most of the time (not always). The corruption is happening during suspend. When I enter the syst

Re: RFC: issues concerning the next NAPI interface

2007-08-26 Thread James Chapman
David Miller wrote: From: James Chapman <[EMAIL PROTECTED]> Date: Fri, 24 Aug 2007 18:16:45 +0100 Does hardware interrupt mitigation really interact well with NAPI? It interacts quite excellently. If NAPI disables interrupts and keeps them disabled while there are more packets arriving or

Re: [patch 09/14] Convert from class_device to device for SPI

2007-08-26 Thread David Brownell
On Thursday 23 August 2007, Kay Sievers wrote: > On Thu, 2007-08-23 at 14:03 -0700, David Brownell wrote: > > On Tuesday 21 August 2007, Tony Jones wrote: > > > I believe this is the necessary documentation changes. > > > > Thanks. I have an update, plus updates for the mmc_spi > > driver (now in

Problems with disc-performance and libata

2007-08-26 Thread Oliver Janscheidt
Hi, I'm using a Lenovo Thinkpad with TOSHIBA MK1234GS HD and MATSHITA DVD-RAM UJ-850 on 82801GBM/GHM (ICH7 Family) Serial ATA Storage Controller IDE. The Kernel is a 2.6.22.1 from Kernel.org (with 2.6.23-rc1- and hdaps-queue-freezing-patch). sudo hdparm -t /dev/scd0 gives Timing buffered disk

Re: [patch 09/14] Convert from class_device to device for SPI

2007-08-26 Thread Kay Sievers
On Sun, 2007-08-26 at 12:54 -0700, David Brownell wrote: > On Thursday 23 August 2007, Kay Sievers wrote: > > On Thu, 2007-08-23 at 14:03 -0700, David Brownell wrote: > > > On Tuesday 21 August 2007, Tony Jones wrote: > > > > I believe this is the necessary documentation changes. > > > > > > Thank

oracleasm driver into mainline?

2007-08-26 Thread Bjoern Boschman
Hi, I just wanted to ask if there might be a possibility that the oracleasm kernel driver could find its way into the mainline kernel? The code is running and being tested since quite some time and the author from oracle would be willingly to act as its maintainer. See also: http://oss.oracle

Configuring previously loaded module

2007-08-26 Thread Thiago Ramos dos Santos
Hi. I have 2 devices which use the usbserial module: a CDMA modem and a Palm PDA (to be more especific, the PDA uses the visor module, which uses the usbserial). When I plug the PDA to the computer, the visor module gets automatically loaded by the kernel, and so is the usbserial module. When the

Re: [PATCH 09/30] mtd: Don't cast kmalloc() return value in drivers/mtd/maps/pmcmsp-flash.c

2007-08-26 Thread Jesper Juhl
On 26/08/07, Jan Engelhardt <[EMAIL PROTECTED]> wrote: > > On Aug 26 2007 15:28, Denys Vlasenko wrote: > >> > > >> > What exactely would using kcalloc() over kzalloc() here buy us? > >> > >> technically, nothing. > > > >The idea of calloc is that it can check for underflow in parameter. > > Actuall

Re: Configuring previously loaded module

2007-08-26 Thread Kay Sievers
On 8/27/07, Thiago Ramos dos Santos <[EMAIL PROTECTED]> wrote: > I have 2 devices which use the usbserial module: a CDMA modem and a > Palm PDA (to be more especific, the PDA uses the visor module, which > uses the usbserial). > When I plug the PDA to the computer, the visor module gets > automatic

Re: Slow, persistent memory leak in 2.6.20

2007-08-26 Thread Jesper Juhl
On 26/08/07, Fred Tyler <[EMAIL PROTECTED]> wrote: > I think I've come across a memory leak in 2.6.20. I've upgraded to the > latest 2.6.20.17, but it didn't seem to help. > Have you tried the latest 2.6.22.5 ? A lot of memory leaks have been fixed between 2.6.20 and the latest stable kernel - coul

Re: Compiling 2.6.22.5 on Debian Etch (internal compiler error)

2007-08-26 Thread Jesper Juhl
On 27/08/07, Renato S. Yamane <[EMAIL PROTECTED]> wrote: > Can someone help me with this? > > $ make xconfig > HOSTCC scripts/basic/fixdep > scripts/basic/fixdep.c: In function 'parse_dep_file': > scripts/basic/fixdep.c:399: internal compiler error: segmentation fault > Please submit a full bug re

Re: PROBLEM: Suspend corrupts bios clock since 2.6.21

2007-08-26 Thread Rafael J. Wysocki
On Sunday, 26 August 2007 21:38, Robert Hancock wrote: > Andreas Steffan wrote: > > Hallo everybody, > > > > I am running fedora core 7 on my Dell latitude D810 notebook (BIOS > > rev A05). > > > > Since 2.6.21 I found that suspending (to disk and to ram) corrupts > > the bios clock most of the t

Re: [Linux-fbdev-devel] [PATCH] fbdev: find mode with highest refresh rate in fb_find_mode()

2007-08-26 Thread Antonino A. Daplas
On Sun, 2007-08-26 at 21:09 +0200, Michal Januszewski wrote: > On Wed, Jul 18, 2007 at 11:18:15PM +0800, Antonino A. Daplas wrote: > > How about modifying it so that it looks for a mode with the highest > refresh rate if either a non-generic modedb is used or > info.monspecs.{vfmin,vfmax,hfmin,hfm

Re: Compiling 2.6.22.5 on Debian Etch (internal compiler error)

2007-08-26 Thread Renato S. Yamane
Jesper Juhl escreveu: On 27/08/07, Renato S. Yamane <[EMAIL PROTECTED]> wrote: Can someone help me with this? $ make xconfig HOSTCC scripts/basic/fixdep scripts/basic/fixdep.c: In function 'parse_dep_file': scripts/basic/fixdep.c:399: internal compiler error: segmentation fault Please submit a

Re: [2.6.22] circular lock detected

2007-08-26 Thread Michal Piotrowski
Hi, [Adding fsdevel and linux-ext4 to CC] On 24/08/07, Folkert van Heusden <[EMAIL PROTECTED]> wrote: > Hi, > > 2.6.22 kernel with hyperthreading enabled only ext3 filesystems (2). > > [ 346.314640] === > [ 346.314758] [ INFO: possible circula

Re: Stardom SATA HSM violation

2007-08-26 Thread Michal Piotrowski
Hi, [Adding linux-ide to CC] On 25/08/07, Bryan Woods <[EMAIL PROTECTED]> wrote: > Hi KML > > I am installing gentoo 2007.0 (kernel 2.6.19) on a dual AMD Opteron server > (total of 4 cores). The hard disk is a Stardom 2611-2S-S1 device: actually > two 250GB drives in a RAID0 config managed by t

Re: [PATCH 1/2] sysctl: Properly register the irda binary sysctl numbers.

2007-08-26 Thread Samuel Ortiz
Hi Eric, On Thu, Aug 23, 2007 at 09:53:53PM -0600, Eric W. Biederman wrote: > > Grumble. These numbers should have been in sysctl.h from the > beginning if we ever expected anyone to use them. Oh well put > them there now so we can find them and make maintenance easier. Thanks for that, I shoul

Re: Sleep problems with kernels >= 2.6.21 on powerpc

2007-08-26 Thread Michal Piotrowski
Hi [Adding STR wizards to CC] On 26/08/07, Rogério Brito <[EMAIL PROTECTED]> wrote: > Hi. > > Unfortunately, it seems that kernels later than 2.6.21 have problems > letting my powerpc iBook (G3 processor) going to sleep (suspend to > ram). > > The userland that I am using is a Debian testing (len

Re: libata not working for sis5533

2007-08-26 Thread Michal Piotrowski
Hi, [Adding IDE wizards to CC] On 26/08/07, Patrizio Bassi <[EMAIL PROTECTED]> wrote: > My sis630 chipset shipped with Asus A1000 > doesn't work properly with suspend with ide drivers > (http://bugzilla.kernel.org/show_bug.cgi?id=7077) > > i tried to switch to libata but i cannot boot. > I've ena

Re: PROBLEM: kernel BUG at kernel/workqueue.c:323!

2007-08-26 Thread Michal Piotrowski
Hi, On 26/08/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > PROBLEM: kernel BUG at kernel/workqueue.c:323! > > Summary : > Happened while i was transferring a huge amount of data on wifi (ipw3945). > Computer is a Fujitsu/Siemens Si 1520 / T5500, running Unbuntu Feisty 7.04. > > Follows : > -

Re: [2.6.22.5] irq X: nobody cared but X is successfully used by libata

2007-08-26 Thread Michal Piotrowski
Hi, [Adding linux-ide to CC] On 26/08/07, Paul Rolland <[EMAIL PROTECTED]> wrote: > Hello, > > My machine (an ASUS P5W-DH-Deluxe, Core2, 4Go RAM, 3 SATA and 2IDE) is > reporting a : > irq 23: nobody cared (try booting with the "irqpoll" option) > together with a Call Trace, but : > - irqpoll is

Re: [PATCH] [arch/i386/boot]: for better readability in clearing BSS

2007-08-26 Thread H. Peter Anvin
Denis Cheng wrote: > > but their label names in .bss section are different, > when reading these files, they are apt to confuse, > > this patch kept them in the same style of clearing. > Bullsh*t. > diff --git a/arch/i386/boot/compressed/head.S > b/arch/i386/boot/compressed/head.S > index f35

Re: [PATCH] [arch/i386/boot]: for better readability in clearing BSS

2007-08-26 Thread H. Peter Anvin
Denis Cheng wrote: > > but their label names in .bss section are different, > when reading these files, they are apt to confuse, > > this patch kept them in the same style of clearing. > Bullsh*t. > diff --git a/arch/i386/boot/compressed/head.S > b/arch/i386/boot/compressed/head.S > index f35

Re: Problems with disc-performance and libata

2007-08-26 Thread Michal Piotrowski
Hi Oliver, [Adding linux-ide to CC] On 26/08/07, Oliver Janscheidt <[EMAIL PROTECTED]> wrote: > Hi, > > I'm using a Lenovo Thinkpad with TOSHIBA MK1234GS HD and MATSHITA > DVD-RAM UJ-850 on 82801GBM/GHM (ICH7 Family) Serial ATA Storage > Controller IDE. The Kernel is a 2.6.22.1 from Kernel.org (w

Who wants to maintain KR list for stable releases? (was Re: nmi_watchdog=2 regression in 2.6.21)

2007-08-26 Thread Michal Piotrowski
Daniel Walker pisze: [snip] > Have you considered maintaining all the lists in Bugzilla? Yes, I have considered it. Bugzilla sucks when it comes to tracking things. There is a regression field, but there are no difference between 2.6.22 and 2.6.23 regression. Most people are reporting bugs throu

[PATCH] Document the fact that smsc-ircc2 will not use PNP by default

2007-08-26 Thread Jonathan Bastien-Filiatrault
This avoids user confusion when they see that their device is not detected. --- drivers/net/irda/smsc-ircc2.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/net/irda/smsc-ircc2.c b/drivers/net/irda/smsc-ircc2.c index 36ab983..a8a0b2c 100644 --- a/drivers/net/ird

[RFC][PATCH 0/2 -mm] kexec based hibernation

2007-08-26 Thread Huang, Ying
Kexec base hibernation has some potential advantages over uswsusp and TuxOnIce (suspend2). Some most obvious advantages are: 1. The hibernation image size can exceed half of memory size easily. 2. The hibernation image can be written to and read from almost anywhere, such as USB disk, NFS. 3.

[RFC][PATCH 1/2 -mm] kexec based hibernation: kexec jump

2007-08-26 Thread Huang, Ying
ChangeLog 2007/8/25 1. The reboot command LINUX_REBOOT_CMD_KJUMP is splited into to two reboot command to reflect the different function. 2. Document is added for added kernel parameters. 3. /sys/kernel/kexec_jump_buf_pfn is made writable, it is used for memory image restoring. 4. Console

[RFC][PATCH 2/2 -mm] kexec based hibernation: kexec restore

2007-08-26 Thread Huang, Ying
This patch adds writing support for /dev/oldmem. This is used to restore the memory contents of hibernated system. Signed-off-by: Huang Ying <[EMAIL PROTECTED]> --- arch/i386/kernel/crash_dump.c | 27 +++ drivers/char/mem.c| 32 +++

Re: [PATCH 2/2] sysctl: For irda update sysctl_checks list of binary paths.

2007-08-26 Thread Samuel Ortiz
On Thu, Aug 23, 2007 at 09:55:15PM -0600, Eric W. Biederman wrote: > > It turns out that the net/irda code didn't register any of > it's binary paths in the global sysctl.h header file so > I missed them completely when making an authoritative list > of binary sysctl paths in the kernel. So add t

RE: [linux-pm] [RFC][PATCH 0/2 -mm] kexec based hibernation

2007-08-26 Thread Hu, Fenghua
One quick question is, can it improve hiberation/wakeup time? Best regards Hu, Fenghua -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Huang, Ying Sent: 2007年8月27日 9:14 To: Eric W. Biederman; Pavel Machek; [EMAIL PROTECTED]; Andrew Morton; Jeremy Maitin

Re: Linux 2.6.20.17

2007-08-26 Thread Willy Tarreau
Hi Marcel, On Sun, Aug 26, 2007 at 05:48:54PM +0200, Marcel Holtmann wrote: > Hi Boris, > > > > I'm getting build errors: > > > > > > x86_64 allyesconfig, allmodconfig: > > > > > > drivers/ata/pata_atiixp.c:286: error: 'PCI_DEVICE_ID_ATI_IXP700_IDE' > > > undeclared here (not in a function) >

Re: [PATCH] ahci.c: fix ati sb600 sata IRQ_TF_ERR

2007-08-26 Thread Tejun Heo
Tejun Heo wrote: > Andreas John wrote: >> 00:00.0 Host bridge [0600]: ATI Technologies Inc Unknown device [1002:7910] > > Okidoki, another ATI host bridge which can't forward MSI write upto the > cpu. I'll blacklist it. Thanks. Scrap that. I got confused. You weren't using MSI. In the log, y

Re: RFC: issues concerning the next NAPI interface

2007-08-26 Thread David Miller
From: James Chapman <[EMAIL PROTECTED]> Date: Sun, 26 Aug 2007 20:36:20 +0100 > David Miller wrote: > > From: James Chapman <[EMAIL PROTECTED]> > > Date: Fri, 24 Aug 2007 18:16:45 +0100 > > > >> Does hardware interrupt mitigation really interact well with NAPI? > > > > It interacts quite excelle

Re: [PATCH] sigqueue_free: fix the race with collect_signal()

2007-08-26 Thread taoyue
Oleg Nesterov wrote: On 08/24, Sukadev Bhattiprolu wrote: Oleg Nesterov wrote: On 08/24, taoyue wrote: Oleg Nesterov wrote: collect_signal: sigqueue_free: list_del_init(&first->list); spin_lock

Re: [PATCH] debloat aic7xxx and aic79xx drivers by deinlining

2007-08-26 Thread Adrian Bunk
On Sun, Aug 26, 2007 at 04:21:30PM +0100, Denys Vlasenko wrote: > On Saturday 25 August 2007 22:57, Arjan van de Ven wrote: >... > > Did you run the find static > > script or are you waiting for Adrian to do that ;-) > > $ find -name '*find*static*' > $ make namespacecheck > vda cu Adrian --

RE: [linux-pm] [RFC][PATCH 0/2 -mm] kexec based hibernation

2007-08-26 Thread Huang, Ying
On Mon, 2007-08-27 at 09:28 +0800, Hu, Fenghua wrote: > One quick question is, can it improve hiberation/wakeup time? In general, for kexec based hibernation, what increases hibernation/wakeup time: - One extra Linux boot is needed to hibernate and wakeup. What decreases hibernation/wakeup time

Re: [patch v2 1/1] md: Software Raid autodetect dev list not array

2007-08-26 Thread Kyle Moffett
On Aug 26, 2007, at 08:20:45, Michael Evans wrote: Also, I forgot to mention, the reason I added the counters was mostly for debugging. However they're also as useful in the same way that listing the partitions when a new disk is added can be (in fact this augments that and the existing mes

Re: CFS review

2007-08-26 Thread Al Boldi
Ingo Molnar wrote: > * Al Boldi <[EMAIL PROTECTED]> wrote: > > > and could you also check 20.4 on 2.6.22.5 perhaps, or very latest > > > -git? (Peter has experienced smaller spikes with that.) > > > > Ok, I tried all your suggestions, but nothing works as smooth as > > removing __update_curr. > > c

  1   2   >