Comment 19 for bug 257790

Revision history for this message
to be removed (liw) wrote :

I made kernel modification that forces it to treat these "SEMB" devices the same as ATAPI ones. Now my hard disk works: it shows up as a device, and I can create and use filesystems on it.

        if ((tf->lbam == 0x3c) && (tf->lbah == 0xc3)) {
#if 0
                printk(KERN_INFO "ata: SEMB device ignored\n");
                return ATA_DEV_SEMB_UNSUP; /* not yet */
#else
                DPRINTK("Pretendending SEMB device is SATA device\n");
                return ATA_DEV_ATAPI;
#endif
        }

I have no idea what this might break, but at least it would seem that this is the crucial bit of code in the kernel that causes the problem and where things need to be fixed.

I'll try returning ATA_DEV_ATA next to see if that works, too.