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

Re: Almost there



David Mohr wrote:

On 7/19/05, Gary Hodges <Gary.Hodges@noaa.gov> wrote:
 <snip>
Oh, last week I did install Ubuntu on the machine and the Plextor SATA
drive was found and worked fine, so I'm guessing I'll be able to get
that to work with a little experimentation.

You need to patch the kernel to get that to work, at least with the
nv_sata controller it was just this small change:
/include/linux/libata.h: change #undef ATA_ENABLE_ATAPI to #define ATA_ENABLE_ATAPI

After that your SATA Plextor will show up.


I made the change as instructed.
#undef ATA_NDEBUG               /* define to disable quick runtime checks */
#define ATA_ENABLE_ATAPI                /* define to enable ATAPI support */
#undef ATA_ENABLE_PATA          /* define to enable PATA support in some

After rebooting I see the following with dmesg:
cloud:/home/hodges# dmesg | grep ata2
ata2: SATA max UDMA/133 cmd 0x1C38 ctl 0x1C32 bmdma 0x1C18 irq 23
ata2: dev 0 cfg 49:0f00 82:0000 83:0000 84:0000 85:0000 86:0000 87:0000 88:101f
ata2: dev 0 ATAPI, max UDMA/66
ata2: dev 0 configured for UDMA/66

So it looks like the drive is seen as I only have the one SATA device. My question is how do I mount it? I'm not seeing ata2 in /dev or anything that looks like it would work.

Gary




Reply to: