1-wire kernel module dependencies

A project log for Garden Squid

The garden squid is an open platform for indoor garden automation to bring software, hardware, and garden hackers together!

christine-banekChristine Banek 08/29/2016 at 22:210 Comments

Yesterday I noticed that my garden squid was having problems graphing. Looking into it, I was out of space on my device, but it wasn't my fault this time.

/var/log/messages and kern.log were spewing out about invalid GPIO for 1-wire bus.

Apparently if you rmmod w1-therm without w1-gpio, you can have a bad time. There's some invalid memory going on, and it spews out a callstack every second or so until it fills up the disk. For some reason, modprobe must not be seeing the dependency.

Just be warned my friends, if you see that your 1-wire GPIO of 1247578718 is not right, it's probably your kernel. I had to reboot to get it to work again.