Tiny Core Linux

Tiny Core Extensions => TCE Bugs => Topic started by: mocore on September 24, 2019, 09:59:31 AM

Title: x86_64 btrfs: Unknown symbol raid6_* (err -2)
Post by: mocore on September 24, 2019, 09:59:31 AM
After loading brtfs-progs.tcz

auto mounting fails
dmesg shows

Quote from: dmesg
btrfs: Unknown symbol raid6_2data_recov (err -2)
btrfs: Unknown symbol raid6_datap_recov (err -2)
btrfs: Unknown symbol raid6_call (err -2)

 ???
i found this
https://svn.dd-wrt.com/ticket/3200
saying
Quote
If you load them manually, which should not be necessary you have to load modules in the correct order

should filesystems-4.19.10-tinycore64.tcz be loaded before brtfs-progs.tcz  ?



Title: Re: x86_64 btrfs: Unknown symbol raid6_* (err -2)
Post by: Rich on September 24, 2019, 10:46:25 AM
Hi mocore
I would think  filesystems-4.19.10-tinycore64.tcz  should be listed in the dependency file since it contains the  btrfs.ko.gz  driver.
As a dependency it would be loaded first since dependencies are resolved and loaded before the extension that requires them
is loaded.
Title: Re: x86_64 btrfs: Unknown symbol raid6_* (err -2)
Post by: p2n on August 30, 2022, 09:24:45 PM
Please add raid-dm-KERNEL.tcz to btrfs-progs.tcz.dep - now (Core 13.1) btrfs.ko also depends on raid6_pq.ko.
Title: Re: x86_64 btrfs: Unknown symbol raid6_* (err -2)
Post by: Juanito on August 31, 2022, 03:39:21 AM
raid-dm-KERNEL added to filesystems-KERNEL dep file - thanks for reporting this.
Title: Re: x86_64 btrfs: Unknown symbol raid6_* (err -2)
Post by: mjmouse on February 23, 2026, 09:51:59 PM
@Juanito

Could you also add this to the current filesystems-* modules? (My particular case is 16.x x86_64)

It looks like it only ever got added to x86_64 for 13.x
(https://mirrors.dotsrc.org/tinycorelinux/13.x/x86_64/tcz/filesystems-5.15.10-tinycore64.tcz.dep)

I've checked the x86 and x86_64 ones after then and none of them appear to have raid-dm-KERNEL.tcz listed.
Title: Re: x86_64 btrfs: Unknown symbol raid6_* (err -2)
Post by: Rich on February 24, 2026, 10:11:56 AM
Hi mjmouse
Confirmed. I checked in several TC versions x86 and x86_64 and
btrfs.ko.gz depends on raid6_pq.ko.gz.

Updated .dep files for TC14, 15, 16, and 17 both x86 and x86_64.