LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (https://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   Some /dev/input missing after soft reboot (https://www.linuxquestions.org/questions/linux-kernel-70/some-dev-input-missing-after-soft-reboot-839540/)

truboy 10-21-2010 08:06 AM

Some /dev/input missing after soft reboot
 
Hi all,

I'm currently developping an embedded system running Linux 2.6.24 on a SBC9261 board.

Special files /dev/input/event0 and /dev/input/event1 allow me to get infos from some GPIOs and a touchscreen.

Everything is working fine but when I "soft-reboot" the board (with the reboot shell command), those two files are then missing.

Just after the reboot command, umount returns two errors :
  • umount: /tmpfs busy - remounted read-only
  • umount: /etc/mtab: No such file or directory

In /etc/inittab :

::shutdown:/bin/umount -a -r
::shutdown:/sbin/swapoff -a


I assume umount cannot unmount /dev, but could it be related to my issue ?
After a hardware-reset, everything is working fine again.

Let me know if you need additional info !

Thank you for answering !

Mara 10-23-2010 04:54 PM

Probably it is related. Look into the boot log and search for messages with /dev-related errors. Or just save a boot log after hard and soft reset and compare them. I guess some driver doesn't initialize correctly, what may be caused by the device not being shutdown correctly before the soft reset. But you need to look for the exact cause.


All times are GMT -5. The time now is 11:18 PM.