Matthew Garrett ([info]mjg59) wrote,
@ 2008-04-17 23:57:00
Previous Entry  Add to memories!  Tell a Friend!  Next Entry
Entry tags:advogato

Another update of my AHCI force quirking patch, somewhat cleaned up to let the existing kernel code do more of the work. The only functional change in this version is that some of the chipset IDs are disabled. The Intel specs state that plain (non-RAID supporting) desktop chipsets don't support AHCI. If you find that enabling one of the disabled IDs works for you, let me know along with the output of lspci -vxn -s 1f.2 . Patch is here. Success and failure reports welcome.

Note: I've had one report of SCSI errors associated with a previous version of the patch. I'm not quite sure what's going on there, but if you're paranoid about data corruption then you probably shouldn't play with this right now.



(Post a new comment)

About subjects
(Anonymous)
2008-04-18 01:40 am UTC (link)
Dear Matthew,

I would please ask you to put subjects in your posts, given that they also appear at Planet Debian (of which I am a reader). It can get irritating (at least to me, to be honest) when a post with no subject appears on Planet. I should also note that you are the only one (as far as I can see) appearing in Planet who does not put subjects in your posts. Thanks.

(Reply to this)(Thread)

That's planet's fault
[info]blondechris.com
2008-04-18 07:04 am UTC (link)
It's up to the application to do something useful with its input. It's pretty obnoxious to go telling people that they have to change the way they blog because Planet doesn't produce clicky headers for livejournal posts which don't have titles. I dare say that this could be fixed with a conditional in the pdo page template anyway.

- Chris

(Reply to this)(Parent)

One warning. Seeing if it works this time...
(Anonymous)
2008-04-18 03:47 am UTC (link)
drivers/pci/quirks.c: In function ‘quirk_ahci_sata’:
drivers/pci/quirks.c:914: warning: ignoring return value of ‘pci_assign_resource’, declared with attribute warn_unused_result

And we'll see. It's fast and sucking less power. I'm hoping that the scsi-ish issues were only semi-related. No data loss here, but that's luck.

Oh, and on subjects: Code talks, everyone else complains.

(Reply to this)(Thread)

Re: One warning. Seeing if it works this time...
(Anonymous)
2008-04-19 07:07 pm UTC (link)
Augh. Same problem. I saw a lost IRQ message with a number in the low 300s (319?) along with some messages about the ahci link being down, then up shortly before scsi errors started scrolling. This was after a few suspend-resume cycles and after being on and off AC, with scripts that turn on most power saving gizmos when the AC stops. I can't find squat in /var/log. Dell d620, pci info: 00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA IDE Controller (rev 01) (prog-if 80 [Master]).


It's so much faster that I'm tempted to keep living with the errors. Really ridiculous.

(Reply to this)(Parent)(Thread)

Re: One warning. Seeing if it works this time...
[info]mjg59
2008-04-19 07:45 pm UTC (link)
Hm. Interesting. Can you try without any of the power saving changes? I doubt it's the issue, but it'd be good to exclude them. Were you on battery or AC when it failed? I'll see if I can find an ICH7 to test it with.

(Reply to this)(Parent)(Thread)

Re: One warning. Seeing if it works this time...
(Anonymous)
2008-04-21 01:52 am UTC (link)
I stupidly didn't tag the kernel I was using, and more recent ones resume by rebooting. ugh. Might be a while.

(Reply to this)(Parent)(Thread)


[info]sneakums
2008-04-24 09:10 am UTC (link)
Assuming I understand what you mean by "tag", you might find CONFIG_LOCALVERSION_AUTO handy.

(Reply to this)(Parent)


Create an Account
Forgot your login?
Login w/ OpenID
English • Español • Deutsch • Русский…