SRSS-4.1-50 on Linux-2.6.18 .. -2.6.28-rc6-git1

From Sun Ray User Group Wiki

Jump to: navigation, search

execute utinstall as usual. you'll recognize failures for:

  • SUNWutkau-4.1-50.i386.rpm
  • SUNWutio-4.1-50.i386.rpm
  • SUNWutdsk-4.1-50.i386.rpm

those can be fixed by:

wget -O /tmp/utadem.patch http://wiki.sun-rays.org/images/0/0c/Utadem-4.1-50.nww.patch.txt
wget -O /tmp/utio.patch   http://wiki.sun-rays.org/images/5/5d/Utio-4.1-50.nww.patch.txt
wget -O /tmp/utdisk.patch http://wiki.sun-rays.org/images/e/e0/Utdisk-4.1-50.nww.patch.txt
for i in utadem utio utdisk; do
    cd /usr/src/SUNWut/$i
    patch -p1 < /tmp/$i.patch
    make
    make install
done
depmod -a

tested compilation of kernel modules on:

2.6.27 2.6.27.7  2.6.28-rc6-git1
2.6.26 2.6.26.8
2.6.25 2.6.25.20
2.6.24 2.6.24.7
2.6.23 2.6.23.17
2.6.22 2.6.22.19
2.6.21 2.6.21.7
2.6.20 2.6.20.21
2.6.19 2.6.19.7
2.6.18 2.6.18.8

i have not tested the whole thing, but at least the kernel modules compile. i've recognized issues with gdm >= 2.22 (see http://nikiwaibel.blogspot.com/2008/11/sunray-server-srss-on-gdm-222-224.html), so it will be impossible to test everything on fedora10.

[MR20090816 update]

I have created new patches that also replace all occurrences of current->uid with current->cred->uid, to at least get the kernel modules to compile on 2.6.29 kernel (only tested this on 2.6.29.6):

http://wiki.sun-rays.org/images/e/e8/Utadem.MR20090816.patch.txt
http://wiki.sun-rays.org/images/1/11/Utio.MR20090816.patch.txt
http://wiki.sun-rays.org/images/2/2a/Utdisk.MR20090816.patch.txt
Personal tools