ianka / w1_ds28e17 Goto Github PK
View Code? Open in Web Editor NEWLinux kernel driver for the DS28E17 Onewire-to-I2C master bridge
License: GNU General Public License v2.0
Linux kernel driver for the DS28E17 Onewire-to-I2C master bridge
License: GNU General Public License v2.0
I installed this module on a Raspberry Pi 3 using the sources from the latest kernel version in the Raspbian repository (4.9.35-v7+/raspberrypi-kernel_1.20170703-1), and it worked for a little while until it stopped working and this warning started filling dmesg:
[68811.133384] ------------[ cut here ]------------
[68811.133394] WARNING: CPU: 1 PID: 30515 at drivers/gpio/gpiolib.c:106 gpio_to_desc+0xc8/0xd0
[68811.133398] invalid GPIO -1193792064
[68811.133402] Modules linked in: w1_gpio(-) wire(O) configs brcmfmac brcmutil cfg80211 rfkill snd_bcm2835 snd_pcm snd_timer snd i2c_bcm2835 bcm2835_gpiomem uio_pdrv_genirq uio fixed i2c_dev cn fuse ipv6 [last unloaded: w1_ds2413]
[68811.133504] CPU: 1 PID: 30515 Comm: w1_bus_master1 Tainted: G D W O 4.9.35-v7+ #1014
[68811.133515] Hardware name: BCM2835
[68811.133531] [<8010fb3c>] (unwind_backtrace) from [<8010c058>] (show_stack+0x20/0x24)
[68811.133546] [<8010c058>] (show_stack) from [<80455880>] (dump_stack+0xd4/0x118)
[68811.133562] [<80455880>] (dump_stack) from [<8011d344>] (__warn+0xf8/0x110)
[68811.133578] [<8011d344>] (__warn) from [<8011d3a4>] (warn_slowpath_fmt+0x48/0x50)
[68811.133594] [<8011d3a4>] (warn_slowpath_fmt) from [<80487ba0>] (gpio_to_desc+0xc8/0xd0)
[68811.133614] [<80487ba0>] (gpio_to_desc) from [<7f3774b0>] (w1_gpio_write_bit_dir+0x34/0x3c [w1_gpio])
[68811.133643] [<7f3774b0>] (w1_gpio_write_bit_dir [w1_gpio]) from [<7f36b358>] (w1_write_bit+0x6c/0x114 [wire])
[68811.133681] [<7f36b358>] (w1_write_bit [wire]) from [<7f36ba84>] (w1_triplet+0xc4/0xcc [wire])
[68811.133719] [<7f36ba84>] (w1_triplet [wire]) from [<7f3694c4>] (w1_search+0x114/0x264 [wire])
[68811.133757] [<7f3694c4>] (w1_search [wire]) from [<7f36bae0>] (w1_search_devices+0x54/0x58 [wire])
[68811.133800] [<7f36bae0>] (w1_search_devices [wire]) from [<7f369688>] (w1_search_process_cb+0x74/0x120 [wire])
[68811.133838] [<7f369688>] (w1_search_process_cb [wire]) from [<7f3698bc>] (w1_process+0x104/0x13c [wire])
[68811.133865] [<7f3698bc>] (w1_process [wire]) from [<8013c8c8>] (kthread+0x10c/0x124)
[68811.133888] [<8013c8c8>] (kthread) from [<80108148>] (ret_from_fork+0x14/0x2c)
[68811.133900] ---[ end trace 003b29729f774a67 ]---
The w1_gpio module then became unresponsive and couldn't be unloaded with rmmod. I shut the system down to see if that would fix it but then it wouldn't boot up again (Maybe because the warning spam filled the system logs and the SD card?)
A couple of other things I noticed:
I'm not really sure what triggered this. I'll do a bit of detective work and update this post if I find anything that seems useful.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.