Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: wd0 not recognized with 6.99.8



Hi,

I compiled the current " stock" kernel and I see this patch or something similar has not been merged in: it still fails with wd0.

Has this solution not been finalized somehow?

Riccardo

Riccardo Mottola wrote:
Hi,

with this patch applied, 6.99.8 boots and runs. Now let's check that the rest works and is stable.

I hope the fix can be put in the source tree.

Riccardo

On 07/11/12 16:46, vanoven wrote:
On 11/07/2012 14:31, Riccardo Mottola wrote:

Hi,

I had same problem 3 days ago, you can try that :

In file src/sys/dev/scsipi/atapi_wdc.c
line 324 and 329 add

if ( drvp->drive_type == DRIVET_ATAPI )

before each drvp->drive_type = DRIVET_NONE;
so it looks like this :


            s = splbio();
if ( drvp->drive_type == DRIVET_ATAPI )
                drvp->drive_type = DRIVET_NONE;
            splx(s);
        }
    } else {
        s = splbio();
if ( drvp->drive_type == DRIVET_ATAPI )
            drvp->drive_type = DRIVET_NONE;
        splx(s);
    }








Home | Main Index | Thread Index | Old Index