[prev in list] [next in list] [prev in thread] [next in thread] 

List:       hpux-devtools
Subject:    HPUX-DEVTOOLS: how remove an unused driver (PA, 11.23)
From:       Stan Sieler <sieler () allegro ! com>
Date:       2008-04-18 21:34:18
Message-ID: 20080418213419.04094525378 () opus ! allegro ! com
[Download RAW message or body]

hi,

ok, I've got a driver "stuck" in the kernel, and I can't figure out
how to get rid of it :)

PA-RISC, 11.23, rp2450

At some time in the past, the driver was added to the kernel ...
I don't recall if it was gen'd in or added via DLKM.  No prior
kernel seems to exist without it (or, alternatively, all prior kernels
lack it, but it still shows up :)

The module is "hgdrive" and shows up in an "lsdev" output:

      ...
       99          -1         rng             pseudo
      100           2         hgdrive         unknown
      100           2         hgdrive         unknown
      101          -1         asyncdsk        pseudo
      ...

...and it's there twice!

But, it shows up almost nowhere else:

   1. kconfig -a | grep hgdrive shows nothing.

   2. kcmodule | grep hgdrive shows nothing.

   3. kcweb doesn't see it either.

   4. there are no special files in /dev with the major number of 100.

   5. strings -a /stand/vmunix | grep hgdrive shows nothing.

I forced a kernel regen (via kcweb, by adding "ramdisc"), and rebooted
(several times) but "hgdrive" is still there.

The only place under /stand that I can find a remnant of "hgdrive" is
in /stand/ioconfig.  A partial hex dump is:

   ...
   
   offset        hex data                           ASCII data
   0c60 : 0000 0000 0000 0000 0000 0000 5f44 594e   ............_DYN
   0c70 : 5f4d 414a 4f52 0000 0000 0000 766f 6c73   _MAJOR......vols
   0c80 : 0000 0000 4000 d935 0000 36a8 0000 005f   ....@..5..6...._
   0c90 : ffff ffff 0000 0000 0000 0000 0000 0000   ................
   0ca0 : 5f44 594e 5f4d 414a 4f52 0000 0000 0000   _DYN_MAJOR......
   0cb0 : 6661 6b65 0000 0000 4000 d975 0000 3668   fake....@..u..6h
   0cc0 : 0000 0060 ffff ffff 0000 0000 0000 0000   ...`............
   0cd0 : 0000 0000 5f44 594e 5f4d 414a 4f52 0000   ...._DYN_MAJOR..
   0ce0 : 0000 0000 6970 6600 0000 0000 4000 d9b5   ....ipf.....@...
   0cf0 : 0000 3628 0000 0062 ffff ffff 0000 0000   ..6(...b........
   0d00 : 0000 0000 0000 0000 5f44 594e 5f4d 414a   ........_DYN_MAJ
   0d10 : 4f52 0000 0000 0000 726e 6700 0000 0000   OR......rng.....
   0d20 : 4000 d9f5 0000 35e8 0000 0063 ffff ffff   @.....5....c....
   0d30 : 0000 0000 0000 0000 0000 0000 5f44 594e   ............_DYN
   0d40 : 5f4d 414a 4f52 0000 0000 0000 6867 6472   _MAJOR......hgdr  <--
   0d50 : 6976 6500 4000 da35 0000 35a8 0000 0064   ive.@..5..5....d
   0d60 : 0000 0002 0000 0000 0000 0000 0000 0000   ................
   0d70 : 5f49 4e53 545f 5245 5356 0000 0000 0000   _INST_RESV......
   0d80 : 6c61 6e00 0000 0000 0000 0000 0000 0000   lan.............
   0d90 : 4150 4100 0000 0000 0000 0000 0000 0000   APA.............
   0da0 : 0384 0578 5f49 4e53 545f 5245 5356 0000   ...x_INST_RESV..
   0db0 : 0000 0000 6c61 6e00 0000 0000 0000 0000   ....lan.........
   0dc0 : 0000 0000 4943 534e 4554 0000 0000 0000   ....ICSNET......
   0dd0 : 0000 0000 0fa0 0fa9 5f49 4e53 545f 5245   ........_INST_RE
   0de0 : 5356 0000 0000 0000 6c61 6e00 0000 0000   SV......lan.....
   0df0 : 0000 0000 0000 0000 564c 414e 0000 0000   ........VLAN....
   ...

Short of a reinstall from the original distribution media,
any suggestions on how I can get rid of this?  

(If this were on 11.11 or earlier I'd know :) 
(I've googled, but without success.)

thanks,

-- 
Stan Sieler
work:     www.allegro.com
personal: www.sieler.com/wanted/index.html  

 _________________________________________________________________
 To leave this mailing list, send mail to majordomo@cxx.cup.hp.com
    with the message UNSUBSCRIBE hpux-devtools
 _________________________________________________________________
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic