View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004782 | Kali Linux | General Bug | public | 2018-06-01 00:08 | 2018-06-05 08:19 |
Reporter | pkreuzt | Assigned To | steev | ||
Priority | normal | Severity | crash | Reproducibility | random |
Status | resolved | Resolution | fixed | ||
Product Version | 2018.2 | ||||
Fixed in Version | 2018.3 | ||||
Summary | 0004782: Random crashes w/ Kali 2018.2 armv7 in Beaglebone Black | ||||
Description | I'm having a lot of crashes when running on this board. The system freezes completely and sometimes LEDs go off and board seems unpowered but the connected USB hub is lit, other times LEDs stay lit but fixed and OS is irresponsive. Since this board is not connected to a screen, I'm unable to debug the problem. At first I thought it was a damaged SD card, but changed to a new one and the problem persists. All I can say it seems to happen around network timesync, but not always. To help debug I should describe my setup: BBB is powered with barrel adapter and connected to powered USB hub, where there are two wireless ifaces, an Atheros AR9271 used with hostapd as AP (static IP serving dhcp with isc-dhcp-server) and a Ralink 3070 used as a client to another wireless network providing internet access (with dhcp dynamic IP). Kali is installed in a MicroSD card (16GB). Initial setup is done connecting BBB to wired ethernet network, during which crashes were not noted. As I said, they seem to happen a while after client wifi gets connected and ntpdate gets fired. Also observed after a number of cycles (crash-->forced manual reboot) SD card system gets corrupted and begins to throw errors when connecting card to PC reader. Appended relevant syslog portion of a crash. | ||||
Attached Files | crash.txt (1,182 bytes)
Mar 5 23:20:04 Bone dhclient[1008]: DHCPDISCOVER on antena to 255.255.255.255 port 67 interval 8 Mar 5 23:20:04 Bone dhclient[1008]: DHCPREQUEST of 192.168.1.36 on antena to 255.255.255.255 port 67 Mar 5 23:20:04 Bone dhclient[1008]: DHCPOFFER of 192.168.1.36 from 192.168.1.1 Mar 5 23:20:04 Bone dhclient[1008]: DHCPACK of 192.168.1.36 from 192.168.1.1 Mar 5 23:20:04 Bone dhclient[1008]: bound to 192.168.1.36 -- renewal in 66924 seconds. Mar 5 23:20:05 Bone systemd[1]: Reloading OpenBSD Secure Shell server. Mar 5 23:20:06 Bone systemd[1]: Reloaded OpenBSD Secure Shell server. Jun 1 01:32:21 Bone ntpdate[1047]: step time server 158.227.98.15 offset 7521128.172592 sec Jun 1 01:32:21 Bone systemd[1]: Starting Daily apt download activities... Jun 1 01:32:30 Bone systemd[1]: Started Daily apt download activities. Jun 1 01:32:31 Bone systemd[1]: Starting Daily apt upgrade and clean activities... Jun 1 01:32:38 Bone systemd[1]: Started Daily apt upgrade and clean activities. Jun 1 01:33:36 Bone systemd[1]: Started Session 4 of user pavel. ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@ | ||||
UPDATE: Suspecting from the kernel (4.1 branch on official Kali BBB image) I built a new image using kali-arm-build-scripts (https://github.com/offensive-security/kali-arm-build-scripts ) but switching to kernel branch 4.9. I chose this because wifi injection patches already existed on kali for this kernel. The newly built image doesn't crash anymore, no crashes so far in 36 hours uptime. It could be a coincidence, but. . .
4.9.patch (398 bytes)
202c202 < git clone https://github.com/beagleboard/linux -b 4.1 --depth 1 ${basedir}/root/usr/src/kernel --- > git clone https://github.com/beagleboard/linux -b 4.9 --depth 1 ${basedir}/root/usr/src/kernel 209c209 < patch -p1 --no-backup-if-mismatch < ${basedir}/../patches/kali-wifi-injection-4.1.patch --- > patch -p1 --no-backup-if-mismatch < ${basedir}/../patches/kali-wifi-injection-4.9.patch |
|
@threeway Please have a look at this bug. |
|
Thank you so much for the report @pkreuzt! Appreciate the reproduction steps, and observed the same things here. In the future, you can also submit this as a pull request on the kali-arm-build-scripts but a patch here works just as well! I'll push the updated patch shortly, and see about getting an updated image released soon! |
|
Updated image is posted as 2018.2a Thanks again for the report, the steps to reproduce were extremely helpful! |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2018-06-01 00:08 | pkreuzt | New Issue | |
2018-06-01 00:08 | pkreuzt | File Added: crash.txt | |
2018-06-03 17:47 | pkreuzt | File Added: 4.9.patch | |
2018-06-03 17:47 | pkreuzt | Note Added: 0009200 | |
2018-06-03 19:02 | rhertzog | Assigned To | => steev |
2018-06-03 19:02 | rhertzog | Status | new => assigned |
2018-06-03 19:03 | rhertzog | Note Added: 0009201 | |
2018-06-04 21:22 | steev | Note Added: 0009202 | |
2018-06-05 08:19 | steev | Status | assigned => resolved |
2018-06-05 08:19 | steev | Resolution | open => fixed |
2018-06-05 08:19 | steev | Fixed in Version | => 2018.3 |
2018-06-05 08:19 | steev | Note Added: 0009206 |