Go to advanced search

by milhouse
Sat Mar 08, 2014 9:33 pm
Forum: Troubleshooting
Topic: Call for beta testers: FIQ_FSM USB driver rewrite
Replies: 250
Views: 111948

Re: Call for beta testers: FIQ_FSM USB driver rewrite

jdb wrote: These messages are being printed because timing got screwed up somehow. The issue is under investigation: it appears that using GPU interfaces makes this far more likely to happen.
OK that's good to know, many thanks.
by milhouse
Fri Mar 07, 2014 3:14 am
Forum: Troubleshooting
Topic: Call for beta testers: FIQ_FSM USB driver rewrite
Replies: 250
Views: 111948

Re: Call for beta testers: FIQ_FSM USB driver rewrite

I'm using this build with the latest FIQ FSM patches from rpi-3.13.y-next on OpenELEC, and I'm seeing quite a few of these in dmesg (100 messages logged in 1.5 hours of uptime): [ 172.056247] Transfer to device 4 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost. [ 335.896662] Transfe...
by milhouse
Thu Mar 06, 2014 8:22 pm
Forum: Troubleshooting
Topic: Call for beta testers: FIQ_FSM USB driver rewrite
Replies: 250
Views: 111948

Re: Call for beta testers: FIQ_FSM USB driver rewrite

It'd be interesting if you do a echo 1 > /proc/sys/vm/drop_caches while running a test and see if the rate improves. The above command does have a noticeable impact, albeit only briefly - this is with FIQ FSM: # IRQ/s Read Rate dIRQ dR/Rate Time 001 5141 30.8406 MB/s 0 0.0000 MB/s 2014-03-06 19:46:...
by milhouse
Thu Mar 06, 2014 7:43 pm
Forum: Troubleshooting
Topic: Call for beta testers: FIQ_FSM USB driver rewrite
Replies: 250
Views: 111948

Re: Call for beta testers: FIQ_FSM USB driver rewrite

I don't know if it's a problem really, I've only become aware of it while testing these patches and if it can be explained then great, and if there's no easy solution then that's too bad.

I'll try "echo 1 > /proc/sys/vm/drop_caches" with a FIQ FSM kernel and report back.
by milhouse
Thu Mar 06, 2014 6:48 pm
Forum: Troubleshooting
Topic: Call for beta testers: FIQ_FSM USB driver rewrite
Replies: 250
Views: 111948

Re: Call for beta testers: FIQ_FSM USB driver rewrite

Results from a pre-FIQ FSM kernel: rpi512:~ # lsb_release OpenELEC (Milhouse) - Version: devel-20140224200730-r17808-gfbf7d43 rpi512:~ # uname -a Linux rpi512 3.13.5 #1 PREEMPT Mon Feb 24 20:18:05 GMT 2014 armv6l GNU/Linux rpi512:~ # dmesg | grep FIQ [ 1.518011] dwc_otg: FIQ enabled [ 1.518029] dwc_...
by milhouse
Thu Mar 06, 2014 4:57 pm
Forum: Troubleshooting
Topic: Call for beta testers: FIQ_FSM USB driver rewrite
Replies: 250
Views: 111948

Re: Call for beta testers: FIQ_FSM USB driver rewrite

Here's a sample of entries from /proc/buddyinfo taken over a period of a couple of minutes, while a test is in progress: Node 0, zone Normal 156 355 118 27 27 2 1 1 1 0 4 Node 0, zone Normal 15 111 44 32 27 2 1 1 1 0 4 Node 0, zone Normal 15 295 83 34 27 2 1 1 1 0 4 Node 0, zone Normal 15 106 114 32...
by milhouse
Thu Mar 06, 2014 4:25 pm
Forum: Troubleshooting
Topic: Call for beta testers: FIQ_FSM USB driver rewrite
Replies: 250
Views: 111948

Re: Call for beta testers: FIQ_FSM USB driver rewrite

Results are similar with FIQ NOP: rpi512:~ # dmesg|grep FIQ [ 1.516281] WARN::dwc_otg_hcd_init:1047: FIQ DMA bounce buffers: virt = 0xd0d51000 dma = 0x4ef4c000 len=9024 [ 1.516341] WARN::hcd_init:474: FIQ at 0xc04bb334 [ 1.516353] WARN::hcd_init:475: FIQ ASM at 0xc04bb41c length 36 [ 1.517573] dwc_o...
by milhouse
Thu Mar 06, 2014 4:01 pm
Forum: Troubleshooting
Topic: Call for beta testers: FIQ_FSM USB driver rewrite
Replies: 250
Views: 111948

Re: Call for beta testers: FIQ_FSM USB driver rewrite

Here's the result of my FIQ FSM testing. After 766 iterations, IRQ had increased from 4868 IRQ/s (straight after booting) to a peak of 7221 (+2357), and read rate had dropped from 30.8614MB/s to 27.8587MB/s (-3.0026MB/s). Here's a graph of my results, showing read-rate declining rapidly then tailing...
by milhouse
Thu Mar 06, 2014 1:13 am
Forum: Troubleshooting
Topic: Call for beta testers: FIQ_FSM USB driver rewrite
Replies: 250
Views: 111948

Re: Call for beta testers: FIQ_FSM USB driver rewrite

I'm just repeating the tests from my earlier posts, and with FIQ FSM there is an odd trend emerging while performing test #2: 2. dd if=/dev/urandom of=/storage/test.dat bs=1M count=1000 dd if=/storage/test.dat of=/dev/null bs=1M count=1000 Each successive test results in higher peak IRQ/s during the...
by milhouse
Wed Mar 05, 2014 7:38 pm
Forum: Troubleshooting
Topic: Call for beta testers: FIQ_FSM USB driver rewrite
Replies: 250
Views: 111948

Re: Call for beta testers: FIQ_FSM USB driver rewrite

jamesh wrote: Have you now seen an improvement in performance?
I'll test again later this evening, but I didn't really see much difference between the different modes when i tested last time, I suspect my tests don't really benefit a great deal (in terms of performance) from these changes.
by milhouse
Wed Mar 05, 2014 5:58 pm
Forum: Troubleshooting
Topic: Call for beta testers: FIQ_FSM USB driver rewrite
Replies: 250
Views: 111948

Re: Call for beta testers: FIQ_FSM USB driver rewrite

This commit has fixed the 8000/IRQ/s with NOP FIQ - thanks.
by milhouse
Sat Mar 01, 2014 6:13 am
Forum: Troubleshooting
Topic: Call for beta testers: FIQ_FSM USB driver rewrite
Replies: 250
Views: 111948

Re: Call for beta testers: FIQ_FSM USB driver rewrite

Some observations on FIQ_FSM (mostly stream of consciousness), running basic USB and network transfer tests, monitoring with bcmstat.sh (xgcd10), with and without FIQ_FSM enabled, also without the entire FIQ_FSM patch (ie. pre-FIQ_FSM). Testing with OpenELEC (kernel 3.13.5) with XBMC disabled (add a...
by milhouse
Sun Feb 23, 2014 5:46 pm
Forum: Media centres
Topic: Openelec and usb audio
Replies: 12
Views: 19947

Re: Openelec and usb audio

I realise this is an old thread, but if you're still interested in ALSA on OpenELEC you can try this test version... http://forum.xbmc.org/showthread.php?tid=184866&pid=1617155#pid1617155 Hi, I tried out this and the newer version from Feb 21. Should this also work without an external usb sound car...
by milhouse
Mon Feb 10, 2014 4:14 pm
Forum: Graphics, sound and multimedia
Topic: Logitech Media Server / Raspbian
Replies: 112
Views: 74239

Re: Logitech Media Server / Raspbian

Just to add that you don't need to worry about file permissions if all you are storing on the USB HDD is media files - just disregard any instructions to change file ownership or set file permissions in future.
by milhouse
Mon Feb 10, 2014 8:43 am
Forum: Graphics, sound and multimedia
Topic: Logitech Media Server / Raspbian
Replies: 112
Views: 74239

Re: Logitech Media Server / Raspbian

Sounds like your USB hard drive is formatted with a filesystem that doesn't support Linux file permissions - what filesystem is your USB hard drive formatted with, FAT? NTFS? Try using a native Linux filesystem (eg. ext2/4). Note that when using sudo, you temporarily become the highest level and mos...
by milhouse
Sun Feb 02, 2014 8:41 am
Forum: Media centres
Topic: Openelec and usb audio
Replies: 12
Views: 19947

Re: Openelec and usb audio

I realise this is an old thread, but if you're still interested in ALSA on OpenELEC you can try this test version...

http://forum.xbmc.org/showthread.php?ti ... pid1617155
by milhouse
Wed Jan 15, 2014 12:57 am
Forum: General discussion
Topic: SD Card Benchmarks
Replies: 301
Views: 294198

Re: SD Card Benchmarks

Wow. That's a lot slower than I expected. Try reducing the size of your test data set, eg. try 50MB instead of 100MB. I found that the same flash memory (USB3 memory stick in this case) could return good results at 50MB, even 100MB, but performance fell off a cliff when testing with a data set larg...
by milhouse
Fri Jan 03, 2014 12:24 am
Forum: Media centres
Topic: xbmc: power-save mode for monitor
Replies: 3
Views: 1395

Re: xbmc: power-save mode for monitor

jose1711_ wrote:if anyone has an idea, please share.
I realise this is a very old thread, but if anyone is interested in a working solution, see here.
by milhouse
Tue Dec 24, 2013 12:06 am
Forum: Advanced users
Topic: Next firmware tree is now 3.10
Replies: 105
Views: 37295

Re: Next firmware tree is now 3.10

Was there any resolution to the loss of FSTRIM in recent kernels? I've just updated to #614 from #577, and now my fstrim cron job is failing with the new kernel.

If fstrim serves no purpose on an SD card then fine, I'll stop running it, is everyone now agreed it is of no value?
by milhouse
Wed Nov 06, 2013 4:57 pm
Forum: Troubleshooting
Topic: NIC : ERROR::handle_hc_chhltd_intr_dma:2537
Replies: 3
Views: 743

Re: NIC : ERROR::handle_hc_chhltd_intr_dma:2537

Seeing this too now with 3.10.18+ kernel. Also NYET/NACK/ACK messages are back (issue #205). Possibly both errors/messages are related. Not using a WiFi dongle, just a USB keyboard plugged into the Model B (512MB) USB port, and wired Ethernet.
by milhouse
Sat Sep 14, 2013 7:13 am
Forum: Other
Topic: OpenElec - no IMG file
Replies: 11
Views: 13312

Re: OpenElec - no IMG file

Cool, thanks for the correction/clarification. And congrats on this release btw. :)
by milhouse
Sat Sep 14, 2013 6:37 am
Forum: Other
Topic: OpenElec - no IMG file
Replies: 11
Views: 13312

Re: OpenElec - no IMG file

ShiftPlusOne wrote:You can download one of the 'testing' images and update using the settings addon. No need to do anything manually.
You can't normally update automatically from a development build to a release build, but maybe the Settings addon allows this - not something I've tested.
by milhouse
Sat Sep 14, 2013 6:03 am
Forum: Other
Topic: OpenElec - no IMG file
Replies: 11
Views: 13312

Re: OpenElec - no IMG file

Just use an old IMG file (eg. 3.0.6) if you're creating a fresh install on a blank SD card. Then upgrade the OpenELEC system "manually" to the latest 3.2 release by extracting the SYSTEM, KERNEL and associated MD5 files from the tar file (use 7zip on Windows, look in the "target" folder) and copy al...
by milhouse
Sat Aug 31, 2013 12:48 pm
Forum: Other projects
Topic: Pressy - any good for the Raspberry Pi?
Replies: 2
Views: 902

Re: Pressy - any good for the Raspberry Pi?

Also, with an abundance of GPIO pins why would anybody have any use for such a contraption as pressy (except for the fact that to use it you don't have to open the case, but you could simply wire up your own 3.5mm jack + a 2k2 pull-up to 3v3 if you want to duplicate the functionality of pressy). Wh...
by milhouse
Sat Aug 31, 2013 12:02 pm
Forum: Other projects
Topic: Pressy - any good for the Raspberry Pi?
Replies: 2
Views: 902

Pressy - any good for the Raspberry Pi?

Pressy is a Kickstarter project and is basically a button which fits in a headphone socket and, with suitable software, allows the user to initiate tasks with single or double short or long clicks. Just thinking aloud, could this be useful when used with the Raspberry Pi? Does the Pi headphone sock...

Go to advanced search