Michael van Elst wrote: > Right. This needs to be written differently. Instead of GETCGD_SOFTC() > use: > > cs = getcgd_softc(bp->b_dev); > if (!cs) { > bp->b_error = ENXIO; > biodone(bp); > return; > }
I tried something similar but with bp->b_resid = bp->b_bcount; instead of biodone(bp); It still crashes. I'll try your code. Alex