Re: /home/olivares/Download/intel-536EP-2.56.76.0/coredrv/coredrv.c:785: error: ʽstruct proc_dir_entryʼ has no member named ʽownerʼ

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

 





This is the same issue I hit and reported to Philippe a few days back. Get the latest kmod source he has off his site (the one that looks like intel-536-537-something-something) and then remove the offending line in the source. I'm connected with it right now under 2.6.30, with on-going testing.

Looks like the kernel devs hacked out owner member from the proc_dir_entry structure.

Problems found so far:

- insert and then removing the kmod will segfault (leave it in)

- disconnecting the ppp link and then reconnecting got error "Error: Bad Address" (occured one time, not repeatable so far). Reboot needed to fix.




On Sat, 27 Jun 2009, Antonio Olivares wrote:

Date: Sat, 27 Jun 2009 22:34:57 -0500
From: Antonio Olivares <olivares14031@xxxxxxxxx>
To: Philippe Vouters <Philippe.Vouters@xxxxxxxxxxx>
Cc: discuss@xxxxxxxxxxxxx
Subject: /home/olivares/Download/intel-536EP-2.56.76.0/coredrv/coredrv.c:785:
    error: ?struct proc_dir_entry? has no member named ?owner?

Compiled 2.6.30 from kernel.org on Fedora 10, Intel 536 Modem

Predictive  diagnostics for card in bus 00:0b.0:
       Modem chipset  detected on
NAME="Communication controller: Intel Corporation 536EP Data Fax Modem"
CLASS=0780
PCIDEV=8086:1040
SUBSYS=8086:1000
IRQ=19
IDENT=INTEL536EP

For candidate modem in:  00:0b.0
  0780 Communication controller: Intel Corporation 536EP Data Fax Modem
     Primary device ID:  8086:1040
Support type needed or chipset:        INTEL536EP

Driver fails to build

[olivares@blackP4 intel-536EP-2.56.76.0]$ make clean
cd coredrv; make clean
make[1]: Entering directory
`/home/olivares/Download/intel-536EP-2.56.76.0/coredrv'
rm -f *.ko .*.o.cmd *.mod.c .*.ko.cmd *.o *~ core Module.* modules.*
rm -rf .tmp_versions
rm: cannot remove `.tmp_versions/Intel536.mod': Permission denied
make[1]: *** [clean] Error 1
make[1]: Leaving directory
`/home/olivares/Download/intel-536EP-2.56.76.0/coredrv'
make: *** [clean] Error 2
[olivares@blackP4 intel-536EP-2.56.76.0]$ su -c 'make clean'
Password:
cd coredrv; make clean
make[1]: Entering directory
`/home/olivares/Download/intel-536EP-2.56.76.0/coredrv'
rm -f *.ko .*.o.cmd *.mod.c .*.ko.cmd *.o *~ core Module.* modules.*
rm -rf .tmp_versions
make[1]: Leaving directory
`/home/olivares/Download/intel-536EP-2.56.76.0/coredrv'
rm -f *.o *.ko
[olivares@blackP4 intel-536EP-2.56.76.0]$ make clean
cd coredrv; make clean
make[1]: Entering directory
`/home/olivares/Download/intel-536EP-2.56.76.0/coredrv'
rm -f *.ko .*.o.cmd *.mod.c .*.ko.cmd *.o *~ core Module.* modules.*
rm -rf .tmp_versions
make[1]: Leaving directory
`/home/olivares/Download/intel-536EP-2.56.76.0/coredrv'
rm -f *.o *.ko
[olivares@blackP4 intel-536EP-2.56.76.0]$ su -c 'make clean'
Password:
cd coredrv; make clean
make[1]: Entering directory
`/home/olivares/Download/intel-536EP-2.56.76.0/coredrv'
rm -f *.ko .*.o.cmd *.mod.c .*.ko.cmd *.o *~ core Module.* modules.*
rm -rf .tmp_versions
make[1]: Leaving directory
`/home/olivares/Download/intel-536EP-2.56.76.0/coredrv'
rm -f *.o *.ko
[olivares@blackP4 intel-536EP-2.56.76.0]$ su -c 'make 536'
Password:
  Module precompile check
  Current running kernel is: 2.6.30
  /lib/modules...   autoconf.h exists
diff: /boot/vmlinuz.autoconf.h: No such file or directory
  autoconf.h matches running kernel
diff: /boot/vmlinuz.version.h: No such file or directory
  version.h matches running kernel
uname -r|grep "2.6" && \
       cd coredrv && make 536core_26 && \
       cp Intel536.ko .. && cd .. && \
       strip --strip-debug Intel536.ko && \
       exit; \
       ls Intel536.ko >/dev/null 2>&1 ||  uname -r | grep "2.6" &&
echo "Failed to build driver" && exit; \
       if [  ]; then \
       cd coredrv; make TARGET=TARGET_SELAH KERNEL_SOURCE_PATH=
"PSTN_DEF=-DTARGET_SELAH -DTARGET_LINUX -DLINUX" 536core; \
       else \
       cd coredrv; make TARGET=TARGET_SELAH
KERNEL_INCLUDES=/lib/modules/`uname -r`/build/include \
      "PSTN_DEF=-DTARGET_SELAH -DTARGET_LINUX -DLINUX" 536core; \
       fi ; \
       cp Intel536.o .. ; \
       if [ -a /boot/vmlinuz.version.h ]; then \
       cp /boot/vmlinuz.version.h /lib/modules/`uname
-r`/build/include/linux/version.h;\
       fi
2.6.30
make[1]: Entering directory
`/home/olivares/Download/intel-536EP-2.56.76.0/coredrv'
make -C /lib/modules/2.6.30/build
SUBDIRS=/home/olivares/Download/intel-536EP-2.56.76.0/coredrv modules
make[2]: Entering directory `/home/olivares/Download/linux-2.6.30'
 CC [M]  /home/olivares/Download/intel-536EP-2.56.76.0/coredrv/coredrv.o
/home/olivares/Download/intel-536EP-2.56.76.0/coredrv/coredrv.c: In
function ?create_hamproc?:
/home/olivares/Download/intel-536EP-2.56.76.0/coredrv/coredrv.c:785:
error: ?struct proc_dir_entry? has no member named ?owner?
make[3]: *** [/home/olivares/Download/intel-536EP-2.56.76.0/coredrv/coredrv.o]
Error 1
make[2]: *** [_module_/home/olivares/Download/intel-536EP-2.56.76.0/coredrv]
Error 2
make[2]: Leaving directory `/home/olivares/Download/linux-2.6.30'
make[1]: *** [536core_26] Error 2
make[1]: Leaving directory
`/home/olivares/Download/intel-536EP-2.56.76.0/coredrv'
2.6.30
Failed to build driver
[olivares@blackP4 intel-536EP-2.56.76.0]$

Thanks,

Antonio


--
PGP Fp: A896 876E 0D18 A958 13A7  2AF7 C769 BAB5 B628 B851

[Index of Archives]     [Linux Media Development]     [Asterisk]     [DCCP]     [Netdev]     [X.org]     [Xfree86]     [Fedora Women]     [Linux USB]

  Powered by Linux