Willian Barsse wrote
authorGlenn L McGrath <bug1@ihug.co.nz>
Wed, 11 Aug 2004 02:30:30 +0000 (02:30 -0000)
committerGlenn L McGrath <bug1@ihug.co.nz>
Wed, 11 Aug 2004 02:30:30 +0000 (02:30 -0000)
commit65c8c7ba2775007fbd4f02272180900f665024f3
treeed5e9b604b09f7046c19f55686cd80f5a695b1a2
parent2f325a030b9ebc34627f8d780c73bb17e7c0f5bd
Willian Barsse wrote
"There seems to be a slight problem with the "mod_strcmp" function in
modprobe.c, it scans for the first occurence of the module name in the
"mod_path" variable and expects it to be the last path element. ie
/lib/modules/2.4.22-debug/kernel/fs/vfat in my example. The comparison
will always fail if mod_path contains another substring matching the
module name."

Robert McQueen wrote
"Although William Barsse's patch fixed mod_strcmp for 2.4 kernels, there
was a remaining problem which prevented it from working for me. I've
just tracked it down - when you enable kernel 2.6 module support it
hard-wired the extension to .ko instead of checking at runtime like the
other places where 2.4 differs from 2.6. The attached patch fixes this
for me."
modutils/modprobe.c