Novell Linux Client on 10.3 [2.6.22.18-0.2]

Hi everyone ,

Yesterday I updated some opensuse 10.3 clients with the latest kernel patch. It totally broke the novell linux client and novfs module. I tried rebuilding , reinstalling just cant seem to get it to work. Does anyone have any suggestions ? here is the boot.log from one of the clients. Second question , is their any way if I dont get this working I can backrev to 2.6.22.17-0.1 ??

(I didnt see the option for attachments so … here is the log


Starting novell novfs daemon…
kernel-source-2.6.22.18-0.2
Building novfs.ko for 2.6.22.18-0.2-debug
make: Entering directory `/usr/src/linux-2.6.22.18-0.2-obj/x86_64/debug’
make -C …/…/…/linux-2.6.22.18-0.2 O=…/linux-2.6.22.18-0.2-obj/x86_64/debug modules

WARNING: Symbol version dump /usr/src/linux-2.6.22.18-0.2-obj/x86_64/debug/Module.symvers
is missing; modules will have no dependencies and modversions.

Building modules, stage 2.
MODPOST 1 modules
WARNING: /opt/novell/ncl/src/novfs/novfs.o(.text+0xb1da): Section mismatch: reference to .init.text:init_novfs (between ‘__cyg_profile_func_enter’ and ‘profile_task_exit_callback’)
WARNING: /opt/novell/ncl/src/novfs/novfs.o(.data+0x10a0): Section mismatch: reference to .init.text:init_novfs (between ‘SymbolTable’ and ‘Malloc_Lock’)
WARNING: /opt/novell/ncl/src/novfs/novfs.o(.text+0xb0df): Section mismatch: reference to .exit.text:exit_novfs (between ‘__cyg_profile_func_exit’ and ‘__cyg_profile_func_enter’)
WARNING: /opt/novell/ncl/src/novfs/novfs.o(.data+0xe10): Section mismatch: reference to .exit.text:exit_novfs (between ‘SymbolTable’ and ‘Malloc_Lock’)
CC /opt/novell/ncl/src/novfs/novfs.mod.o
LD [M] /opt/novell/ncl/src/novfs/novfs.ko
make: Leaving directory /usr/src/linux-2.6.22.18-0.2-obj/x86_64/debug' copying novfs.ko to /lib/modules/2.6.22.18-0.2-debug/kernel/fs/novfs Generate modules.dep and map files kernel-source-2.6.22.18-0.2 Building novfs.ko for 2.6.22.18-0.2-default make: Entering directory /usr/src/linux-2.6.22.18-0.2-obj/x86_64/default’
make -C …/…/…/linux-2.6.22.18-0.2 O=…/linux-2.6.22.18-0.2-obj/x86_64/default modules
Building modules, stage 2.
MODPOST 1 modules
WARNING: /opt/novell/ncl/src/novfs/novfs.o(.text+0xb1da): Section mismatch: reference to .init.text:init_novfs (between ‘__cyg_profile_func_enter’ and ‘profile_task_exit_callback’)
WARNING: /opt/novell/ncl/src/novfs/novfs.o(.data+0x10a0): Section mismatch: reference to .init.text:init_novfs (between ‘SymbolTable’ and ‘Malloc_Lock’)
WARNING: /opt/novell/ncl/src/novfs/novfs.o(.text+0xb0df): Section mismatch: reference to .exit.text:exit_novfs (between ‘__cyg_profile_func_exit’ and ‘__cyg_profile_func_enter’)
WARNING: /opt/novell/ncl/src/novfs/novfs.o(.data+0xe10): Section mismatch: reference to .exit.text:exit_novfs (between ‘SymbolTable’ and ‘Malloc_Lock’)
WARNING: “kdb_register” [/opt/novell/ncl/src/novfs/novfs.ko] undefined!
WARNING: “__rwlock_init” [/opt/novell/ncl/src/novfs/novfs.ko] undefined!
WARNING: “__might_sleep” [/opt/novell/ncl/src/novfs/novfs.ko] undefined!
WARNING: “__spin_lock_init” [/opt/novell/ncl/src/novfs/novfs.ko] undefined!
WARNING: “kdb_unregister” [/opt/novell/ncl/src/novfs/novfs.ko] undefined!
WARNING: “kdb_printf” [/opt/novell/ncl/src/novfs/novfs.ko] undefined!
CC /opt/novell/ncl/src/novfs/novfs.mod.o
LD [M] /opt/novell/ncl/src/novfs/novfs.ko
make: Leaving directory /usr/src/linux-2.6.22.18-0.2-obj/x86_64/default' copying novfs.ko to /lib/modules/2.6.22.18-0.2-default/kernel/fs/novfs Generate modules.dep and map files FATAL: Error inserting novfs (/lib/modules/2.6.22.18-0.2-default/kernel/fs/novfs/novfs.ko): Unknown symbol in module, or unknown parameter (see dmesg) kernel-source-2.6.22.18-0.2 Building novfs.ko for 2.6.22.18-0.2-debug make: Entering directory /usr/src/linux-2.6.22.18-0.2-obj/x86_64/debug’
make -C …/…/…/linux-2.6.22.18-0.2 O=…/linux-2.6.22.18-0.2-obj/x86_64/debug modules

WARNING: Symbol version dump /usr/src/linux-2.6.22.18-0.2-obj/x86_64/debug/Module.symvers
is missing; modules will have no dependencies and modversions.

Building modules, stage 2.
MODPOST 1 modules
WARNING: /opt/novell/ncl/src/novfs/novfs.o(.text+0xb1da): Section mismatch: reference to .init.text:init_novfs (between ‘__cyg_profile_func_enter’ and ‘profile_task_exit_callback’)
WARNING: /opt/novell/ncl/src/novfs/novfs.o(.data+0x10a0): Section mismatch: reference to .init.text:init_novfs (between ‘SymbolTable’ and ‘Malloc_Lock’)
WARNING: /opt/novell/ncl/src/novfs/novfs.o(.text+0xb0df): Section mismatch: reference to .exit.text:exit_novfs (between ‘__cyg_profile_func_exit’ and ‘__cyg_profile_func_enter’)
WARNING: /opt/novell/ncl/src/novfs/novfs.o(.data+0xe10): Section mismatch: reference to .exit.text:exit_novfs (between ‘SymbolTable’ and ‘Malloc_Lock’)
CC /opt/novell/ncl/src/novfs/novfs.mod.o
LD [M] /opt/novell/ncl/src/novfs/novfs.ko
make: Leaving directory /usr/src/linux-2.6.22.18-0.2-obj/x86_64/debug' copying novfs.ko to /lib/modules/2.6.22.18-0.2-debug/kernel/fs/novfs Generate modules.dep and map files kernel-source-2.6.22.18-0.2 Building novfs.ko for 2.6.22.18-0.2-default make: Entering directory /usr/src/linux-2.6.22.18-0.2-obj/x86_64/default’
make -C …/…/…/linux-2.6.22.18-0.2 O=…/linux-2.6.22.18-0.2-obj/x86_64/default modules
Building modules, stage 2.
MODPOST 1 modules
WARNING: /opt/novell/ncl/src/novfs/novfs.o(.text+0xb1da): Section mismatch: reference to .init.text:init_novfs (between ‘__cyg_profile_func_enter’ and ‘profile_task_exit_callback’)
WARNING: /opt/novell/ncl/src/novfs/novfs.o(.data+0x10a0): Section mismatch: reference to .init.text:init_novfs (between ‘SymbolTable’ and ‘Malloc_Lock’)
WARNING: /opt/novell/ncl/src/novfs/novfs.o(.text+0xb0df): Section mismatch: reference to .exit.text:exit_novfs (between ‘__cyg_profile_func_exit’ and ‘__cyg_profile_func_enter’)
WARNING: /opt/novell/ncl/src/novfs/novfs.o(.data+0xe10): Section mismatch: reference to .exit.text:exit_novfs (between ‘SymbolTable’ and ‘Malloc_Lock’)
WARNING: “kdb_register” [/opt/novell/ncl/src/novfs/novfs.ko] undefined!
WARNING: “__rwlock_init” [/opt/novell/ncl/src/novfs/novfs.ko] undefined!
WARNING: “__might_sleep” [/opt/novell/ncl/src/novfs/novfs.ko] undefined!
WARNING: “__spin_lock_init” [/opt/novell/ncl/src/novfs/novfs.ko] undefined!
WARNING: “kdb_unregister” [/opt/novell/ncl/src/novfs/novfs.ko] undefined!
WARNING: “kdb_printf” [/opt/novell/ncl/src/novfs/novfs.ko] undefined!
make: Leaving directory `/usr/src/linux-2.6.22.18-0.2-obj/x86_64/default’
copying novfs.ko to /lib/modules/2.6.22.18-0.2-default/kernel/fs/novfs
Generate modules.dep and map files
FATAL: Error inserting novfs (/lib/modules/2.6.22.18-0.2-default/kernel/fs/novfs/novfs.ko): Unknown symbol in module, or unknown parameter (see dmesg)
mount: unknown filesystem type ‘novfs’
<notice>start_daemon: execve (/opt/novell/ncl/bin/novfsd) /opt/novell/ncl/bin/novfsd ], CONSOLE=/dev/console ROOTFS_FSTYPE=ext3 SHELL=/bin/sh TERM=linux ROOTFS_FSCK=0 LC_ALL=POSIX LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/opt/novell/xtier/lib64:/opt/novell/nmas/client/lib64 INIT_VERSION=sysvinit-2.86 REDIRECT=/dev/tty1 COLUMNS=156 PATH=/bin:/sbin:/usr/bin:/usr/sbin vga=0x31a RUNLEVEL=5 PWD=/opt/novell/ncl/src/novfs SPLASHCFG=/etc/bootsplash/themes/SuSE/config/bootsplash-1280x1024.cfg PREVLEVEL=N LINES=60 HOME=/ SHLVL=2 NCPL_DO_NOT_OVERWRITE_OPENLOG=1 splash=silent SPLASH=yes XTIER_CODE_PAGE=ANSI_X3.4-1968 ROOTFS_BLKDEV=/dev/disk/by-id/scsi-SATA_ST3500320AS_9QM1Y7G6-part1 _=/sbin/start_daemon OLDPWD=/opt/novell/ncl/src/novfs DAEMON=/opt/novell/ncl/bin/novfsd ]
Unable to Open novfs Interface
start_daemon: exit status of parent of /opt/novell/ncl/bin/novfsd: 255

finally fixed it …

uninstalled the novell-client.novfs.2.0 module in yast (ignore dependicies here).

uninstalled the (normal) novfs kernel modules in yast

then removed all novfs.ko from:
/lib/modules/$uname/updates
/lib/modules/$uname/kernel/fs/novfs/

took these lines out of novfsd in /etc/init.d


#removing because its already built

# Rebuild the novfs if needed

cd /opt/novell/ncl/src/novfs

./mk_novfs

#Try and start novfs
modprobe novfs

#removing because its already built

lsmod |grep novfs 2>&1 >/dev/null

if $? -ne 0 ]; then

cd /opt/novell/ncl/src/novfs

./mk_novfs force

depmod

modprobe novfs

fi


reboot

then in yast chose novfs-kernel-2.6.xxxxxxx let it install reboot,

works except the issue with nautilus is still present because I don’t think they have fixed the community novfs for 10.3 as stated here:

https://bugzilla.novell.com/show_bug.cgi?id=340510

but you can copy from the shell… :slight_smile:

and on restart or shutdown it still segfaults as stated here:

novfs shutdown bug opensuse 10.3 - NOVELL FORUMS

Supposedly this should work for opensuse 11 also you can remove the novfs.x.rpm from the .ncl_install script so it doesnt install it from the downloaded client and uses the one from opensuse repositories that are included for the opensuse kernel.