Hello community, here is the log from the commit of package module-init-tools checked in at Fri Feb 8 20:05:58 CET 2008. -------- --- module-init-tools/module-init-tools.changes 2008-01-31 13:53:17.000000000 +0100 +++ module-init-tools/module-init-tools.changes 2008-02-05 18:35:13.000000000 +0100 @@ -1,0 +2,16 @@ +Tue Feb 5 18:34:52 CET 2008 - mmarek@suse.cz + +- disable DMA for parallel port (bnc#180390) + +------------------------------------------------------------------- +Tue Feb 5 11:34:43 CET 2008 - mmarek@suse.cz + +- don't blacklist unsupported modules if the whole module tree is + unsupported (bnc#353862) + +------------------------------------------------------------------- +Mon Feb 4 17:19:04 CET 2008 - mmarek@suse.cz + +- fixed last change + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ module-init-tools.spec ++++++ --- /var/tmp/diff_new_pack.J12396/_old 2008-02-08 19:56:31.000000000 +0100 +++ /var/tmp/diff_new_pack.J12396/_new 2008-02-08 19:56:31.000000000 +0100 @@ -14,7 +14,7 @@ BuildRequires: zlib-devel # it's 3.3-pre11 actually Version: 3.2.99.pre11 -Release: 41 +Release: 42 %define ver 3.3-pre11 License: GPL v2 or later Group: System/Kernel @@ -93,6 +93,7 @@ make DESTDIR=$RPM_BUILD_ROOT install rm $RPM_BUILD_ROOT/sbin/insmod.static install -m755 %_sourcedir/kernelversion $RPM_BUILD_ROOT/sbin +install -m644 %_sourcedir/README.SUSE . ln -sf /bin/lsmod $RPM_BUILD_ROOT/sbin/lsmod # # now assemble the parts for modprobe.conf @@ -162,6 +163,13 @@ /etc/modprobe.d %changelog +* Tue Feb 05 2008 mmarek@suse.cz +- disable DMA for parallel port (bnc#180390) +* Tue Feb 05 2008 mmarek@suse.cz +- don't blacklist unsupported modules if the whole module tree is + unsupported (bnc#353862) +* Mon Feb 04 2008 mmarek@suse.cz +- fixed last change * Thu Jan 31 2008 mmarek@suse.cz - remove the 'removed-in-10.3' doc file (not needed) * Thu Sep 13 2007 mmarek@suse.cz ++++++ mit-unsupported-blacklist.patch ++++++ --- /var/tmp/diff_new_pack.J12396/_old 2008-02-08 19:56:32.000000000 +0100 +++ /var/tmp/diff_new_pack.J12396/_new 2008-02-08 19:56:32.000000000 +0100 @@ -1,10 +1,10 @@ --- - depmod.c | 28 ++++++++++++++++++++++++++++ - 1 file changed, 28 insertions(+) + depmod.c | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ + 1 file changed, 50 insertions(+) --- depmod.c.orig +++ depmod.c -@@ -779,6 +779,33 @@ static void output_aliases(struct module +@@ -779,6 +779,55 @@ static void output_aliases(struct module } } @@ -13,32 +13,54 @@ + struct module *i; + const char *p; + unsigned long size; ++ struct module **unsup; ++ size_t unsup_size = 1024, unsup_len = 0; ++ int any_supported = 0; + ++ unsup = NOFAIL(malloc(sizeof(struct module*) * unsup_size)); + fprintf(out, "# Blacklist of modules without the supported flag.\n"); + for (i = modules; i; i = i->next) { -+ char modname[strlen(i->pathname)+1]; + int supported = 0; + -+ filename2modname(modname, i->pathname); -+ + /* Grab form new-style .modinfo section. */ + for (p = i->ops->get_modinfo(i, &size); p; + p = next_string(p, &size)) { + if (strcmp(p, "supported=yes") == 0 || + strcmp(p, "supported=external") == 0) { + supported = 1; ++ any_supported = 1; + break; + } + } -+ if (!supported) ++ if (!supported) { ++ unsup[unsup_len++] = i; ++ if (unsup_len == unsup_size) { ++ unsup_size *= 2; ++ unsup = NOFAIL(realloc(unsup, ++ sizeof(struct module*) * unsup_size)); ++ } ++ } ++ } ++ /* Only output the blacklist if there are any supported modules at ++ * all (makes it easier to run vanilla kernels). ++ */ ++ if (any_supported) { ++ size_t i; ++ ++ for (i = 0; i < unsup_len; i++) { ++ char modname[strlen(unsup[i]->pathname)+1]; ++ filename2modname(modname, unsup[i]->pathname); + fprintf(out, "blacklist %s unsupported\n", modname); ++ } ++ } else { ++ fprintf(out, "# (not generated because the whole tree is unsupported)\n"); + } +} + struct depfile { char *name; void (*func)(struct module *, FILE *); -@@ -796,6 +823,7 @@ static struct depfile depfiles[] = { +@@ -796,6 +845,7 @@ static struct depfile depfiles[] = { { "modules.seriomap", output_serio_table }, { "modules.alias", output_aliases }, { "modules.symbols", output_symbols }, ++++++ modprobe.conf.tar.gz ++++++ diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/modprobe.conf/modprobe.conf.alpha new/modprobe.conf/modprobe.conf.alpha --- old/modprobe.conf/modprobe.conf.alpha 2003-11-17 12:02:14.000000000 +0100 +++ new/modprobe.conf/modprobe.conf.alpha 2008-02-05 18:33:06.000000000 +0100 @@ -4,7 +4,9 @@ alias char-major-5 serial alias parport_lowlevel parport_pc -# options parport_pc io=0x378 irq=none,none +# disable DMA for parallel port (bnc#180390) +options parport_pc dma=none +# options parport_pc io=0x378 irq=none # If you have multiple parallel ports, specify them this way: # options parport_pc io=0x378,0x278 irq=none,none diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/modprobe.conf/modprobe.conf.i386 new/modprobe.conf/modprobe.conf.i386 --- old/modprobe.conf/modprobe.conf.i386 2007-02-22 14:00:55.000000000 +0100 +++ new/modprobe.conf/modprobe.conf.i386 2008-02-05 18:33:06.000000000 +0100 @@ -1,7 +1,9 @@ # begin of i386 part for modprobe.conf alias parport_lowlevel parport_pc -# options parport_pc io=0x378 irq=none,none +# disable DMA for parallel port (bnc#180390) +options parport_pc dma=none +# options parport_pc io=0x378 irq=none # If you have multiple parallel ports, specify them this way: # options parport_pc io=0x378,0x278 irq=none,none diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/modprobe.conf/modprobe.conf.ia64 new/modprobe.conf/modprobe.conf.ia64 --- old/modprobe.conf/modprobe.conf.ia64 2007-02-12 11:22:37.000000000 +0100 +++ new/modprobe.conf/modprobe.conf.ia64 2008-02-05 18:33:06.000000000 +0100 @@ -1,7 +1,9 @@ # begin of ia64 part for modprobe.conf alias parport_lowlevel parport_pc -# options parport_pc io=0x378 irq=none,none +# disable DMA for parallel port (bnc#180390) +options parport_pc dma=none +# options parport_pc io=0x378 irq=none # If you have multiple parallel ports, specify them this way: # options parport_pc io=0x378,0x278 irq=none,none diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/modprobe.conf/modprobe.conf.ppc new/modprobe.conf/modprobe.conf.ppc --- old/modprobe.conf/modprobe.conf.ppc 2007-02-12 11:41:19.000000000 +0100 +++ new/modprobe.conf/modprobe.conf.ppc 2008-02-05 18:33:06.000000000 +0100 @@ -26,7 +26,9 @@ install block-major-91 /bin/true alias parport_lowlevel parport_pc -# options parport_pc io=0x3bc irq=none,none +# disable DMA for parallel port (bnc#180390) +options parport_pc dma=none +# options parport_pc io=0x3bc irq=none # If you have multiple parallel ports, specify them this way: # options parport_pc io=0x378,0x278 irq=none,none diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/modprobe.conf/modprobe.conf.sparc new/modprobe.conf/modprobe.conf.sparc --- old/modprobe.conf/modprobe.conf.sparc 2003-08-29 17:09:19.000000000 +0200 +++ new/modprobe.conf/modprobe.conf.sparc 2008-02-05 18:33:06.000000000 +0100 @@ -4,6 +4,8 @@ install char-major-5 /bin/true alias parport_lowlevel parport_pc +# disable DMA for parallel port (bnc#180390) +options parport_pc dma=none # end of sparc part for modprobe.conf diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/modprobe.conf/modprobe.conf.sparc64 new/modprobe.conf/modprobe.conf.sparc64 --- old/modprobe.conf/modprobe.conf.sparc64 2003-08-29 17:09:15.000000000 +0200 +++ new/modprobe.conf/modprobe.conf.sparc64 2008-02-05 18:33:06.000000000 +0100 @@ -4,6 +4,8 @@ install char-major-5 /bin/true alias parport_lowlevel parport_pc +# disable DMA for parallel port (bnc#180390) +options parport_pc dma=none # end of sparc64 part for modprobe.conf diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/modprobe.conf/modprobe.conf.x86_64 new/modprobe.conf/modprobe.conf.x86_64 --- old/modprobe.conf/modprobe.conf.x86_64 2007-02-12 11:26:55.000000000 +0100 +++ new/modprobe.conf/modprobe.conf.x86_64 2008-02-05 18:33:06.000000000 +0100 @@ -1,7 +1,9 @@ # begin of x86_64 part for modprobe.conf alias parport_lowlevel parport_pc -# options parport_pc io=0x378 irq=none,none +# disable DMA for parallel port (bnc#180390) +options parport_pc dma=none +# options parport_pc io=0x378 irq=none # If you have multiple parallel ports, specify them this way: # options parport_pc io=0x378,0x278 irq=none,none ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org