On Wed, 1 Jun 2011 13:28:47 +1000 David Seikel <onef...@gmail.com> said:
> > a kernel panic... is definitely a kernel problem. just unplugging > > some usb device being used for sure! dont know if ecore_fb handles > > teh vanishing of the device properly (and then dynamic plugging in > > again later). > > Well no. It only panics when elementary_test is running. If it's just > sitting at the shell prompt, no problem, things just keep running fine. > And no idea about if I plug it back in again, since I don't get a > chance to before the panic. a kernel panic, by DEFINITION is a KERNEL problem. its a bug inside the kernel. userspace happens to TRIGGER the bug by maybe using devices in a certain way - eg opening and keeping the udb device open. as such kernel and userspace are separated and any kernel panic is entirely a bug inside the kernel. > On the other hand, I don't KNOW for sure if it's a kernel panic, since > elementary_test has taken over the screen at that point, there is no > visible console to see any messages. The system just reboots. oooh.. so you dont KNOW its a kernel panic... you don't have a serial console? you should get one :) > I think that classifies as "ecore_fb not handling the vanishing of the > device properly" though. well it may not handle the error case for reading the device as nicely as it should - eg close it and clean up. it may keep it open, which may TRIGGER a kernel bug, but thats still a kernel bug to be fixed in the kernel, if it is a panic. > This linux system is one I'm building from scratch, just enough so far > to let me run elementary_test in fb mode. Plumbing in debugging stuff > so I can see what goes on is still a TODO item. I just got to the point > where elementary_test is reacting to the keyboard last night, next step > is supposed to be writing a simple elementary app to start testing with. get yourself a serial console.. and next network (usbnet or something). you'll really hurt a lot without these debug/access mechanisms. > If it helps - during development there are usualy two USB keyboards > plugged in. Makes no difference to this problem which one is plugged > in to start with, or which one is unplugged, or even whether both are > plugged in to start with. The end result of this project will have to > be able to deal with one being plugged in all the time, the other only > being plugged in sometimes while the system is running. > > -- > A big old stinking pile of genius that no one wants > coz there are too many silver coated monkeys in the world. -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- The Rasterman (Carsten Haitzler) ras...@rasterman.com ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel