Bug 584178

Summary: Yast: configuring dummy network interface error
Product: [openSUSE] openSUSE 11.2 Reporter: Forgotten User I_JNBeXOR0 <forgotten_I_JNBeXOR0>
Component: YaST2Assignee: Michal Zugec <mzugec>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Major    
Priority: P5 - None CC: caspartroy, mfilka, schubi, srinidhi.bs
Version: Final   
Target Milestone: ---   
Hardware: i586   
OS: openSUSE 11.2   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on:    
Bug Blocks: 767946    
Attachments: Yast logs

Description Forgotten User I_JNBeXOR0 2010-03-01 08:19:19 UTC
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; ru; rv:1.9.1.8) Gecko/20100204 SUSE/3.5.8-0.1.1 Firefox/3.5.8

When I create dummy interface with Yast, the Module Name=dummy and Options=-o dummy-nil, but this options is inactive(i can't change it). After dummy interface creating, i've issue with it starting.

#uname -a
Linux host 2.6.31.12-0.1-default #1 SMP 2010-01-27 08:20:11 +0100 i686 i686 i386 GNU/Linux

#modinfo dummy
filename:       /lib/modules/2.6.31.12-0.1-default/kernel/drivers/net/dummy.ko
alias:          rtnl-link-dummy
license:        GPL
srcversion:     A9F2BA944BFFA4839600B74
depends:
vermagic:       2.6.31.12-0.1-default SMP mod_unload modversions 586TSC
parm:           numdummies:Number of dummy pseudo devices (int)

Boot log:
<6>[    3.369710] kjournald starting.  Commit interval 15 seconds                                                                                                     
<6>[    3.370237] EXT3 FS on sda2, internal journal                                                                                                                   
<6>[    3.370380] EXT3-fs: mounted filesystem with ordered data mode.                                                                                                 
<6>[    3.385128] usb 3-1: New USB device found, idVendor=0a12, idProduct=0001                                                                                        
<6>[    3.385282] usb 3-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0                                                                                   
<6>[    3.385569] usb 3-1: configuration #1 chosen from 1 choice                                                                                                      
<7>[    5.613841] preloadtrace: systemtap: 0.9.9/0.142, base: f8368000, memory: 34544+77420+22160+13600 data+text+ctx+net, probes: 34                                 
<6>[    8.383787] udev: starting version 146                                                                                                                          
<3>[    8.396452] dummy: Unknown parameter `-o'                                                                                                                       
<3>[    8.413884] dummy: Unknown parameter `-o'                                                                                                                       
<3>[    8.429845] dummy: Unknown parameter `-o'                                                                                                                       
<3>[    8.441307] dummy: Unknown parameter `-o'                                                                                                                       
<3>[    8.454148] dummy: Unknown parameter `-o'                                                                                                                       
<3>[    8.465996] dummy: Unknown parameter `-o'                                                                                                                       
<3>[    8.477851] dummy: Unknown parameter `-o'                                                                                                                       
<3>[    8.486754] dummy: Unknown parameter `-o'


After login on linux system.

#cd /etc
#cat modprobe.d/50-yast.conf
options dummy -o dummy-nil

#cat udev/rules.d/79-yast2-drivers.rules
ENV{MODALIAS}=="", ENV{MODALIAS}="dummy"


#modprobe dummy
FATAL: Error inserting dummy (/lib/modules/2.6.31.12-0.1-default/kernel/drivers/net/dummy.ko): Unknown symbol in module, or unknown parameter (see dmesg)

#dmesg
...
[  472.584680] dummy: Unknown parameter `-o'
...


Reproducible: Always

Steps to Reproduce:
1.creating dummy network interface
2.insert dummy kernel module
3.
Comment 2 Stefan Schubert 2010-03-09 14:38:21 UTC
Attach YaST logs, please.
It's actually helpful to attach them to (almost) every bugreport
for YaST.

See http://en.opensuse.org/Bugs/YaST
Comment 3 Stefan Schubert 2010-03-09 14:40:04 UTC
Michal, I am not sure if it is for you. Please have a look to the logfiles when
they are available.
Comment 4 Michal Zugec 2010-03-10 09:42:25 UTC
Maybe there is good reason if this option is disabled in UI after that - you can't change it because you should rmmod && modprobe again, so the right way is delete this configuration and create again.

I'm not sure, if it's correct "-o dummy-nil" or it should be only "dummy-nil".
Please test it both.
Comment 5 Forgotten User I_JNBeXOR0 2010-03-12 09:24:57 UTC
Created attachment 348121 [details]
Yast logs
Comment 6 Michal Zugec 2010-04-16 13:43:28 UTC
What's result of the tests? Does one of them work for you?
Comment 7 Michal Zugec 2010-05-03 08:11:42 UTC
Without answer to question in comment#6 I can't do anything with this bugreport.
Feel free to reopen if you'll be able to provide requested informations.
Comment 8 Caspar Troy 2012-06-19 10:53:42 UTC
In opensuse12.1 (and probably in sles11.2) this bug is still present. Why?

modinfo shows no option "-o" for dummy (which is obvious without any logs, without further testing and without further information...):

modinfo dummy|grep parm
parm:           numdummies:Number of dummy pseudo devices (int)

as stated above, "/etc/modprobe.d/50-yast.conf" is the source of the error:

"options dummy -o dummy-nil"

all necessary informations are contained in the bug report, no reason to close this obvious bug without fixing it...
Comment 9 Michal Filka 2012-07-16 09:18:58 UTC
-o is option for modprobe itself. Doesn't make sense as module's param.
Comment 10 Michal Filka 2012-07-27 09:50:52 UTC
see comments for bnc#767946