Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Weird Chinese characters in dmesg?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
huttuded
n00b
n00b


Joined: 27 Jan 2019
Posts: 15

PostPosted: Tue Mar 19, 2019 7:13 pm    Post subject: Weird Chinese characters in dmesg? Reply with quote

Hello,

I noticed something weird in my dmesg and thought to ask from you if you happen to know what is this?

Code:

$ dmesg
[    0.000000] Linux version 4.19.27-gentoo-r1 (root@gentooHP) (gcc version 8.2.0 (Gentoo 8.2.0-r6 p1.7)) #1 SMP Wed Mar 13 16:36:57 EET 2019
[    0.000000] Command line: 敧瑮潯
[    0.000000] Disabled fast string operations
[    0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
[    0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
[    0.000000] x86/fpu: Enabled xstate features 0x3, context size is 576 bytes, using 'standard' format.
[    0.000000] BIOS-provided physical RAM map:
....
Back to top
View user's profile Send private message
bunder
Bodhisattva
Bodhisattva


Joined: 10 Apr 2004
Posts: 5871

PostPosted: Tue Mar 19, 2019 7:18 pm    Post subject: Reply with quote

these ones would come from the grub kernel line or efi cmdline. what it means, i don't know, google translate doesn't understand it
_________________
Neddyseagoon wrote:
The problem with leaving is that you can only do it once and it reduces your influence.

banned from #gentoo since sept 2017
Back to top
View user's profile Send private message
1clue
Advocate
Advocate


Joined: 05 Feb 2006
Posts: 2562

PostPosted: Tue Mar 19, 2019 9:56 pm    Post subject: Reply with quote

bunder wrote:
these ones would come from the grub kernel line or efi cmdline. what it means, i don't know, google translate doesn't understand it


Japanese, it means moth. I just used Google Translate and cycled through languages.
Back to top
View user's profile Send private message
fpemud
Apprentice
Apprentice


Joined: 15 Feb 2012
Posts: 280

PostPosted: Wed Mar 20, 2019 5:34 am    Post subject: Reply with quote

It is definitely not chinese since I don't know these words. :D
I guess it is not japanese either, it is just messy code.

It is from kernel command line.
Can you post your grub.cfg or similar files so that we can further analyze them?
Back to top
View user's profile Send private message
Maitreya
Guru
Guru


Joined: 11 Jan 2006
Posts: 425

PostPosted: Wed Mar 20, 2019 10:49 am    Post subject: Reply with quote

It is Japanese.
It does mean "moth"
This comes from your kernel commandline, so not "messy code" from kernel. It is user input.
If you do not recognize this and you normally supervise the creation of the grub/lilo , I would definitely worry.
Back to top
View user's profile Send private message
Chiitoo
Administrator
Administrator


Joined: 28 Feb 2010
Posts: 1825
Location: Here and Away Again

PostPosted: Wed Mar 20, 2019 2:46 pm    Post subject: ><)))°€ Reply with quote

My first guess would be some kind of character encoding issues, but can that be a problem at that stage?

As for the 'moth'... google is still horrible at translating Japanese, and it will actually give 'Moth' for each of those characters, separately, too. I also noted that they do not trigger the 'Translations of' below the translation box.

I can't find any other references to 'moth' by searching for those characters quick-like, but I do find 蛾 from several places, such as Wiktionary [1].

If translated by google, it will also trigger the 'Translation of' under the text area:

Quote:
Translations of 蛾
Noun
moth
蛾, 本虫

So whenever using google for Japanese translations, I take whatever it gives as a suggestion only.

Now if any of us really knows the characters (I'm a super slow learner of Japanese), I won't doubt them (I would appreciate some references, as a learner), but I figured I'd point out my doubts. I'm horrible at kanji myself, but three of those things for 'moth' seems a bit excessive... even for them (though it would not surprise me). :]

1. https://en.wiktionary.org/wiki/蛾
_________________
Kind Regards,
The Noob Unlimited


You might remember me from Gentoo projects such as Forums, LXQt, Qt, and Wine.
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7164

PostPosted: Wed Mar 20, 2019 4:04 pm    Post subject: Reply with quote

You guys keep getting me on my ass :)
Someone has some dirty random chars in his command line, and you end up digging what language it could be, and what it could mean.

Would it make any difference if the 3 chars were "LOL" instead ?
Back to top
View user's profile Send private message
Chiitoo
Administrator
Administrator


Joined: 28 Feb 2010
Posts: 1825
Location: Here and Away Again

PostPosted: Wed Mar 20, 2019 5:36 pm    Post subject: Reply with quote

Indeed, seeing the actual command-line, as it is defined, should be mighty useful. :]
_________________
Kind Regards,
The Noob Unlimited


You might remember me from Gentoo projects such as Forums, LXQt, Qt, and Wine.
Back to top
View user's profile Send private message
1clue
Advocate
Advocate


Joined: 05 Feb 2006
Posts: 2562

PostPosted: Wed Mar 20, 2019 5:49 pm    Post subject: Reply with quote

krinn wrote:
You guys keep getting me on my ass :)
Someone has some dirty random chars in his command line, and you end up digging what language it could be, and what it could mean.

Would it make any difference if the 3 chars were "LOL" instead ?


The OP is trying to figure out what happened. IDK what you're trying to do, but I'm trying to offer relevant information. Personally I don't think japanese characters could be entered on my system's command line. So I'd be curious to figure out why that message showed up too.

What's the point of your ridicule? If you're not interested maybe you should move on to the next thread, unless you have some useful information you'd like to share?
Back to top
View user's profile Send private message
huttuded
n00b
n00b


Joined: 27 Jan 2019
Posts: 15

PostPosted: Wed Mar 20, 2019 9:20 pm    Post subject: Reply with quote

I'm using EFI stub kernel. Where can I find the command line input, which could cause this? In CONFIG_CMDLINE I have only root=/dev/sda3.

I remember when I was installing the system few months ago, I had weird issues with characters when I typed commands. I couldn't see them as I typed but when I hit enter, the output was full of weird characters. I suspect that my old USB drive was malfunctioning.
Back to top
View user's profile Send private message
mega_flow
n00b
n00b


Joined: 26 Jun 2016
Posts: 32
Location: Belgium, Maasmechelen

PostPosted: Wed Mar 20, 2019 9:48 pm    Post subject: Reply with quote

I had this problem years ago. When I use efibootmgr inside chroot .
But never seen this when using efibootmgr after i install gentoo
_________________
i5-4590 CPU @ 3.30GHz, [AMD/ATI] Ellesmere [Radeon RX 470]
default/linux/amd64/17.1/desktop/plasma
Back to top
View user's profile Send private message
fpemud
Apprentice
Apprentice


Joined: 15 Feb 2012
Posts: 280

PostPosted: Thu Mar 21, 2019 2:14 am    Post subject: Reply with quote

EFI stub kernel is loaded directly by UEFI firmware.

Can you give us your hardware information?
I think it's your mother board who sends these strange words to your kernel.
Back to top
View user's profile Send private message
bunder
Bodhisattva
Bodhisattva


Joined: 10 Apr 2004
Posts: 5871

PostPosted: Thu Mar 21, 2019 11:54 pm    Post subject: Reply with quote

huttuded wrote:
I'm using EFI stub kernel. Where can I find the command line input, which could cause this? In CONFIG_CMDLINE I have only root=/dev/sda3.

I remember when I was installing the system few months ago, I had weird issues with characters when I typed commands. I couldn't see them as I typed but when I hit enter, the output was full of weird characters. I suspect that my old USB drive was malfunctioning.


the command line provided by CONFIG_CMDLINE is further down the boot sequence.

if you're booting from efi, this one would be set in efibootmgr... can we see "efibootmgr -v"?
_________________
Neddyseagoon wrote:
The problem with leaving is that you can only do it once and it reduces your influence.

banned from #gentoo since sept 2017
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7164

PostPosted: Fri Mar 22, 2019 3:18 pm    Post subject: Reply with quote

1clue wrote:
What's the point of your ridicule? If you're not interested maybe you should move on to the next thread, unless you have some useful information you'd like to share?

Didn't make any point to make anyone ridicule ; but i think you succeed at doing that all by yourself with your answer.
Back to top
View user's profile Send private message
huttuded
n00b
n00b


Joined: 27 Jan 2019
Posts: 15

PostPosted: Sun Mar 24, 2019 12:43 am    Post subject: Reply with quote

fpemud wrote:
EFI stub kernel is loaded directly by UEFI firmware.
Can you give us your hardware information?
I think it's your mother board who sends these strange words to your kernel.

What exactly would you like to know? This laptop's model is HP 6930p and mobo's model is 30DB.
bunder wrote:

the command line provided by CONFIG_CMDLINE is further down the boot sequence.

if you're booting from efi, this one would be set in efibootmgr... can we see "efibootmgr -v"?

Code:

$ efibootmgr -v
BootCurrent: 0002
Timeout: 0 seconds
BootOrder: 0002,0000,0001
Boot0000* Notebook Hard Drive   BBS(HD,�,0x0).......................................................................
Boot0001* Notebook Upgrade Bay  BBS(CDROM,�,0x0).......................................................................
Boot0002* Linux HD(1,GPT,7a1c2696-91cb-4a31-b01f-27de7a544f9b,0x800,0x40000)/File(\EFI\BOOT\BOOTX64.efi)gentoo
Boot0003* USB Hard Drive        BBS(HD,�,0x900).......................................................................
Boot0004* Notebook Ethernet     BBS(128,�,0x0)........................A..............................................

It seems to be full of strange characters.


Last edited by huttuded on Sun Mar 24, 2019 1:00 am; edited 1 time in total
Back to top
View user's profile Send private message
1clue
Advocate
Advocate


Joined: 05 Feb 2006
Posts: 2562

PostPosted: Sun Mar 24, 2019 12:49 am    Post subject: Reply with quote

mega_flow wrote:
I had this problem years ago. When I use efibootmgr inside chroot .
But never seen this when using efibootmgr after i install gentoo


So let's say you're booted from system rescue cd, with a certain text encoding. Then you chroot to your newly made gentoo partition, with a different encoding. Could this sort of thing reasonably happen? And what are the chances of that character-encoding error actually meaning something in a foreign language?
Back to top
View user's profile Send private message
bunder
Bodhisattva
Bodhisattva


Joined: 10 Apr 2004
Posts: 5871

PostPosted: Sun Mar 24, 2019 1:51 am    Post subject: Reply with quote

i don't see anything wrong with that efi line, except that you're passing "gentoo" as an argument to your kernel.

edit: i've been thinking this over, and i think the problem is that the efi on your system doesn't support ascii encoding for arguments... if you need to pass arguments you probably need to use the --unicode option.

i wouldn't worry about the other boot options looking like garbage, they're most likely added by the bios. you can delete them all and add the linux one back in and it the funky cmdline should fix itself.

cheers
_________________
Neddyseagoon wrote:
The problem with leaving is that you can only do it once and it reduces your influence.

banned from #gentoo since sept 2017
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum