[+] Instalacja kontrolera PCI LogiLink 2xCOM
: 19 listopada 2011, 20:58
Witam.
Nie mogę sobie poradzić z instalacją z kartą PCI LogiLink 2xCOM pod Debianem w wersji testowej. Pod Windowsem7 działa aż miło, a tutaj nie mogę jej ożywić. Sterowniki dostarczone są na płycie cd dołączonej do karty. Są one w postaci do skompilowania własnoręcznego, czyli instalacji ze źródeł, z którą zawsze miałem problemy. Doinstalowałem program make, nagłówki jądra linux-headers-3.0.0-1-686-pae, i zrobiłem tak ze znalezionego opisu:
Po wykonaniu:
otrzymuję:
Gdzie tkwi błąd?
Dodatkowe informacje:
Nie mogę sobie poradzić z instalacją z kartą PCI LogiLink 2xCOM pod Debianem w wersji testowej. Pod Windowsem7 działa aż miło, a tutaj nie mogę jej ożywić. Sterowniki dostarczone są na płycie cd dołączonej do karty. Są one w postaci do skompilowania własnoręcznego, czyli instalacji ze źródeł, z którą zawsze miałem problemy. Doinstalowałem program make, nagłówki jądra linux-headers-3.0.0-1-686-pae, i zrobiłem tak ze znalezionego opisu:
Kod: Zaznacz cały
# rm -f /usr/src/linux
# ln -s /usr/src/linux-headers-3.0.0-1-686-pae /usr/src/linux
# apt-get install libsdl-dev
Kod: Zaznacz cały
make
Kod: Zaznacz cały
shiver MCS9865_V1.0.0.9 # make
rm -f *.mod.c *.o *.ko .*.cmd *.symvers
make -C /lib/modules/3.0.0-1-686-pae/build/ SUBDIRS=/home/shiver/MCS9865_V1.0.0.9 modules
make[1]: Wejście do katalogu `/usr/src/linux-headers-3.0.0-1-686-pae'
CC [M] /home/shiver/MCS9865_V1.0.0.9/mcs9865.o
/home/shiver/MCS9865_V1.0.0.9/mcs9865.c: In function ‘receive_chars’:
/home/shiver/MCS9865_V1.0.0.9/mcs9865.c:644:6: warning: comparison of distinct pointer types lacks a cast
/home/shiver/MCS9865_V1.0.0.9/mcs9865.c: At top level:
/home/shiver/MCS9865_V1.0.0.9/mcs9865.c:1993:8: warning: type defaults to ‘int’ in declaration of ‘DECLARE_MUTEX’
/home/shiver/MCS9865_V1.0.0.9/mcs9865.c:1993:1: warning: parameter names (without types) in function declaration
/home/shiver/MCS9865_V1.0.0.9/mcs9865.c: In function ‘serial9865_register_port’:
/home/shiver/MCS9865_V1.0.0.9/mcs9865.c:2040:8: error: ‘serial9865_sem’ undeclared (first use in this function)
/home/shiver/MCS9865_V1.0.0.9/mcs9865.c:2040:8: note: each undeclared identifier is reported only once for each function it appears in
/home/shiver/MCS9865_V1.0.0.9/mcs9865.c: In function ‘serial9865_remove_one’:
/home/shiver/MCS9865_V1.0.0.9/mcs9865.c:2151:9: error: ‘serial9865_sem’ undeclared (first use in this function)
/home/shiver/MCS9865_V1.0.0.9/mcs9865.c: At top level:
/home/shiver/MCS9865_V1.0.0.9/mcs9865.c:1993:8: warning: ‘DECLARE_MUTEX’ declared ‘static’ but never defined
make[4]: *** [/home/shiver/MCS9865_V1.0.0.9/mcs9865.o] Błąd 1
make[3]: *** [_module_/home/shiver/MCS9865_V1.0.0.9] Błąd 2
make[2]: *** [sub-make] Błąd 2
make[1]: *** [all] Błąd 2
make[1]: Opuszczenie katalogu `/usr/src/linux-headers-3.0.0-1-686-pae'
make: *** [default] Błąd 2
Dodatkowe informacje:
Kod: Zaznacz cały
shiver MCS9865_V1.0.0.9 # uname -aLinux shiver 3.0.0-1-686-pae #1 SMP Sat Aug 27 16:41:03 UTC 2011 i686 GNU/Linux
Kod: Zaznacz cały
shiver MCS9865_V1.0.0.9 # dpkg --print-architecturei
386
Kod: Zaznacz cały
shiver MCS9865_V1.0.0.9 # lspci -k
00:00.0 Host bridge: Intel Corporation 4 Series Chipset DRAM Controller (rev 03)
Subsystem: ASUSTeK Computer Inc. Device 82d3
00:01.0 PCI bridge: Intel Corporation 4 Series Chipset PCI Express Root Port (rev 03)
Kernel driver in use: pcieport
00:1a.0 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #4
Subsystem: ASUSTeK Computer Inc. Device 82d4
Kernel driver in use: uhci_hcd
00:1a.1 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #5
Subsystem: ASUSTeK Computer Inc. Device 82d4
Kernel driver in use: uhci_hcd
00:1a.2 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #6
Subsystem: ASUSTeK Computer Inc. Device 82d4
Kernel driver in use: uhci_hcd
00:1a.7 USB controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #2
Subsystem: ASUSTeK Computer Inc. Device 82d4
Kernel driver in use: ehci_hcd
00:1b.0 Audio device: Intel Corporation 82801JI (ICH10 Family) HD Audio Controller
Subsystem: ASUSTeK Computer Inc. Device 82fe
Kernel driver in use: HDA Intel
00:1c.0 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Root Port 1
Kernel driver in use: pcieport
00:1c.5 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Root Port 6
Kernel driver in use: pcieport
00:1d.0 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #1
Subsystem: ASUSTeK Computer Inc. Device 82d4
Kernel driver in use: uhci_hcd
00:1d.1 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #2
Subsystem: ASUSTeK Computer Inc. Device 82d4
Kernel driver in use: uhci_hcd
00:1d.2 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #3
Subsystem: ASUSTeK Computer Inc. Device 82d4
Kernel driver in use: uhci_hcd
00:1d.7 USB controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #1
Subsystem: ASUSTeK Computer Inc. Device 82d4
Kernel driver in use: ehci_hcd
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 90)
00:1f.0 ISA bridge: Intel Corporation 82801JIB (ICH10) LPC Interface Controller
Subsystem: ASUSTeK Computer Inc. Device 82d4
00:1f.2 IDE interface: Intel Corporation 82801JI (ICH10 Family) 4 port SATA IDE Controller #1
Subsystem: ASUSTeK Computer Inc. Device 82d4
Kernel driver in use: ata_piix
00:1f.3 SMBus: Intel Corporation 82801JI (ICH10 Family) SMBus Controller
Subsystem: ASUSTeK Computer Inc. Device 82d4
Kernel driver in use: i801_smbus
00:1f.5 IDE interface: Intel Corporation 82801JI (ICH10 Family) 2 port SATA IDE Controller #2
Subsystem: ASUSTeK Computer Inc. Device 82d4
Kernel driver in use: ata_piix
01:00.0 VGA compatible controller: nVidia Corporation GT200 [GeForce GTX 260] (rev a1)
Subsystem: ASUSTeK Computer Inc. Device 8301
Kernel driver in use: nouveau
02:00.0 Ethernet controller: Atheros Communications Inc. AR8121/AR8113/AR8114 Gigabit or Fast Ethernet (rev b0)
Subsystem: ASUSTeK Computer Inc. P5KPL-CM Motherboard
Kernel driver in use: ATL1E
04:02.0 Serial controller: NetMos Technology PCI 9865 Multi-I/O Controller
Subsystem: Device a000:1000
Kernel driver in use: serial
04:02.1 Serial controller: NetMos Technology PCI 9865 Multi-I/O Controller
Subsystem: Device a000:1000
Kernel driver in use: serial
04:02.2 Parallel controller: Illegal Vendor ID Device 9865
Subsystem: Device a000:2000
Kod: Zaznacz cały
shiver MCS9865_V1.0.0.9 # lspci
00:00.0 Host bridge: Intel Corporation 4 Series Chipset DRAM Controller (rev 03)
00:01.0 PCI bridge: Intel Corporation 4 Series Chipset PCI Express Root Port (rev 03)
00:1a.0 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #4
00:1a.1 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #5
00:1a.2 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #6
00:1a.7 USB controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #2
00:1b.0 Audio device: Intel Corporation 82801JI (ICH10 Family) HD Audio Controller
00:1c.0 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Root Port 1
00:1c.5 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Root Port 6
00:1d.0 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #1
00:1d.1 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #2
00:1d.2 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #3
00:1d.7 USB controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #1
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 90)
00:1f.0 ISA bridge: Intel Corporation 82801JIB (ICH10) LPC Interface Controller
00:1f.2 IDE interface: Intel Corporation 82801JI (ICH10 Family) 4 port SATA IDE Controller #1
00:1f.3 SMBus: Intel Corporation 82801JI (ICH10 Family) SMBus Controller
00:1f.5 IDE interface: Intel Corporation 82801JI (ICH10 Family) 2 port SATA IDE Controller #2
01:00.0 VGA compatible controller: nVidia Corporation GT200 [GeForce GTX 260] (rev a1)
02:00.0 Ethernet controller: Atheros Communications Inc. AR8121/AR8113/AR8114 Gigabit or Fast Ethernet (rev b0)
04:02.0 Serial controller: NetMos Technology PCI 9865 Multi-I/O Controller
04:02.1 Serial controller: NetMos Technology PCI 9865 Multi-I/O Controller
04:02.2 Parallel controller: Illegal Vendor ID Device 9865