BusyBox Bug and Patch Tracking
BusyBox
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001399 [BusyBox] Kernel Module Support major always 06-21-07 11:04 06-25-07 11:08
Reporter langerth View Status public  
Assigned To integrator
Priority normal Resolution won't fix  
Status closed   Product Version 1.4.x
Summary 0001399: insmod does not accept options when compiled without support for 2.4 kernels
Description Using options like "-f", "-v" or similar does not work:

# insmod -f drv_test.ko
insmod: -f.ko: no module by that name found

while this is working:
# insmod drv_test.ko
Additional Information
Attached Files

- Relationships

- Notes
(0002497)
integrator
06-21-07 11:32

Can you try with a more recent (1.6.0, or better yet, svn HEAD), please?
 
(0002502)
integrator
06-25-07 10:13

Reminder sent to: langerth

Did you try a more recent BusyBox: 1.6.0 or better yet, svn head?
 
(0002504)
langerth
06-25-07 10:34

I have only checked the source and did not see any difference which
would indicate a different handling regarding the problem!

Please see:
http://busybox.net/cgi-bin/viewcvs.cgi/branches/busybox_1_4_stable/modutils/insmod.c?p1=trunk%2Fbusybox%2Fmodutils%2Finsmod.c&rev=17401&r1=18933&r2=17401&diff_format=h [^]
 
(0002510)
integrator
06-25-07 11:07

OK. I've checked the code, and, yes, it does behave correctly:

From the man page for insmod from module_init_tools:

...
SYNOPSIS
       insmod [filename] [module options ...]
...

So insmod for 2.6 isn't supposed to have any option. So if you compile insmod to _not_ handle 2.4, then no option is accepted. Behavior is the same as mainstream insmod.

Options are accepted for backward compatibility if you want to indifferently run on 2.4 and 2.6.
 
(0002511)
integrator
06-25-07 11:08

Conforms to module_init_tools man page: no option is expected!
 

- Issue History
Date Modified Username Field Change
06-21-07 11:04 langerth New Issue
06-21-07 11:04 langerth Status new => assigned
06-21-07 11:04 langerth Assigned To  => BusyBox
06-21-07 11:18 integrator Assigned To BusyBox => integrator
06-21-07 11:19 integrator Category Documentation => Kernel Module Support
06-21-07 11:19 integrator ETA none => < 1 week
06-21-07 11:31 integrator Note Added: 0002496
06-21-07 11:32 integrator Note Added: 0002497
06-21-07 11:32 integrator Status assigned => feedback
06-21-07 11:32 integrator Note Deleted: 0002496
06-21-07 14:18 langerth Issue Monitored: langerth
06-25-07 10:13 integrator Note Added: 0002502
06-25-07 10:34 langerth Note Added: 0002504
06-25-07 11:07 integrator Note Added: 0002510
06-25-07 11:08 integrator Status feedback => closed
06-25-07 11:08 integrator Note Added: 0002511
06-25-07 11:08 integrator Resolution open => won't fix


Copyright © 2000 - 2006 Mantis Group
Powered by Mantis Bugtracker