Skip to contentSkip to conversation

Smart and SATA with FC4

DISCUSSION Patrik Jonsson 2 participants 4 messages Jun 16, 2005 MD RAID

lore
Share & tools
lore
#0 lore raw

Hello all,

I just installed a machine running Fedora Core 4 x86_64
(2.6.11-1.1369_FC4 kernel) and I'd like to get smartmontools to work
with my 8-drive SATA array. According to the smartmontools web page and previous emails in this list you have to patch the kernel, so I got the patch called "2.6.11-libata-dev1.patch.gz"
from the libata-dev patchset web page and I'm trying to apply it, but
the patching fails and even after I (think) that I've manually resolved
the problems, the kernel won't compile.

Can some kind soul outline the sequence of events necessary to patch the
kernel and get it to work? I've tried both smartmontools 5.32 and 5.33.
Is one or the other necessary? Or maybe the problem is the FC4 kernel, which already has a bunch of patches applied?

Thanks,

/Patrik Jonsson

#1 lore raw

on the unpatched kernel, have you tried forcing the smartctl to see the disks as ATA devices:

smartctl -a -d ata /dev/sd[etc]

            ^^^^^^

Using Ubuntu's 2.6.10-5-amd64-generic (unsure if it has been patched), I was surprised that this worked great, including being able to force long tests to the disks.

harry (my mileage DOES vary) mangalam

Quoted 25 lines · you

Hello all,

I just installed a machine running Fedora Core 4 x86_64 (2.6.11-1.1369_FC4 kernel) and I'd like to get smartmontools to work with my 8-drive SATA array. According to the smartmontools web page and previous emails in this list you have to patch
the kernel, so I got the patch called "2.6.11-libata-dev1.patch.gz" from the libata-dev patchset web page and I'm trying to apply it, but the patching fails and even after I (think) that I've manually resolved the problems, the kernel won't compile.

Can some kind soul outline the sequence of events necessary to patch the kernel and get it to work? I've tried both smartmontools 5.32 and 5.33. Is one or the other necessary? Or maybe the problem is the FC4 kernel, which already has a bunch of patches applied?

Thanks,

/Patrik Jonsson

-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Signature · 3 lines
Cheers, Harry
Harry J Mangalam - 949 856 2847 (vox; email for fax) - [email protected] 
            <<plain text preferred>>
#2 lore raw
Quoted 7 lines · Harry Mangalam

on the unpatched kernel, have you tried forcing the smartctl to see the disks as ATA devices:

smartctl -a -d ata /dev/sd[etc]

           ^^^^^^

Using Ubuntu's 2.6.10-5-amd64-generic (unsure if it has been patched), I was surprised that this worked great, including being able to force long tests to the disks.

yeah, i did try using the -d ata option, but it made no difference. But like I said, I don't know if there's also something to do with smartmontools. Which version are you using?

/Patrik

#3 lore raw

I'm using:
smartmontools release 5.32

so maybe I AM using a patched kernel. Haven't been able to explicitly find anything about it googling for 30s tho.

sorry.

hjm

Quoted 15 lines · Patrik Jonsson
Quoted 8 lines · Harry Mangalam

on the unpatched kernel, have you tried forcing the smartctl to see the disks as ATA devices:

smartctl -a -d ata /dev/sd[etc]

           ^^^^^^

Using Ubuntu's 2.6.10-5-amd64-generic (unsure if it has been patched), I was surprised that this worked great, including being able to force long tests to the disks.

yeah, i did try using the -d ata option, but it made no difference. But like I said, I don't know if there's also something to do with smartmontools. Which version are you using?

/Patrik

Signature · 3 lines
Cheers, Harry
Harry J Mangalam - 949 856 2847 (vox; email for fax) - [email protected] 
            <<plain text preferred>>