[ENBD] (no subject)
Peter T. Breuer
enbd@lists.community.tummy.com
Thu, 25 Apr 2002 15:31:16 +0200 (MET DST)
"A month of sundays ago HUDZIA Bertrand wrote:"
> On Mon, 22 Apr 2002 19:07:08 +0200 (MET DST)
> "Peter T. Breuer" <ptb@it.uc3m.es> wrote:
> > Ho hum. Try making the ioctl code in the driver (nbd.c) look like this:
> > ....
> > and, unlike me, pay attention that the alternative GET goes with the
> > old GET, and the alternative SET goes with the old SET.
>
> ;)
Well, I'm glad it worked. Was embarrassing.
> Ok , all is working fine under 2.4.9, unfortunatly my boss cannot afford me to run this kernel (security ...).
> I've tried to make it ran under 2.2.20 (whith same patch), i get one oops for each connection ( "-n X" ) and oops and a segfault for a "mount /dev/nda0 ..".
I'll have a look. I did try it briefly under 2.2.15, and got about the
same result. I didn't try it again, as that's my workstation! But it'll
be something simple. You just have to persuade me to boot my laptop
in 2.2.20 instead of 2.5.7.
> OK: I just retried the 2.4.18 kernel and all goes fine ... Arff .. Duno what' right or wrong ..
The code. Something is just slightly enough wrong in 2.2.* that it
hurts. It needs someone to go in and look, and I suppose that's me ...
I'll do it as soon as my office cools down enough to think. It's got
hot here.
Peter