{"action":"created","issue":{"url":"https://api.github.com/repos/raspberrypi/linux/issues/2457","repository_url":"https://api.github.com/repos/raspberrypi/linux","labels_url":"https://api.github.com/repos/raspberrypi/linux/issues/2457/labels{/name}","comments_url":"https://api.github.com/repos/raspberrypi/linux/issues/2457/comments","events_url":"https://api.github.com/repos/raspberrypi/linux/issues/2457/events","html_url":"https://github.com/raspberrypi/linux/issues/2457","id":307215401,"number":2457,"title":"4.14 / 3+: oops in lan78xx_set_wol","user":{"login":"maxnet","id":1123701,"avatar_url":"https://avatars2.githubusercontent.com/u/1123701?v=4","gravatar_id":"","url":"https://api.github.com/users/maxnet","html_url":"https://github.com/maxnet","followers_url":"https://api.github.com/users/maxnet/followers","following_url":"https://api.github.com/users/maxnet/following{/other_user}","gists_url":"https://api.github.com/users/maxnet/gists{/gist_id}","starred_url":"https://api.github.com/users/maxnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxnet/subscriptions","organizations_url":"https://api.github.com/users/maxnet/orgs","repos_url":"https://api.github.com/users/maxnet/repos","events_url":"https://api.github.com/users/maxnet/events{/privacy}","received_events_url":"https://api.github.com/users/maxnet/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-21T11:56:50Z","updated_at":"2018-03-21T13:30:56Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"OpenELEC and clones try to enable WoL with an udev rule ( https://github.com/OpenELEC/OpenELEC.tv/blob/master/packages/network/ethtool/udev.d/99-wakeup-eth.rules )\r\n\r\nThis regulary -but not always- results in an Oops on 3+:\r\n\r\n```\r\n[   18.647311] Unable to handle kernel NULL pointer dereference at virtual address 000001b0\r\n[   18.655625] pgd = b1a54000\r\n[   18.658395] [000001b0] *pgd=2efde835, *pte=00000000, *ppte=00000000\r\n[   18.664870] Internal error: Oops: 17 [#1] SMP ARM\r\n[   18.669669] Modules linked in: fuse ipv6 sch_fq_codel brcmfmac brcmutil snd_bcm2835(C) cfg80211 rfkill snd_pcm snd_timer snd joydev uio_pdrv_genirq uio fixed\r\n[   18.684060] CPU: 3 PID: 312 Comm: ethtool Tainted: G         C      4.14.26v7-aufs #1\r\n[   18.684062] Hardware name: BCM2835\r\n[   18.684067] task: b0098f00 task.stack: ae5ee000\r\n[   18.684082] PC is at phy_ethtool_set_wol+0x14/0x3c\r\n[   18.684090] LR is at lan78xx_set_wol+0xd4/0xe4\r\n[   18.684093] pc : [<806c5610>]    lr : [<806cd71c>]    psr: 00070013\r\n[   18.684096] sp : ae5efdd0  ip : ae5efde0  fp : ae5efddc\r\n[   18.684098] r10: 00000000  r9 : 00000040  r8 : 00114809\r\n[   18.684101] r7 : 00000000  r6 : ae5efe28  r5 : aeebe000  r4 : ae461800\r\n[   18.684104] r3 : 00000001  r2 : aee33c00  r1 : ae5efe28  r0 : 00000000\r\n[   18.684110] Flags: nzcv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user\r\n[   18.684112] Control: 10c5383d  Table: 31a5406a  DAC: 00000055\r\n[   18.684116] Process ethtool (pid: 312, stack limit = 0xae5ee210)\r\n[   18.684122] Stack: (0xae5efdd0 to 0xae5f0000)\r\n[   18.684131] fdc0:                                     ae5efdfc ae5efde0 806cd71c 806c5608\r\n[   18.684137] fde0: 7ebbc400 8095bbe4 7ebbca7c aeebe000 ae5efe84 ae5efe00 807f0ce8 806cd654\r\n[   18.684142] fe00: 7ebbca7c ae5efe90 00114809 00000040 00000006 00000006 7ebbca7c ae5efe90\r\n[   18.684147] fe20: 00000000 00000000 00000006 0000003f 00000020 00000000 00000000 807df494\r\n[   18.684153] fe40: 00000004 80d80540 ae5efe6c 808f4710 ae5efe74 ae5efe60 808f4710 00008946\r\n[   18.684158] fe60: 80d80540 7ebbca7c ae5efe90 00000000 00000000 00000000 ae5efedc ae5efe88\r\n[   18.684167] fe80: 808095b8 807ef3d0 76e8b4d0 b301e540 30687465 00000000 00000000 00000000\r\n[   18.684177] fea0: 7ebbc400 00000000 00000000 00000000 ae5efef4 00008946 fffffdfd 80d80540\r\n[   18.684183] fec0: 7ebbca7c 7ebbca7c b47b48e0 00000000 ae5efefc ae5efee0 807c4dc0 80809080\r\n[   18.684188] fee0: ae41d180 ae41d180 00008946 7ebbca7c ae5eff7c ae5eff00 8029d028 807c4bb0\r\n[   18.684193] ff00: 802a15a4 80d048e0 00000003 ae5eff40 ae5eff3c ae5eff20 8028b3d8 802a9ef0\r\n[   18.684198] ff20: ae5eff64 ae5eff30 802a9ef0 808f278c ae5eff74 ae5eff40 807c49f0 8028b384\r\n[   18.684204] ff40: b4a03110 aead1990 00000000 802a9524 00000006 ae41d180 ae41d180 00008946\r\n[   18.684216] ff60: 7ebbca7c 00000003 ae5ee000 00000000 ae5effa4 ae5eff80 8029d798 8029cf88\r\n[   18.684226] ff80: 00000006 7ebbc400 00000000 00000020 00000036 80108a84 00000000 ae5effa8\r\n[   18.684231] ffa0: 801088e0 8029d760 7ebbc400 00000000 00000003 00008946 7ebbca7c 00000006\r\n[   18.684237] ffc0: 7ebbc400 00000000 00000020 00000036 00000002 7ebbcc30 00000002 7ebbca74\r\n[   18.684242] ffe0: 0004441c 7ebbbe54 0001d2ac 76e8b4dc 60070010 00000003 e594005c e5941060\r\n[   18.684274] [<806c5610>] (phy_ethtool_set_wol) from [<806cd71c>] (lan78xx_set_wol+0xd4/0xe4)\r\n[   18.684289] [<806cd71c>] (lan78xx_set_wol) from [<807f0ce8>] (dev_ethtool+0x1924/0x2358)\r\n[   18.684302] [<807f0ce8>] (dev_ethtool) from [<808095b8>] (dev_ioctl+0x544/0x8a4)\r\n[   18.684315] [<808095b8>] (dev_ioctl) from [<807c4dc0>] (sock_ioctl+0x21c/0x2d8)\r\n[   18.684326] [<807c4dc0>] (sock_ioctl) from [<8029d028>] (do_vfs_ioctl+0xac/0x7d8)\r\n[   18.684337] [<8029d028>] (do_vfs_ioctl) from [<8029d798>] (SyS_ioctl+0x44/0x6c)\r\n[   18.684350] [<8029d798>] (SyS_ioctl) from [<801088e0>] (ret_fast_syscall+0x0/0x28)\r\n[   18.684360] Code: e92dd800 e24cb004 e52de004 e8bd4000 (e59031b0) \r\n[   18.684482] ---[ end trace 40cd6684fa300f3c ]---\r\n```\r\n\r\nhttps://github.com/maxnet/berryboot/issues/484"},"comment":{"url":"https://api.github.com/repos/raspberrypi/linux/issues/comments/374936685","html_url":"https://github.com/raspberrypi/linux/issues/2457#issuecomment-374936685","issue_url":"https://api.github.com/repos/raspberrypi/linux/issues/2457","id":374936685,"user":{"login":"MilhouseVH","id":805038,"avatar_url":"https://avatars0.githubusercontent.com/u/805038?v=4","gravatar_id":"","url":"https://api.github.com/users/MilhouseVH","html_url":"https://github.com/MilhouseVH","followers_url":"https://api.github.com/users/MilhouseVH/followers","following_url":"https://api.github.com/users/MilhouseVH/following{/other_user}","gists_url":"https://api.github.com/users/MilhouseVH/gists{/gist_id}","starred_url":"https://api.github.com/users/MilhouseVH/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MilhouseVH/subscriptions","organizations_url":"https://api.github.com/users/MilhouseVH/orgs","repos_url":"https://api.github.com/users/MilhouseVH/repos","events_url":"https://api.github.com/users/MilhouseVH/events{/privacy}","received_events_url":"https://api.github.com/users/MilhouseVH/received_events","type":"User","site_admin":false},"created_at":"2018-03-21T13:30:56Z","updated_at":"2018-03-21T13:30:56Z","author_association":"NONE","body":"Yes, we see this too with LibreELEC, although we just disabled [78xx WOL](https://github.com/LibreELEC/LibreELEC.tv/blob/master/packages/linux/patches/raspberrypi/linux-999-disable_lan78xx_wol.patch) as a temporary solution (there were other priorities at the time)."}}
{"actor":{"display_login":"MilhouseVH"}}