Even with the 8250.h added: agrsm-2.1.80-8mdv2009.0$ ls 8250.h agrmodemlib.o_shipped config.h HDA.c linuxif.h README agrmodem.h agrsoftmodem.c dkms.conf LICENSE Makefile patches serial26.c There is the still the failure below. MarvS ============= DKMS make.log for agrsm-2.1.80-8mdv2009.0 for kernel 2.6.28-11-generic (i686) Fri Jun 5 18:39:30 EDT 2009 make: Entering directory `/usr/src/linux-headers-2.6.28-11-generic' LD /var/lib/dkms/agrsm/2.1.80-8mdv2009.0/build/built-in.o CC [M] /var/lib/dkms/agrsm/2.1.80-8mdv2009.0/build/agrsoftmodem.o /var/lib/dkms/agrsm/2.1.80-8mdv2009.0/build/agrsoftmodem.c: In function ‘x_request_irq’: /var/lib/dkms/agrsm/2.1.80-8mdv2009.0/build/agrsoftmodem.c:277: warning: passing argument 2 of ‘request_irq’ from incompatible pointer type /var/lib/dkms/agrsm/2.1.80-8mdv2009.0/build/agrsoftmodem.c: In function ‘x_task_queue_init’: /var/lib/dkms/agrsm/2.1.80-8mdv2009.0/build/agrsoftmodem.c:449: warning: assignment from incompatible pointer type /var/lib/dkms/agrsm/2.1.80-8mdv2009.0/build/agrsoftmodem.c: In function ‘x_task_queue_init_usb’: /var/lib/dkms/agrsm/2.1.80-8mdv2009.0/build/agrsoftmodem.c:461: warning: assignment from incompatible pointer type /var/lib/dkms/agrsm/2.1.80-8mdv2009.0/build/agrsoftmodem.c: At top level: /var/lib/dkms/agrsm/2.1.80-8mdv2009.0/build/agrsoftmodem.c:488: warning: function declaration isn’t a prototype /var/lib/dkms/agrsm/2.1.80-8mdv2009.0/build/agrsoftmodem.c:510: warning: function declaration isn’t a prototype /var/lib/dkms/agrsm/2.1.80-8mdv2009.0/build/agrsoftmodem.c:520: warning: function declaration isn’t a prototype /var/lib/dkms/agrsm/2.1.80-8mdv2009.0/build/agrsoftmodem.c:521: warning: function declaration isn’t a prototype SHIPPED /var/lib/dkms/agrsm/2.1.80-8mdv2009.0/build/agrmodemlib.o CC [M] /var/lib/dkms/agrsm/2.1.80-8mdv2009.0/build/HDA.o /var/lib/dkms/agrsm/2.1.80-8mdv2009.0/build/HDA.c:225: warning: function declaration isn’t a prototype /var/lib/dkms/agrsm/2.1.80-8mdv2009.0/build/HDA.c: In function ‘GetHDABaseAddress’: /var/lib/dkms/agrsm/2.1.80-8mdv2009.0/build/HDA.c:235: warning: assignment makes integer from pointer without a cast /var/lib/dkms/agrsm/2.1.80-8mdv2009.0/build/HDA.c:237: warning: return makes pointer from integer without a cast CC [M] /var/lib/dkms/agrsm/2.1.80-8mdv2009.0/build/serial26.o /var/lib/dkms/agrsm/2.1.80-8mdv2009.0/build/serial26.c: In function ‘serial8250_startup’: /var/lib/dkms/agrsm/2.1.80-8mdv2009.0/build/serial26.c:1434: warning: assignment from incompatible pointer type /var/lib/dkms/agrsm/2.1.80-8mdv2009.0/build/serial26.c: In function ‘serial8250_config_port’: /var/lib/dkms/agrsm/2.1.80-8mdv2009.0/build/serial26.c:2026: error: ‘UPF_BOOT_ONLYMCA’ undeclared (first use in this function) /var/lib/dkms/agrsm/2.1.80-8mdv2009.0/build/serial26.c:2026: error: (Each undeclared identifier is reported only once /var/lib/dkms/agrsm/2.1.80-8mdv2009.0/build/serial26.c:2026: error: for each function it appears in.) /var/lib/dkms/agrsm/2.1.80-8mdv2009.0/build/serial26.c: At top level: /var/lib/dkms/agrsm/2.1.80-8mdv2009.0/build/serial26.c:2115: warning: initialization from incompatible pointer type /var/lib/dkms/agrsm/2.1.80-8mdv2009.0/build/serial26.c:2116: warning: initialization from incompatible pointer type make[1]: *** [/var/lib/dkms/agrsm/2.1.80-8mdv2009.0/build/serial26.o] Error 1 make: *** [_module_/var/lib/dkms/agrsm/2.1.80-8mdv2009.0/build] Error 2 make: Leaving directory `/usr/src/linux-headers-2.6.28-11-generic' On Fri, Jun 5, 2009 at 5:16 PM, Zsolt László BÈRCZES<zsolt@xxxxxx> wrote: > hi all, > > looks like some distros (......, ....) deathpatch the kernel sources. > > as temporary hack pls copy > http://linux.zsolttech.com/linmodem/agrsm/Testing/8250.h file to the > agrsm-source dir. > and call: > dkms_autoinstaller start > if dkms_autoinstaller is not on your system (may some distros deathpatch > software packages too) call: > dkms build -m agrsm -v 2.1.80-8mdv2009.0 > dkms install -m agrsm -v 2.1.80-8mdv2009.0 > > tnx > zsolt > > Am Friday 05 June 2009 19:28:20 schrieb Bjorn Wielens: >> Same issue confirmed on OpenSuSE 11.1 with kernel 2.6.30-rc6. >> Bjorn. >> >> Marvin Stodolsky wrote: >> > Zsolt, >> > >> > Thanks for the guidance, some progress. >> > >> > After adding to Makefile: >> > EXTRA_CFLAGS += >> > -I/usr/src/modules/alsa/alsa-driver-1.0.18/alsa-kernel/pci/hda >> > >> > the prior error was passed, but there is now a later error in the >> > serial code section. >> > See attached make.log >> > > ... > > -- > Diese Nachricht wurde auf Viren und andere gefährliche Inhalte untersucht > und ist - aktuelle Virenscanner vorausgesetzt - sauber. > For all your IT requirements visit: http://www.ZsoltTech.Com > >