tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kernel panic with new pseudo device

Hi, I'm trying to write a pseudo device with an envsys component.  I
mostly followed and got a
working device, but now I get a panic when I attempt to do:
sc->sc_sme = sysmon_envsys_create();

My best guess is that I didn't get any memory allocated for my _softc
structure, but I'm not really sure how to validate that.

A rough cut of my code is here:

Can anyone offer some hints?  I'm a little stuck.


Home | Main Index | Thread Index | Old Index