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
0001007 [BusyBox] Kernel Module Support minor always 08-24-06 13:14 11-21-06 06:13
Reporter jhks View Status public  
Assigned To integrator
Priority normal Resolution fixed  
Status closed   Product Version 1.1.x
Summary 0001007: Module kernel version length limited to 32 characters
Description When loading a module with a kernel version string greater than 32 characters, the version check will fail. The following patch increases the limit to 64 characters:

--- busybox-1.1.3/modutils/insmod.c 2006-06-19 17:14:19.000000000 -0400
+++ busybox-1.1.3/modutils/insmod.c 2006-08-24 10:59:06.000000000 -0400
@@ -699,7 +699,7 @@


 #define _PATH_MODULES "/lib/modules"
-enum { STRVERSIONLEN = 32 };
+enum { STRVERSIONLEN = 64 };

 /*======================================================================*/

Additional Information
Attached Files

- Relationships

- Notes
(0001584)
integrator
08-24-06 23:48
edited on: 08-25-06 00:04

According to the 2.6.17 sources (include/linux/module.h), this is maxed at:
 64 - sizeof(unsigned long)

Use that when applying the patch.

 
(0001756)
vda
11-21-06 06:13

Fixed in rev16607
 

- Issue History
Date Modified Username Field Change
08-24-06 13:14 jhks New Issue
08-24-06 13:14 jhks Status new => assigned
08-24-06 13:14 jhks Assigned To  => BusyBox
08-24-06 23:48 integrator Note Added: 0001584
08-24-06 23:48 integrator Assigned To BusyBox => integrator
08-25-06 00:04 integrator Note Edited: 0001584
11-21-06 06:13 vda Status assigned => closed
11-21-06 06:13 vda Note Added: 0001756
11-21-06 06:13 vda Resolution open => fixed
11-21-06 06:13 vda Fixed in Version  => 1.2.x


Copyright © 2000 - 2006 Mantis Group
Powered by Mantis Bugtracker