Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] Проблемы ядро 2.6.22 и карта Realtek RTL8101E
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Russian
View previous topic :: View next topic  
Author Message
LupoAlberto
n00b
n00b


Joined: 26 Jan 2005
Posts: 28

PostPosted: Sat Jul 14, 2007 5:29 pm    Post subject: [solved] Проблемы ядро 2.6.22 и карта Real Reply with quote

Обновился до ядра 2.6.22-suspend2.
При попытке собрать модуль для встроенной карты
Code:
#lspci -v | grep -i ethernet
05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E PCI Express Fast Ethernet controller (rev 01)

получаю следующее:
Code:
#cd /usr/src/r1000_v1.05
#make modules
make -C src/ modules
make[1]: Entering directory `/usr/src/r1000_v1.05/src'
make -C /lib/modules/2.6.22-suspend2b/build SUBDIRS=/usr/src/r1000_v1.05/src modules
make[2]: Entering directory `/usr/src/linux-2.6.22-suspend2'
  CC [M]  /usr/src/r1000_v1.05/src/r1000_n.o
/usr/src/r1000_v1.05/src/r1000_n.c: В функции ‘r1000_open’
/usr/src/r1000_v1.05/src/r1000_n.c:756: предупреждение: функция, переменная или тип  ‘deprecated_irq_flag’ будет исключен(а) в будущих версиях (декларация в include/linux/interrupt.h:66)
/usr/src/r1000_v1.05/src/r1000_n.c:756: предупреждение: passing argument 2 of ‘request_irq’ from incompatible pointer type
/usr/src/r1000_v1.05/src/r1000_n.c: В функции ‘r1000_init_module’
/usr/src/r1000_v1.05/src/r1000_n.c:1721: предупреждение: implicit declaration of function ‘pci_module_init’
  CC [M]  /usr/src/r1000_v1.05/src/r1000_ioctl.o
  LD [M]  /usr/src/r1000_v1.05/src/r1000.o
  Building modules, stage 2.
  MODPOST 1 modules
WARNING: "pci_module_init" [/usr/src/r1000_v1.05/src/r1000.ko] undefined!
  CC      /usr/src/r1000_v1.05/src/r1000.mod.o
  LD [M]  /usr/src/r1000_v1.05/src/r1000.ko
make[2]: Leaving directory `/usr/src/linux-2.6.22-suspend2'
strip --strip-debug r1000.ko
make[1]: Leaving directory `/usr/src/r1000_v1.05/src'

#make install
make -C src/ install
make[1]: Entering directory `/usr/src/r1000_v1.05/src'
install -m 644 -c r1000.ko /lib/modules/2.6.22-suspend2b/kernel/drivers/net/
make[1]: Leaving directory `/usr/src/r1000_v1.05/src'

#depmod -a

#modprobe r1000
FATAL: Error inserting r1000 (/lib/modules/2.6.22-suspend2b/kernel/drivers/net/r1000.ko): Unknown symbol in module, or unknown parameter (see dmesg)

#dmesg | tail -n 1
r1000: Unknown symbol pci_module_init


Ну и, соответственно:
Code:
#/etc/init.d/net.eth0 start
 * Starting eth0
 *   Bringing up eth0
 *     192.168.1.2/24
 *     network interface eth0 does not exist
 *     Please verify hardware or kernel module (driver)


С ядром 2.6.21 все собиралось и работало нормально.


Last edited by LupoAlberto on Sat Jul 14, 2007 6:00 pm; edited 1 time in total
Back to top
View user's profile Send private message
mango123
Apprentice
Apprentice


Joined: 07 Dec 2004
Posts: 266
Location: msk

PostPosted: Sat Jul 14, 2007 5:41 pm    Post subject: Reply with quote

Откатись на 2.6.21
У меня на 2.6.22 - вроде бы всё нормально собралось, но иногда вешаются Х-сы. :(

что то с видео.
Back to top
View user's profile Send private message
LupoAlberto
n00b
n00b


Joined: 26 Jan 2005
Posts: 28

PostPosted: Sat Jul 14, 2007 5:59 pm    Post subject: [solved] Случайно :) Reply with quote

Случайно решил проблему - пересобрал ядро с включённым драйвером r8169 в секции
Network device support ==> Ethernet (1000 Mbit) ==> Realtek 8169 gigabit ethernet support
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Russian All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum