Hi, Do you have a custom kernel compiled with a different version string than the default? This error is typical of such, or that the running kernel doesn't match what's in /usr/src/linux. Alternatively, you could try with 'modprobe agrmodem --force' but be warned that this can be dangerous (i.e. system hang or kernel panic) and should only be done if you're absolutely sure that what's running matches /usr/src/linux/ source. Bjorn. --- lin <linfix@xxxxxxxxxxxxxx> wrote: > Hello Bjorn, > The 'make oldconfig' and 'make modules' went > without errors at end - I > could see none as they went along. > Did > sudo cp sound/pci/hda/snd_hda_intel.ko > >> /lib/modules/`uname > -r`/kernel/sound/pci/hda/snd-hda-intel.ko/ > > Restarted - results attached in Bjorn-continue > Stuck on modprobe as shown in attachment. > > Lin > > > > Bjorn Wielens wrote: > > Hi Lin, > > just a simple typo, that's all- the command is > 'make oldconfig', not > > 'make oldconfig/' You have a trailing slash that > shouldn't be there :) > > Bjorn. > > > > > > lin wrote: > >> Hello Bjorn, > >> Perhaps this needs new subject? > >> Omitted tests on Mepis > >> I have changed to Mandriva Spring 2008 from > Mepis, ran scanModem > >> (attached), followed your procedure, and have > problem as shown in > >> attached "bjorn procedure". > >> Have googled for meaning of the error in make > oldconfig > >> I Believe I am using correct kernel-source. > >> Attachment shows where hda_codec.c was modified. > >> Would you have any clues? Thanks. > > > > > > > > [bill@localhost ~]$ su > Password: > [root@localhost bill]# cd /home/bill/Desktop > [root@localhost Desktop]# tar jxvf > agrsm-HDA-20080721.tar.bz2 > agrsm-20080721/ > agrsm-20080721/Makefile > agrsm-20080721/agrinst > agrsm-20080721/8250.h > agrsm-20080721/.agrserial.ko.cmd > agrsm-20080721/agr_auxinst > agrsm-20080721/hda_codec.h > agrsm-20080721/HDA.c > agrsm-20080721/.agrmodem.o.cmd > agrsm-20080721/.agrmodem.mod.o.cmd > agrsm-20080721/Module.symvers > agrsm-20080721/modules.order > agrsm-20080721/README > agrsm-20080721/.tmp_versions/ > agrsm-20080721/.tmp_versions/agrserial.mod > agrsm-20080721/.tmp_versions/agrmodem.mod > agrsm-20080721/LICENSE > agrsm-20080721/serial26.c > agrsm-20080721/.agrserial.o.cmd > agrsm-20080721/.HDA.o.cmd > agrsm-20080721/agrmodemlib.o > agrsm-20080721/linuxif.h > agrsm-20080721/.agrserial.mod.o.cmd > agrsm-20080721/config.h > agrsm-20080721/agr_softmodem > agrsm-20080721/.agrmodem.ko.cmd > agrsm-20080721/agruninst > agrsm-20080721/AgereMdmDaemon > agrsm-20080721/agrmodem.h > agrsm-20080721/.agrsoftmodem.o.cmd > agrsm-20080721/.serial26.o.cmd > agrsm-20080721/agrsoftmodem.c > [root@localhost Desktop]# cd agrsm-20080721 > [root@localhost agrsm-20080721]# make module > make -C /lib/modules/`uname -r`/build/ > SUBDIRS=/home/bill/Desktop/agrsm-20080721 modules > make[1]: Entering directory > `/usr/src/linux-2.6.24.4-1mnb' > CC [M] > /home/bill/Desktop/agrsm-20080721/agrsoftmodem.o > /home/bill/Desktop/agrsm-20080721/agrsoftmodem.c: In > function â??agr_pci_find_deviceâ??: > /home/bill/Desktop/agrsm-20080721/agrsoftmodem.c:366: > warning: â??pci_find_deviceâ?? is deprecated > (declared > at include/linux/pci.h:492) > /home/bill/Desktop/agrsm-20080721/agrsoftmodem.c:369: > warning: â??pci_find_deviceâ?? is deprecated > (declared > at include/linux/pci.h:492) > /home/bill/Desktop/agrsm-20080721/agrsoftmodem.c:368: > warning: ignoring return value of > â??pci_enable_devic > eâ??, declared with attribute warn_unused_result > /home/bill/Desktop/agrsm-20080721/agrsoftmodem.c: In > function â??agr_pci_get_irqâ??: > /home/bill/Desktop/agrsm-20080721/agrsoftmodem.c:383: > warning: â??pci_find_deviceâ?? is deprecated > (declared > at include/linux/pci.h:492) > /home/bill/Desktop/agrsm-20080721/agrsoftmodem.c: In > function â??x_pcibios_read_config_byteâ??: > /home/bill/Desktop/agrsm-20080721/agrsoftmodem.c:394: > warning: â??pci_find_slotâ?? is deprecated (declared > at > include/linux/pci.h:493) > /home/bill/Desktop/agrsm-20080721/agrsoftmodem.c: In > function â??x_pcibios_read_config_wordâ??: > /home/bill/Desktop/agrsm-20080721/agrsoftmodem.c:397: > warning: â??pci_find_slotâ?? is deprecated (declared > at > include/linux/pci.h:493) > /home/bill/Desktop/agrsm-20080721/agrsoftmodem.c: In > function â??x_pcibios_read_config_dwordâ??: > /home/bill/Desktop/agrsm-20080721/agrsoftmodem.c:400: > warning: â??pci_find_slotâ?? is deprecated (declared > at > include/linux/pci.h:493) > /home/bill/Desktop/agrsm-20080721/agrsoftmodem.c: In > function â??x_pcibios_write_config_byteâ??: > /home/bill/Desktop/agrsm-20080721/agrsoftmodem.c:403: > warning: â??pci_find_slotâ?? is deprecated (declared > at > include/linux/pci.h:493) > /home/bill/Desktop/agrsm-20080721/agrsoftmodem.c: In > function â??x_pcibios_write_config_wordâ??: > /home/bill/Desktop/agrsm-20080721/agrsoftmodem.c:406: > warning: â??pci_find_slotâ?? is deprecated (declared > at > include/linux/pci.h:493) > /home/bill/Desktop/agrsm-20080721/agrsoftmodem.c: In > function â??x_pcibios_write_config_dwordâ??: > /home/bill/Desktop/agrsm-20080721/agrsoftmodem.c:409: > warning: â??pci_find_slotâ?? is deprecated (declared > at > include/linux/pci.h:493) > /home/bill/Desktop/agrsm-20080721/agrsoftmodem.c: In > function â??x_task_queue_initâ??: > /home/bill/Desktop/agrsm-20080721/agrsoftmodem.c:448: > warning: assignment from incompatible pointer type > /home/bill/Desktop/agrsm-20080721/agrsoftmodem.c: In > function â??x_task_queue_init_usbâ??: > /home/bill/Desktop/agrsm-20080721/agrsoftmodem.c:460: > warning: assignment from incompatible pointer type > /home/bill/Desktop/agrsm-20080721/agrsoftmodem.c: At > top level: > /home/bill/Desktop/agrsm-20080721/agrsoftmodem.c:487: > warning: function declaration isnâ??t a prototype > /home/bill/Desktop/agrsm-20080721/agrsoftmodem.c:513: > warning: function declaration isnâ??t a prototype > /home/bill/Desktop/agrsm-20080721/agrsoftmodem.c:523: > warning: function declaration isnâ??t a prototype > /home/bill/Desktop/agrsm-20080721/agrsoftmodem.c:528: > warning: function declaration isnâ??t a prototype > /home/bill/Desktop/agrsm-20080721/agrsoftmodem.c: In > function â??x_usb_buffer_alloc_kernelâ??: > /home/bill/Desktop/agrsm-20080721/agrsoftmodem.c:623: > warning: control reaches end of non-void function > /home/bill/Desktop/agrsm-20080721/agrsoftmodem.c: In > function â??x_usb_buffer_alloc_atomicâ??: > /home/bill/Desktop/agrsm-20080721/agrsoftmodem.c:617: > warning: control reaches end of non-void function > /home/bill/Desktop/agrsm-20080721/agrsoftmodem.c: In > function â??x_usb_get_devâ??: > /home/bill/Desktop/agrsm-20080721/agrsoftmodem.c:577: > warning: control reaches end of non-void function > /home/bill/Desktop/agrsm-20080721/agrsoftmodem.c: In > function â??x_usb_alloc_urb_atomicâ??: > /home/bill/Desktop/agrsm-20080721/agrsoftmodem.c:532: > warning: control reaches end of non-void function > /home/bill/Desktop/agrsm-20080721/agrsoftmodem.c: In > function â??x_usb_alloc_urb_kernelâ??: > /home/bill/Desktop/agrsm-20080721/agrsoftmodem.c:527: > warning: control reaches end of non-void function > /home/bill/Desktop/agrsm-20080721/agrsoftmodem.c: At > top level: > /home/bill/Desktop/agrsm-20080721/agrsoftmodem.c:133: > warning: â??uss_driverâ?? defined but not used > CC [M] /home/bill/Desktop/agrsm-20080721/HDA.o > /home/bill/Desktop/agrsm-20080721/HDA.c:216: > warning: function declaration isnâ??t a prototype > /home/bill/Desktop/agrsm-20080721/HDA.c: In function > â??GetHDABaseAddressâ??: > /home/bill/Desktop/agrsm-20080721/HDA.c:227: > warning: assignment makes integer from pointer > without a cas > t > /home/bill/Desktop/agrsm-20080721/HDA.c:229: > warning: return makes pointer from integer without a > cast > /home/bill/Desktop/agrsm-20080721/HDA.c:219: > warning: unused variable â??codec_tempâ?? > /home/bill/Desktop/agrsm-20080721/HDA.c: In function > â??HDAdumpâ??: > /home/bill/Desktop/agrsm-20080721/HDA.c:244: > warning: format â??%xâ?? expects type â??unsigned > intâ??, but argume > nt 2 has type â??void *â?? > /home/bill/Desktop/agrsm-20080721/HDA.c:248: > warning: format â??%08Xâ?? expects type â??unsigned > intâ??, but argu > ment 3 has type â??long unsigned intâ?? > /home/bill/Desktop/agrsm-20080721/HDA.c:248: > warning: format â??%08Xâ?? expects type â??unsigned > intâ??, but argu > ment 4 has type â??long unsigned intâ?? > /home/bill/Desktop/agrsm-20080721/HDA.c:248: > warning: format â??%08Xâ?? expects type â??unsigned > intâ??, but argu > ment 5 has type â??long unsigned intâ?? > /home/bill/Desktop/agrsm-20080721/HDA.c:248: > warning: format â??%08Xâ?? expects type â??unsigned > intâ??, but argu > ment 6 has type â??long unsigned intâ?? > /home/bill/Desktop/agrsm-20080721/HDA.c:239: > warning: unused variable â??codec_tempâ?? > /home/bill/Desktop/agrsm-20080721/HDA.c: In function > â??setResumeCallBackâ??: > /home/bill/Desktop/agrsm-20080721/HDA.c:287: > warning: assignment from incompatible pointer type > /home/bill/Desktop/agrsm-20080721/HDA.c:288: > warning: assignment from incompatible pointer type > /home/bill/Desktop/agrsm-20080721/HDA.c: In function > â??setSuspendCallBackâ??: > /home/bill/Desktop/agrsm-20080721/HDA.c:293: > warning: assignment from incompatible pointer type > /home/bill/Desktop/agrsm-20080721/HDA.c:294: > warning: assignment from incompatible pointer type > /home/bill/Desktop/agrsm-20080721/HDA.c: At top > level: > /home/bill/Desktop/agrsm-20080721/HDA.c:298: > warning: function declaration isnâ??t a prototype > /home/bill/Desktop/agrsm-20080721/HDA.c: In function > â??resetResumeCallBackâ??: > /home/bill/Desktop/agrsm-20080721/HDA.c:299: > warning: === message truncated === __________________________________________________________________ Yahoo! Canada Toolbar: Search from anywhere on the web, and bookmark your favourite sites. Download it now at http://ca.toolbar.yahoo.com.