Musings on the PLX kernel sources.

This forum is for all other ARMv5 devices

Re: Musings on the PLX kernel sources.

Postby telzey » Wed Apr 11, 2012 3:52 pm

No, I'm not using FileDescriptor's patch in my current 2.6.31.14 patchset.

I've sent you a few different patchsets for 2.6.31.14 over time as I was experimenting with the different manufacturer's source trees, so I'm not sure which version you actually tried.

I've removed all the old versions from my Pogoplug cloud and the latest one is linked in the message viewtopic.php?f=29&t=2472&start=10#p15007

As mentioned in my README, I'm now using the Cloud Engines patches, rebased from kernel 2.6.31.6 to kernel 2.6.31.14. Since you've reported that the basic Cloud Engines patches are stable for SATA/DMA/ethernet, that seemed to be the safest, even though it does make the kernel a bit useless on the Iomega/Silverstone/ZyXEL machines with their extra hardware.

After that I apply the more recent ZyXEL USB patches to fix some of the USB issues that people are seeing. The differences between the Cloud Engines USB patches and ZyXEL USB patches are fairly limited, but all seem to be related to fixing specific problems.

I've run multiple compilations with/without swap memory on both SATA, USB, and SATA-and-USB-at-the-same-time, pegging the CPUs at 190%+ and memory at 90%+ with no problem.

There doesn't seem to be much point in applying FileDescriptor's patch into an already-working system, but it might provide a clue as to what works better or got broken in the changes between the Cloud Engines/Iomega/Silverstone/ZyXEL kernel sources.

I'm not sure if the "hang" that you mention was in reference to FileDescriptor's patch, or to my patchset. If you've had my current patchset hang, then I'd love to know about it, preferably with any details that I could use to try to recreate the problem.
telzey
 
Posts: 58
Joined: Fri Dec 16, 2011 8:42 pm

Re: Musings on the PLX kernel sources.

Postby Philoo » Wed Apr 11, 2012 4:03 pm

telzey, I tried that last night ... and failed

1/ there are quite a few patches that were already applied in the 2.6.31.14 I downloaded , I did not reapply
2/ I'll get the exact one later on and but at least one patch failed to apply , it scrolled too fast after successful ones for me to document it. I'll retry, one by one and report.
3/ compilation stops after a couple minutes because the smp.c file is missing.


any pointer for me ?
Philoo
 
Posts: 102
Joined: Wed Aug 10, 2011 9:20 pm

Re: Musings on the PLX kernel sources.

Postby telzey » Wed Apr 11, 2012 4:25 pm

I've just downloaded the patchset and tried it ... the patches apply cleanly (except for a couple of "Hunk #? Succeeded" messages because of the order of the patches), and it's compiling perfectly for me.

It sounds like you didn't use a clean kernel tree, please make sure that you're applying the patches to a clean unmodified official kernel, i.e. http://www.kernel.org/pub/linux/kernel/ ... 14.tar.bz2
telzey
 
Posts: 58
Joined: Fri Dec 16, 2011 8:42 pm

Re: Musings on the PLX kernel sources.

Postby WarheadsSE » Wed Apr 11, 2012 4:58 pm

Key parts there: the vanilla kernel.

I will rebase & re-attempt Telzey, and see if there is less I have to beat over the head.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Musings on the PLX kernel sources.

Postby FileDescriptor » Wed Apr 11, 2012 5:15 pm

$this->bbcode_second_pass_quote('telzey', 'N')o, I'm not using FileDescriptor's patch in my current 2.6.31.14 patchset.

I'll be glad if my post could help with bringing this any forward, but please don't call it "FileDescriptor's patches" - as mentioned, I only found them under http://mkl-note.blogspot.de/2009/12/linux-arm11-mpcore-smp-cache-issue.html. As far as I can get it the patch was given by Catalin Marinas who seem to have been working for arm.com according to his mail address.

I guess there could be some valuable info regarding that issue as well also under http://lists.arm.linux.org.uk/lurker/message/20080620.124707.2bff9c7f.en.html which reflects explicitly on ARMv6 - and it is dated from June 2008....so chances are that it is somewhat bullet-proofed :idea: Please be aware of the complete thread, i. e. correction suggested there by/from junjie cai

FileDescriptor
FileDescriptor
 
Posts: 4
Joined: Fri Apr 06, 2012 10:03 am

Re: Musings on the PLX kernel sources.

Postby telzey » Wed Apr 11, 2012 5:34 pm

Yeah, I know that you're not actually the author of the patch, but you get the credit here since you brought it to our attention. We've got to call it something unique to refer to it, and Catalin is the author of many ARM patches! ;)
telzey
 
Posts: 58
Joined: Fri Dec 16, 2011 8:42 pm

Re: Musings on the PLX kernel sources.

Postby Philoo » Wed Apr 11, 2012 5:54 pm

Woops my bad....

somehow I did download 2.6.32.14 instead of 31.

please do not laugh, sleep deprivation is really bad.
Philoo
 
Posts: 102
Joined: Wed Aug 10, 2011 9:20 pm

Re: Musings on the PLX kernel sources.

Postby WarheadsSE » Wed Apr 11, 2012 6:34 pm

Can't be worse than being doped from back issues and having people prod you for kernel updates every 12 hours :lol: ;)
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Musings on the PLX kernel sources.

Postby telzey » Wed Apr 11, 2012 6:35 pm

$this->bbcode_second_pass_quote('WarheadsSE', 'I') will rebase & re-attempt Telzey, and see if there is less I have to beat over the head.


I don't know if you're referring to the same thing that I found, i.e. that some of the PLX patches screw up the ability to compile things as modules, and you have to compile them into the kernel itself (or go through the painstaking process of fixing the kernel source).

I seem to remember that XFS filesystem support was one of those. You've probably found a lot more with all the user demands for new modules ;)

I just ended up compiling those things into the kernel itself. You've still seem to have quite a lot of free memory in the NAND region that you've chosen for storing the kernel (the region is 3MB and the current kernel is approx 2.3MB).
telzey
 
Posts: 58
Joined: Fri Dec 16, 2011 8:42 pm

Re: Musings on the PLX kernel sources.

Postby WarheadsSE » Wed Apr 11, 2012 6:39 pm

When considering page size & erase block size, it becomes more limiting, quickly. Safely, you have just under 2.3MiB
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

PreviousNext

Return to Community Supported

Who is online

Users browsing this forum: No registered users and 53 guests