Martin Miehe wrote:
> ide_setup: hda=remap63

This means that the ide driver does see the parameter. But it doesn't 
want to apply it. Here is a piece of code that applies the parameter in 
the kernel:

        block    = 
rq->sector;                                                 
        if (blk_fs_request(rq) 
&&                                              
            (drive->media == ide_disk || drive->media == ide_floppy)) 
{        
                block += 
drive->sect0;                                         
        
}                                                                      
        /* Yecch - this will shift the entire 
interval,                        
           possibly killing some innocent following sector 
*/                  
        if (block == 0 && drive->remap_0_to_1 == 
1)                            
                block = 1;  /* redirect MBR access to EZ-Drive partn 
table */  

I.e., this can fail only if blk_fs_request(rq) is false (which cannot 
happen, afaik) or if the media is misdetected. Could you please post the 
output of the following command?

cat /proc/ide/hda/media

Does booting with any of the following lines work around the bug?

linux load=ide-generic hda=16383,255,63 hda=remap63
linux load=ide-disk,ide-generic hda=remap63

Does booting with the following line result in a completely invalid 
partition table (i.e.: I want to see whether the code above is executed 
at all)?

linux load=ide-generic hda=remap hda=remap63

-- 
Alexander E. Patrakov
-- 
http://linuxfromscratch.org/mailman/listinfo/livecd
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to