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]

 



Phillipe,

I uninstalled previous version,

[olivares@blackP4 intel-536EP-2.56.76.0]$ su -c 'make uninstall'
Password:
Uninstalling on system V boot like only.
rm -f `find /etc/ -name Intel536_boot`
rm -f /etc/hamregistry.bin
rm -f /usr/sbin/hamregistry
rmmod Intel536
rm -f `find /lib/modules -name Intel536.o`
rm -f `find /lib/modules -name Intel536.ko`
Uninstalling done.


All is well.  No more oops :)

Intel 536EP card found
536ep:softcore_init_struct: pdev->driver is NULL
pci 0000:00:0b.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19
PPP generic driver version 2.4.2
PPP Deflate Compression module registered


Regards,

Antonio

On 6/29/09, Antonio Olivares <olivares14031@xxxxxxxxx> wrote:
> Phillipe,
>
> Thank you for sharing your driver.  I downloaded it and installed it.
> I did not uninstall the previous version, and at the end of installing
> the new driver I got a kernel oops:
>
> [olivares@blackP4 Download]$ tar -jxvf intel-536EP-537EP_2009_06_29.tar.bz2
> intel-536-537/
> intel-536-537/Intel536_inst
> intel-536-537/0629215535.001
> intel-536-537/hamregistry
> intel-536-537/537_boot
> intel-536-537/coredrv/
> intel-536-537/coredrv/clmmain.c
> intel-536-537/coredrv/afedsp_int.h
> intel-536-537/coredrv/softserial_io.c
> intel-536-537/coredrv/537core.lib
> intel-536-537/coredrv/afedsp_int.c
> intel-536-537/coredrv/task.c
> intel-536-537/coredrv/536core.lib
> intel-536-537/coredrv/uart.c
> intel-536-537/coredrv/lock_lin.h
> intel-536-537/coredrv/locks.c
> intel-536-537/coredrv/softserial.h
> intel-536-537/coredrv/sys_ver.h
> intel-536-537/coredrv/wwh_dflt.h
> intel-536-537/coredrv/softserial_ioctl.c
> intel-536-537/coredrv/softserial.c
> intel-536-537/coredrv/tasker.h
> intel-536-537/coredrv/uart.h
> intel-536-537/coredrv/hamcore.h
> intel-536-537/coredrv/rts.c
> intel-536-537/coredrv/softcore.h
> intel-536-537/coredrv/coredrv.c
> intel-536-537/coredrv/rts.h
> intel-536-537/coredrv/hamdefs.h
> intel-536-537/coredrv/Makefile
> intel-536-537/coredrv/wwh_dflt.c
> intel-536-537/537_inst
> intel-536-537/makefile_536
> intel-536-537/Intel536_boot
> intel-536-537/makefile_537
> intel-536-537/license.txt
> intel-536-537/usrsound
> intel-536-537/config_check
> intel-536-537/0629215746.001
> intel-536-537/makefile
> intel-536-537/readme.txt
> [olivares@blackP4 Download]$ cd intel-536-537/
> [olivares@blackP4 intel-536-537]$ make clean
> cd coredrv; make clean
> make[1]: Entering directory `/home/olivares/Download/intel-536-537/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-536-537/coredrv'
> rm -f *.o *.ko
> [olivares@blackP4 intel-536-537]$ make 536
> cd coredrv; make clean
> make[1]: Entering directory `/home/olivares/Download/intel-536-537/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-536-537/coredrv'
> rm -f *.o *.ko
>    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
> make[1]: Entering directory `/home/olivares/Download/intel-536-537'
> 2.6.30
> make[2]: Entering directory `/home/olivares/Download/intel-536-537/coredrv'
> make -C /lib/modules/2.6.30/build
> SUBDIRS=/home/olivares/Download/intel-536-537/coredrv modules
> make[3]: Entering directory `/home/olivares/Download/linux-2.6.30'
>   CC [M]  /home/olivares/Download/intel-536-537/coredrv/coredrv.o
>   CC [M]  /home/olivares/Download/intel-536-537/coredrv/clmmain.o
>   CC [M]  /home/olivares/Download/intel-536-537/coredrv/rts.o
>   CC [M]  /home/olivares/Download/intel-536-537/coredrv/task.o
>   CC [M]  /home/olivares/Download/intel-536-537/coredrv/uart.o
>   CC [M]  /home/olivares/Download/intel-536-537/coredrv/wwh_dflt.o
>   CC [M]  /home/olivares/Download/intel-536-537/coredrv/locks.o
>   CC [M]  /home/olivares/Download/intel-536-537/coredrv/softserial_io.o
>   CC [M]  /home/olivares/Download/intel-536-537/coredrv/softserial_ioctl.o
>   CC [M]  /home/olivares/Download/intel-536-537/coredrv/softserial.o
>   LD [M]  /home/olivares/Download/intel-536-537/coredrv/Intel536.o
>   Building modules, stage 2.
>   MODPOST 1 modules
> WARNING: could not find
> /home/olivares/Download/intel-536-537/coredrv/.536core.lib.cmd for
> /home/olivares/Download/intel-536-537/coredrv/536core.lib
>   CC      /home/olivares/Download/intel-536-537/coredrv/Intel536.mod.o
>   LD [M]  /home/olivares/Download/intel-536-537/coredrv/Intel536.ko
> make[3]: Leaving directory `/home/olivares/Download/linux-2.6.30'
> make[2]: Leaving directory `/home/olivares/Download/intel-536-537/coredrv'
> make[1]: Leaving directory `/home/olivares/Download/intel-536-537'
> [olivares@blackP4 intel-536-537]$ su -c 'make install'
> Password:
> make[1]: Entering directory `/home/olivares/Download/intel-536-537'
> rm -f /etc/hamregistry.bin
> bash Intel536_inst
> running kernel 2.6.30
> installing hamregistry, used for persistant storage
> installing Intel536 driver
> install REDHAT Intel536 boot script and links
> starting module and utilities
> done
> make[1]: Leaving directory `/home/olivares/Download/intel-536-537'
>
>
>
> Intel 536EP card found
> 536ep:softcore_init_struct: pdev->driver is NULL
> ------------[ cut here ]------------
> WARNING: at fs/sysfs/dir.c:487 sysfs_add_one+0xa8/0xbd()
> Hardware name:
> sysfs: cannot create duplicate filename '/devices/virtual/tty/536ep0'
> Modules linked in: Intel536(+) usb_storage fuse sco bridge stp bnep
> l2cap bluetooth sunrpc ip6t_REJECT nf_conntrack_ipv6 ip6table_filter
> ip6_tables ipv6 p4_clockmod dm_multipath uinput snd_intel8x0
> snd_ac97_codec ac97_bus snd_seq_dummy snd_seq_oss snd_seq_midi_event
> snd_seq snd_seq_device ppdev snd_pcm_oss snd_mixer_oss snd_pcm sis900
> snd_timer snd mii parport_pc pcspkr serio_raw sata_sis parport
> soundcore floppy snd_page_alloc joydev ata_generic pata_acpi pata_sis
> ext4 jbd2 crc16 [last unloaded: Intel536]
> Pid: 3523, comm: modprobe Not tainted 2.6.30 #1
> Call Trace:
>  [<c042e1a2>] warn_slowpath_common+0x60/0x90
>  [<c042e206>] warn_slowpath_fmt+0x24/0x27
>  [<c04d99d5>] sysfs_add_one+0xa8/0xbd
>  [<c04d9e6b>] create_dir+0x43/0x68
>  [<c04d9ebd>] sysfs_create_dir+0x2d/0x41
>  [<c052d9f2>] kobject_add_internal+0xad/0x14e
>  [<c052db4c>] kobject_add_varg+0x35/0x41
>  [<c052dbbd>] kobject_add+0x43/0x49
>  [<c05ac80d>] device_add+0xa8/0x462
>  [<c052d776>] ? kobject_init+0x36/0x70
>  [<c05acbd9>] device_register+0x12/0x15
>  [<c05acc51>] device_create_vargs+0x75/0x96
>  [<c05acc8d>] device_create+0x1b/0x1d
>  [<c05884fb>] tty_register_device+0xad/0xb8
>  [<c0588669>] ? tty_register_driver+0x163/0x174
>  [<dea42695>] softserial_register_tty+0x1f5/0x210 [Intel536]
>  [<de761024>] init_536+0x24/0x29 [Intel536]
>  [<c0401137>] do_one_initcall+0x4a/0x11a
>  [<de761000>] ? init_536+0x0/0x29 [Intel536]
>  [<c0442381>] ? __blocking_notifier_call_chain+0x40/0x4c
>  [<c044f5e7>] sys_init_module+0x87/0x18b
>  [<c0403178>] sysenter_do_call+0x12/0x2d
> ---[ end trace 38d865f8cdea7860 ]---
> kobject_add_internal failed for 536ep0 with -EEXIST, don't try to
> register things with the same name in the same directory.
> Pid: 3523, comm: modprobe Tainted: G        W  2.6.30 #1
> Call Trace:
>  [<c052da81>] kobject_add_internal+0x13c/0x14e
>  [<c052db4c>] kobject_add_varg+0x35/0x41
>  [<c052dbbd>] kobject_add+0x43/0x49
>  [<c05ac80d>] device_add+0xa8/0x462
>  [<c052d776>] ? kobject_init+0x36/0x70
>  [<c05acbd9>] device_register+0x12/0x15
>  [<c05acc51>] device_create_vargs+0x75/0x96
>  [<c05acc8d>] device_create+0x1b/0x1d
>  [<c05884fb>] tty_register_device+0xad/0xb8
>  [<c0588669>] ? tty_register_driver+0x163/0x174
>  [<dea42695>] softserial_register_tty+0x1f5/0x210 [Intel536]
>  [<de761024>] init_536+0x24/0x29 [Intel536]
>  [<c0401137>] do_one_initcall+0x4a/0x11a
>  [<de761000>] ? init_536+0x0/0x29 [Intel536]
>  [<c0442381>] ? __blocking_notifier_call_chain+0x40/0x4c
>  [<c044f5e7>] sys_init_module+0x87/0x18b
>  [<c0403178>] sysenter_do_call+0x12/0x2d
>
>
>
>
> Kernel failure message 1:
> ------------[ cut here ]------------
> WARNING: at fs/sysfs/dir.c:487 sysfs_add_one+0xa8/0xbd()
> Hardware name:
> sysfs: cannot create duplicate filename '/devices/virtual/tty/536ep0'
> Modules linked in: Intel536(+) usb_storage fuse sco bridge stp bnep
> l2cap bluetooth sunrpc ip6t_REJECT nf_conntrack_ipv6 ip6table_filter
> ip6_tables ipv6 p4_clockmod dm_multipath uinput snd_intel8x0
> snd_ac97_codec ac97_bus snd_seq_dummy snd_seq_oss snd_seq_midi_event
> snd_seq snd_seq_device ppdev snd_pcm_oss snd_mixer_oss snd_pcm sis900
> snd_timer snd mii parport_pc pcspkr serio_raw sata_sis parport
> soundcore floppy snd_page_alloc joydev ata_generic pata_acpi pata_sis
> ext4 jbd2 crc16 [last unloaded: Intel536]
> Pid: 3523, comm: modprobe Not tainted 2.6.30 #1
> Call Trace:
>  [<c042e1a2>] warn_slowpath_common+0x60/0x90
>  [<c042e206>] warn_slowpath_fmt+0x24/0x27
>  [<c04d99d5>] sysfs_add_one+0xa8/0xbd
>  [<c04d9e6b>] create_dir+0x43/0x68
>  [<c04d9ebd>] sysfs_create_dir+0x2d/0x41
>  [<c052d9f2>] kobject_add_internal+0xad/0x14e
>  [<c052db4c>] kobject_add_varg+0x35/0x41
>  [<c052dbbd>] kobject_add+0x43/0x49
>  [<c05ac80d>] device_add+0xa8/0x462
>  [<c052d776>] ? kobject_init+0x36/0x70
>  [<c05acbd9>] device_register+0x12/0x15
>  [<c05acc51>] device_create_vargs+0x75/0x96
>  [<c05acc8d>] device_create+0x1b/0x1d
>  [<c05884fb>] tty_register_device+0xad/0xb8
>  [<c0588669>] ? tty_register_driver+0x163/0x174
>  [<dea42695>] softserial_register_tty+0x1f5/0x210 [Intel536]
>  [<de761024>] init_536+0x24/0x29 [Intel536]
>  [<c0401137>] do_one_initcall+0x4a/0x11a
>  [<de761000>] ? init_536+0x0/0x29 [Intel536]
>  [<c0442381>] ? __blocking_notifier_call_chain+0x40/0x4c
>  [<c044f5e7>] sys_init_module+0x87/0x18b
>  [<c0403178>] sysenter_do_call+0x12/0x2d
> ---[ end trace 38d865f8cdea7860 ]---
>
>
> I will reboot and see if I see this same error/oops?
> I hope that this is inofffensive as maybe I should have uninstalled
> the other driver first.
>
> Regards,
>
> Antonio
>
> On 6/29/09, Philippe Vouters <Philippe.Vouters@xxxxxxxxxxx> wrote:
>> Download the latest driver from my site (URL at my signature)
>> -
>> http://vouters.dyndns.org:8080/
>> Philippe Vouters (Fontainebleau/France)
>>
>>
>> Le samedi 27 juin 2009 à 22:34 -0500, Antonio Olivares a écrit :
>>> 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
>>>
>>
>>
>>
>


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

  Powered by Linux