Hi Jean, OK, with your patch (http://lkml.org/lkml/diff/2007/2/20/310/1) applied, it works as advertised :-) However, your platform-io-region patch doesn't apply cleanly: juno:/usr/src/linux-2.6.21-rc1# patch -p1 < ../jean.patch patching file drivers/hwmon/f71805f.c Hunk #1 succeeded at 35 with fuzz 2. missing header for unified diff at line 11 of patch can't find file to patch at input line 11 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- | | static struct platform_device *pdev; -------------------------- File to patch: ...juerg On 2/22/07, Jean Delvare <khali at linux-fr.org> wrote: > Hi Juerg, > > On Thu, 22 Feb 2007 08:14:53 -0800, Juerg Haefliger wrote: > > I get > > Trying to free nonexistent resource <0000000000006000-000000000000607f> > > when unloading the module. > > > > After module load, the resources are properly allocated (cat /proc/ioports): > > 6000-607f : vt1211 > > 6000-607f : vt1211 > > > > I ran into this very same problem in the past where I get this warning > > after releasing a previously requested io region. Never figured out > > what's going on... > > See this thread on LKML: > http://marc.theaimsgroup.com/?l=linux-kernel&m=117183073419531&w=2 > > I posted a proposed fix, Dmitry Torokhov doesn't appear to like it. I'm > waiting for Greg KH's arbitration. > > You can get my patch here if you want to give it a try: > http://lkml.org/lkml/diff/2007/2/20/310/1 > > Thanks, > -- > Jean Delvare >