not install ltmodem

Bug #372762 reported by mityi
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux-restricted-modules (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

I installed linux-restricted-modules_2.6.28-11.15, but did not install the module Ltmodem. I have compiled from source linux-restricted-modules_2.6.28-12.16, but again, not install ltmodem

mityi (mityi)
security vulnerability: yes → no
visibility: private → public
Revision history for this message
mityi (mityi) wrote :
Download full text (4.0 KiB)

/.
/lib
/lib/linux-restricted-modules
/lib/linux-restricted-modules/2.6.28-12-generic
/lib/linux-restricted-modules/2.6.28-12-generic/wlan_ccmp
/lib/linux-restricted-modules/2.6.28-12-generic/wlan_ccmp/wlan_ccmp.mod.o
/lib/linux-restricted-modules/2.6.28-12-generic/wlan_ccmp/wlan_ccmp.o
/lib/linux-restricted-modules/2.6.28-12-generic/wl
/lib/linux-restricted-modules/2.6.28-12-generic/wl/wlc_hybrid.o_shipped_i386
/lib/linux-restricted-modules/2.6.28-12-generic/wl/wl_linux.o
/lib/linux-restricted-modules/2.6.28-12-generic/wl/linux_osl.o
/lib/linux-restricted-modules/2.6.28-12-generic/wl/wl.mod.o
/lib/linux-restricted-modules/2.6.28-12-generic/wl/wl_iw.o
/lib/linux-restricted-modules/2.6.28-12-generic/ath_rate_minstrel
/lib/linux-restricted-modules/2.6.28-12-generic/ath_rate_minstrel/ath_rate_minstrel.o
/lib/linux-restricted-modules/2.6.28-12-generic/ath_rate_minstrel/ath_rate_minstrel.mod.o
/lib/linux-restricted-modules/2.6.28-12-generic/wlan_xauth
/lib/linux-restricted-modules/2.6.28-12-generic/wlan_xauth/wlan_xauth.o
/lib/linux-restricted-modules/2.6.28-12-generic/wlan_xauth/wlan_xauth.mod.o
/lib/linux-restricted-modules/2.6.28-12-generic/wlan
/lib/linux-restricted-modules/2.6.28-12-generic/wlan/wlan.o
/lib/linux-restricted-modules/2.6.28-12-generic/wlan/wlan.mod.o
/lib/linux-restricted-modules/2.6.28-12-generic/ath_hal
/lib/linux-restricted-modules/2.6.28-12-generic/ath_hal/i386-elf.hal.o
/lib/linux-restricted-modules/2.6.28-12-generic/ath_hal/ath_hal.mod.o
/lib/linux-restricted-modules/2.6.28-12-generic/ath_hal/ah_os.o
/lib/linux-restricted-modules/2.6.28-12-generic/ath_rate_sample
/lib/linux-restricted-modules/2.6.28-12-generic/ath_rate_sample/ath_rate_sample.o
/lib/linux-restricted-modules/2.6.28-12-generic/ath_rate_sample/ath_rate_sample.mod.o
/lib/linux-restricted-modules/2.6.28-12-generic/wlan_scan_ap
/lib/linux-restricted-modules/2.6.28-12-generic/wlan_scan_ap/wlan_scan_ap.o
/lib/linux-restricted-modules/2.6.28-12-generic/wlan_scan_ap/wlan_scan_ap.mod.o
/lib/linux-restricted-modules/2.6.28-12-generic/wlan_wep
/lib/linux-restricted-modules/2.6.28-12-generic/wlan_wep/wlan_wep.o
/lib/linux-restricted-modules/2.6.28-12-generic/wlan_wep/wlan_wep.mod.o
/lib/linux-restricted-modules/2.6.28-12-generic/wlan_acl
/lib/linux-restricted-modules/2.6.28-12-generic/wlan_acl/wlan_acl.mod.o
/lib/linux-restricted-modules/2.6.28-12-generic/wlan_acl/wlan_acl.o
/lib/linux-restricted-modules/2.6.28-12-generic/ath_rate_amrr
/lib/linux-restricted-modules/2.6.28-12-generic/ath_rate_amrr/ath_rate_amrr.mod.o
/lib/linux-restricted-modules/2.6.28-12-generic/ath_rate_amrr/ath_rate_amrr.o
/lib/linux-restricted-modules/2.6.28-12-generic/wlan_tkip
/lib/linux-restricted-modules/2.6.28-12-generic/wlan_tkip/wlan_tkip.mod.o
/lib/linux-restricted-modules/2.6.28-12-generic/wlan_tkip/wlan_tkip.o
/lib/linux-restricted-modules/2.6.28-12-generic/ath_rate_onoe
/lib/linux-restricted-modules/2.6.28-12-generic/ath_rate_onoe/ath_rate_onoe.mod.o
/lib/linux-restricted-modules/2.6.28-12-generic/ath_rate_onoe/ath_rate_onoe.o
/lib/linux-restricted-modules/2.6.28-12-generic/ath_pci
/lib/linux-restricted-modules/2.6.28-12-generic/ath_pci/if_ath_pci.o
/lib/linux-restricted-modules/2.6.28-12...

Read more...

Revision history for this message
mityi (mityi) wrote :

 I try to compile the ltmodem-2.6-alk-9, but get errors

igor@igor:~/Desktop/ltmodem-2.6-alk-9$ make
make -C /lib/modules/`uname -r`/build SUBDIRS=/home/igor/Desktop/ltmodem-2.6-alk-9 modules
make[1]: Вход в каталог `/usr/src/linux-headers-2.6.28-12-generic'
  CC [M] /home/igor/Desktop/ltmodem-2.6-alk-9/serial.o
/home/igor/Desktop/ltmodem-2.6-alk-9/serial.c: В функции ‘lt_virtual_rs_interrupt’:
/home/igor/Desktop/ltmodem-2.6-alk-9/serial.c:365: ошибка: ‘struct uart_info’ не содержит элемента с именем ‘tty’
/home/igor/Desktop/ltmodem-2.6-alk-9/serial.c: В функции ‘lt_set_termios’:
/home/igor/Desktop/ltmodem-2.6-alk-9/serial.c:489: предупреждение: в передаче аргумента 2 ‘uart_get_baud_rate’: несовместимый тип указателя
/home/igor/Desktop/ltmodem-2.6-alk-9/serial.c:489: предупреждение: в передаче аргумента 3 ‘uart_get_baud_rate’: несовместимый тип указателя
/home/igor/Desktop/ltmodem-2.6-alk-9/serial.c: В функции ‘lt_startup’:
/home/igor/Desktop/ltmodem-2.6-alk-9/serial.c:571: ошибка: ‘struct uart_info’ не содержит элемента с именем ‘tty’
/home/igor/Desktop/ltmodem-2.6-alk-9/serial.c: На верхнем уровне:
/home/igor/Desktop/ltmodem-2.6-alk-9/serial.c:717: предупреждение: несовместимый тип указателя в инициализации
/home/igor/Desktop/ltmodem-2.6-alk-9/serial.c: В функции ‘lt_init’:
/home/igor/Desktop/ltmodem-2.6-alk-9/serial.c:830: предупреждение: в передаче аргумента 2 ‘request_irq’: несовместимый тип указателя
make[2]: *** [/home/igor/Desktop/ltmodem-2.6-alk-9/serial.o] Ошибка 1
make[1]: *** [_module_/home/igor/Desktop/ltmodem-2.6-alk-9] Ошибка 2
make[1]: Выход из каталога `/usr/src/linux-headers-2.6.28-12-generic'
make: *** [module] Ошибка 2

Revision history for this message
mityi (mityi) wrote :

I compiled and installed the modem driver.
must be corrected the file serial.c in the source driver ltmodem-2.6-alk-9.

search for 'icom_port->uart_port.info->tty; and replace it with 'icom_port->uart_port.info->port.tty;'

search for 'up->port.info->tty; and replace it with 'up->port.info->port.tty;'

search for `SA_INTERRUPT | SA_SHIRQ' and replace it with
`IRQF_DISABLED | IRQF_SHARED'

then the driver will compile without error

I get ltmodem.ko & ltserial.ko.
Copy them to /lib/modules/`uname -r`/volatile/ dir and
run sudo depmod -a

Revision history for this message
mityi (mityi) wrote :

з.ы Copy them to /lib/modules/`uname -r`/other/ dir

Andy Whitcroft (apw)
Changed in linux-restricted-modules (Ubuntu):
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.