User Tools

Site Tools


linuxmce_macmini_2010_4_1:linuxmce_1004_kernel_update

LinuxMCE 10.04 Kernel Update to 3.2

Thanks to Ramon van Belzen for the nice manual.

Download packages:

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.2-precise/linux-headers-3.2.0-030200_3.2.0-030200.201201042035_all.deb
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.2-precise/linux-headers-3.2.0-030200-generic_3.2.0-030200.201201042035_i386.deb
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.2-precise/linux-image-3.2.0-030200-generic_3.2.0-030200.201201042035_i386.deb

Install packages in correct order:

sudo dpkg -i linux-headers-3.2.0-030200_3.2.0-030200.201201042035_all.deb
sudo dpkg -i linux-headers-3.2.0-030200-generic_3.2.0-030200.201201042035_i386.deb
sudo dpkg -i linux-image-3.2.0-030200-generic_3.2.0-030200.201201042035_i386.deb

Update Grub Bootloader:

sudo update-grub

NVIDIA 320M Driver update

The nvidia-glx-260 driver install failed with:

Loading new nvidia-glx-260-260.19.29 DKMS files...
First Installation: checking all kernels...
Building only for 3.2.0-030200-generic
Building for architecture i686
Building initial module for 3.2.0-030200-generic

Error! Bad return status for module build on kernel: 3.2.0-030200-generic (i686)
Consult the make.log in the build directory
/var/lib/dkms/nvidia-glx-260/260.19.29/build/ for more information.
dpkg: Fehler beim Bearbeiten von nvidia-glx-260 (--configure):
 Unterprozess installiertes post-installation-Skript gab den Fehlerwert 10 zurück

Remove nvidia-glx-260 and install nvidia-glx-295

  1. Remove pciid in /usr/pluto/bin/nvidia-install.sh
    lspci -nn | grep -vi "non-vga" | grep "VGA" | sed 's/.*://;s/\].*//' # GET PCIID
    sudo nano -w /usr/pluto/bin/nvidia-install.sh
  2. Remove old nvidia-glx-260
    sudo apt-get remove --purge nvidia-glx-260
  3. Download Driver for Nvidia 320M
    sudo wget http://de.download.nvidia.com/XFree86/Linux-x86/295.59/NVIDIA-Linux-x86-295.59.run
  4. make the downloaded file executable
    sudo chmod +x NVIDIA-Linux-x86-295.59.run
  5. install nvidia-glx295
    sudo ./NVIDIA-Linux-x86-295.59.run

/etc/X11/xorg.conf missing

Two possible solutions:

  1. The NVIDIA Driver mentioned above generates the xorg.conf. Make sure it still exists after reboot
  2. Reconfigure X and copy the generated xorg.conf.new
    sudo X -configure
    sudo cp /PATH/TO/xorg.conf.new /etc/X11/xorg.conf

Apple USB-Ethernet Driver (asix)

Initial hint to fix make issues under kernel 3.2: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/947723/comments/24

Download and Install Driver

Download Driver: http://www.asix.com.tw/FrootAttach/driver/AX88772B_772A_760_772_178_LINUX_Driver_v4.4.0_Source.zip

Unzip file

unzip AX88772B_772A_760_772_178_LINUX_Driver_v4.4.0_Source.zip

FIND (about line 931, 950, 1649) :

.ndo_set_multicast_list = ax88772b_set_multicast,

REPLACE WITH:

.ndo_set_rx_mode = ax88772b_set_multicast,

:!: The line above should contain something like “#if LINUX_VERSION_CODE ⇐ KERNEL_VERSION(3,2,0)”

Turning the Broadcom Wifi into an AccessPoint (the reason for the Kernel Update)

DID NOT WORK AS I EXPECTED!

Download linux compat-wireless Driver

sudo wget http://linuxwireless.org/download/compat-wireless-2.6/compat-wireless.tar.bz2

Unzip file

sudo tar xf compat-wireless.tar.bz2

Go into compat-wireless folder

cd compat-wireless-2012-07-03/

Make and install Driver

sudo make
sudo make install

Remove and load b43 Driver

sudo modprobe -r b43
sudo modprobe b43

Bringing up the wifi interface

ip link set wlan0 up

Set Mac Address ( after installing, the default Mac Address was set to: 00:00:00:00:00:00, error msg: SIOCSIFFLAGS: Cannot assign requested address when using 'sudo ifconfig wlan0 up' )

sudo ifconfig wlan0 hw ether 4c:22:d0:b8:78:ae

Edit /etc/network/interfaces to set Mac Address permanently

iface wlan0 inet dhcp
      ...
      hwaddress ether XX:XX:XX:XX:XX:XX

Scan for available wifi access points's (IMPORTANT: “sudo”)

sudo iwlist wlan0 scanning

Enable Master Mode

sudo iwconfig wlan0 mode master
Error for wireless request "Set Mode" (8B06) :
   SET failed on device wlan0 ; Invalid argument.
linuxmce_macmini_2010_4_1/linuxmce_1004_kernel_update.txt · Last modified: 2012/09/09 02:10 (external edit)