I am working on a project to getting data from serial device and transmit it to web. I am using kernel 3.2.27 with busybox few start up scripts like sysfs and proc, wvdial daemon to dial USB modem for internet connection and a Java program which fetch data from serial line (/dev/ttyUSB3). I am using RS485-USB converter. I am using few modules like usbserial, ftdi_sio, usb_wwan, option and ppp. My input voltage is 5.45V and 2A.

All my set up running fine but after 3~4 hours my device freezes. I don't know why this strange problem is happening. Only a few process are running on the PI. Sometimes I am getting a message like __alloc_pages_nodemask error code 22.

Can anyone guide me to resolve my issue.

  • What size SD card are you using and what class is it. Sometimes the SD card causes that alloc pages error. – Piotr Kula May 23 '13 at 9:38
  • I have got it from element14 along with Raspbian OS, its 4gb. – Shantanu Banerjee May 23 '13 at 12:09
  • 1
    OK- So does the official raspbian OS do the same crashing? Remove all addons and scripts. And all i can suggest trial and error. Add a piece and test, add another test some more until you find what crashes. If it crashes with Raspbian and nothing then return the Pi for another. – Piotr Kula May 23 '13 at 12:36
  • @ShantanuBanerjee Did you try out what ppumkin said? – RPiAwesomeness Mar 23 '14 at 19:46
  • @RPiAwesomeness __alloc_pages_nodemask error code 22 happen for SD card, like file system in SD card is either corrupted or it was unplugged.. But I have just put proper sleep time to my daemon process with a new SD card and problem was resolved .. – Shantanu Banerjee Mar 24 '14 at 9:57

The OP resolved this issue himself, as can be read in this comment on the original question.

He had to add proper sleep time to the daemon process and put it on a new SD card.

This is simply a placeholder answer until the OP creates a self-answer.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.