[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: SMBFS not working on Qube2

Ralf Roesch wrote:

> Could you please try to insert in module /arch/mips/kernel/mips_ksyms.c:
> (best located in section: marked /*  String functions */)
Did that.
> and then recompile your kernel.

This is what I did trying to compile the patched kernel:

`cp /boot/config-2.4.27-r5k-cobalt .config'
`make-kpkg --append-to-version "-r5k-cobalt" --revision 2.4.27 --config
old configure'
`make-kpkg clean'
`make-kpkg binary-arch'

which failed. This is the result:

gcc -D__KERNEL__ -I/usr/src/kernel-source-2.4.27/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-fomit-frame-pointer -I /usr/src/kernel-source-2.4.27/include/asm/gcc -G
0 -mno-abicalls -fno-pic -pipe  -finline-limit=100000 -mabi=32
-march=r5000 -mips4 -Wa,-32 -Wa,-march=r5000 -Wa,-mips4 -Wa,--trap
-nostdinc -iwithprefix include -DKBUILD_BASENAME=lcd  -c -o lcd.o lcd.c
lcd.c:554: warning: initialization from incompatible pointer type
lcd.c:561: error: `LCD_MINOR' undeclared here (not in a function)
lcd.c:561: error: initializer element is not constant
lcd.c:561: error: (near initialization for `lcd_dev.minor')
make[4]: *** [lcd.o] Error 1
make[4]: Leaving directory `/usr/src/kernel-source-2.4.27/drivers/char'
make[3]: *** [first_rule] Error 2
make[3]: Leaving directory `/usr/src/kernel-source-2.4.27/drivers/char'
make[2]: *** [_subdir_char] Error 2
make[2]: Leaving directory `/usr/src/kernel-source-2.4.27/drivers'
make[1]: *** [_dir_drivers] Error 2
make[1]: Leaving directory `/usr/src/kernel-source-2.4.27'
make: *** [stamp-build] Error 2

Umm... LCD_MINOR shouldn't have anything to do with
EXPORT_SYMBOL_NOVERS(memchr), should it? I haven't compiled a kernel
within the past couple of months, but according to my notes, this is the
way to do -- please correct me if I'm wrong.


> Hope this helps.
> Best regards
> Ralf
> Daniel Rheinbay wrote:
> > Dear Debian MIPS Mailing List,
> >
> > after upgrading the kernel (security updates, I guess), smbfs is not
> > working any longer... when trying to modprobe smbfs, all I get is
> >
> > ---snip---
> > /lib/modules/2.4.27-r5k-cobalt/kernel/fs/smbfs/smbfs.o: /lib/modules/2.4.27-r5k-cobalt/kernel/fs/smbfs/smbfs.o: unresolved symbol memchr
> > /lib/modules/2.4.27-r5k-cobalt/kernel/fs/smbfs/smbfs.o:
> > insmod /lib/modules/2.4.27-r5k-cobalt/kernel/fs/smbfs/smbfs.o failed
> > /lib/modules/2.4.27-r5k-cobalt/kernel/fs/smbfs/smbfs.o: insmod smbfs
> > failed
> > ---snap---
> >
> > Any idea why this is happening?
> >
> >
> > Thanks in advance,
> > Daniel
> >   

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply to: