Skip to contentSkip to conversation

sata_sil24 AMD64 crash/lockup

DISCUSSION [email protected] 2 participants 6 messages Oct 4, 2005 – Oct 10, 2005 libata

lore
Share & tools
lore
#0 lore raw

I'm trying to bring up a new AMD64 (uniprocessor) storage server with 3x Sil3132 PCIe SATA controllers running 6x Seagate 7200.8 drives.

Kernel 2.6.13.2 + 2.6.13-rc7-libata1.patch.bz2 + PPSkit-light

I'm having some problems with intermitted (every few days) crashes which lock up the drives. The machine is not yet in service, so activity is pretty light, but I've been running zcav on a 6-way RAID-0 partition to keep it busy. (350 MB/sec sustained is fun.)

I have twice seen an assert fail that I didn't manage to wrote down. (The first time, I though it was something I had done, and the second, someone rebooted it before I got a chance.)

Both times, the keyboard was still operating and I could scroll back. This last time, it was locked up hard and I could only get what was on the screen. Omitting the leading ffffffff from the kernel addresses, and modulo any transcription errors, what I saw was:

802c1d50 do_unblank_screen+272
8012117e do_page_fault+1838
80133a9c call_console_drivers+76
801348c9 vprintk+601
80147739 autoremove_wake_function+9
8012ff23 wake_up_common+67
8010f22d error_exit+0
80340b3a ata_gen_fixed_sense+138
8034128a ata_scsi_qc_complete+106
8033ceaa ata_qc_complete+362
80342c15 sil24_interrupt+325

I know there are more recent kernels and sata_sil24 code, but that's the most current pair I could figure out how to fit together.

Trying the instructions at http://kernel.org/git/ gives me:

$ cg-clone http://www.kernel.org/pub/scm/linux/kernel/git/jgarzik/libata-dev.git
defaulting to local storage area
17:54:10 URL:http://www.kernel.org/pub/scm/linux/kernel/git/jgarzik/libata-dev.git/refs/heads/master [41/41] -> "refs/heads/origin" [1]
progress: 2 objects, 926 bytes
error: File ca442d313d86dc67e0a2e5d584b465bd382cbf5c (http://www.kernel.org/pub/scm/linux/kernel/git/jgarzik/libata-dev.git/objects/ca/442d313d86dc67e0a2e5d584b465bd382cbf5c) corrupt

Cannot obtain needed blob ca442d313d86dc67e0a2e5d584b465bd382cbf5c while processing commit 0000000000000000000000000000000000000000.
cg-pull: objects pull failed
cg-clone: pull failed

In the mean time, I'll keep working to reproduce the problem.

Thanks for any hints!

#1 lore raw
Quoted 4 lines

I know there are more recent kernels and sata_sil24 code, but that's the most current pair I could figure out how to fit together.

Trying the instructions at http://kernel.org/git/ gives me:

...

Quoted 1 line

cg-clone: pull failed

Ah, solved. I was using a truly ancient version of cogito. I'm still haveing a little bit of trouble (why does .git/branches contain only the one file "origin"?), but reality is bearing a closer resemblance to the various FAQs and HOWTOs now.

#2 lore raw
In reply to [email protected]

Hello, there.

Quoted 19 lines · [email protected] wrote:

I'm trying to bring up a new AMD64 (uniprocessor) storage server with 3x Sil3132 PCIe SATA controllers running 6x Seagate 7200.8 drives.

Kernel 2.6.13.2 + 2.6.13-rc7-libata1.patch.bz2 + PPSkit-light

I'm having some problems with intermitted (every few days) crashes which lock up the drives. The machine is not yet in service, so activity is pretty light, but I've been running zcav on a 6-way RAID-0 partition to keep it busy. (350 MB/sec sustained is fun.)

I have twice seen an assert fail that I didn't manage to wrote down. (The first time, I though it was something I had done, and the second, someone rebooted it before I got a chance.)

Both times, the keyboard was still operating and I could scroll back. This last time, it was locked up hard and I could only get what was on the screen. Omitting the leading ffffffff from the kernel addresses, and modulo any transcription errors, what I saw was:

Quoted 12 lines

802c1d50 do_unblank_screen+272
8012117e do_page_fault+1838
80133a9c call_console_drivers+76
801348c9 vprintk+601
80147739 autoremove_wake_function+9
8012ff23 wake_up_common+67
8010f22d error_exit+0
80340b3a ata_gen_fixed_sense+138
8034128a ata_scsi_qc_complete+106
8033ceaa ata_qc_complete+362
80342c15 sil24_interrupt+325

Oh.. this is because of missing tf_read callback which is called from
ata_gen_fixed_sense(). I'll try to figure out what to do about it a bit later. I gotta leave for english lessons now. I'm already a bit late.

However, your kernel hitting that path means that some drives are
actually generating errors. Let's see about that after get tf_read thing fixed.

Damn. I'm really late. :-)

Quoted 24 lines

I know there are more recent kernels and sata_sil24 code, but that's the most current pair I could figure out how to fit together.

Trying the instructions at http://kernel.org/git/ gives me:

$ cg-clone http://www.kernel.org/pub/scm/linux/kernel/git/jgarzik/libata-dev.git
defaulting to local storage area
17:54:10 URL:http://www.kernel.org/pub/scm/linux/kernel/git/jgarzik/libata-dev.git/refs/heads/master [41/41] -> "refs/heads/origin" [1]
progress: 2 objects, 926 bytes
error: File ca442d313d86dc67e0a2e5d584b465bd382cbf5c (http://www.kernel.org/pub/scm/linux/kernel/git/jgarzik/libata-dev.git/objects/ca/442d313d86dc67e0a2e5d584b465bd382cbf5c) corrupt

Cannot obtain needed blob ca442d313d86dc67e0a2e5d584b465bd382cbf5c while processing commit 0000000000000000000000000000000000000000.
cg-pull: objects pull failed
cg-clone: pull failed

In the mean time, I'll keep working to reproduce the problem.

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

Signature · 1 line
tejun
#3 lore raw

Hi,

I posted the patch to implement sil24 ->tf_read callback (and cc'd to
you) just now. It should be applied on top of three patches I posted the other day.

http://marc.theaimsgroup.com/?l=linux-ide&m=112856662723993&w=2
http://marc.theaimsgroup.com/?l=linux-ide&m=112856662716013&w=2
http://marc.theaimsgroup.com/?l=linux-ide&m=112856662708456&w=2

After applying all four patches (above three plus the one I cc'd to
you), when you hit a SATA error, you'll get proper report. And we should be able to debug that from there.

Thanks.

Signature · 1 line
tejun
#4 lore raw
Quoted 3 lines

After applying all four patches (above three plus the one I cc'd to
you), when you hit a SATA error, you'll get proper report. And we should be able to debug that from there.

Just an update - I've been running continuous disk for the last several days, and no error reports yet.

So sata_sil24 is looking pretty good. (I'm looking forward to NCQ!)

#5 lore raw
In reply to Tejun Heo
Quoted 1 line

Damn. I'm really late. :-)

Well, thank you for taking the trouble to reply!

Quoted 3 lines

However, your kernel hitting that path means that some drives are
actually generating errors. Let's see about that after get tf_read thing fixed.

Given that I'm reading about 2e+14 bits/day, and it takes a couple of days to reproduce the error, the occasional glitch is not too surprising.

Thanks for the patches; I'm trying to see if I can get them by git right now, but they appear to not be on kernel.org yet, so I guess I'll have to try by hand.

Results in a bit!