« Install VMWare ESX Server 3 in VMWare Workstation | Main | Via Velocity VT6122 Unstable in Linux »

August 26, 2007

Via Velocity velocityget module with kernel 2.6.22

The latest velocityget Via Velocity driver does not compile under kernel 2.6.22.

To build the driver without pulling your hair out, you'll need the velocityget 1.23 sources from Via Arena and my patch.

  1. Download everything

      wget http://www.viaarena.com/Driver/velocityget.tgz
      wget https://spiffie.org/computing/archives/velocityget_1.23_for_2.6.22.patch
    
  2. Extract the sources:

      tar xzf velocityget.tgz
      cd 1.23
    
  3. Apply the patch:

      cat ../velocityget_1.23_for_2.6.22.patch |patch -p1
    
  4. Build everything and install:

      make
      sudo make install
    

At this point, you'll need to load the module. This could entail any of the following:

  • No modules are loaded: just load velocityget (modprobe velocityget)
  • The module supplied with the kernel is loaded: you'll need to unload the existing module and load velocityget (modprobe -r via_velocity;modprobe velocityget). You will also need to find a way to ensure the correct module loads during startup.
  • The viavelocity driver was compiled into the kernel: you need to rebuild the kernel either without the viavelocity driver, or with via_velocity built as a module.

Posted by spiffed at August 26, 2007 8:05 PM

Comments

Post a comment