Tiny Core Linux

Tiny Core Extensions => TCE Bugs => Topic started by: Rabie on February 17, 2022, 11:41:54 AM

Title: udev rules.d corepure64
Post by: Rabie on February 17, 2022, 11:41:54 AM
hi there,

i am getting those errors while booting after i upgraded to corepure64 v13
is that a bug ?  ???

Code: [Select]
udevd[1651: IMPORT(builtin): 'hudb --subsustem=imput'--lookup-prefix=1ibvacom:name:Sattr(name}:"*unknown/etc/udev/rules.d/65-libuacorles: 19
udevd[165]: IMPORT(builtin}:"hudb--subsystem=imput•--lookup-prefix=1ibuacon:name:Sattr(name}:"•unknown/etc/udev/rules.d/65-libwacom.rules:19
udevd[165]: IMPORT(builtin): 'hudb --subsystem=input•--lookup-prefix=1ibwacom:name:Sattr(name):"*unknown/etc/udev/rules.d/65-libwacom.rules:19
udeud[165]: unknown key'•RUN (program} in etc/udeu/rules.d/90-libinput-fuzz-override.rules:20
udeud[165]: unknown key 'RUN(program)'in /etc/udeu/rules.d/90-libinput-fuzz-override.rules:25
udevd[165]: IMPORT(builtin}:'hudb--subsystem=input'--lookup-prefix=1ibvacon:nane:Sattr(name}:"unknown/etc/udev/rules.d/65-libuacon.rules:19
udevd[165]:- unknown key *RUN(program)' in retc/udeu/rules.d/90-libimput-fuzz-override.rules:20
udeudt165]: unknown key 'RUN(program)' in etc/udeu/rules.d/90-11binput-fuzz-override.rules:25
udevat165]: IMPORT(builtin}:"'hudb--subsystem=imput'--lookup-prefix=libwacom:nane:Sattr(name):"•unknown/etc/udev/rules.d/65-libwacon.rules:19
udeud[165]: unknown key 'RUN(program}'in etc/udev/rules.d/90-libimput-fuzz-override.rules:20
udevat165]: unknown key ' RUM(program}"in etc/udev/rules.d/90-libimput-fuzz-override.rules:25
udevat165]: IMPORT(builtin}:"hudb--subsystem=imput'--lookup-prefix=1ibwacom:name:Sattr(nane):"•unknown/etc/udev/rules.d/65-libwacom.rules:19
udevdt1651: unknown key 'RUM(program)'in etc/udev/rules.d/90-libinput-fuzz-override.rules:20
udeud[1651: unknown key *RUN(program}' in etc/udev/rules.d/90-libimput-fuzz-override.rules:25
udevat1651: IMPORT(builtin}:"hudb--subsystem=imput'--lookup-prefix=1ibuacom:name:Sattr(nane}:"•unknown/etc/udev/rules.d/65-libuacom.rules:19
udeud[165]: unknown key 'RUN(program)' in /etc/udev/rules.d/90-libimput-fuzz-override.rules:z0
udeva(165]: unknown key ' RUM(progran}"in etc/udev/rules.d/90-libinput-fuzz-override.rules:25
udeudt1651: IMPORT(builtin): 'hudb •-subsustem=inDuL-lookup-prefix=1ibuacom:name:Sattr(name):"•unknown/etc/udev/rules.d/65-libwacon.rules:19
udeudt1651 : unknown key *RUM(program)' in etc/udev/rules.d/90-libimput-fuzz-override.rules:20
udeud(165]: unknoun key *RUN(program)' in etc/udev/rules.d/90-libimput-fuzz-override.rules:25
udevdt165]: IMPORT(builtin}:"hudb--subsystem=input°--lookup-prefix=1ibuacan:nane:Sattr(name):"*unimown/etc/udev/rules.d/65-11buacom.rules:19
udevdt165]: unknown key *RUN(progran)'in /etc/udev/rules.d/90-libinput-fuzz-override.rules:20
udeudt165]: unknown key 'RUN(program)'in etc/udev/rules.d/90-libimput-fuzz-override.rules:25

Done.
Restoring backup files from /mnt/sdb1/tce/mydata.tgz
Title: Re: udev rules.d corepure64
Post by: patrikg on February 17, 2022, 11:53:51 AM
Did you see some lines says RUM instead of RUN.

Title: Re: udev rules.d corepure64
Post by: Rich on February 17, 2022, 12:43:14 PM
Hi Rabie
That file is full of typos:
--subsustem=imput  instead of  --subsystem=input
Possibly this  etc/udev/rules.d/90-libimput-fuzz-override.rules  should be this  etc/udev/rules.d/90-libinput-fuzz-override.rules
RUM(program}  instead of  RUN(program}

This type of error has come up before, see here:
http://forum.tinycorelinux.net/index.php/topic,24698.msg156784.html#msg156784

I'll take a look at it later this evening.
Title: Re: udev rules.d corepure64
Post by: Rich on February 17, 2022, 06:18:34 PM
Hi Rabie
I think I figured it out:
The above mentioned typos are due to you typing the error messages manually.
All of the  unknown/etc/udev/rules.d/  messages refer to  65-libwacom.rules , despite all of the unique spellings.
I think the  65-libwacom.rules  errors are due to the error in  90-libinput-fuzz-override.rules.

I fixed  libinput.tcz , update your system:
Code: [Select]
tce-audit builddb
tce-audit updatedeps
tce-audit fetchmissing
tce-update
Then click the  Exit  icon and select reboot.

See if the errors are gone.
Title: Re: udev rules.d corepure64
Post by: Rabie on February 17, 2022, 11:44:43 PM
Hi Rich,

Quote
The above mentioned typos are due to you typing the error messages manually.

sorry for those typos, i didn't type it manually but i took a photo from the text while booting and selceted it with a text recognition  :P
is there a log file for booting errors somewhere so i don't have to do this any more ?

Quote
I think the  65-libwacom.rules  errors are due to the error in  90-libinput-fuzz-override.rules.
I fixed  libinput.tcz , update your system:
I will do that today, thank you

Title: Re: udev rules.d corepure64
Post by: Rabie on February 19, 2022, 05:14:38 AM
Hi Rich,

while updating i am getting an error on giflib.tcz.
i think its because there is giflib7 in the repo. not giflibt ?

how to find out which extension need giflib without open every dep file ?

Code: [Select]
tce-audit fetchmissing
Downloading: giflib.tcz
Error on giflib.tcz

and the errors from udev still there but they are fewer than before

Code: [Select]
udevd164]: IMPORT(builtin}: 'hwdb --subsystem=input '--lookup-prefix=libwacom:name:$attr(name}:""unknown/etc/udev/rules.d/65-libwacom.rules:19
udevd[164]: IMPORT(builtin}: 'hwdb --subsystem=input '--lookup-prefix=libwacom:name:$attr(name}:""unknoun/etc/udev/rules.d/65-libwacom.rules:19
udevd[164]: IMPORT(builtin}:'hwdb--subsystem=input '--lookup-prefix=libwacom:name:$attr(name}:""unknown/etc/udev/rules.d/65-libwacom.rules:19
udevd[164]: IMPORT(builtin}:'hwdb--subsystem=input '--lookup-prefix=libwacom:name:$attr(name}:""unknown/etc/udev/rules.d/65-libwacom.rules:19
udevd[164]: IMPORT(builtin}:'hwdb--subsystem=input '--lookup-prefix=libwacom:name:$attr(name}:""unknown/etc/udev/rules.d/65-libwacom.rules:19
udevd[164]: IMPORT(builtin}:'hwdb--subsystem=input '--lookup-prefix=libwacom:name:$attr(name}:""unknown/etc/udev/rules.d/65-libwacom.rules:19
udevd[164]: IMPORT(builtin): 'hwdb --subsustem=input'--lookup-prefix=libwacom:name:$attr(name}:""unknown/etc/udev/rules.d/65-libwacom.rules:19
Done.
Restoring backup files from mnt/sdb1/tce/mydata.tcz

Title: Re: udev rules.d corepure64
Post by: Rich on February 19, 2022, 09:53:35 AM
Hi Rabie
... how to find out which extension need giflib without open every dep file ? ...
Code: [Select]
grep "giflib.tcz" /etc/sysconfig/tcedir/optional/*.dep
I'll take another look at the  udev  rule and see if I can figure out what's wrong.
Title: Re: udev rules.d corepure64
Post by: Rich on February 19, 2022, 11:59:29 AM
Hi Rabie
Line 18 in  65-libwacom.rules  was split into 2 lines using a line continuation character. Depending on where you
look, that may or may not be legal. I converted it to a single line. Update your system and see if that fixed it.
Title: Re: udev rules.d corepure64
Post by: Rabie on February 19, 2022, 12:39:44 PM
Hi Rich,

just updated, it is now in one line. but unfortunately the errors still there. It's just saying now that the error is at line 18

Code: [Select]
udevd[167]: IMPORT(builtin}: 'hwdb --subsystem=input '--lookup-prefix=libwacom:name:$attr(name}:""unknoun/etc/udev/rules.d/65-libwacom.rules:18
from /etc/udev/rules.d/65-libwacom.rules
Code: [Select]
KERNELS=="input*", IMPORT{builtin}="hwdb --subsystem=input '--lookup-prefix=libwacom:name:$attr{name}:'"
Title: Re: udev rules.d corepure64
Post by: Rich on February 19, 2022, 01:56:23 PM
Hi Rabie
Does your system have a Wacom tablet?
Title: Re: udev rules.d corepure64
Post by: Juanito on February 19, 2022, 11:05:47 PM
how to find out which extension need giflib without open every dep file ?

There are no extensions in the 13.x x86_64 repo that depend on giflib (as opposed to giflib7).
Title: Re: udev rules.d corepure64
Post by: Rich on February 19, 2022, 11:15:44 PM
Hi Juanito
There are in 10.x x86_64, which is what he upgraded from:
/10.x/x86_64/tcz/emacs.tcz.dep:giflib.tcz
/10.x/x86_64/tcz/giflib-bin.tcz.dep:giflib.tcz
/10.x/x86_64/tcz/libgd.tcz.dep:giflib.tcz
/10.x/x86_64/tcz/libwebp1.tcz.dep:giflib.tcz
/10.x/x86_64/tcz/libwebp.tcz.dep:giflib.tcz
/10.x/x86_64/tcz/mtpaint.tcz.dep:giflib.tcz
/10.x/x86_64/tcz/tracker.tcz.dep:giflib.tcz
/10.x/x86_64/tcz/vice.tcz.dep:giflib.tcz
Title: Re: udev rules.d corepure64
Post by: Rabie on February 20, 2022, 02:31:09 AM
Hi Rich,

Hi Rabie
Does your system have a Wacom tablet?

no it doesn't
Title: Re: udev rules.d corepure64
Post by: Rabie on February 20, 2022, 02:36:07 AM
Hi Juanito,

Quote
There are no extensions in the 13.x x86_64 repo that depend on giflib (as opposed to giflib7).

the only exstension i have that require giflib is libwebp1.tcz which was transferred from V. 10 and has no dep file in the repo. 13.

Does that mean that i can delete the old dep file after i upgraded all extensions ?
Title: Re: udev rules.d corepure64
Post by: Juanito on February 20, 2022, 03:01:41 AM
affirmative - after splitting out libwebp1-bin, libwebp1 has no deps.
Title: Re: udev rules.d corepure64
Post by: Rabie on February 25, 2022, 12:27:46 AM
Hi Rich,


Hi Rabie
Does your system have a Wacom tablet?

no it doesn't

anything i can do to get rid of the udev errors ?
Title: Re: udev rules.d corepure64
Post by: Juanito on February 25, 2022, 02:13:09 AM
I don't see any errors - do you have any udev rules in your backup?
Title: Re: udev rules.d corepure64
Post by: Rabie on February 25, 2022, 02:46:41 AM

error:
Code: [Select]
udevd[167]: IMPORT(builtin}: 'hwdb --subsystem=input '--lookup-prefix=libwacom:name:$attr(name}:""unknoun/etc/udev/rules.d/65-libwacom.rules:18
the errors comes from this line in  /etc/udev/rules.d/65-libwacom.rules
Code: [Select]
KERNELS=="input*", IMPORT{builtin}="hwdb --subsystem=input '--lookup-prefix=libwacom:name:$attr{name}:'"
this is the only udev rule i am using
Code: [Select]
etc/udev/rules.d/98-tc.rules
Title: Re: udev rules.d corepure64
Post by: Juanito on February 25, 2022, 03:03:45 AM
There's a potential problem in that the tc version of udev does not use hwdb, but when I load libinput I do not see any error messages - what do you do immediately prior to seeing the error?
Title: Re: udev rules.d corepure64
Post by: Rabie on February 25, 2022, 03:30:33 AM
There's a potential problem in that the tc version of udev does not use hwdb, but when I load libinput I do not see any error messages - what do you do immediately prior to seeing the error?

i am not doing anything to produce the error, it occurs while booting.
Title: Re: udev rules.d corepure64
Post by: Juanito on February 25, 2022, 03:44:31 AM
If you boot with the “base” boot code and then load libinput do you still see the error?
Title: Re: udev rules.d corepure64
Post by: Rich on February 25, 2022, 05:01:38 AM
Hi Juanito
Just some observations:
It appears the   .rules  file did not exist prior to TC13.
Also, according to the  .list  files, libwacom.so has been at version  libwacom.so.2.6.1  since at least TC10.
The  /usr/local/tce.installed/libwacom  file also appears to be a new addition in TC13.
These files also appear to be new to TC13:
Code: [Select]
/etc/hwdb.d/65-libwacom.hwdb
/usr/local/bin/libwacom-list-devices
/usr/local/bin/libwacom-show-stylus
/usr/local/bin/libwacom-update-db

These notes apply to x86 and x86_64.
Title: Re: udev rules.d corepure64
Post by: Rabie on February 27, 2022, 06:40:36 AM
Hi Juanito,
If you boot with the “base” boot code and then load libinput do you still see the error?

yes i just tried to load libinput with the "base" boot mode and got the errors

Title: Re: udev rules.d corepure64
Post by: Juanito on February 27, 2022, 08:14:06 AM
The problem is that without any error messages on my hardware it’s difficult to troubleshoot.