Brad Fitzpatrick (brad) wrote,
Brad Fitzpatrick
brad

and we have lift-off

Shortly after my first OOPs, I now have my first useful (to me only) kernel modification:

Now when I do a megaraid ioctl (be it from an open source or closed-source utility),

sammy:/usr/src/linux-2.6# ./megadm.pl
Number of adapters: 0 but true

Then dmesg shows what the ioctl was:

megaraid cmm: 2.20.2.0 (Release Date: Thu Aug 19 09:58:33 EDT 2004) (BF modified)
megaraid: 2.20.4.0 (Release Date: Mon Sep 27 22:15:07 EDT 2004)
BF: mega ioctl in: in=0 out=0 op=130 subop=109 adapno=0 buf=0 len=0
dump: [00 00 00 00 00 00 00 00 ffffff82 6d 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 30 16 08 00 00 00 00 ]
Tags: perl, tech
Subscribe
  • Post a new comment

    Error

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 1 comment