#93 "load*.sh" in DeviceDriver don't handle new Module format

Other
closed-fixed
mreed
Testcases (113)
5
2007-02-28
2006-08-11
Kongh
No

for example :
in ltp-full-20060717\testcases\kernel\device-
drivers\agp\kernel_space\load_tagp.sh

#!/bin/sh
insmod -f ./tagp.o || exit 1
rm -f /dev/tagp
major=`awk '/tagp/{print \$1}' /proc/devices`
mknod /dev/tagp c $major 0

It works in kernel-2.4, fails in the lastest kernel
which have the new format ".ko" of modules.

Discussion

  • Kongh

    Kongh - 2006-08-11
    • assigned_to: nobody --> mreed10
     
  • Kongh

    Kongh - 2006-08-18

    Logged In: YES
    user_id=1571770

    If you are using the current 2.6.* kernel, you can use the
    patch attached for these "load*.sh" files.

     
  • Kongh

    Kongh - 2006-08-18

    fixed the order of loading module in current kernel

     
  • mreed

    mreed - 2007-02-28

    Logged In: YES
    user_id=1098499
    Originator: NO

    Fixed in Augest Release

     
  • mreed

    mreed - 2007-02-28
    • status: open --> closed-fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks