Skip to content

Instantly share code, notes, and snippets.

View FlorianHeigl's full-sized avatar

Florian Heigl FlorianHeigl

View GitHub Profile
@FlorianHeigl
FlorianHeigl / gitlab-ci.yml
Created May 7, 2026 20:12
gitlab-ci-local apt caching, ccache caching
---
stages:
- bootstrap
default:
image: ubuntu:22.04
tags:
- docker
variables:
# FORCE_UNSAFE_CONFIGURE: 1
HTTP_PROXY: http://proxy:3128
@FlorianHeigl
FlorianHeigl / liovswgogo.sh
Created April 29, 2026 22:33
liquidio-II openvswitch kernel module and env init
modprobe liquidio fw_type=vsw
echo 50 > /sys/bus/pci/devices/0000:01:00.0/sriov_numvfs
echo 50 > /sys/bus/pci/devices/0000:01:00.1/sriov_numvfs
PF0=eth0
PF1=eth1
LIO_BOND_MGMT=lio-bond-mgmt
LIO_MACVLAN_PF0=lio-mcvlan0
LIO_MACVLAN_PF1=lio-mcvlan1
@FlorianHeigl
FlorianHeigl / octsftpinfo
Created April 28, 2026 08:39
octeon 25g link failure
Octeon nic225e=> octsfpinfo octeth0
Reading SFP/SFP+ EEPROM at 0x0:0x50
Copper Pigtail SFP/SFP+/SFP28 25GBase-CR CA-S module detected
Vendor: FS
Vendor OUI: 00:02:C9
Vendor part number: S28-PC01 Revision: 01
Manufacturing date code: 201207
Rate: 25G
Copper cable type: Passive
Cable length: 1 meters
chris cappy
https://www.youtube.com/watch?v=VnsGUJak0gY&t=17s
fortress belt - fortreszh belt (mild slurring)
https://www.youtube.com/watch?v=VnsGUJak0gY&t=49s
stretchech? (mind you, native speaker, though this is tiny and also often with people who just aren't there at the moment or who smoke too much pot)
https://youtu.be/VnsGUJak0gY?si=u6ALDy4Iwh7jkFL2&t=95
@FlorianHeigl
FlorianHeigl / ethtool2
Last active April 24, 2026 23:00
liquidio ethtool bug
tschike:~# ethtool eth0
Settings for eth0:
Supported ports: [ FIBRE ]
Supported link modes: 10000baseKR/Full
25000baseCR/Full
25000baseKR/Full
25000baseSR/Full
10000baseCR/Full
10000baseSR/Full
Supported pause frame use: Symmetric
@FlorianHeigl
FlorianHeigl / docker-compose.yml
Last active April 1, 2026 13:46
docker compose verinice
services:
webapp:
image: tomcat:9-jdk17-temurin-noble
volumes:
# deploymenttarget
- verinice_webapp:/usr/local/tomcat/webapps
- ./target/veriniceserver-plain.properties.local:/usr/local/tomcat/conf/veriniceserver-plain.properties.local
# deploymentfile
# evtl muss das noch per startscript angepasst werden
@FlorianHeigl
FlorianHeigl / gist:de72c603b1579dd94dc9ecbeb290a36c
Created March 31, 2026 06:42
cn7322 / cn2360 loading firmware just like its nothing
[ 765.142769] LiquidIO 0000:01:00.0: Initializing device 177d:9702.
[ 765.142946] LiquidIO 0000:01:00.0: trs:64 max_vfs:52 rings_per_vf:1 pf_srn:52 num_pf_rings:12
[ 776.352906] LiquidIO 0000:01:00.0: Firmware version: 1.7.2
[ 776.352911] LiquidIO 0000:01:00.0: octeon_download_firmware: Loading 1 images
[ 776.352915] LiquidIO 0000:01:00.0: Loading firmware 1285952 at 21000000
[ 776.375532] LiquidIO 0000:01:00.0: Writing boot command: bootoct 0x21000000 numcores=$(numcores) time_sec=1774939247 time_nsec=539216810
[ 776.403319] LiquidIO 0000:01:00.1: Initializing device 177d:9702.
[ 776.403448] LiquidIO 0000:01:00.1: trs:64 max_vfs:52 rings_per_vf:1 pf_srn:52 num_pf_rings:12
[ 779.282224] LiquidIO 0000:01:00.1: Running NIC (1500000000 Hz)
[ 779.282237] LiquidIO 0000:01:00.0: Running NIC (1500000000 Hz)
@FlorianHeigl
FlorianHeigl / dmesg.txt
Last active March 31, 2026 04:08
gigabyte mc12-le0 ast2500 boot messages
# leaving this here to see how many errors are in a 'stable' gigabyte firmware boot process.
# I like the board, but people should be aware how large the gap to Dell etc actually is.
# Was it worth the price I paid? absolutely.
# Was it worth the MSRP? I would say no. There's dozens of man-hours they skipped out on.
# Footnote: Look at the U-Boot prompt. That's still saying EVB, they don't even modified that after
# building the software for the AMI eval board.
# It makes me itch to get an EVB and the sources and fix this. If you wanna send one over... ;-)
@FlorianHeigl
FlorianHeigl / .gitlab-ci.yml
Last active March 28, 2026 16:55
verinice 1.28 gitlab-ci config
stages:
- .pre
- build
- test
- install
- .post
default:
image: maven:3.9.14-amazoncorretto-21
cache:
paths: &ref_0
@FlorianHeigl
FlorianHeigl / mips
Created March 11, 2026 00:02
was war das
(reverse-i-search)`P': mips64-octeon-linux-gnu-objcopy spi-boot-1.5.elf -R .MIPS.options -R .MI^C.abiflags -O binary spi-boot-1.5.bin ../u-boot/tools/update_octeon_header --stage1 spi-boot-1.5.bin NIC225E --text_base=0x81000000