Re: [PATCH] Allocate pnp resources dynamically via krealloc - working version - Addon debug patch 4

2008-01-29 Thread Thomas Renninger
On Mon, 2008-01-28 at 22:12 +0100, Rene Herman wrote: > On 28-01-08 20:12, Thomas Renninger wrote: > > > This was more a step backward, hopefully this one (on top), gets the > > area bugfree? > > I'm afraid not. Next oops in pnp_check_port(). The attached lets it get past > that point but

Re: [PATCH] Allocate pnp resources dynamically via krealloc - working version - Addon debug patch 4

2008-01-29 Thread Thomas Renninger
On Mon, 2008-01-28 at 22:12 +0100, Rene Herman wrote: On 28-01-08 20:12, Thomas Renninger wrote: This was more a step backward, hopefully this one (on top), gets the area bugfree? I'm afraid not. Next oops in pnp_check_port(). The attached lets it get past that point but _then_ things

Re: [PATCH] Allocate pnp resources dynamically via krealloc - working version - Addon patch 3

2008-01-28 Thread Rene Herman
On 28-01-08 20:12, Thomas Renninger wrote: This was more a step backward, hopefully this one (on top), gets the area bugfree? I'm afraid not. Next oops in pnp_check_port(). The attached lets it get past that point but _then_ things fall apart a little bit further on again which seems to

Re: [PATCH] Allocate pnp resources dynamically via krealloc - working version - Addon patch 3

2008-01-28 Thread Thomas Renninger
On Mon, 2008-01-28 at 19:07 +0100, Rene Herman wrote: > On 28-01-08 17:04, Thomas Renninger wrote: > > > Can you try these two "on top" patches pls. > > Thought I could, but my machine begs to differ... > > === > pnp: the driver 'cs4236_isapnp' has been registered > cs4236_isapnp 01:01.00:

Re: [PATCH] Allocate pnp resources dynamically via krealloc - working version - Addon patch 1

2008-01-28 Thread Rene Herman
On 28-01-08 17:04, Thomas Renninger wrote: Can you try these two "on top" patches pls. Thought I could, but my machine begs to differ... === pnp: the driver 'cs4236_isapnp' has been registered cs4236_isapnp 01:01.00: driver attached cs4236_isapnp 01:01.02: driver attached cs4236_isapnp

Re: [PATCH] Allocate pnp resources dynamically via krealloc - working version - Addon patch 2

2008-01-28 Thread Thomas Renninger
On Mon, 2008-01-28 at 16:00 +0100, Rene Herman wrote: > On 28-01-08 15:21, Thomas Renninger wrote: > > > I think I know what is going on. > > While pnpbios and pnpacpi theoretically do not have limits, isapnp has > > spec restrictions (AFAIK, I have not read this up, but taken over from > >

Re: [PATCH] Allocate pnp resources dynamically via krealloc - working version - Addon patch 1

2008-01-28 Thread Thomas Renninger
On Mon, 2008-01-28 at 16:00 +0100, Rene Herman wrote: > On 28-01-08 15:21, Thomas Renninger wrote: > > > I think I know what is going on. > > While pnpbios and pnpacpi theoretically do not have limits, isapnp has > > spec restrictions (AFAIK, I have not read this up, but taken over from > >

Re: [PATCH] Allocate pnp resources dynamically via krealloc - working version

2008-01-28 Thread Rene Herman
On 28-01-08 15:21, Thomas Renninger wrote: I think I know what is going on. While pnpbios and pnpacpi theoretically do not have limits, isapnp has spec restrictions (AFAIK, I have not read this up, but taken over from previous implementation...). Therefore in isapnp I wanted to stay with:

Re: [PATCH] Allocate pnp resources dynamically via krealloc - working version

2008-01-28 Thread Thomas Renninger
On Sun, 2008-01-27 at 20:19 +0100, Rene Herman wrote: > On 23-01-08 18:38, Thomas Renninger wrote: > > > isapnp is totally untested. Also the sysfs is rather untested. > > If nobody beats me to it I'll debug this myself later on, but as a quick > heads up: I think I know what is going on. While

Re: [PATCH] Allocate pnp resources dynamically via krealloc - working version - Addon patch 1

2008-01-28 Thread Rene Herman
On 28-01-08 17:04, Thomas Renninger wrote: Can you try these two on top patches pls. Thought I could, but my machine begs to differ... === pnp: the driver 'cs4236_isapnp' has been registered cs4236_isapnp 01:01.00: driver attached cs4236_isapnp 01:01.02: driver attached cs4236_isapnp

Re: [PATCH] Allocate pnp resources dynamically via krealloc - working version - Addon patch 3

2008-01-28 Thread Rene Herman
On 28-01-08 20:12, Thomas Renninger wrote: This was more a step backward, hopefully this one (on top), gets the area bugfree? I'm afraid not. Next oops in pnp_check_port(). The attached lets it get past that point but _then_ things fall apart a little bit further on again which seems to

Re: [PATCH] Allocate pnp resources dynamically via krealloc - working version - Addon patch 1

2008-01-28 Thread Thomas Renninger
On Mon, 2008-01-28 at 16:00 +0100, Rene Herman wrote: On 28-01-08 15:21, Thomas Renninger wrote: I think I know what is going on. While pnpbios and pnpacpi theoretically do not have limits, isapnp has spec restrictions (AFAIK, I have not read this up, but taken over from previous

Re: [PATCH] Allocate pnp resources dynamically via krealloc - working version - Addon patch 3

2008-01-28 Thread Thomas Renninger
On Mon, 2008-01-28 at 19:07 +0100, Rene Herman wrote: On 28-01-08 17:04, Thomas Renninger wrote: Can you try these two on top patches pls. Thought I could, but my machine begs to differ... === pnp: the driver 'cs4236_isapnp' has been registered cs4236_isapnp 01:01.00: driver attached

Re: [PATCH] Allocate pnp resources dynamically via krealloc - working version

2008-01-28 Thread Thomas Renninger
On Sun, 2008-01-27 at 20:19 +0100, Rene Herman wrote: On 23-01-08 18:38, Thomas Renninger wrote: isapnp is totally untested. Also the sysfs is rather untested. If nobody beats me to it I'll debug this myself later on, but as a quick heads up: I think I know what is going on. While

Re: [PATCH] Allocate pnp resources dynamically via krealloc - working version - Addon patch 2

2008-01-28 Thread Thomas Renninger
On Mon, 2008-01-28 at 16:00 +0100, Rene Herman wrote: On 28-01-08 15:21, Thomas Renninger wrote: I think I know what is going on. While pnpbios and pnpacpi theoretically do not have limits, isapnp has spec restrictions (AFAIK, I have not read this up, but taken over from previous

Re: [PATCH] Allocate pnp resources dynamically via krealloc - working version

2008-01-28 Thread Rene Herman
On 28-01-08 15:21, Thomas Renninger wrote: I think I know what is going on. While pnpbios and pnpacpi theoretically do not have limits, isapnp has spec restrictions (AFAIK, I have not read this up, but taken over from previous implementation...). Therefore in isapnp I wanted to stay with:

Re: [PATCH] Allocate pnp resources dynamically via krealloc - working version

2008-01-27 Thread Pekka Enberg
Hi Thomas, On Sun, 2008-01-20 at 02:23 +0200, Pekka Enberg wrote: > > When krealloc() returns NULL, there wasn't enough memory to fit the > > new size but the original memory region remains unchanged. On Jan 23, 2008 7:38 PM, Thomas Renninger <[EMAIL PROTECTED]> wrote: > Thanks Pekka, this one

Re: [PATCH] Allocate pnp resources dynamically via krealloc - working version

2008-01-27 Thread Rene Herman
On 23-01-08 18:38, Thomas Renninger wrote: isapnp is totally untested. Also the sysfs is rather untested. If nobody beats me to it I'll debug this myself later on, but as a quick heads up: pnp: the driver 'cs4236_isapnp' has been registered cs4236_isapnp 01:01.00: driver attached

Re: [PATCH] Allocate pnp resources dynamically via krealloc - working version

2008-01-27 Thread Rene Herman
On 23-01-08 18:38, Thomas Renninger wrote: isapnp is totally untested. Also the sysfs is rather untested. If nobody beats me to it I'll debug this myself later on, but as a quick heads up: pnp: the driver 'cs4236_isapnp' has been registered cs4236_isapnp 01:01.00: driver attached

Re: [PATCH] Allocate pnp resources dynamically via krealloc - working version

2008-01-27 Thread Pekka Enberg
Hi Thomas, On Sun, 2008-01-20 at 02:23 +0200, Pekka Enberg wrote: When krealloc() returns NULL, there wasn't enough memory to fit the new size but the original memory region remains unchanged. On Jan 23, 2008 7:38 PM, Thomas Renninger [EMAIL PROTECTED] wrote: Thanks Pekka, this one should

Re: [PATCH] Allocate pnp resources dynamically via krealloc - working version

2008-01-23 Thread Thomas Renninger
On Sun, 2008-01-20 at 02:23 +0200, Pekka Enberg wrote: > Hi Thomas, ... > When krealloc() returns NULL, there wasn't enough memory to fit the > new size but the original memory region remains unchanged. ... Thanks Pekka, this one should be better now: The patch is against latest 2.6.24-rc8 not

Re: [PATCH] Allocate pnp resources dynamically via krealloc - working version

2008-01-23 Thread Thomas Renninger
On Sun, 2008-01-20 at 02:23 +0200, Pekka Enberg wrote: Hi Thomas, ... When krealloc() returns NULL, there wasn't enough memory to fit the new size but the original memory region remains unchanged. ... Thanks Pekka, this one should be better now: The patch is against latest 2.6.24-rc8 not -mm