Re: [systemd-devel] Antw: how to debug kernel panic which generated by udevadm at systemd?

2019-10-15 Thread www
Dear Ulrich, Thanks for your suggest. I have added some debug info, but not display. I will add more. I want ask a question, What commands does udevadm in systemd execute and what functions are corresponding to the driver? thanks, Byron At 2019-10-15 20:36:41, "Ulrich Windl" wrote:

Re: [systemd-devel] how to debug kernel panic which generated by udevadm at systemd?

2019-10-15 Thread Mantas Mikulėnas
On Tue, Oct 15, 2019 at 3:02 PM www wrote: > Dear all, > > I add a new driver to kernel, and it probe success. When enter into > systemd, the udevadm generate a kernel panic. > I want to ask how to debug it and find out where the error occurred? When > did udevadm load? What commands are used by

Re: [systemd-devel] Mutually exclusive (timer-triggered) services

2019-10-15 Thread Alexander Koch
* flock leaves the lock file behind so you'd need some type of cleanup in case you really want the jobs to be trace-free. This is not as trivial is it might seem, e.g. you cannot do it from the service units themselves in `ExecStartPost=` or similar. An ExecStartPost=-/usr/bin/flock -F

[systemd-devel] cannot unsubscribe from this list

2019-10-15 Thread Brian Reichert
I initiated an unsubscribe from this web page: https://lists.freedesktop.org/mailman/options/systemd-devel That created a confirmation email, that I replied to. That yielded this bounce message: : 131.252.210.177 does not like recipient. Remote host said: 550 5.1.1 : Recipient

Re: [systemd-devel] How to control the login prompt from my application service unit file?

2019-10-15 Thread Colin Guthrie
Moji, Shashidhar wrote on 15/10/2019 05:15: > Hi, > > We have VMware vApp based solution. Our application gets installed > during first boot. > > Till now we had SLES11 OS based VM and we upgraded to SLES12. Now we > have systemd instead of init scripts for service handling. > > In SLES11, we

Re: [systemd-devel] How to control the login prompt from my application service unit file?

2019-10-15 Thread Reindl Harald
Am 15.10.19 um 06:15 schrieb Moji, Shashidhar: > We have VMware vApp based solution. Our application gets installed > during first boot. > > Till now we had SLES11 OS based VM and we upgraded to SLES12. Now we > have systemd instead of init scripts for service handling. > > In SLES11, we had

Re: [systemd-devel] Mutually exclusive (timer-triggered) services

2019-10-15 Thread Silvio Knizek
Am Montag, den 14.10.2019, 18:30 +0200 schrieb Alexander Koch: > > exactly for this you would use a flock(1) in your .service. > > Thanks for the hint, didn't have that in mind. So you're suggesting > something like this? > > # service-a.service > # (...) > [Service] >

[systemd-devel] how to debug kernel panic which generated by udevadm at systemd?

2019-10-15 Thread www
Dear all, I add a new driver to kernel, and it probe success. When enter into systemd, the udevadm generate a kernel panic. I want to ask how to debug it and find out where the error occurred? When did udevadm load? What commands are used by udevadm, and what are the specific operations? [

[systemd-devel] Antw: how to debug kernel panic which generated by udevadm at systemd?

2019-10-15 Thread Ulrich Windl
Hi! I think your driver loads OK, but it is not working correctly. Maybe enable kernel debug messages and add debug prints to your driver, especially regarding any queries. I suspect some NULL pointer or empty string being returned. Regards, Ulrich >>> www schrieb am 15.10.2019 um 13:46 in