Jayjwa, I commented Line 785 out : /* hamproc->owner = THIS_MODULE; */ and everything worked out fine. I am connected under 2.6.30 [root@blackP4 ~]# wvdial --> WvDial: Internet dialer version 1.60 --> Initializing modem. --> Sending: ATZ ATZ OK --> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 OK --> Modem initialized. --> Sending: ATDT7072000 --> Waiting for carrier. ATDT7072000 NO DIALTONE --> No dial tone. --> Disconnecting at Sun Jun 28 18:29:23 2009 [root@blackP4 ~]# wvdial --> WvDial: Internet dialer version 1.60 --> Initializing modem. --> Sending: ATZ ATZ OK --> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 OK --> Modem initialized. --> Sending: ATDT7072000 --> Waiting for carrier. ATDT7072000 CONNECT 49333 --> Carrier detected. Starting PPP immediately. --> Starting pppd at Sun Jun 28 18:36:50 2009 --> Pid of pppd: 3831 --> Using interface ppp0 --> pppd: m� Hp� --> pppd: m� Hp� --> pppd: m� Hp� --> local IP address 66.201.8.59 --> pppd: m� Hp� --> remote IP address 66.201.8.6 --> pppd: m� Hp� --> primary DNS address 66.201.0.203 --> pppd: m� Hp� --> secondary DNS address 66.94.120.9 --> pppd: m� Hp� [olivares@blackP4 ~]$ uname -r 2.6.30 [olivares@blackP4 ~]$ su -c 'lsmod | grep Intel536' Password: Intel536 1076452 0 [olivares@blackP4 ~]$ All is well. Now all that remains to do, is to get the pctel modem also working on 2.6.30, but thanks to you I can connect with this kernel with intel 536 drivers from Phillipe Vouters. Regards, Antonio On 6/28/09, jayjwa <jayjwa@xxxxxxxxxxx> wrote: > > > 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 >