Failure during boot: Failed to start LSB

 

To comment on questions or provide answers, please login first.
Register | Login

 

Questions and AnswersCategory: Moitessier HATFailure during boot: Failed to start LSB
Franz asked 5 years ago

Hello,
I’m on the way to make my own navigation system. HAT is mounted but I can not get a connection. I think the reason is that during boot the driver for Moitessier HAT could not initialised.
The message: Failed to start LSB: Loads the Moitessier HAT driver druing booting…
See ‘systemctl status load_driver_moitessier.service’ for details
Message on the promt with “systemctl status load_driver_moitessier.service”
load_driver_moitessier_service – LSB: Loads the Moitessier HAT driver during booting.
Loaded: loaded (etc/init.d/load_driver_moitessier; generated; vendor preset: enabled)
Active: failed (Result: exit-code) since Fri 2019-02-22 01:04:57 UTC; 6min ago
Docs: man:systemd-sysv-generator(8)
Process: 407 EcexStart=/etc/init.d/load_driver_moitessier start (code=exited, status=1/FAILURE)
Feb 22 01:04:57 navi systemd[1]: Starting LSB: Loads the Moitessier HAT driver during booting….
Feb 22 01:04:57 navi load_driver_moitessier[407]: /etc/init.d/load_driver_moitessier: line 30: warning: command substitution: ignored null byte in input
Feb 22 01:04:57 navi  load_driver_moitessier[407]: insmod: ERROR: could not insert module /home/pi/moitessier/modules/moitessier.ko: Invalid module format
Feb 22 01:04:57 navi systemd[1]: Failed to start LSB: Loads the Moitessier HAT driver during booting..
Feb 22 01:04:57 navi systemd[1]: load_driver_moitessier.service: Unit entered failed state.
Feb 22 01:04:57 navi systemd[1]: load_driver_moitessier.service: Failed with result ‘exit-code’.
When I made this my system was 4.14.79 and I tried to install the corresponding package, but that failed because it was not possible to shut down moitessier.
At the moment I am waiting for the newest package because unfortunately I made the upgrade to 4.14.98
What can I do to start working it?

geronius replied 5 years ago

You need the new install package.
As you have updated to 4.14.98 (as did I), you can’t do anything but to wait patiently. After all the kernel version wasn’t even available until this morning at https://github.com/raspberrypi/linux/releases/ – you can either revert the update if you can’t wait, (i.e go back to 4.14.79) or build the new version yourself (it’s not that hard if you carefully follow the instructions, a little linux knowledge provided).

You need to understand that a fresh official build by the product’s creator requires additional effort for regression testing.

Good luck
Michael

Franz replied 5 years ago

Hello Michael,
thank you very much. I installed just this moment the new package. Firmware update successful
Info Unloading “i2c:gpio_param
,/fw_update_moitessier: line 349: 2098 Segmentation fault….
was the message after first run.
after restarting the system I have a serial driver for moitessier but when I dry to install again I got the message:
load_driver_moitessier.service – LSB: Loads the Moitessier HAT driver during booting.
Loaded: loaded (/etc/init.d/load_driver_moitessier; generated; vendor preset: enabled)
Active: failed (Result: exit-code) since Fri 2019-02-22 17:21:41 UTC; 10min ago
Docs: man:systemd-sysv-generator(8)

Feb 22 17:21:41 navi systemd[1]: Starting LSB: Loads the Moitessier HAT driver during booting….
Feb 22 17:21:41 navi load_driver_moitessier[421]: /etc/init.d/load_driver_moitessier: line 30: warning: command substitution: ignored null byte in input
Feb 22 17:21:41 navi load_driver_moitessier[421]: /etc/init.d/load_driver_moitessier: line 29: 434 Segmentation fault insmod $driverPath
Feb 22 17:21:41 navi systemd[1]: load_driver_moitessier.service: Control process exited, code=exited status=1
Feb 22 17:21:41 navi systemd[1]: Failed to start LSB: Loads the Moitessier HAT driver during booting..
Feb 22 17:21:41 navi systemd[1]: load_driver_moitessier.service: Unit entered failed state.
Feb 22 17:21:41 navi systemd[1]: load_driver_moitessier.service: Failed with result ‘exit-code’.

So I’m a little bit confused what happens.
Best regards

Thomas Staff replied 5 years ago

Hello Franz,
do you use the Moitessier HAT in combination with OpenPlotter?
You mentioned, that you couldn’t shut down the Pi. Why did this happen? Have you just disconnected the power cable?
I’m using OpenPlotter 1.2.0 alpha and just updated the kernel to 4.14.98 and the proper Moitessier package. This should work out of the box.
Which Pi model do you use?

Regards,
Thomas

Franz replied 5 years ago

Hello Thomas,
I use the HAT together with a Pi3B+ and OpenPlotter. In the meantime I installed the proper package 4.14.98. In OpenPlotter I have now two serials (/dev/ttySO and /dev/moitessier.tty).
When I go in Moitessier HAT configuration the first message is:
Moitessier HAT is attached.
Moitessier HAT package is installed.
HAT info:
opening device /dev/moitessier.ctrl
size -172
Data is not valid yet!!!
MPU-9250:
Temperature seems okay
MS5607-02BA03
-639.44 mbar, -2437.11 Degree Celsius
Si7020-A20:
No value

First install of the new package (4.14.98) updated the Firmware, but closed with a failure on I2C with the sugesstion to reinstall the package. When I try this I can read that moitessier couldnt stop and therefore failure updating the Firmware and the rest.
So I dried: sudo systemctl stop load_driver_moitessier_service
There is no ending (will not return to prompt). That is what I mean I can stop moitessier. The Pi itself hang on from time to time during startup but when it work it work fine and I can switch of the system normal.
In my opinion I have troubles with the load_driver_moitessier.system but I have no idea how I can fix it. So if you have an idea it would be great.
Thank you
Franz

Thomas Staff replied 5 years ago

Hello Franz,
is there a way to get remote access to your Pi?

Regards,
Thomas

Franz replied 5 years ago

Hello Thomas,
yes there is a way to do that. I can conect a computer between so you can go with Teamviewer to a computer and from that over wire with ssh on the pi. I just tried it now and it works.
Best regards
Franz

 

To comment on questions or provide answers, please login first.
Register | Login