Kernel to non-kernel comms

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Hi, I'm just starting a project which is going to have a kernel level driver
included, actually an Installable File System mini-driver, but I'm not that
familiar with any issues related to kernel drivers (and I'm sure there are
many).

Specifically, my driver is going to need to talk ultimately to an existing
service through DCOM. My inclination (perhaps unjustified) is to put as
little coding as possible into the kernel driver, to minimise the chance of
problems with it causing a kernel hang. So my thought is to have a 'helper'
application which runs in user mode (perhaps a service) and talks to the
kernel driver, then the helper app can deal with the DCOM calls, and hang if
the RPC call hangs etc without disturbing the kernel.

Is this really necessary, and if so, is there a recommended way that the
components should talk to each other like named pipes or shared memory or
COM - perhaps more specifically, is there anything I should avoid.

Also, any recommendations of websites or books about 'typical pitfalls' with
this stuff would be appreciated.

Thanks,
Dave


.



Relevant Pages

  • Re: 2.6.30-rc4 kernel
    ... I think there may be a problem with the 2.6.30 kernel that is ... # Generic Driver Options ... # PCI IDE chipsets support ... # Other IDE chipsets support ...
    (Linux-Kernel)
  • 2.6.30-rc4 kernel
    ... kernel panic - not syncing: ... # Generic Driver Options ... # PCI IDE chipsets support ... # Other IDE chipsets support ...
    (Linux-Kernel)
  • [PATCH 18-rc2] Fix typos in /Documentation : N-P
    ... Again, if you're not gonna do synchronization with disk drives (dang, ... -the kernel. ... There are two options specific to PSX driver portion. ... The driver uses the settings from the EEPROM set in the SCSI BIOS ...
    (Linux-Kernel)
  • Re: PROBLEM: kernel BUG at drivers/media/video/em28xx/em28xx-video.c:891
    ... I am using a Pinnacle Dazzle DVC100 Rev 1.1 USB frame grabber card, and each time I stop capturing video the driver crashes. ... This happens both in an unpatched 2.6.37 kernel and in the debian 2.6.32-5 kernel. ... em28xx driver crashes and usb subsystem hangs when video capturing stops. ...
    (Linux-Kernel)
  • Re: pc300too on a modern kernel?
    ... the PCI slot. ... I modified the driver as follows: ... Booting paravirtualized kernel on bare hardware ... Handle 0x0000, DMI type 0, 24 bytes ...
    (Linux-Kernel)