<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Hi Greg,<br>
      <br>
      thx for answering my e-mail. I know that there are lot of changes
      between 3.10 and 3.12 kernel series. No doubt there. These are
      already old driver modules I maintain until they break. Some of
      them are already dropped from Arch-Linux. From the date those are
      alreday outdated:<br>
      <br>
      <pre wrap="">slmodem-2.9.11-20080126
DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217
</pre>
      Build scripts can be found here:<br>
      <br>
      <small><a class="moz-txt-link-freetext" href="http://git.manjaro.org/package-sources/extra/blob/aaedf1ffcd6a2acb7411ec9a3bb58bfa7b7bac3f/linux312-extramodules/slmodem/PKGBUILD">http://git.manjaro.org/package-sources/extra/blob/aaedf1ffcd6a2acb7411ec9a3bb58bfa7b7bac3f/linux312-extramodules/slmodem/PKGBUILD</a><br>
<a class="moz-txt-link-freetext" href="http://git.manjaro.org/package-sources/extra/blob/aaedf1ffcd6a2acb7411ec9a3bb58bfa7b7bac3f/linux312-extramodules/rt3562sta/PKGBUILD">http://git.manjaro.org/package-sources/extra/blob/aaedf1ffcd6a2acb7411ec9a3bb58bfa7b7bac3f/linux312-extramodules/rt3562sta/PKGBUILD</a></small><br>
      <br>
      To the drivers it self. Both are provided by companies who don't
      care much about their hardware and not so much about linux. For me
      it was just a weird wakeup that it worked with 3.12.3 but not with
      3.12.4 anymore.<br>
      <br>
      For me it is a simple solution. Dropping them from my repos. 
      Since slmodem so old and even the "newer" drivers break I'll
      remove them for good.<br>
      <br>
      Here is the older one which is compiling but already tells me some
      errors:<br>
      <br>
      <small><small>==> Starting build()...<br>
          patching file ungrab-winmodem-20080126/ungrab-winmodem.c<br>
          patching file slmodem-2.9.11-20080126/drivers/amrmo_init.c<br>
          patching file ungrab-winmodem.c<br>
          make modules -C /lib/modules/3.12.3-1-MANJARO/build
          SUBDIRS=/build/src/ungrab-winmodem-20080126<br>
          make[1]: Entering directory '/usr/src/linux-3.12.3-1-MANJARO'<br>
            CC [M] 
          /build/src/ungrab-winmodem-20080126/ungrab-winmodem.o<br>
            Building modules, stage 2.<br>
            MODPOST 1 modules<br>
            CC     
          /build/src/ungrab-winmodem-20080126/ungrab-winmodem.mod.o<br>
            LD [M] 
          /build/src/ungrab-winmodem-20080126/ungrab-winmodem.ko<br>
          make[1]: Leaving directory '/usr/src/linux-3.12.3-1-MANJARO'<br>
          patching file drivers/amrmo_init.c<br>
          Hunk #1 succeeded at 609 (offset -8 lines).<br>
          patching file drivers/kernel-ver.c<br>
          patching file drivers/amrmo_init.c<br>
          patching file drivers/amrmo_init.c<br>
          patching file drivers/amrmo_init.c<br>
          make -C drivers KERNEL_DIR=/lib/modules/3.12.3-1-MANJARO/build<br>
          make[1]: Entering directory
          '/build/src/slmodem-2.9.11-20080126/drivers'<br>
          cc -I/lib/modules/3.12.3-1-MANJARO/build/include -o kernel-ver
          kernel-ver.c<br>
          make all KERNEL_VER=3.12.3-1-MANJARO<br>
          make[2]: Entering directory
          '/build/src/slmodem-2.9.11-20080126/drivers'<br>
          make modules -C /lib/modules/3.12.3-1-MANJARO/build
          SUBDIRS=/build/src/slmodem-2.9.11-20080126/drivers<br>
          make[3]: Entering directory '/usr/src/linux-3.12.3-1-MANJARO'<br>
            CC [M] 
          /build/src/slmodem-2.9.11-20080126/drivers/amrmo_init.o<br>
            CC [M] 
          /build/src/slmodem-2.9.11-20080126/drivers/sysdep_amr.o<br>
            LD [M]  /build/src/slmodem-2.9.11-20080126/drivers/slamr.o<br>
            Building modules, stage 2.<br>
            MODPOST 1 modules<br>
          WARNING: modpost: Found 1 section mismatch(es).<br>
          To see full details build your kernel with:<br>
          'make CONFIG_DEBUG_SECTION_MISMATCH=y'<br>
            CC     
          /build/src/slmodem-2.9.11-20080126/drivers/slamr.mod.o<br>
            LD [M]  /build/src/slmodem-2.9.11-20080126/drivers/slamr.ko<br>
          make[3]: Leaving directory '/usr/src/linux-3.12.3-1-MANJARO'<br>
          make[2]: Leaving directory
          '/build/src/slmodem-2.9.11-20080126/drivers'<br>
          make[1]: Leaving directory
          '/build/src/slmodem-2.9.11-20080126/drivers'<br>
          ==> Tidying install...</small></small><br>
      <br>
      Trying to build one from 2011 it gets fuzzy:<br>
      <br>
      <small><small>==> Starting build()...<br>
          patching file ungrab-winmodem.c<br>
          Hunk #1 succeeded at 45 (offset 4 lines).<br>
          make modules -C /lib/modules/3.12.3-1-MANJARO/build
          SUBDIRS=/build/src/ungrab-winmodem-20090716<br>
          make[1]: Entering directory '/usr/src/linux-3.12.3-1-MANJARO'<br>
            CC [M] 
          /build/src/ungrab-winmodem-20090716/ungrab-winmodem.o<br>
            Building modules, stage 2.<br>
            MODPOST 1 modules<br>
            CC     
          /build/src/ungrab-winmodem-20090716/ungrab-winmodem.mod.o<br>
            LD [M] 
          /build/src/ungrab-winmodem-20090716/ungrab-winmodem.ko<br>
          make[1]: Leaving directory '/usr/src/linux-3.12.3-1-MANJARO'<br>
          patching file drivers/amrmo_init.c<br>
          make -C drivers KERNEL_DIR=/lib/modules/3.12.3-1-MANJARO/build<br>
          make[1]: Entering directory
          '/build/src/slmodem-2.9.11-20110321/drivers'<br>
          doing kernel-ver::<br>
          cc -I/lib/modules/3.12.3-1-MANJARO/build/include -o kernel-ver
          kernel-ver.c<br>
          make all KERNEL_VER=3.12.3-1-MANJARO<br>
          make[2]: Entering directory
          '/build/src/slmodem-2.9.11-20110321/drivers'<br>
              doing %.o: %.c<br>
          cc -Wall -pipe -O3 -fomit-frame-pointer -D__KERNEL__ -DMODULE
          -DEXPORT_SYMTAB -DMODVERSIONS --include
          /lib/modules/3.12.3-1-MANJARO/build/include/linux/modversions.h
          -I/lib/modules/3.12.3-1-MANJARO/build/include  -I.
          -I./../modem   -o amrmo_init.o -c amrmo_init.c<br>
              doing %.o: %.c<br>
          cc -Wall -pipe -O3 -fomit-frame-pointer -D__KERNEL__ -DMODULE
          -DEXPORT_SYMTAB -DMODVERSIONS --include
          /lib/modules/3.12.3-1-MANJARO/build/include/linux/modversions.h
          -I/lib/modules/3.12.3-1-MANJARO/build/include  -I.
          -I./../modem   -o sysdep_amr.o -c sysdep_amr.c<br>
              doing %.o: %.c<br>
          cc -Wall -pipe -O3 -fomit-frame-pointer -D__KERNEL__ -DMODULE
          -DEXPORT_SYMTAB -DMODVERSIONS --include
          /lib/modules/3.12.3-1-MANJARO/build/include/linux/modversions.h
          -I/lib/modules/3.12.3-1-MANJARO/build/include  -I.
          -I./../modem   -o old_st7554.o -c old_st7554.c<br>
          In file included from <command-line>:0:0:<br>
          /usr/include/stdc-predef.h:40:1: fatal error:
          /lib/modules/3.12.3-1-MANJARO/build/include/linux/modversions.h:
          No such file or directory<br>
           #endif<br>
           ^<br>
          compilation terminated.<br>
          In file included from <command-line>:0:0:<br>
          /usr/include/stdc-predef.h:40:1: fatal error:
          /lib/modules/3.12.3-1-MANJARO/build/include/linux/modversions.h:
          No such file or directory<br>
           #endif<br>
           ^<br>
          In file included from <command-line>:0:0:<br>
          /usr/include/stdc-predef.h:40:1: fatal error:
          /lib/modules/3.12.3-1-MANJARO/build/include/linux/modversions.h:
          No such file or directory<br>
           #endif<br>
           ^<br>
          compilation terminated.<br>
          compilation terminated.<br>
          Makefile:118: recipe for target 'old_st7554.o' failed<br>
          make[2]: *** [old_st7554.o] Error 1<br>
          make[2]: *** Waiting for unfinished jobs....<br>
          Makefile:118: recipe for target 'sysdep_amr.o' failed<br>
          make[2]: *** [sysdep_amr.o] Error 1<br>
          Makefile:118: recipe for target 'amrmo_init.o' failed<br>
          make[2]: *** [amrmo_init.o] Error 1<br>
          make[2]: Leaving directory
          '/build/src/slmodem-2.9.11-20110321/drivers'<br>
          Makefile:49: recipe for target 'all' failed<br>
          make[1]: *** [all] Error 2<br>
          make[1]: Leaving directory
          '/build/src/slmodem-2.9.11-20110321/drivers'<br>
          Makefile:44: recipe for target 'drivers' failed<br>
          make: *** [drivers] Error 2<br>
          ==> ERROR: A failure occurred in build().</small></small><br>
      <br>
      So I won't waste any time on this one anymore and simply remove it
      for good ...<br>
      <br>
      Anyway, thx for your e-mail<br>
      <br>
      kind regards<br>
      <br>
      Phil<br>
      <br>
      On 12/09/2013 07:36 PM, Greg Kroah-Hartman wrote:<br>
    </div>
    <blockquote cite="mid:20131209183640.GA28986@kroah.com" type="cite">
      <pre wrap="">On Mon, Dec 09, 2013 at 01:06:32PM +0100, Philip Müller wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">Hi Greg,

I just compiled linux 3.12.4 for Manjaro Linux and found a weird regression in
slmodem and rt3563sta, some extra-modules I'm compiling. In slmodem I get now
followed error:


make[2]: Entering directory '/build/src/slmodem-2.9.11-20080126/drivers'
cc -Wall -pipe -O3 -fomit-frame-pointer -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -DMODVERSIONS --include /lib/modules/3.12.4-1-MANJARO/build/include/linux/modversions.h -I/lib/modules/3.12.4-1-MANJARO/build/include -I. -I./../modem  -o amrmo_init.o -c amrmo_init.c
cc -Wall -pipe -O3 -fomit-frame-pointer -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -DMODVERSIONS --include /lib/modules/3.12.4-1-MANJARO/build/include/linux/modversions.h -I/lib/modules/3.12.4-1-MANJARO/build/include -I. -I./../modem  -o sysdep_amr.o -c sysdep_amr.c
In file included from <command-line>:0:0:
/usr/include/stdc-predef.h:40:1: fatal error: /lib/modules/3.12.4-1-MANJARO/build/include/linux/modversions.h: No such file or directory
 #endif
 ^
compilation terminated.
</pre>
      </blockquote>
      <pre wrap="">
External kernel module?  What's all the crud on the kernel build line,
that doesn't look like how you are supposed to build a kernel module.

Anyway, I'd blame the external code, nothing I can do about that...

</pre>
      <blockquote type="cite">
        <pre wrap="">And rt3563sta quits with:


/build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/tools/bin2h
scripts/Makefile.build:49: *** CFLAGS was changed in "/build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/Makefile". Fix it to use ccflags-y.  Stop.
Makefile:1228: recipe for target '_module_/build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux' failed
make[1]: *** [_module_/build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux] Error 2
make[1]: Leaving directory '/usr/src/linux-3.12.4-1-MANJARO'
Makefile:317: recipe for target 'LINUX' failed
make: *** [LINUX] Error 2


However, using 3.12.3 on the same machine, same toolchain - it works. Any other
extra-modules I'm compiling still work and 3.10.23 don't has this issue at all.
I also got the same issues using pure Archlinux. More info also in our forums:

<a class="moz-txt-link-freetext" href="http://forum.manjaro.org/index.php?topic=9080.0">http://forum.manjaro.org/index.php?topic=9080.0</a>
</pre>
      </blockquote>
      <pre wrap="">

Lots of things changed in the kernel between 3.10 and 3.12, so to expect
external kernel modules to build properly with both of the is a bit
strange.

Did 3.12.3 work?  Have a pointer to where these drivers can be found?
Why are they outside of the kernel source tree and not included in the
main kernel.org repo?

thanks,

greg k-h
</pre>
    </blockquote>
    <br>
  </body>
</html>