(sorry for double post, i don’t see edit option)
ok, i follow post example, and now only one command not work perfect - insmod ./src/r8168.ko
(insmod: can’t read ‘./src/r8168.ko’: No such file or directory)
all other commands running, and i think driver in install with no fail’s…
make clean modules:
*linux-8cs9:/home/shimi_opensuse/r8168-8.035.00 #* make clean modules
make -C src/ clean
make[1]: Entering directory `/home/shimi_opensuse/r8168-8.035.00/src'
make -C /lib/modules/3.9.1-7.gb6484b6-desktop/build SUBDIRS=/home/shimi_opensuse/r8168-8.035.00/src clean
make[2]: Entering directory `/usr/src/linux-3.9.1-7.gb6484b6-obj/x86_64/desktop'
CLEAN /home/shimi_opensuse/r8168-8.035.00/src/.tmp_versions
make[2]: Leaving directory `/usr/src/linux-3.9.1-7.gb6484b6-obj/x86_64/desktop'
make[1]: Leaving directory `/home/shimi_opensuse/r8168-8.035.00/src'
make -C src/ modules
make[1]: Entering directory `/home/shimi_opensuse/r8168-8.035.00/src'
make -C /lib/modules/3.9.1-7.gb6484b6-desktop/build SUBDIRS=/home/shimi_opensuse/r8168-8.035.00/src modules
make[2]: Entering directory `/usr/src/linux-3.9.1-7.gb6484b6-obj/x86_64/desktop'
CC [M] /home/shimi_opensuse/r8168-8.035.00/src/r8168_n.o
/home/shimi_opensuse/r8168-8.035.00/src/r8168_n.c:14545:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rtl8168_init_board’
/home/shimi_opensuse/r8168-8.035.00/src/r8168_n.c:14715:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rtl8168_init_sequence’
/home/shimi_opensuse/r8168-8.035.00/src/r8168_n.c:14968:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rtl8168_init_one’
/home/shimi_opensuse/r8168-8.035.00/src/r8168_n.c:15132:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rtl8168_remove_one’
/home/shimi_opensuse/r8168-8.035.00/src/r8168_n.c:17651:12: error: ‘rtl8168_init_one’ undeclared here (not in a function)
/home/shimi_opensuse/r8168-8.035.00/src/r8168_n.c:17652:2: error: implicit declaration of function ‘__devexit_p’ -Werror=implicit-function-declaration]
/home/shimi_opensuse/r8168-8.035.00/src/r8168_n.c:17652:25: error: ‘rtl8168_remove_one’ undeclared here (not in a function)
/home/shimi_opensuse/r8168-8.035.00/src/r8168_n.c:17301:12: warning: ‘rtl8168_poll’ defined but not used -Wunused-function]
/home/shimi_opensuse/r8168-8.035.00/src/r8168_n.c:1368:1: warning: ‘rtl8168_xmii_reset_pending’ defined but not used -Wunused-function]
/home/shimi_opensuse/r8168-8.035.00/src/r8168_n.c:1383:1: warning: ‘rtl8168_xmii_link_ok’ defined but not used -Wunused-function]
/home/shimi_opensuse/r8168-8.035.00/src/r8168_n.c:1395:1: warning: ‘rtl8168_xmii_reset_enable’ defined but not used -Wunused-function]
/home/shimi_opensuse/r8168-8.035.00/src/r8168_n.c:1544:1: warning: ‘rtl8168_link_option’ defined but not used -Wunused-function]
/home/shimi_opensuse/r8168-8.035.00/src/r8168_n.c:1823:1: warning: ‘rtl8168_set_speed_xmii’ defined but not used -Wunused-function]
/home/shimi_opensuse/r8168-8.035.00/src/r8168_n.c:2151:13: warning: ‘rtl8168_gset_xmii’ defined but not used -Wunused-function]
/home/shimi_opensuse/r8168-8.035.00/src/r8168_n.c:2886:13: warning: ‘rtl8168_get_mac_version’ defined but not used -Wunused-function]
/home/shimi_opensuse/r8168-8.035.00/src/r8168_n.c:3002:1: warning: ‘rtl8168_print_mac_version’ defined but not used -Wunused-function]
/home/shimi_opensuse/r8168-8.035.00/src/r8168_n.c:3044:1: warning: ‘rtl8168_hw_phy_config’ defined but not used -Wunused-function]
/home/shimi_opensuse/r8168-8.035.00/src/r8168_n.c:13681:1: warning: ‘rtl8168_release_board’ defined but not used -Wunused-function]
/home/shimi_opensuse/r8168-8.035.00/src/r8168_n.c:14914:17: warning: ‘rtl8168_try_msi’ defined but not used -Wunused-function]
cc1: some warnings being treated as errors
make[5]: *** [/home/shimi_opensuse/r8168-8.035.00/src/r8168_n.o] 1 הלקת
make[4]: *** [_module_/home/shimi_opensuse/r8168-8.035.00/src] 2 הלקת
make[3]: *** [sub-make] 2 הלקת
make[2]: *** [all] 2 הלקת
make[2]: Leaving directory `/usr/src/linux-3.9.1-7.gb6484b6-obj/x86_64/desktop'
make[1]: *** [modules] 2 הלקת
make[1]: Leaving directory `/home/shimi_opensuse/r8168-8.035.00/src'
make: *** [modules] 2 הלקת
**תקלה\הלקת is Error**
make install:
*linux-8cs9:/home/shimi_opensuse/r8168-8.035.00 #* make install
make -C src/ install
make[1]: Entering directory `/home/shimi_opensuse/r8168-8.035.00/src'
make -C /lib/modules/3.9.1-7.gb6484b6-desktop/build SUBDIRS=/home/shimi_opensuse/r8168-8.035.00/src INSTALL_MOD_DIR=kernel/drivers/net/ethernet/realtek modules_install
make[2]: Entering directory `/usr/src/linux-3.9.1-7.gb6484b6-obj/x86_64/desktop'
DEPMOD 3.9.1-7.gb6484b6-desktop
make[2]: Leaving directory `/usr/src/linux-3.9.1-7.gb6484b6-obj/x86_64/desktop'
make[1]: Leaving directory `/home/shimi_opensuse/r8168-8.035.00/src'
mkinitrd: (replace for mkinitramfs, right?)
*linux-8cs9:/home/shimi_opensuse/r8168-8.035.00 #* mkinitrd -u /boot/initrd.img-`uname -r` `uname -r`
Kernel image: /boot/vmlinuz-3.9.0-6-vanilla
Initrd image: /boot/initrd-3.9.0-6-vanilla
Kernel Modules: <not available>
Could not find map 3.9.1-7.gb6484b6-desktop/boot/System.map, please specify a correct file with -M.
Kernel image: /boot/vmlinuz-3.9.1-7.gb6484b6-default
Initrd image: /boot/initrd-3.9.1-7.gb6484b6-default
Kernel Modules: <not available>
Could not find map 3.9.1-7.gb6484b6-desktop/boot/System.map, please specify a correct file with -M.
Kernel image: /boot/vmlinuz-3.9.1-7.gb6484b6-desktop
Initrd image: /boot/initrd-3.9.1-7.gb6484b6-desktop
Kernel Modules: <not available>
Could not find map 3.9.1-7.gb6484b6-desktop/boot/System.map, please specify a correct file with -M.
There was an error generating the initrd (9)
i not sure if Kernel Modules: bad or good.
lspci -v:
0e:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168 PCI Express Gigabit Ethernet controller (rev 03)
Subsystem: Toshiba America Info Systems Device ff00
Flags: bus master, fast devsel, latency 0, IRQ 46
I/O ports at 4000 [size=256]
Memory at f2004000 (64-bit, prefetchable) [size=4]
Memory at f2000000 (64-bit, prefetchable) [size=16]
[virtual] Expansion ROM at f2020000 [disabled] [size=128]
Capabilities: [40] Power Management version 3
Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [70] Express Endpoint, MSI 01
Capabilities: [ac] MSI-X: Enable- Count=4 Masked-
Capabilities: [cc] Vital Product Data
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Virtual Channel
Capabilities: [160] Device Serial Number ba-05-00-00-68-4c-e0-00
Kernel driver in use: r8169
i know, i know, this because the command to tell driver is available on system not work, r8168 no on list of lsmod:
Module Size Used by
fuse 91304 3
xt_tcpudp 12884 20
xt_pkttype 12504 3
xt_LOG 17521 16
xt_limit 12711 16
ip6t_REJECT 12939 3
nf_conntrack_ipv6 18938 3
nf_defrag_ipv6 18261 1 nf_conntrack_ipv6
ip6table_raw 12683 1
ipt_REJECT 12541 3
iptable_raw 12678 1
xt_CT 12956 4
iptable_filter 12810 1
vboxpci 27290 0
vboxnetadp 25670 0
vboxnetflt 23479 0
af_packet 39586 2
vboxdrv 336753 3 vboxpci,vboxnetadp,vboxnetflt
bnep 19701 2
bluetooth 386765 7 bnep
ip6table_mangle 12700 0
nf_conntrack_netbios_ns 12665 0
nf_conntrack_broadcast 12589 1 nf_conntrack_netbios_ns
nf_conntrack_ipv4 15012 3
nf_defrag_ipv4 12729 1 nf_conntrack_ipv4
ip_tables 27239 2 iptable_raw,iptable_filter
xt_conntrack 12760 6
nf_conntrack 101140 6 nf_conntrack_ipv6,xt_CT,nf_conntrack_netbios_ns,nf_conntrack_broadcast,nf_conntrack_ipv4,xt_conntrack
ip6table_filter 12815 1
ip6_tables 27025 3 ip6table_raw,ip6table_mangle,ip6table_filter
x_tables 34059 15 xt_tcpudp,xt_pkttype,xt_LOG,xt_limit,ip6t_REJECT,ip6table_raw,ipt_REJECT,iptable_raw,xt_CT,iptable_filter,ip6table_mangle,ip_tables,xt_conntrack,ip6table_filter,ip6_tables
arc4 12615 2
uvcvideo 85022 0
videobuf2_core 40542 1 uvcvideo
videodev 134703 2 uvcvideo,videobuf2_core
videobuf2_vmalloc 13216 1 uvcvideo
videobuf2_memops 13362 1 videobuf2_vmalloc
usb_storage 61501 6
snd_hda_codec_hdmi 45183 4
acpi_cpufreq 19612 1
mperf 12667 1 acpi_cpufreq
coretemp 13435 0
snd_hda_codec_realtek 50117 1
snd_hda_intel 48117 5
snd_hda_codec 204284 3 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel
snd_hwdep 13602 1 snd_hda_codec
snd_pcm 110153 3 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
snd_seq 69779 0
snd_timer 29370 2 snd_pcm,snd_seq
snd_seq_device 14497 1 snd_seq
snd 87392 19 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_seq,snd_timer,snd_seq_device
iTCO_wdt 13480 0
iTCO_vendor_support 13718 1 iTCO_wdt
rtl8192se 98311 0
rtlwifi 119506 1 rtl8192se
mac80211 678341 2 rtl8192se,rtlwifi
sdhci_pci 22794 0
sdhci 38672 1 sdhci_pci
cfg80211 579562 2 rtlwifi,mac80211
r8169 67670 0
jmb38x_ms 18663 0
i2c_i801 22443 0
mmc_core 124636 2 sdhci_pci,sdhci
soundcore 15047 1 snd
joydev 17377 0
snd_page_alloc 18710 2 snd_hda_intel,snd_pcm
pcspkr 12718 0
sr_mod 22372 0
cdrom 46687 1 sr_mod
sg 36524 0
memstick 16796 1 jmb38x_ms
lpc_ich 16977 0
mfd_core 13435 1 lpc_ich
microcode 35784 0
toshiba_bluetooth 12852 0
battery 18768 0
ac 13132 0
toshiba_acpi 22894 0
sparse_keymap 13890 1 toshiba_acpi
rfkill 26522 5 bluetooth,cfg80211,toshiba_acpi
edd 14503 0
autofs4 42770 2
nouveau 1047693 4
ttm 91915 1 nouveau
drm_kms_helper 52909 1 nouveau
drm 306970 6 nouveau,ttm,drm_kms_helper
i2c_algo_bit 13413 1 nouveau
mxm_wmi 13021 1 nouveau
video 19400 1 nouveau
wmi 19070 3 toshiba_acpi,nouveau,mxm_wmi
button 13952 1 nouveau
processor 45174 3 acpi_cpufreq
thermal_sys 30733 2 video,processor
scsi_dh_rdac 17408 0
scsi_dh_alua 17161 0
scsi_dh_emc 17258 0
scsi_dh_hp_sw 12894 0
scsi_dh 14843 4 scsi_dh_rdac,scsi_dh_alua,scsi_dh_emc,scsi_dh_hp_sw
all commands run after switch to root by su.
also, i blacklist r8169 in this files
blacklist.conf
50-blacklist.conf
blacklist-network
all in /etc/modprobe.d/
now i still not restart, maybe i no have internet after that (or maybe yes).
Ah, i dont why or who, but now i have internet. so i install the “Linux Kernel Development” pattern you sugget,
and install again the driver (this comment Information above) - with success, but also errors (before install the devel packages is only errors, so maybe is installed, i not sure).
btw, i no found how to export list of packges togo for install, i asked previous comment.[/size][/size][/size][/size]