Commit Graph

154 Commits

Author SHA1 Message Date
b6c186b632 nixbld: use own DNS resolver 2020-06-13 13:58:26 +08:00
47e7231ee0 nixbld: add DNS entry for metlino 2020-05-29 15:45:20 +08:00
c4eae355d3 add rpi-5 2020-05-25 16:31:04 +08:00
2f1b8ad0f4 enable gitea email notifications 2020-05-21 12:24:38 +08:00
556fda274d update nmigen.org redirect 2020-04-29 16:20:04 +08:00
50f7c293e8 nixbld: fix recurring acme certificate permission problems 2020-04-27 11:59:08 +08:00
f7f3ec9a37 nixbld: update hydra 2020-04-20 15:37:46 +08:00
4b92e7c00f nixbld: remove munin workaround (no longer needed on 20.03) 2020-04-20 14:24:45 +08:00
7f6d54c6cd upgrade to nixos 20.03 2020-04-20 14:21:48 +08:00
a8198e9eea nixbld: add shop email backend 2020-04-15 21:15:26 +08:00
2b08520101 nixbld: add second ZC706 IP address 2020-04-11 22:10:20 +08:00
179d74a137 nixbld: setup second red pitaya 2020-04-04 18:03:48 +08:00
dec885c896 set stabilizer IP address within M-Labs network 2020-03-17 19:43:22 +08:00
57715ff325 nixbld: static IP for Red Pitaya 2020-03-17 13:25:46 +08:00
9ee661049c use temporary redirect code 2020-01-30 11:33:51 +08:00
125654bcce redirect nmigen domain to github repos 2020-01-30 11:31:21 +08:00
e795d704d6 nixbld: another attempt at using a less shitty wifi card 2020-01-02 18:49:07 +08:00
58bd5c697e nixbld: try another workaround for wifi bugs 2020-01-02 17:18:02 +08:00
f6d4bc3d83 nixbld: try new workaround for Linux wifi shittiness
The Linux wifi AP support is dire:
* rtl8192cu AP mode loses packets and connections
* rtl8xxxu does not support AP mode
* ath10k firmware crashes from time to time
* iwlwifi with hostapd 2.9 causes kernel crashes every few days with NULL pointer dereference

It seems iwlwifi with hostapd 2.8 could be the least bad option.
Revert to that version and disable problematic (insecure) CONFIG_EAP_PWD.
2019-12-30 18:23:54 +08:00
49f014fb67 nixbld: stop using iwlwifi garbage
It just won't stop crashing.
2019-12-25 17:53:03 +08:00
e34a070124 nixbld: lock Linux kernel version to 4.19.79
On newer kernel versions (somewhere before 4.19.89) the shitty iwlwifi driver would crash
the machine every few days with a message like:

Dec 25 12:22:25 nixbld kernel: BUG: unable to handle kernel NULL pointer dereference at 0000000000000068
Dec 25 12:22:25 nixbld kernel: PGD 0 P4D 0
Dec 25 12:22:25 nixbld kernel: Oops: 0002 [#1] SMP PTI
Dec 25 12:22:25 nixbld kernel: CPU: 2 PID: 15625 Comm: kworker/2:1 Not tainted 4.19.90 #1-NixOS
Dec 25 12:22:25 nixbld kernel: Hardware name: EVGA INTERNATIONAL CO.,LTD Default string/121-KS-E375, BIOS 1.07 03/15/2018
Dec 25 12:22:25 nixbld kernel: Workqueue: events iwl_mvm_add_new_dqa_stream_wk [iwlmvm]
Dec 25 12:22:25 nixbld kernel: RIP: 0010:iwl_trans_pcie_txq_enable+0x5b/0x460 [iwlwifi]
Dec 25 12:22:25 nixbld kernel: Code: 63 c6 4c 8b ac c7 40 91 00 00 f0 48 0f ab 87 40 a1 00 00 73 0d 80 3d 6b 65 03 00 00 0f 84 cb 03 00 00 44 89 c7 e8 15 c7 14 ce <49> 89 45 68 4d 85 e4 0f 84 eb 02 00>
Dec 25 12:22:25 nixbld kernel: RSP: 0018:ffffa47386937c30 EFLAGS: 00010202
Dec 25 12:22:25 nixbld kernel: RAX: 0000000000002710 RBX: 000000000000001f RCX: 0000000000000000
Dec 25 12:22:25 nixbld kernel: RDX: 3ffffffffffffffe RSI: 000000000000001f RDI: 0000000000002710
Dec 25 12:22:25 nixbld kernel: RBP: 0000000000000000 R08: 0000000000002710 R09: 0000000000000001
Dec 25 12:22:25 nixbld kernel: R10: 0000000000000004 R11: ffff916f0a199ff0 R12: 0000000000000000
Dec 25 12:22:25 nixbld kernel: R13: 0000000000000000 R14: 0000000000000000 R15: ffff916f08480018
Dec 25 12:22:25 nixbld kernel: FS:  0000000000000000(0000) GS:ffff916f36280000(0000) knlGS:0000000000000000
Dec 25 12:22:25 nixbld kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Dec 25 12:22:25 nixbld kernel: CR2: 0000000000000068 CR3: 0000000834e0a004 CR4: 00000000003606e0
Dec 25 12:22:25 nixbld kernel: DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
Dec 25 12:22:25 nixbld kernel: DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Dec 25 12:22:25 nixbld kernel: Call Trace:
Dec 25 12:22:25 nixbld kernel:  iwl_mvm_enable_txq+0x230/0x3b0 [iwlmvm]
Dec 25 12:22:25 nixbld kernel:  ? iwl_mvm_add_new_dqa_stream_wk+0x897/0x13b0 [iwlmvm]
Dec 25 12:22:25 nixbld kernel:  iwl_mvm_add_new_dqa_stream_wk+0x897/0x13b0 [iwlmvm]
Dec 25 12:22:25 nixbld kernel:  ? entry_SYSCALL_64_stage2+0xf/0x10
Dec 25 12:22:25 nixbld kernel:  ? __switch_to_asm+0x41/0x70
Dec 25 12:22:25 nixbld kernel:  ? __switch_to_asm+0x41/0x70
Dec 25 12:22:25 nixbld kernel:  ? __switch_to_asm+0x41/0x70
Dec 25 12:22:25 nixbld kernel:  ? __switch_to+0x8c/0x440
Dec 25 12:22:25 nixbld kernel:  ? __switch_to_asm+0x41/0x70
Dec 25 12:22:25 nixbld kernel:  ? __switch_to_asm+0x35/0x70
Dec 25 12:22:25 nixbld kernel:  process_one_work+0x206/0x400
Dec 25 12:22:25 nixbld kernel:  worker_thread+0x2d/0x3e0
Dec 25 12:22:25 nixbld kernel:  ? process_one_work+0x400/0x400
Dec 25 12:22:25 nixbld kernel:  kthread+0x112/0x130
Dec 25 12:22:25 nixbld kernel:  ? kthread_bind+0x30/0x30
Dec 25 12:22:25 nixbld kernel:  ret_from_fork+0x35/0x40
2019-12-25 14:39:31 +08:00
1f2eabed65 nixbld: fix wifi network 2019-12-19 11:47:38 +08:00
8fddcd68e8 nixbld: update mail server 2019-12-18 16:26:10 +08:00
107060f50c nixbld: remove adoptopenjdk-openj9-bin-11
This is for running NATview, but since there are fewer uTCA issues with Sayma v2 this is not really necessary anymore.

And for power control, STM32 + SSR works better than uTCA.
2019-12-10 11:59:29 +08:00
e6488e16d2 nixbld: boards are no longer connected directly 2019-12-10 11:58:52 +08:00
6680dc6c34 nixbld: remove whitequark account 2019-12-10 11:52:05 +08:00
d88137f8b7 gitea: enable emails (and password recovery) 2019-11-25 21:58:49 +08:00
4bd0495834 nixbld: set up rpi SSH port redirects for IPv4 users 2019-11-20 19:29:35 +08:00
3b3371eebf restore ARTIQ-2 manual 2019-11-19 10:18:53 +08:00
596a9bc6b4 customize gitea homepage 2019-11-18 13:48:40 +08:00
3d8252acf8 restore ARTIQ-3 manual 2019-11-17 09:33:31 +08:00
e50a89acea build ARTIQ releases 2019-11-14 17:07:46 +08:00
0136a154a8 fix sipyco doc aliases 2019-11-12 18:34:03 +08:00
57b817f07e build sipyco manual 2019-11-12 10:43:50 +08:00
e69ddf6c4c nixbld: fix munin 2019-11-07 16:14:01 +08:00
c1db80023b nixbld: add kasli-customer DNS entry 2019-10-31 11:14:20 +08:00
aa6d631863 nixops: set up devboard users 2019-10-22 20:27:02 +08:00
392e3dcb8e nixbld: use faster rpi for aarch64 builds 2019-10-22 20:10:20 +08:00
ee60f202b1 nixops: add rpi-3 and rpi-4 2019-10-22 20:09:56 +08:00
7167c34bfe nixbld: install nixops, remove virtmanager 2019-10-21 21:38:24 +08:00
379335cc6e nixbld: remove unnecessary NetworkManager setting
We are not using NetworkManager here.
2019-10-21 16:12:57 +08:00
833a9c7430 nixbld: add perso.m-labs.hk 2019-10-17 15:17:42 +08:00
3aa23cacfc nixbld: fix indentation 2019-10-17 14:36:49 +08:00
0469ca21da nixbld: get static IPs out of DHCP range, and give them DNS entries 2019-10-16 17:49:00 +08:00
68534d2ce2 nixbld: IPv6 on internal networks 2019-10-16 13:48:13 +08:00
e89afabdfb nixbld: isolate wifi network. Closes #20 2019-10-15 19:42:26 +08:00
dd490121b6 nixbld: filter CUPS access using firewall
CUPS listenAddresses is problematic.
2019-10-15 19:20:32 +08:00
f3fe798126 nixbld: disable libvirtd (#20) 2019-10-15 17:26:51 +08:00
c0c9af04d4 nixbld: add openhardware.hk site 2019-10-09 21:33:37 +08:00
a85a16ff73 nixbld: remove fractalide 2019-10-09 21:08:12 +08:00