Bug 10410 - OOPS при попытке сменить имя 802.1Q-интерфейса с помощью 'ip link set DEV name NEWNAME'
: OOPS при попытке сменить имя 802.1Q-интерфейса с помощью 'ip link set DEV nam...
Status: CLOSED FIXED
: Sisyphus
(All bugs in Sisyphus/kernel-image-std-smp)
: unstable
: all Linux
: P2 critical
Assigned To:
:
: http://kernel.org/git/gitweb.cgi?p=li...
:
:
:
  Show dependency tree
 
Reported: 2006-12-13 04:28 by
Modified: 2008-03-13 23:30 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2006-12-13 04:28:19
Конфиг интерфейсов следующий:
 - eth0 и eth1 объеденены в группу с помощью модуля bonding;
 - интефейс bond0 настроен как 802.1Q-транк (пропуск VLAN'ов на коммутатор);
 - добавлен VLAN200 (имя интерфейса bond0.200)

Далее:
# ip link set bond0.200 name vlan0200
Segmentation fault

# dmesg
....
bonding: Warning: Cannot create /proc/net/bonding/<NULL>
Unable to handle kernel NULL pointer dereference at virtual address 00000338
 printing eip:
c01960a7
*pde = 371f9001
*pte = 35d1c067
Oops: 0000 [#1]
SMP
Modules linked in: bond0 loop ac thermal processor button tsdev pcspkr psmouse
8021q sg hw_random ehci_hcd i2c_i801 i2c_core uhci_hcd e752x_edac usbcore
edac_mc dm_mod e1000 rtc ext3 jbd mbcache megaraid_mbox megaraid_mm sd_mod
scsi_mod ide_disk ide_generic generic piix ide_core
CPU:    1, VCPU: 0:0
EIP:    0060:[<c01960a7>]    Not tainted VLI
EFLAGS: 00010202   (2.6.16-ovz-smp-alt12 #1)
EIP is at sysfs_remove_group+0x2f/0x9c
eax: 00000000   ebx: f8a623ac   ecx: 00000007   edx: f8a623ac
esi: 00000308   edi: f8a5cb62   ebp: 00000000   esp: f5d39edc
ds: 007b   es: 007b   ss: 0068
Process ip (pid: 16599, veid=0, threadinfo=f5d38000 task=dfc08db0)
Stack: <0>f8a62ae4 f73ec400 0000000a f8a52c5f f8a6210c f73ec000 c01299ed f73ec000
       f73ec010 f5d39f34 c02274b1 fffffdfd f5d39f24 00008923 f5d39f24 c022912d
       00000000 bfcd7a94 646e6f62 30322e30 00000030 00000000 6e616c76 30303230
Call Trace:
 [<f8a52c5f>] bond_event_changename+0x2f/0x4c [bond0]
 [<c01299ed>] notifier_call_chain+0x17/0x29
 [<c02274b1>] dev_change_name+0x12b/0x134
 [<c022912d>] dev_ioctl+0x2a2/0x3de
 [<c021fb3f>] sock_ioctl+0x1d1/0x1da
 [<c021f96e>] sock_ioctl+0x0/0x1da
 [<c016ebbb>] do_ioctl+0x23/0x60
 [<c016ee7a>] vfs_ioctl+0x187/0x195
 [<c016eece>] sys_ioctl+0x46/0x60
 [<c0102959>] syscall_call+0x7/0xb
Code: c6 b8 00 e0 ff ff 89 d3 21 e0 8b 00 8b 80 90 05 00 00 83 b8 0c 01 00 00 00
74 79 8b 3a 85 ff 74 18 31 c0 83 c9 ff f2 ae f7 d1 49 <8b> 56 30 8b 03 e8 bd 5d
fd ff 89 c7 eb 3c 8b 56 30 85 d2 74 33
------- Comment #1 From 2006-12-13 04:37:36 -------
С ядром kernel-image-std-smp-2.6.18-alt2 ситуация аналогичная.
------- Comment #2 From 2007-02-16 14:28:59 -------
Должно быть исправлено ещё в kernel-image-std-smp-2.6.18-alt3.