<projectgus>
some stuff's still working, like it's still responding to pings
<hste>
projectgus: in dmesg u should see if the freq goes down
<projectgus>
hste: due to thermal throttling you mean?
<hste>
yes
<projectgus>
my dmesg is being spammed with some noisy debug message
<projectgus>
I suspect this might have been the ondemand scaler turning it ruight down
<hste>
u could use a kernel with less debug turned on
<projectgus>
this looks something someone put in for debugging purposes, but yes
<projectgus>
it's just one message, OnAction_p2p, about 500x a minute
<hste>
what kernel are you using?
toktok has joined #imx6-dongle
<projectgus>
the one from jas-hack's post, the thermal throttling enabled one
MindBeat has quit [Ping timeout: 252 seconds]
<hste>
that shouldnt have so much debug on. U could check /proc/config.gz
<hste>
And check for debug
<toktok>
hi everyone. i just managed to run the ubuntu 12.04 image from jas-hacks. everything works find apart from audio...should have dd'ed the 3.0.35-0269 kernel for 12.04 as well. I would appreciate any suggestions on how to move forward
<projectgus>
hste: that's not legitimate debug I don't think, someone's thrown a printk() in when they were testing something
<abrasive>
no idea here.
<hste>
projectgus: do u have some special devices pluged in?
<abrasive>
probably the wifi driver
<abrasive>
spammy crap that is
<hste>
toktok: what resolution do u have?
<toktok>
720p
<projectgus>
hste abrasive: yeah I just found it, it's a stray line in the wifi driver
<hste>
toktok: have u done the dbus fix?
<projectgus>
vendorstyle debugging
<projectgus>
will send a pull request
<toktok>
yes the network-manager shows
<projectgus>
at some point :)
<toktok>
the audio volume i can control
<toktok>
and the audio device is shown to be imx-hdmi-soc
<hste>
toktok: do u have some noice on the speakers or is it totally quiet?
<abrasive>
the wifi driver is awful
<projectgus>
unsurprising :)
MindBeat has joined #imx6-dongle
<toktok>
it is totally quiet. the tv sound works obviously with other channels
<hste>
abrasive: mine is working great after I lost the antenna wire . 3-4MB/s
<abrasive>
hilarious.
<hste>
and thts B not b
<abrasive>
with the case on?
<hste>
no the case is off
<hste>
but a heatsink mounted on the cpu
<projectgus>
hste: that's awesome :)
<projectgus>
hste: so you replaced the rubber block?
<hste>
just strapped a heatsink onto it
<projectgus>
right
<projectgus>
have switched scalers from ondemand to performance, running tests again
<projectgus>
temps marginally higher, late 60s
<projectgus>
first threshold set for the thermal zone is 80 though, so lots of room before it throttles
<projectgus>
oddly enough the watch process I have cat-ting the thermal sensor freezes up periodically
<abrasive>
i don't think that bug affects my problem, i think i'm just missing something in my image.
<toktok>
what is supposed to be the sound driver in the 12.04 image? I just checked and i am apparently using the 3.0.35-02695-ga09806b-dirty kernel which is supposed to have the sound fixed. but lsmod gives just vivante, drm, 8192cu
<toktok>
do i need another driver for sound?
<hste>
abrasive: what do u use. danny or master?
<abrasive>
danny
<hste>
abrasive: try master its more uptodate
<abrasive>
okay.
<hste>
abrasive: and use the rpm. the others arent tested that well
<abrasive>
which rpm?
<hste>
if u want it packed into rpm or dep or ipkg
<hste>
I think it default is sat up to rpm
<hste>
abrasive; you shuold als remove the build but can keep the downloads.
<abrasive>
oh right
<abrasive>
yes, i use rpm.
<hste>
toktok: its compiled into kernel therfore u don't see the module
<toktok>
oh ok. thanks.
<toktok>
any other ideas to locate the problem?
<hste>
abrasive: i tried the danny first also :) Got that advise from otavio
<abrasive>
this looks much better
<projectgus>
locked again w/ wifi off
<projectgus>
going to try one more time without
<projectgus>
running a watch process on the temperature
Noskcaj10 has quit [Ping timeout: 256 seconds]
jas-hacks_ has joined #imx6-dongle
toktok has quit [Quit: toktok]
Noskcaj has joined #imx6-dongle
Noskcaj has joined #imx6-dongle
Noskcaj has quit [Changing host]
<hste>
jas-hacks_: morning :)
<jas-hacks_>
hste: morning
<hste>
jas-hacks_: time for fun today? :)
<abrasive>
hste: thanks for the tips with yocto
<abrasive>
looking forward to next image :)
<hste>
jas-hacks_: do u mind if I use the new uboot in scriptinstall or do u want to wait till its ready?
<hste>
abrasive: its not me but otavio that should be thanked :) Looks like he is doing a lot of work on it
<jas-hacks_>
hste: Only have time in the evening to look at stuff
<abrasive>
jas-hacks_: did you have a chance to look at my email?
<jas-hacks_>
hste: You can use uboot, needs some clean up/changes based on abrasive's comments
<projectgus>
hmm ok, so the lockups appear to have been not due to I/O but because I was checking the temp regularly
<projectgus>
must be some kind of issue with reading it from userspace
<projectgus>
good news though
<projectgus>
haven't seen or reproduced i/o induced slowdowns yet, I think abrasive we both might have seen them due to thermal throttling
<jas-hacks_>
abrasive: Haven't had time to refactor the code, will do that tonight
<abrasive>
i think you're right, gus
<jas-hacks_>
projectgus: is this with ubuntu?
<projectgus>
jas-hacks_: yes, on your ubuntu image
<projectgus>
I was trying to reproduce I/O induced slowdowns abrasive mentioned (lots of MMC I/O causing other things to become unresponsive)
<projectgus>
and started getting lockups
<jas-hacks_>
projectgus: In unity?
<projectgus>
but I think it was because I was running "watch -n1 cat /sys/class/thermal/thermal_zone0/temp"
<projectgus>
jas-hacks_: yes
<projectgus>
once I stopped doing the above though I could complete tasks which were locking the whole system midway with that running in a separate terminal
<jas-hacks_>
projectgus: There are number of issues :
<jas-hacks_>
1. gpu can look down to 1/64 of its clock speed when thermal temp is too hight
<jas-hacks_>
2. cpu will dramatically lower if freq when temp is too hight
<projectgus>
k
<jas-hacks_>
3. There's some 'apt' processing happening in the background that consumes high cpu.
Noskcaj has quit [Ping timeout: 252 seconds]
<projectgus>
yeah, I think abrasive and I may have both seen massive slowdowns when the thermal pad had fallen off the CPU, so that explains that
<projectgus>
I was just running some tests to confirm, using bonnie & dd to load up the mmc cards
<projectgus>
(I want to use the gk802 as a server, runnin RAID1 across the mmc slots, so wanted to be sure it wasn't going to cripple performance)
toktok has joined #imx6-dongle
<projectgus>
but as I said, I didn't get any slowdowns
<jas-hacks_>
I'm creating a Xubuntu releases that seems to behave better
<projectgus>
but there seems to be a race where accessing /sys/class/thermal/thermal_zone0/temp can very occasionally lock the entire system
<projectgus>
I'll investigate some more in the next few days
<projectgus>
jas-hacks_: thanks very much for the details
<projectgus>
off for now
<jas-hacks_>
projectgus: I haven't had a lock up occurring, the main problem is the time it takes to lower the temp, it can be minutes
<projectgus>
jas-hacks_: have you been 'cat'-ting that sysfs entry very regularly though?
<jas-hacks_>
projectgus: no
<projectgus>
yeah as I said I think that's what was doing it
<jas-hacks_>
projectgus: 1st thing to do is get a proper heatsink
<projectgus>
yeah I'll look into that
<projectgus>
temps haven't gone above 70 while i've been monitoring so I don't actually think throttling is occuring
<jas-hacks_>
projectgus: so you will be running a headless image?
<projectgus>
yeah, my plan is to run debian headless
<projectgus>
"debian, headless" I should say
<projectgus>
although that'd be an awesome if confusing debian release name :P
<jas-hacks_>
projectgus: then I expect it to behave well because you can run an armhf build
<projectgus>
jas-hacks_: btw do you have any idea why the load averages are reported wrong?
<projectgus>
nod
<hste>
projectgus: running armhf wheezy works fine on the dongle
<jas-hacks_>
projectgus: not sure at the moment
<projectgus>
i figured, once you take out video most of the gnarly stuff is gone :)
<projectgus>
(also)
<projectgus>
OK so that sysfs thing doesn't seem to be enough to hang the system either, by itself
<projectgus>
running while [ 1 ]; do cat /sys/class/thermal/thermal_zone0/temp > /dev/null; done & and it seems happy
<projectgus>
figures, I imagine it's just reading a register somewhere so why caue issues?
<hste>
projectgus: there is also someone made Gentoo on it
<abrasive>
which uboot are you running, projectgus?
<projectgus>
abrasive: um, at the moment the binary from jas-hacks' pot
<projectgus>
post, even
<abrasive>
jas-hacks_: does that have the RAM fixes in it?
<projectgus>
anyhow I'm done for this evening, will investigate some more tomorrow
<jas-hacks_>
abrasive: yes
<abrasive>
ok.
<projectgus>
thanks jas-hacks_, abrasive, hste
<abrasive>
ez.
<toktok>
hi again...i am a little bit at a loss trying to solve the sound problem. everything else seems to run fine with 12.04 image. but just cannot get the sound to work. I would appreciate any suggestions for toubleshooting
<abrasive>
can you find /sys -name *edid*
<abrasive>
and find the edid file there?
<toktok>
yes
Noskcaj has joined #imx6-dongle
Noskcaj has quit [Changing host]
Noskcaj has joined #imx6-dongle
<abrasive>
can you hexdump -C | head it? is it all zeroes/
<toktok>
should i type "hexdump -C | head" did i unserstand correctly
<toktok>
if i do "cat /sys/devices/platform/mxc_hdmi/edid"
<abrasive>
hexdump -C /sys/path/to/file | head
<toktok>
it is all zeros
<abrasive>
oh.
<abrasive>
okay
<abrasive>
that's why your sound isn't working.
<abrasive>
sorry, i thought it was binary.
<toktok>
no problem..thanks for the help by the way
<abrasive>
some GK802s (or some TVs?) don't seem to talk properly over DDC
<toktok>
is there way to fix it
<abrasive>
which is necessary both for video mode setting and for audio
<abrasive>
we don't know yet...
<abrasive>
haven't been able to reproduce the problem
<abrasive>
i will be testing my tv out shortly though so hopefully it fails there ;)
<toktok>
:-) strange wish to have....:-) but i like it
<abrasive>
i can't help it, i'm a sucker for debugging.
<toktok>
world needs ppl like u...thanks...so i should check back in once in a while.....to see your device failed...:-)
<abrasive>
yeah :)
<toktok>
just an idea...i have another dongle....uhost u1a
<toktok>
and with that i get sound
<toktok>
i presume there will be an edid file there too
<toktok>
is it at all an option to copy that file here?
<toktok>
yes....should dd the kernel or just copy it to /boot/uImage
<hste>
but this uboot reeds /boot.scr and kernel from /boot/uImage
<hste>
just copy the kernel not dd
<toktok>
ok...so actually if i just copy it, it should work then.. thanks let me give it a shot...thanks...
<hste>
do a sync before reboot
<toktok>
ok
Noskcaj has quit [Remote host closed the connection]
<toktok>
i rebooted after doing the copying...but the edid file is still all zeros
<toktok>
the first time i tried to reboot it did not run ...the tv said unsupported video format....but i unplugged it and plugged it in again and this time the desktop came back...
<toktok>
i presume the kernel names are the same....uname -r still gives 3.0.35-02695-ga09806b-dirty
<toktok>
so i don't know if it is running the kernel which is in the first part of the sd card, or the one which i copied to /boot
<abrasive>
if uboot updated it will use the one from /boot
<abrasive>
unfortunately it's harder to check if uboot updated...
<hste>
toktok: what resolution does your monitor handle?
<toktok>
it is a tv can handle 1080p
<toktok>
in fact with the android on the sdcard i was able to do 1080p and 720p both
<abrasive>
android doesn't read the EDID as far as i know
<abrasive>
or ignores it
<abrasive>
well, my yocto build is nearly cooked, i can test this soon :)
<toktok>
fingers crossed
<abrasive>
what brand is your tv?
<toktok>
phillips
<abrasive>
ok.
<abrasive>
i think the last one we got was a panasonic
<toktok>
great...so i put this at the root if the internal card and it sends it to the external card?
<hste>
toktok: but it reads the internal first if you have a boot.scr there
<toktok>
so i should put the boot.scr that boots the external on the internal card
<hste>
toktok: or remove it from internal
<hste>
toktok: you can switch putting the boot.scr on the external
<hste>
toktok: its still a preview of the uboot jas-hack_ work on
<toktok>
ok...so i remove the internal card. and the put the boot.scr you just send to the root of the external, and it should put...this would be great....since i fear that i am going to break something everytime i open it
<hste>
toktok: u need to have the uboot there
<toktok>
so actually i can put the sd card in the internal card to the
<toktok>
external slot
<toktok>
or should the uboot remain on an sd card in the internal slot
<hste>
toktok: u need the uboot on the internal sdcard. Then u can put everything elsre on external or even usb
<toktok>
ok...will try this....thanks for the help...then i should also learn how to customize boot.scr where can i read up on that
<hste>
toktok: U have to compile the mkimage tool to make a boot.scr from a text file
<toktok>
i have mkimage in my ubuntu system already
<toktok>
the format/syntax is the same as the stuff for allwinner devices? i did it there a couple of times
<hste>
toktok: mkimage -A arm -O linux -T script -n "boot" -d boot.txt boot.scr
<toktok>
thanks again...i could i presume decode one of the boot.scr files you sent to see how to redirect where to look for uImage and the root system
<hste>
toktok: yes
<toktok>
thanks again...
<abrasive>
okay! one open source fix submitted
<abrasive>
it only took me all day...
<hp__>
anyone have the cifs module available maybe ?
<abrasive>
i definitely don't have acceleration... the qt demos run horribly
<toktok>
hste: just to report....booting from external sd worked. thanks a lot for pointing out the way...no sound still.... but i feel better now with playing around. hopefully you guys can solve the edid issue....