[ENBD] [gmane.network.aoe.aoetools.general] enbd and 4TB

Peter T. Breuer ptb at inv.it.uc3m.es
Sat Jan 14 17:45:12 MST 2006


"Also sprach Florian Frank:"
> > Hic. There will be a LOT of noise. The original was protected by 
> > a trigger that suppressed the message if it was repeated next time too.
> > The implication is that there was some kind of success in the sequence
> > too, or you would have seen more noise.
> 
> printk: 262853 messages suppressed.

Yes.

> 
> Now "insmod enbd" gives:
> 
> enbd: Unknown symbol __udivdi3

Well, reverse whatever changes you made a line at a time until you find
the line that does it, then tell me about it. Oh .. I guess it will be
the division of a long long by something to get a cylinders count ...

      c = (sectors / h) / s;

Sigh. We are at 2^33 sectors, I suppose. You might try

      c = sectors >> 14;
      while (c++ * (255 * 63) < sectors);
      c--;

(h = 255, s = 63, so h * s is a bit smaller than 2^14 )


Peter


More information about the ENBD mailing list