Comment 8 for bug 1541510

Revision history for this message
Dimitri John Ledkov (xnox) wrote :

<cjwatson> I think you're going to see the same thing upstream
<cjwatson> The more generic _device_probe_geometry has explicit checks for getting non-zero sectors and heads back from HDIO_GETGEO
<cjwatson> and if it doesn't get them it uses defaults
<cjwatson> But fdasd_get_geometry doesn't have quite the same checks around its use of HDIO_GETGEO
<cjwatson> You ought to compare with the relevant kernel code, but my suspicion is that you don't get a sensible geometry back for an LV
<cjwatson> This is all inside dasd_probe, and an LV isn't really a DASD
<cjwatson> So one thing I'd try is making that situation be an error from fdasd_get_geometry and seeing if that behaves reasonably
<cjwatson> Something like http://paste.ubuntu.com/14868640/ maybe?
<cjwatson> Ew is that file really tabstop=4? Anyway
<cjwatson> xnox: ^- suggestions above for you BTW