On 02/02/2008, Joshua Gordon Crawford <jgcrawford@xxxxxxxxx> wrote: > On 02/02/2008, Marvin Stodolsky <marvin.stodolsky@xxxxxxxxx> wrote: > > > 1) You might be able to change IRQs by moving the modem card to a > > different PCI slot, or by setting the IRQ in the BIOS if it supports > > that action. > > I was hopng there'd be an option I could use with the driver. I'll > switch slots later today and let you know how it goes. There's no > setting like that in my BIOS that I've noticed, but I'll have a > another look when I reboot next. No BIOS options for assigning IRQ's, not even to onboard devices like sound and video. Switching pci slots worked. > > 2) It would be interesting to exchange the agrmodemlib.o between the > > two packages, and check functionality effects. > > I'll try this later today also. I'm currently in the middle of a bunch > of downloads that have piled up during the downtime. This results in unresolved symbols, as I've explained further in a different thread. A sample error log attached. > > 3) Since Hugo has function with agrsm package under a Ubuntu 2.6.22, > > you could try progressively upgrading your kernel to assess where the > > code breaks under Slackware. Thus you might be able to do a code fix > > needed for Slack kernels > > That'll be a lot of compiling and rebooting. I'll do it after the > weekend, when I have more time on my hands. So it turns out I'm not working this weekend after all, and I've been trying out different kernels. It works on 2.6.19, 2.6.20 as well as the 2.6.18 I already reported. Here's where it gets weird though - it also works on 2.6.21.5, which I compiled from the sources and config file which came from Slackware 12.0. I repeat - because it sounds unbelievable - agrsm-20070804 didn't work on the kernel shipped with Slack 12.0, but does on a kernel compiled from the same source and config. I stopped testing at that point. Frankly, kernel compiles are too time consuming and rebooting this often is sending my phone bill through the roof. Something I noticed during testing, is that if I remove the modules (rmmod), then later reload them (modprobe), the modem isn't detected. When the driver is unloaded the modem makes the click sound like it's being reset. I couldn't get the suse-10-2a driver to work on any of the kernels I compiled. 2.6.18 had a different error to the later versions. I've attached some error logs in case Hugo, Alan, or anyone else wants them for their own info. All attachments were created by "make module 2> errors.txt" -- Joshua Crawford ... http://geocities.com/mortarn http://www.emailcash.com.au/join.asp?refer=G84381 Emailcash - Free rewards for shopping online
/root/modem-driver-src/agrsm-suselib/serial26.c: In function 'serial8250_get_mctrl': /root/modem-driver-src/agrsm-suselib/serial26.c:1371: warning: unused variable 'flags' /root/modem-driver-src/agrsm-suselib/serial26.c: In function 'serial8250_config_port': /root/modem-driver-src/agrsm-suselib/serial26.c:2039: warning: unused variable 'ret' /root/modem-driver-src/agrsm-suselib/serial26.c: At top level: /root/modem-driver-src/agrsm-suselib/serial26.c:2131: warning: initialization from incompatible pointer type /root/modem-driver-src/agrsm-suselib/serial26.c:2132: warning: initialization from incompatible pointer type /root/modem-driver-src/agrsm-suselib/serial26.c:1922: warning: 'serial8250_request_rsa_resource' defined but not used WARNING: "kill_proc_wrap" [/root/modem-driver-src/agrsm-suselib/agrmodem.ko] undefined! WARNING: "agr_pci_get_irq" [/root/modem-driver-src/agrsm-suselib/agrmodem.ko] undefined!
/root/modem-driver-src/suse-10-2a/serial26.c: In function 'receive_chars': /root/modem-driver-src/suse-10-2a/serial26.c:1039: error: too many arguments to function 'uart_handle_sysrq_char' /root/modem-driver-src/suse-10-2a/serial26.c: In function 'serial8250_startup': /root/modem-driver-src/suse-10-2a/serial26.c:1434: warning: assignment from incompatible pointer type /root/modem-driver-src/suse-10-2a/serial26.c: At top level: /root/modem-driver-src/suse-10-2a/serial26.c:2115: warning: initialization from incompatible pointer type /root/modem-driver-src/suse-10-2a/serial26.c:2116: warning: initialization from incompatible pointer type make[2]: *** [/root/modem-driver-src/suse-10-2a/serial26.o] Error 1 make[1]: *** [_module_/root/modem-driver-src/suse-10-2a] Error 2 make: *** [module] Error 2
/root/modem-driver-src/suse-10-2a/agrsoftmodem.c: In function 'x_request_irq': /root/modem-driver-src/suse-10-2a/agrsoftmodem.c:255: warning: passing argument 2 of 'request_irq' from incompatible pointer type /root/modem-driver-src/suse-10-2a/agrsoftmodem.c: In function 'agr_pci_find_device': /root/modem-driver-src/suse-10-2a/agrsoftmodem.c:339: warning: ignoring return value of 'pci_enable_device', declared with attribute warn_unused_result /root/modem-driver-src/suse-10-2a/agrsoftmodem.c:416:56: error: macro "INIT_WORK" passed 3 arguments, but takes just 2 /root/modem-driver-src/suse-10-2a/agrsoftmodem.c: In function 'x_task_queue_init': /root/modem-driver-src/suse-10-2a/agrsoftmodem.c:416: error: 'INIT_WORK' undeclared (first use in this function) /root/modem-driver-src/suse-10-2a/agrsoftmodem.c:416: error: (Each undeclared identifier is reported only once /root/modem-driver-src/suse-10-2a/agrsoftmodem.c:416: error: for each function it appears in.) /root/modem-driver-src/suse-10-2a/agrsoftmodem.c:414: warning: unused variable 'x_tqueue' /root/modem-driver-src/suse-10-2a/agrsoftmodem.c:428:35: error: macro "INIT_WORK" passed 3 arguments, but takes just 2 /root/modem-driver-src/suse-10-2a/agrsoftmodem.c: In function 'x_task_queue_init_usb': /root/modem-driver-src/suse-10-2a/agrsoftmodem.c:428: error: 'INIT_WORK' undeclared (first use in this function) /root/modem-driver-src/suse-10-2a/agrsoftmodem.c:426: warning: unused variable 'x_tqueue' make[2]: *** [/root/modem-driver-src/suse-10-2a/agrsoftmodem.o] Error 1 make[1]: *** [_module_/root/modem-driver-src/suse-10-2a] Error 2 make: *** [module] Error 2
/root/modem-driver-src/suse-10-2a/agrsoftmodem.c: In function 'x_request_irq': /root/modem-driver-src/suse-10-2a/agrsoftmodem.c:255: warning: passing argument 2 of 'request_irq' from incompatible pointer type /root/modem-driver-src/suse-10-2a/agrsoftmodem.c: In function 'agr_pci_find_device': /root/modem-driver-src/suse-10-2a/agrsoftmodem.c:336: warning: 'pci_find_device' is deprecated (declared at include/linux/pci.h:470) /root/modem-driver-src/suse-10-2a/agrsoftmodem.c:339: warning: ignoring return value of 'pci_enable_device', declared with attribute warn_unused_result /root/modem-driver-src/suse-10-2a/agrsoftmodem.c: In function 'agr_pci_get_irq': /root/modem-driver-src/suse-10-2a/agrsoftmodem.c:351: warning: 'pci_find_device' is deprecated (declared at include/linux/pci.h:470) /root/modem-driver-src/suse-10-2a/agrsoftmodem.c:416:56: error: macro "INIT_WORK" passed 3 arguments, but takes just 2 /root/modem-driver-src/suse-10-2a/agrsoftmodem.c: In function 'x_task_queue_init': /root/modem-driver-src/suse-10-2a/agrsoftmodem.c:416: error: 'INIT_WORK' undeclared (first use in this function) /root/modem-driver-src/suse-10-2a/agrsoftmodem.c:416: error: (Each undeclared identifier is reported only once /root/modem-driver-src/suse-10-2a/agrsoftmodem.c:416: error: for each function it appears in.) /root/modem-driver-src/suse-10-2a/agrsoftmodem.c:414: warning: unused variable 'x_tqueue' /root/modem-driver-src/suse-10-2a/agrsoftmodem.c:428:35: error: macro "INIT_WORK" passed 3 arguments, but takes just 2 /root/modem-driver-src/suse-10-2a/agrsoftmodem.c: In function 'x_task_queue_init_usb': /root/modem-driver-src/suse-10-2a/agrsoftmodem.c:428: error: 'INIT_WORK' undeclared (first use in this function) /root/modem-driver-src/suse-10-2a/agrsoftmodem.c:426: warning: unused variable 'x_tqueue' make[2]: *** [/root/modem-driver-src/suse-10-2a/agrsoftmodem.o] Error 1 make[1]: *** [_module_/root/modem-driver-src/suse-10-2a] Error 2 make: *** [module] Error 2