00:09.13 | *** join/#elinux TimRiker (~TimRiker@216.49.181.128) |
00:09.13 | *** join/#elinux TimRiker (~TimRiker@bzflag/projectlead/TimRiker) |
00:09.13 | *** mode/#elinux [+o TimRiker] by ChanServ |
00:21.38 | *** join/#elinux GPSFan (~kenm@64.92.145.112) |
00:33.18 | *** join/#elinux speakman (~daniel@h-181-147.A166.corp.bahnhof.se) |
00:33.18 | *** join/#elinux speakman (~daniel@unaffiliated/speakman) |
00:41.18 | *** join/#elinux djerome (~djerome@ip24-251-158-189.ph.ph.cox.net) |
00:41.44 | *** join/#elinux ZeZu (~ZeZu@c-98-227-57-1.hsd1.in.comcast.net) |
02:01.42 | *** join/#elinux gandhijee (akp@ip67-152-15-148.z15-152-67.customer.algx.net) |
05:34.07 | *** join/#elinux gandhijee (akp@ip67-152-15-148.z15-152-67.customer.algx.net) |
05:36.59 | *** join/#elinux svolpe (~Gerrath@unaffiliated/gerrath) |
06:04.35 | *** join/#elinux gandhijee (akp@ip67-152-15-148.z15-152-67.customer.algx.net) |
06:39.59 | *** join/#elinux lyakh (~lyakh@pD9EB8EB5.dip0.t-ipconnect.de) |
07:59.47 | *** join/#elinux rejser (~Philip@h121n2-m-sp-gr1.ias.bredband.telia.com) |
09:10.15 | *** join/#elinux roxfan (dunno@91.180.82.22) |
09:10.46 | *** join/#elinux likewise (~likewise@42-81-ftth.onsneteindhoven.nl) |
10:54.35 | *** join/#elinux rsv (7aa60de8@gateway/web/freenode/ip.122.166.13.232) |
10:54.50 | rsv | which testing i can use for testing file systems |
12:46.09 | *** join/#elinux likewise_ (~likewise@130-89-ftth.onsneteindhoven.nl) |
13:28.43 | wmat | rsv: see here http://elinux.org/Flash_Filesystem_Benchmarks |
13:59.59 | *** join/#elinux rejser (~Philip@h121n2-m-sp-gr1.ias.bredband.telia.com) |
14:20.04 | *** join/#elinux GPSFan (~kenm@64.92.145.112) |
14:50.24 | *** join/#elinux likewise_ (~likewise@130-89-ftth.onsneteindhoven.nl) |
15:02.17 | *** join/#elinux gandhijee (akp@ip67-152-15-148.z15-152-67.customer.algx.net) |
15:57.14 | *** join/#elinux xengi (~xengi@brln-4d0c86f7.pool.mediaWays.net) |
17:37.40 | *** join/#elinux gandhijee (akp@ip67-152-15-148.z15-152-67.customer.algx.net) |
17:58.17 | *** join/#elinux rejser (~Philip@h121n2-m-sp-gr1.ias.bredband.telia.com) |
20:21.37 | joshc_ | hey all, sorry to those of you who are also in ##kernel...I'm having a problem doing simple programmed IO from the kernel. I'm using ioremap() to map my IO region, and any attempt to access it results in an 'imprecise external abort' |
20:22.17 | joshc_ | I've tried using the readl(), __raw_readl(), and ioread32() accessors, to know avail. I'm also able to map via usermode (that is, mmap'ing /dev/mem) |
20:22.36 | joshc_ | and I'm able to use u-boot's 'md' command to dump the IO region |
20:23.29 | joshc_ | here is my test case: http://pastebin.com/WKZxSyFb |
20:23.49 | joshc_ | am I doing something stupid? what are some recommended ways to debug this? |
20:28.29 | roxfan | have you looked in other code on this system that's (supposedly) working? |
20:30.57 | joshc_ | roxfan: yeah, there are a few platform_drivers that follow very similar codepaths, that is, they use ioremap() and __raw_readl() |
20:33.01 | joshc_ | hmm, I suppose, in that way, they are registered to the kernel's memory resource hierarchy |
20:33.19 | joshc_ | although, it doesn't seem like the ioremap() codepath cares |
20:33.23 | roxfan | i wonder if that memory is already mapped or something like that |
20:34.05 | joshc_ | it shouldn't be, but I'm unsure how to validate that |
20:35.06 | joshc_ | roxfan: although, then, why would mmap'ing /dev/mem work? |
20:38.37 | roxfan | hm, can you check /proc/ioports or /proc/iomem? |
20:39.01 | joshc_ | the region isn't listed in /proc/iomem, /proc/ioports is empty |
20:39.20 | roxfan | and after ioremap? |
20:40.02 | joshc_ | I don't think it shows up, but let me confirm |
20:40.18 | joshc_ | this is what I meant by 'not added to the kernels resource hierarchy' |
20:40.31 | joshc_ | I'm wondering if my next step should be to make it a legitimate platform_driver |
20:42.35 | joshc_ | nope, doesn't show up after ioremap() |
20:55.36 | roxfan | hmm i wonder if you need to call request_region() |
20:58.04 | roxfan | interesting: http://kerneltrap.org/mailarchive/git-commits-head/2010/1/24/22458 |
20:59.33 | joshc_ | very interesting |
21:01.09 | joshc_ | I'll give that a try |
21:06.04 | joshc_ | nope |
21:06.24 | joshc_ | I'm transforming it into a legitimate platform_driver, lets see what happens |
21:38.36 | joshc_ | gah, that didn't help either. |
21:39.13 | joshc_ | I was hoping someone in here would just tell me I'm doing something stupid :) |
22:10.15 | *** join/#elinux e_lectronaute (~e_lectron@ecu69-2-88-161-244-26.fbx.proxad.net) |
23:36.13 | *** join/#elinux myopic1 (~snewman@207.47.42.130.static.nextweb.net) |
23:36.53 | myopic1 | Out of curiosity, is anyone in here going to SCALE? |