Loading ...
Sorry, an error occurred while loading the content.
 

Re: nvidia 4363 + kernel 2.4.20-18.8 + suspend/resume works!

Expand Messages
  • commandrdata
    ... Go] ... Here s ... 363/usr/src/nv/nv.c. ... Has anyone tried this with a 2.4.21 kernel. I am getting the following error:
    Message 1 of 22 , Jun 28, 2003
      --- In linux-dell-laptops@yahoogroups.com, "Dave Kristol"
      <dmk-yahoo@k...> wrote:
      > [I8200, RH 8, up2dated to 2.4.20-18.8, etc., 1400x1050, GeForce 440
      Go]
      >
      > I've successfully applied the APM hack to the nVidia 4363 driver
      > (usual caveats apply), and APM suspend/resume (to RAM) works.
      Here's
      > what I did:
      >
      > [In the directory where you downloaded the package...]
      > 1) $ sh NVIDIA-Linux-x86-1.0-4363.run
      > [installs default version of driver and other goodies]
      > 2) $ sh NVIDIA-Linux-x86-1.0-4363.run --extract-only
      > [extract source]
      > 3) Apply changes below to NVIDIA-Linux-x86-1.0-4
      363/usr/src/nv/nv.c.
      > (Be sure to make backup copy of the original nv.c.)
      > 4) $ make install
      > [build driver with modified source and install]

      Has anyone tried this with a 2.4.21 kernel. I am getting the
      following error:

      craig@mobile:~/NVIDIA-Linux-x86-1.0-4363/usr/src/nv$ sudo make install
      make: *** No rule to make target `/usr/src/linux/i
      nclude/linux/modules/bootldr.ver', needed
      by `nv.o'. Stop.
    • Dave Kristol
      ... Have you been successful building 4363 on other kernels? This sounds like you re missing kernel headers. (I have 2.4.20-18.8, and I do have a copy of
      Message 2 of 22 , Jun 29, 2003
        --- In linux-dell-laptops@yahoogroups.com, "commandrdata"
        <commanderdata@m...> wrote:
        > --- In linux-dell-laptops@yahoogroups.com, "Dave Kristol"
        > <dmk-yahoo@k...> wrote:
        > > [I8200, RH 8, up2dated to 2.4.20-18.8, etc., 1400x1050, GeForce 440
        > Go]
        > >
        > > I've successfully applied the APM hack to the nVidia 4363 driver
        > > (usual caveats apply), and APM suspend/resume (to RAM) works.
        > Here's
        > > what I did:
        > >
        > > [In the directory where you downloaded the package...]
        > > 1) $ sh NVIDIA-Linux-x86-1.0-4363.run
        > > [installs default version of driver and other goodies]
        > > 2) $ sh NVIDIA-Linux-x86-1.0-4363.run --extract-only
        > > [extract source]
        > > 3) Apply changes below to NVIDIA-Linux-x86-1.0-4
        > 363/usr/src/nv/nv.c.
        > > (Be sure to make backup copy of the original nv.c.)
        > > 4) $ make install
        > > [build driver with modified source and install]
        >
        > Has anyone tried this with a 2.4.21 kernel. I am getting the
        > following error:
        >
        > craig@mobile:~/NVIDIA-Linux-x86-1.0-4363/usr/src/nv$ sudo make install
        > make: *** No rule to make target `/usr/src/linux/i
        > nclude/linux/modules/bootldr.ver', needed
        > by `nv.o'. Stop.

        Have you been successful building 4363 on other kernels? This sounds
        like you're missing kernel headers. (I have 2.4.20-18.8, and I do
        have a copy of bootldr.ver. I suspect it is in the kernel-source RPM.)

        Dave Kristol
      • commandrdata
        ... wrote: [...] ... install ... sounds ... RPM.) Well, I ve built it with a 2.4.20 Debian kernel. I notice that
        Message 3 of 22 , Jun 29, 2003
          --- In linux-dell-laptops@yahoogroups.com, "Dave Kristol"
          <dmk-yahoo@k...> wrote:

          [...]

          > > Has anyone tried this with a 2.4.21 kernel. I am getting the
          > > following error:
          > >
          > > craig@mobile:~/NVIDIA-Linux-x86-1.0-4363/usr/src/nv$ sudo make
          install
          > > make: *** No rule to make target `/usr/src/linux/i
          > > nclude/linux/modules/bootldr.ver', needed
          > > by `nv.o'. Stop.
          >
          > Have you been successful building 4363 on other kernels? This
          sounds
          > like you're missing kernel headers. (I have 2.4.20-18.8, and I do
          > have a copy of bootldr.ver. I suspect it is in the kernel-source
          RPM.)

          Well, I've built it with a 2.4.20 Debian kernel. I notice that
          /usr/src/linux/include/linux/modules/bootldr.ver does not exist in
          the 2.4.21 Debian
          headers - it does exist in the 2.4.20 Debian headers. I don't know if
          this is a bug or by
          design.

          I'll try it with kernel source instead of just the headers and see
          what's up.
        • Dave Kristol
          ... The nVidia drivers appear to be sensitive to changes in Linux kernels. (For example, I observed previously that 4191 would build on 2.4.18, but not
          Message 4 of 22 , Jun 29, 2003
            --- In linux-dell-laptops@yahoogroups.com, "commandrdata"
            <commanderdata@m...> wrote:
            > --- In linux-dell-laptops@yahoogroups.com, "Dave Kristol"
            > <dmk-yahoo@k...> wrote:
            > > [...]
            > > Have you been successful building 4363 on other kernels? This
            > sounds
            > > like you're missing kernel headers. (I have 2.4.20-18.8, and I do
            > > have a copy of bootldr.ver. I suspect it is in the kernel-source
            > RPM.)
            >
            > Well, I've built it with a 2.4.20 Debian kernel. I notice that
            > /usr/src/linux/include/linux/modules/bootldr.ver does not exist in
            > the 2.4.21 Debian
            > headers - it does exist in the 2.4.20 Debian headers. I don't know if
            > this is a bug or by
            > design.
            >
            > I'll try it with kernel source instead of just the headers and see
            > what's up.

            The nVidia drivers appear to be sensitive to changes in Linux kernels.
            (For example, I observed previously that 4191 would build on 2.4.18,
            but not 2.4.20.) It could be that something changed from 2.4.20 to
            2.4.21 that rendered 4363 unbuildable.

            Dave Kristol
          • commandrdata
            ... wrote: [...] ... kernels. ... 2.4.18, ... The NVIDIA-Linux-x86-1.0-4363.run file worked fine here with Debian kernel-image-2.4. 21-1-686,
            Message 5 of 22 , Jun 29, 2003
              --- In linux-dell-laptops@yahoogroups.com, "Dave Kristol"
              <dmk-yahoo@k...> wrote:

              [...]

              > The nVidia drivers appear to be sensitive to changes in Linux
              kernels.
              > (For example, I observed previously that 4191 would build on
              2.4.18,
              > but not 2.4.20.) It could be that something changed from 2.4.20 to
              > 2.4.21 that rendered 4363 unbuildable.

              The NVIDIA-Linux-x86-1.0-4363.run file worked fine here with Debian
              kernel-image-2.4.
              21-1-686, gcc 3.3. It's just that after installing the driver I was
              unable to rebuild with the
              power management hack.

              I love everything about this Debian sid install *except* I can't get
              power management to
              work............
            Your message has been successfully submitted and would be delivered to recipients shortly.