Re: isp driver not 64 bit?

From: Dan Nelson (dnelson_at_allantgroup.com)
Date: 11/30/04

  • Next message: Barry Bouwsma: "Re: USB OHCI problems..."
    Date: Mon, 29 Nov 2004 23:56:11 -0600
    To: David Gilbert <dgilbert@dclg.ca>
    
    

    In the last episode (Nov 29), David Gilbert said:
    > Well... cam_calc_geometry seems to get called quite a bit. Almost
    > everytime you touch the disk, in fact. fsck'ing a partition calls
    > it, for instance.
    >
    > Console access is personally expensive (much driving, for instance),
    > but from memory the debugging I put in cam_calc_geometry() would
    > print before the correct output from dadone(). Your description
    > reminds me of this --- but it's no less vexing that the output from
    > dadone() has the correct sector and volume size and the ccg in
    > cam_calc_geometry() has bogus data.
    >
    > I don't know if it's significant, but the correct numbers were:
    >
    > 279353684 sectors of 512 bytes
    >
    > The ccg structure comes up with:
    >
    > 3737169375 sectors of 3737169374 bytes
    >
    > Not entirely sensible. Interesting that they're close values.
    > However, with different things on the stack, the values changed.

    Even more interesting is their hex values:

    DEC0ADDF and DEC0ADDE, aka 0xDEADC0DE. Something's reading memory
    after the kernel freed it.

    -- 
    	Dan Nelson
    	dnelson@allantgroup.com
    _______________________________________________
    freebsd-hackers@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
    To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
    

  • Next message: Barry Bouwsma: "Re: USB OHCI problems..."