Prev: Lockup inside of stop_machine() during modprobe aes (was Re: Another AR5008 hang)
Next: Irish 2010 Grant Winner
From: rdunlap on 11 Apr 2010 21:30 On Sun, April 11, 2010 3:24 pm, Thomas Gleixner wrote: > On Sun, 11 Apr 2010, Pavel Machek wrote: > > >> On Sun 2010-04-11 20:58:58, Geert Uytterhoeven wrote: >> >>> On Mon, Apr 12, 2010 at 20:51, Alexey Dobriyan <adobriyan(a)gmail.com> >>> wrote: >>> >>>> On Sun, Apr 11, 2010 at 06:47:01PM +0200, Pavel Machek wrote: >>>> >>>>> @@ -99,6 +98,11 @@ config LOCALVERSION_AUTO >>>>> � � � � appended after any matching localversion* files, and after >>>>> the value � � � � set in CONFIG_LOCALVERSION. >>>>> >>>>> >>>>> + � � � Unfortunately, such finegrained versioning will mean that >>>>> you will + � � � not be able to use modules for development; even >>>>> "make modules" >>>>> + � � � will change module versions, making recompiled modules >>>>> impossible + � � � to insert into old kernel. >>>>> >>>> >>>> That's conditional BS. >>>> Turn off CONFIG_MODVERSIONS already. >>>> >>> >>> Yeah, I disabled it ages ago. Even then (before git, probably even >>> before bitkeeper) I had hard times inserting modules... >>> >> >> I _had_ it off >> >> >> # CONFIG_MODVERSIONS is not set >> >> >> It seems some checking survives CONFIG_MODVERSIONS unset and that >> checking is strict enough to refuse module load after one "make modules" >> with LOCALVERSION_AUTO on... > > So instead of fixing the CONFIG_MODVERSIONS=n case you go the easy way > of killing LOCALVERSION_AUTO ? Brilliant. so it works for you? how so, please? > Thanks, (saving bits) ~Randy -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
From: rdunlap on 11 Apr 2010 23:00 On Sun, April 11, 2010 3:24 pm, Thomas Gleixner wrote: > On Sun, 11 Apr 2010, Pavel Machek wrote: > > >> On Sun 2010-04-11 20:58:58, Geert Uytterhoeven wrote: >> >>> On Mon, Apr 12, 2010 at 20:51, Alexey Dobriyan <adobriyan(a)gmail.com> >>> wrote: >>> >>>> On Sun, Apr 11, 2010 at 06:47:01PM +0200, Pavel Machek wrote: >>>> >>>>> @@ -99,6 +98,11 @@ config LOCALVERSION_AUTO >>>>> � � � � appended after any matching localversion* files, and after >>>>> the value � � � � set in CONFIG_LOCALVERSION. >>>>> >>>>> >>>>> + � � � Unfortunately, such finegrained versioning will mean that >>>>> you will + � � � not be able to use modules for development; even >>>>> "make modules" >>>>> + � � � will change module versions, making recompiled modules >>>>> impossible + � � � to insert into old kernel. >>>>> >>>> >>>> That's conditional BS. >>>> Turn off CONFIG_MODVERSIONS already. >>>> >>> >>> Yeah, I disabled it ages ago. Even then (before git, probably even >>> before bitkeeper) I had hard times inserting modules... >>> >> >> I _had_ it off >> >> >> # CONFIG_MODVERSIONS is not set >> >> >> It seems some checking survives CONFIG_MODVERSIONS unset and that >> checking is strict enough to refuse module load after one "make modules" >> with LOCALVERSION_AUTO on... > > So instead of fixing the CONFIG_MODVERSIONS=n case you go the easy way > of killing LOCALVERSION_AUTO ? Brilliant. Pavel's original example (afaik) was on April 5: Subject: 2.6.34-rc3: Can't insmod after make, because versions now differ?! Apr 5 07:33:16 amd kernel: udlfb: version magic '2.6.34-rc3-00345-ge8240f9-dirty SMP mod_unload CORE2 ' should be '2.6.34-rc3-00344-g548fc0a-dirty SMP mod_unload CORE2 ' So what do you suggest? If the "magic" strings contain "-dirty ", then ignore that and the 2 preceding hyphen-separated fields? That could be dangerous if some kernel internal structures have changed. I.e., user/developer beware. Maybe ignore those strings iff some override has been set somewhere? --- ~Randy -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
From: Randy Dunlap on 11 Apr 2010 23:50 On 04/11/10 19:56, rdunlap(a)xenotime.net wrote: > On Sun, April 11, 2010 3:24 pm, Thomas Gleixner wrote: >> On Sun, 11 Apr 2010, Pavel Machek wrote: >> >> >>> On Sun 2010-04-11 20:58:58, Geert Uytterhoeven wrote: >>> >>>> On Mon, Apr 12, 2010 at 20:51, Alexey Dobriyan <adobriyan(a)gmail.com> >>>> wrote: >>>> >>>>> On Sun, Apr 11, 2010 at 06:47:01PM +0200, Pavel Machek wrote: >>>>> >>>>>> @@ -99,6 +98,11 @@ config LOCALVERSION_AUTO >>>>>> appended after any matching localversion* files, and after >>>>>> the value set in CONFIG_LOCALVERSION. >>>>>> >>>>>> >>>>>> + Unfortunately, such finegrained versioning will mean that >>>>>> you will + not be able to use modules for development; even >>>>>> "make modules" >>>>>> + will change module versions, making recompiled modules >>>>>> impossible + to insert into old kernel. >>>>>> >>>>> >>>>> That's conditional BS. >>>>> Turn off CONFIG_MODVERSIONS already. >>>>> >>>> >>>> Yeah, I disabled it ages ago. Even then (before git, probably even >>>> before bitkeeper) I had hard times inserting modules... >>>> >>> >>> I _had_ it off >>> >>> >>> # CONFIG_MODVERSIONS is not set >>> >>> >>> It seems some checking survives CONFIG_MODVERSIONS unset and that >>> checking is strict enough to refuse module load after one "make modules" >>> with LOCALVERSION_AUTO on... >> >> So instead of fixing the CONFIG_MODVERSIONS=n case you go the easy way >> of killing LOCALVERSION_AUTO ? Brilliant. > > Pavel's original example (afaik) was on April 5: > Subject: 2.6.34-rc3: Can't insmod after make, because versions now differ?! > > Apr 5 07:33:16 amd kernel: udlfb: version magic > '2.6.34-rc3-00345-ge8240f9-dirty SMP mod_unload CORE2 ' should be > '2.6.34-rc3-00344-g548fc0a-dirty SMP mod_unload CORE2 ' > > > So what do you suggest? If the "magic" strings contain "-dirty ", > then ignore that and the 2 preceding hyphen-separated fields? > > That could be dangerous if some kernel internal structures have changed. > I.e., user/developer beware. > > Maybe ignore those strings iff some override has been set somewhere? Pavel, does "modprobe --force" work? -- ~Randy -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
From: Theodore Tso on 12 Apr 2010 09:00 On Apr 11, 2010, at 10:56 PM, rdunlap(a)xenotime.net wrote: > > So what do you suggest? If the "magic" strings contain "-dirty ", > then ignore that and the 2 preceding hyphen-separated fields? I have a standard local patch that I've been carrying for I-don't-know-how-long which just nukes the "-dirty" suffix, which I needed because make-kpkg modifies some kernel build files, so the version string would always have -dirty. It's not hard to fix... -- Ted -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
From: Pavel Machek on 12 Apr 2010 09:20 Hi! > > > > That's conditional BS. > > > > Turn off CONFIG_MODVERSIONS already. > > > > > > Yeah, I disabled it ages ago. Even then (before git, probably even > > > before bitkeeper) > > > I had hard times inserting modules... > > > > I _had_ it off > > > > # CONFIG_MODVERSIONS is not set > > > > It seems some checking survives CONFIG_MODVERSIONS unset and that > > checking is strict enough to refuse module load after one "make > > modules" with LOCALVERSION_AUTO on... > > So instead of fixing the CONFIG_MODVERSIONS=n case you go the easy way > of killing LOCALVERSION_AUTO ? Brilliant. In previous discussion, I was told that there's no bug to fix, that everything works as intended. I believe current behaiour is stupid, and I'd prefer *some* fix. -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
First
|
Prev
|
Next
|
Last
Pages: 1 2 3 Prev: Lockup inside of stop_machine() during modprobe aes (was Re: Another AR5008 hang) Next: Irish 2010 Grant Winner |