01:03
DC-IRC has quit [Remote host closed the connection]
01:03
DC-IRC has joined #armbian-allwinner
11:45
<
DC-IRC >
<rpardini> True; Armbian's kernels are too recent for the distro's default `zfs-dkms` package.
11:45
<
DC-IRC >
<rpardini> If you install the headers package, and build zfs from git, it works.
11:45
<
DC-IRC >
<rpardini> Or: use something like Trixie / Sid / Lunar which have more recent zfs packages.
13:42
<
DC-IRC >
<noimnull> where is the config?
13:42
<
DC-IRC >
<noimnull> where is the old config?
13:44
<
DC-IRC >
<Алексей Песорин> You can get the old config from a running system usually by doing either ```text
13:45
<
DC-IRC >
<Алексей Песорин> gcat /proc/config.gz > .config
13:45
<
DC-IRC >
<Алексей Песорин> ``` or ```text
13:45
<
DC-IRC >
<Алексей Песорин> cp /boot/config-$(uname -r) > .config
13:45
<
DC-IRC >
<Алексей Песорин> ```
13:46
<
DC-IRC >
<Алексей Песорин> Remember to add the ARCH and CROSS_COMPILE options to all `make` commands @noimnull
13:46
<
DC-IRC >
<noimnull> i flashed manjaro, need to flash armbian again
13:47
<
DC-IRC >
<noimnull> i flashed manjaro, need to flash armbian again first
13:47
<
DC-IRC >
<Алексей Песорин> Happens :Shrug:
13:48
<
DC-IRC >
<noimnull> never compiled kernel before
14:49
<
DC-IRC >
<noimnull> @Алексей Песорин all these default values is fine ?
14:52
<
DC-IRC >
<Алексей Песорин> Uhhhhhhhhhhh
14:53
<
DC-IRC >
<Алексей Песорин> It looks like that either:
14:53
<
DC-IRC >
<Алексей Песорин> 1. There were so many updates it added a lot of drivers
14:53
<
DC-IRC >
<Алексей Песорин> 2. Your config is invalid so it treats it as an empty one
14:54
<
DC-IRC >
<noimnull> wtf
14:54
<
DC-IRC >
<Алексей Песорин> It will be invalid if you forgot the ARCH and CROSS_COMPILE options
14:54
<
DC-IRC >
<Алексей Песорин> Please copy over the old one again and try again
14:54
<
DC-IRC >
<Алексей Песорин> Oh, wait-
14:55
<
DC-IRC >
<noimnull> ```$ make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- oldconfig```
14:55
<
DC-IRC >
<Алексей Песорин> The `POWER_SUPPLY` option existed since forever
14:55
<
DC-IRC >
<Алексей Песорин> So yeah
14:55
<
DC-IRC >
<Алексей Песорин> It's case 2
14:55
<
DC-IRC >
<Алексей Песорин> The `CONFIG_POWER_SUPPLY` option existed since forever
14:56
<
DC-IRC >
<Алексей Песорин> Hmmmmm
14:56
<
DC-IRC >
<Алексей Песорин> Try commenting out the entire first block
14:56
<
DC-IRC >
<Алексей Песорин> That should do the trick
14:58
<
DC-IRC >
<noimnull> still asking many stuff
14:58
<
DC-IRC >
<Алексей Песорин> That is very weird
15:04
<
DC-IRC >
<Алексей Песорин> Make sure you have the right compiler installed by doing: ```bash
15:04
<
DC-IRC >
<Алексей Песорин> pacman -S aarch64-linux-gnu-gcc
15:04
<
DC-IRC >
<Алексей Песорин> ``` or ```bash
15:04
<
DC-IRC >
<Алексей Песорин> apt install gcc-aarch64-linux-gnu
15:04
<
DC-IRC >
<Алексей Песорин> ``` or whatever package manager you have
15:04
<
DC-IRC >
<Алексей Песорин> Then re-copy the config and try the `oldconfig` thing again
15:05
<
DC-IRC >
<noimnull> yes already installed that
15:05
<
DC-IRC >
<noimnull> ```ubuntu@DESKTOP-IKRFLA0:/mnt/d/linux$ sudo apt install gcc-aarch64-linux-gnu
15:05
<
DC-IRC >
<noimnull> Reading package lists... Done
15:05
<
DC-IRC >
<noimnull> Building dependency tree... Done
15:05
<
DC-IRC >
<noimnull> Reading state information... Done
15:05
<
DC-IRC >
<noimnull> gcc-aarch64-linux-gnu is already the newest version (4:11.2.0-1ubuntu1).
15:05
<
DC-IRC >
<noimnull> 0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.```
15:05
<
DC-IRC >
<Алексей Песорин> Weird
15:06
<
DC-IRC >
<Алексей Песорин> Try going for a `menuconfig` instead and check if it picked up your config by doing the search thing, typing "ARCH_SUNXI" and seeing if it's enabled
15:07
<
DC-IRC >
<Алексей Песорин> Also, are you sure your config file is named `.config`, not just `config`?
15:08
<
DC-IRC >
<noimnull> ```
15:08
<
DC-IRC >
<noimnull> ubuntu@DESKTOP-IKRFLA0:/mnt/d/linux$ ls -al
15:08
<
DC-IRC >
<noimnull> total 1172
15:08
<
DC-IRC >
<noimnull> drwxrwxrwx 1 ubuntu ubuntu 4096 Aug 22 10:06 .
15:08
<
DC-IRC >
<noimnull> drwxrwxrwx 1 ubuntu ubuntu 4096 Aug 22 08:41 ..
15:08
<
DC-IRC >
<noimnull> -rwxrwxrwx 1 ubuntu ubuntu 16166 Aug 22 09:07 .clang-format
15:08
<
DC-IRC >
<noimnull> -rwxrwxrwx 1 ubuntu ubuntu 59 Aug 22 09:07 .cocciconfig
15:08
<
DC-IRC >
<noimnull> -rwxrwxrwx 1 ubuntu ubuntu 207374 Aug 22 09:57 .config
15:08
<
DC-IRC >
<noimnull> -rwxrwxrwx 1 ubuntu ubuntu 207336 Aug 22 09:43 .config.old
15:08
<
DC-IRC >
<noimnull> -rwxrwxrwx 1 ubuntu ubuntu 71 Aug 22 09:07 .get_maintainer.ignore```
15:08
<
DC-IRC >
<noimnull> yes
15:11
<
DC-IRC >
<Алексей Песорин> try that then
15:12
<
DC-IRC >
<Алексей Песорин> You could also do a `gtkconfig` and import the old config file from there
15:25
<
DC-IRC >
<noimnull> Oo
15:33
<
DC-IRC >
<Алексей Песорин> Good
15:33
<
DC-IRC >
<Алексей Песорин> Just change whatever you need in the config file and save
15:45
<
DC-IRC >
<Алексей Песорин> @noimnull Don't try to tweak everything, took me 12 hours to make a config from scratch last time
15:45
<
DC-IRC >
<Алексей Песорин> (and it didn't even start!))
16:23
<
DC-IRC >
<noimnull> im tyrying everything default
16:24
<
DC-IRC >
<noimnull> searching zfs, its not in Filesystems
16:24
<
DC-IRC >
<lanefu> what board are you building for?
16:26
<
DC-IRC >
<noimnull> orange pi 3 lts
16:28
<
DC-IRC >
<lanefu> are the kernel headers already installed on your armbian image?
16:32
<
DC-IRC >
<lanefu> If so wondering if 'apt install zfs-dkms' is sufficient
16:33
<
DC-IRC >
<lanefu> Oh I just saw Ricardos message about Armbian kernel being too new
16:34
<
DC-IRC >
<noimnull> no
16:35
<
DC-IRC >
<noimnull> also cannot install apt install linux-headers
16:36
<
DC-IRC >
<noimnull> zfs has no matches in menuconfig
16:44
<
DC-IRC >
<igorpec> if you want to run ZFS, build image with headers and use Debian. Any. That will work
16:51
<
DC-IRC >
<noimnull> how to build with headers
16:52
<
DC-IRC >
<igorpec> switch is HEADERS=yes i think
16:52
<
DC-IRC >
<igorpec> grep on sources
16:53
<
DC-IRC >
<noimnull> ```# CONFIG_HEADERS_INSTALL is not set```
16:53
<
DC-IRC >
<noimnull> this to yes in config?
16:55
<
DC-IRC >
<Алексей Песорин> yes
17:00
<
DC-IRC >
<noimnull> ```ubuntu@DESKTOP-IKRFLA0:/mnt/d/linux$ make ARCH=arm64 CROSS_COMPILE=aarch64-linux- -j$(nproc)
17:00
<
DC-IRC >
<noimnull> arch/arm64/Makefile:26: ld does not support --fix-cortex-a53-843419; kernel may be susceptible to erratum
17:00
<
DC-IRC >
<noimnull> make: aarch64-linux-gcc: No such file or directory
17:00
<
DC-IRC >
<noimnull> scripts/kconfig/conf --syncconfig Kconfig
17:00
<
DC-IRC >
<noimnull> scripts/Kconfig.include:39: compiler 'aarch64-linux-gcc' not found
17:00
<
DC-IRC >
<noimnull> make[2]:
*** [scripts/kconfig/Makefile:71: syncconfig] Error 1
17:00
<
DC-IRC >
<noimnull> make[1]:
*** [Makefile:607: syncconfig] Error 2
17:00
<
DC-IRC >
<noimnull> make:
*** [Makefile:712: include/config/auto.conf.cmd] Error 2```
17:00
<
DC-IRC >
<noimnull> is this make command correct for -j nproc
17:59
<
DC-IRC >
<noimnull> ah something wrong with -j$(nproc)
18:00
<
DC-IRC >
<noimnull> -j8 manually worked
18:01
<
DC-IRC >
<noimnull> -j4 manually worked
18:50
<
DC-IRC >
<noimnull> I think its built
18:50
<
DC-IRC >
<noimnull> how to install?
18:50
<
DC-IRC >
<noimnull> 😐
22:21
<
DC-IRC >
<noimnull> Should I copy this and run install.sh on the board?
22:21
<
DC-IRC >
<noimnull> ```ubuntu@DESKTOP-IKRFLA0:/mnt/d/linux$ ls arch/arm64/boot
22:21
<
DC-IRC >
<noimnull> Makefile dts install.sh```
22:52
<
DC-IRC >
<noimnull> @lanefu
22:56
<
DC-IRC >
<lanefu> I always build and install my kernels via armbian, so I don't have an informed answer for you
22:59
<
DC-IRC >
<noimnull> Which board?
23:02
<
DC-IRC >
<lanefu> i have dozens of boards.. anyway look at your existing `/boot` you need to make sure you copy the DTS properly, install modules, linux image and figure out best way to make uNinitrd file
23:02
<
DC-IRC >
<lanefu> honestly you should check the armbian forum im sure there's old posts of people who manually built and installed kernels