03-15-2017 09:20 PM
I was wondring if the HP cashdrawer OPOS driver has the ability to not show the "deviceenabled" when no drawer is connected to the integrated cashdrawer port. I have indicators that turn green or red to indicate the software can communicate with the device. The current driver allows me to enable the device when no drawer is connected. Since most cashdrawers do not support the "Power Reporting" feature in OPOS I have no way to identify if the drawer is disconnected using the HP driver.
03-23-2017 01:21 AM
Verify the reason behind deletion of swap device while it was in use. In some cases it is also observed that underlying devices used for swap filesystem are not deleted from system, but it is having large number of IO errors, due to which the read IO on swap filesystem fails and results in same panic as described here. In such case as well, it would be recommended to please investigate why the IO on underlying disk devices were failing?
Root Cause The kernel evoked panic() function because "init" task with PID (1) received a "SIGBUS" (7) signal due to "BUS_ADRERR". A "SIGBUS" can be caused by any general device fault that the computer detects, though a bus error rarely means that the computer hardware is physically broken. Bus error may also be raised for certain other paging errors. In this example "init" task with PID (1) received a "SIGBUS" (7) signal because of the deletion of swap device while it was in use.
The easier is to use a live OS and re-enable it vim /etc/selinux/config ... SELINUX=enforcing ... Second choise is to disable selinux in the kernel arguments by adding selinux=0 vim /boot/grub/grub.conf ... kernel /boot/vmlinuz-2.4.20-selinux-2003040709 ro root=/dev/hda1 nousb selinux=0
**Click Accept as Solution on a Reply that solves your issue to help others** ******Clicking the Thumbs-Up button is a way to say -Thanks!.*****