Bug 9157
Summary: | 2.6.2* libata fails for sis 5513 PATA | ||
---|---|---|---|
Product: | IO/Storage | Reporter: | Patrizio Bassi (patrizio.bassi) |
Component: | Serial ATA | Assignee: | Alan (alan) |
Status: | CLOSED CODE_FIX | ||
Severity: | normal | CC: | alan, mrmazda, rjwysocki |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 2.6.23.1 | Subsystem: | |
Regression: | --- | Bisected commit-id: | |
Attachments: |
irq-storm-during-init-workaround.patch
various captures on willy's machine under 2.6.25.x |
Description
Patrizio Bassi
2007-10-13 03:12:22 UTC
sorry discard the first oops description, wrong copy and paste! If using libata fails can you attach the boot info for libata failing, all we have here is old IDE info which isn't that useful for debug you're right Alan here is the output: www.patriziobassi.it/downloads/libata_issue.jpg hope it's useful i tried with irqpoll option as well, no luck. config for 2.6.22 (but it's the same for 2.6.23) is www.patriziobassi.it/downloads/config Can you turn off whatever gentoo has done to hide all the important messages ? this is not gentoo kernel maybe it's "quiet" cmd line parameter? i saw lots of updates so i tried 2.6.23-git3 could not boot again, but i have some logs... www.patriziobassi.it/downloads/dsc01927.jpg www.patriziobassi.it/downloads/dsc01928.jpg www.patriziobassi.it/downloads/dsc01929.jpg www.patriziobassi.it/downloads/dsc01930.jpg i tried to use the pata generic instead of pata_sis driver bt i cannot boot at all, seems not finding the boot device at all. pata_generic will skip over controllers other than a few it knows it is required for. You can change that if its compiled into the kernel with "ata_generic.all_generic_ide=1' or in a module using all_generic_ide=1 with that the harddisk is found www.patriziobassi.it/downloads/dsc01932.jpg but i still have the irq14 issue. seems a generic bug as it's similar to the one i have with the old IDE driver on suspend. i can see a difference: with pata_sis there may be a cable detection issue as it goes to udma 33 while with generic i get udma66 but however i cannot boot. Alan if/when you'll have a patch i'll be glad to test it, but i think you already know this. Created attachment 13196 [details]
irq-storm-during-init-workaround.patch
Can you please test the attached patch on top of 2.6.23 and see whether the problem goes away?
sure i will test this night as soon i come back home. do you want me to test against pata_sis or pata_generic or both? in last tests i was compiling a single driver only and not both. my intent would be go to pata_sis only, as i see the error is common to the core driver (and actually your patch is for the core driver not the single product) do you agree? patch doesn't apply patching file drivers/ata/libata-eh.c Hunk #1 FAILED at 1782. Hunk #2 FAILED at 1928. 2 out of 2 hunks FAILED -- saving rejects to file drivers/ata/libata-eh.c.rej patching file include/linux/libata.h Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored -- saving rejects to file include/linux/libata.h.rej patching file drivers/ata/libata-core.c Hunk #1 succeeded at 6017 (offset 292 lines). Hunk #2 succeeded at 6686 (offset 378 lines). actually i verified...i already have this patch in 2.6.23 vanilla.....that's why it fails... guys, (Alan?) any news here? can we have this in 2.6.24 fixed? At the moment I have no idea why your box fails. So sad, as linux user i will not give up and conitnue trying kernels, but without explicit patch i doubt it will be fixed as it never worked. as said, any debug i can give, any patch i can try, just ping me Alan i tried 2.6.26 enabling pata generic and sis driver but same issue...no way to get kernel boot... Created attachment 17069 [details]
various captures on willy's machine under 2.6.25.x
captures of dmesg, interrupts, ioports, lspci, partitions on willy's sis machine under 2.6.25.x
I've tried to boot this config (slightly adapted) on a somewhat similar mobo on 2.6.25.x (+minor patches). I have attached dmesg, lspci, interrupts, ioports and partitions. It has worked quite well. The changes I brought to the config are not relevant : removed FB, netfilter and crypto, then added support for squashfs and increased initrd size to 16MB in order to boot my image from network. Also, I first had a build error because a DSDT was referenced in the config. I had to remove it in order to build. I don't know if that can cause boot problems, but I would bet it could. Patrizio, you may want to retry with the config I included in the tgz file since it works here. tried to rebuild from scratch 2.6.26.1, deleted some old lilo config, it works!!! i think we can close this, do you agree? unfortunatly the suspend issue is still there, i'll track in another bug. |