DocScrutinizer05 changed the topic of #qi-hardware to: Copyleft hardware - http://qi-hardware.com | hardware hackers join here to discuss Ben NanoNote, atben / atusb 802.15.4 wireless, and other community driven hw projects | public logging at http://en.qi-hardware.com/irclogs and http://irclog.whitequark.org/qi-hardware
GNUtoo-x60 has quit [Quit: Leaving]
pcercuei has quit [Quit: dodo]
dos1 has quit [Ping timeout: 245 seconds]
wej has quit [Read error: Connection reset by peer]
porchaso0 has joined #qi-hardware
porchao has quit [Read error: Connection reset by peer]
heberth has quit [Quit: leaving]
wej has joined #qi-hardware
wolfspraul has joined #qi-hardware
dos1 has joined #qi-hardware
dos1 has quit [Ping timeout: 240 seconds]
pcercuei has joined #qi-hardware
Freemor has quit [Remote host closed the connection]
Freemor has joined #qi-hardware
arossdotme has joined #qi-hardware
xiangfu has joined #qi-hardware
pcercuei has quit [Ping timeout: 240 seconds]
pcercuei has joined #qi-hardware
arossdotme has quit [Ping timeout: 245 seconds]
wej has quit [Ping timeout: 264 seconds]
wej has joined #qi-hardware
rz2k has joined #qi-hardware
FDCX_ has quit [Remote host closed the connection]
FDCX has joined #qi-hardware
rz2k has quit [Write error: Broken pipe]
wej has quit [Ping timeout: 245 seconds]
woakas has joined #qi-hardware
Freemor has quit [Remote host closed the connection]
wej has joined #qi-hardware
Freemor has joined #qi-hardware
xiangfu has quit [Remote host closed the connection]
heberth has joined #qi-hardware
porchao has joined #qi-hardware
porchaso0 has quit [Ping timeout: 245 seconds]
dos1 has joined #qi-hardware
heberth has quit [Quit: leaving]
wej_ has joined #qi-hardware
wej has quit [Ping timeout: 264 seconds]
wej_ has quit [Ping timeout: 245 seconds]
wej has joined #qi-hardware
wolfspraul has quit [Quit: leaving]
viric has quit [Ping timeout: 240 seconds]
viric has joined #qi-hardware
apelete has quit [Read error: Connection reset by peer]
viric_ has joined #qi-hardware
viric has quit [Ping timeout: 240 seconds]
viric_ is now known as viric
apelete has joined #qi-hardware
<apelete> Hello
<apelete> larsc mth: are you there ?
<apelete> I'm trying to debug a kernel issue in the jz4740 musb driver
<apelete> jz4740 musb code: http://paste.debian.net/46592/
<apelete> according to gdb log, driver got stuck in platform_set_drvdata()
<apelete> but I can't tell why, I don't see anything suspicious
<apelete> larsc mth: could you please tell me what's wrong in there ?
<mth> I'll try, looking at the code now
<apelete> thanks
<larsc> I don't think it is possible to get stuck in platform_set_drvdata
<mth> yeah, there is no loop there, so it should always exit
<mth> clk_put is not necessary if you acquired it with devm_clk_get
<apelete> ok
<mth> but I don't see anything obviously wrong
<apelete> mth: so what's wrong in the code then ? how come the kernel is panicking ?
<apelete> <mth> but I don't see anything obviously wrong
<apelete> I still have gdb running right now
<apelete> mth: I can print some variables if you suspect something, and paste it so you can see
<mth> where does that SIGHUP come from?
<apelete> good question, I don't really see where it might come from
<mth> I mean, why does the debugger stop there, something must have triggered it?
<mth> does the kernel get stuck as well if you boot it without the debugger?
<mth> and if so, what is the last thing that it logs?
<mth> I tend to debug with logging rather than interactive debuggers most of the time; I still mistrust debuggers from my Turbo Pascal days
<apelete> ok I'll recompile it right away without the debugger option and see what happens
<viric> gdb isn't that bad :)
<apelete> I need it to understand how the usb code works (looking at the call stack and printing variables, and so on)
<apelete> but I will disable it just for now to see what happens
<mth> viric: a big part of the problem was that the Turbo Pascal IDE ran in the same process as the program being debugged, so if you had any memory corruption the debugger itself or the data it was operating on could be invalidated
<mth> gdb is more reliable, but still there are situations in which it is feeding nonsense
<pcercuei> and it's generally a bad idea to trust blindly a program
kyak has quit [Read error: Operation timed out]
kyak has joined #qi-hardware
kyak has joined #qi-hardware
<apelete> mth: I'm recompiling, should get the log soon
<apelete> meanwhile, what does that SIGHUP means in kernel context ?
<apelete> mth: boot log -> http://paste.debian.net/46609/
<apelete> not very helpful if you ask me :)
<qi-bot> [commit] Paul Cercueil: Remove calls to sync() (master) http://qi-hw.com/p/gmenu2x/8452c03
<qi-bot> [commit] Paul Cercueil: Remove calls to setInputSpeed(), as it only needs to be called once (master) http://qi-hw.com/p/gmenu2x/217a9b5
Freemor has left #qi-hardware [#qi-hardware]
rz2k has joined #qi-hardware
heberth has joined #qi-hardware