#[SOLVED] System not booting up: Bluetooth: hci0: failed to read codec capabilities (-22)

296 messages · Page 1 of 1 (latest)

languid stag
#

I get this error messages when I try to boot up. Help

#

I've tried to uninstall blueman, bluez and bluez-utils and I also tried to rfkill command to enable bluetooth but no avail

vernal elbow
languid stag
#

ye

vernal elbow
#

Know how to chroot

#

?

languid stag
#

idk what that is

vernal elbow
#

.aw chroot

round salmonBOT
vernal elbow
#

You need to boot from the live usb and chroot

#

then you can send logs and fix your system

#

from chroot

#

Read the arch wiki page

#

Also a picture when booting up would help

#

To pin point at which part it fails

#

have you tried switching tty?

languid stag
vernal elbow
#

Can you switch or not

#

Plz show the exact error screen

languid stag
#

I can't install arch-install-scripts

#

I can switch, yes as I've done

languid stag
#

@vernal elbow can't mount my hard disk

vernal elbow
#

Switch tty then post your xorg log

#

.s paste

round salmonBOT
vernal elbow
#

.s ix

round salmonBOT
languid stag
#

xorg log?

#

what do I put to "<command to print output> "

vernal elbow
#

cat /var/log/Xorg.0.log

languid stag
#

@vernal elbow it says could not resolve host: ix.io

vernal elbow
#

Is your internet working?

#

Do ping archlinux.org

languid stag
#

how do I check that, iwtcl doesnt work

#

oh

#

ye not working

vernal elbow
#

You use network manager?

languid stag
#

I don't remember turning it on

vernal elbow
#

Is this a new installation?

languid stag
#

like few days old

vernal elbow
#

How did you connect before

languid stag
#

trough iwtcl

vernal elbow
#

Is NM installed?

vernal elbow
languid stag
#

it works in the USB stick but not in tty

vernal elbow
#

Oh you meant in the iso

#

Ugh so you don't have a network manager installed

#

Alright

languid stag
#

I don't

vernal elbow
#

We need to chroot then

#

Get the usb stick

#

And boot from it

#

Read the arch wiki page on chroot

#

I need to do something then i'll be back

vernal elbow
#

@languid stag I am back

#

What did you do

languid stag
#

I mounted my system idk what else to do

vernal elbow
#

You're in the iso?

languid stag
#

yes

vernal elbow
#

Post lsblk

#

To make sure you mounted correctly

#

Also connect to the internet

languid stag
#

it's suppose to be this way right

languid stag
vernal elbow
#

Do umount -a

languid stag
#

ok

vernal elbow
#

Where do you mount your boot partition? /boot?

#

When installing what esp path did you choose

#

Anyway it doesn't matter cause we shouldn't need to do any modifications to the boot partition anyway

#

So just do mount /dev/nvme0n1p2 /mnt

#

And then arch-chroot /mnt

languid stag
#

done

vernal elbow
#

Ok now cat /var/log/Xorg.0.log |& curl -F 'f:1=<-' ix.io

languid stag
#

nothing happened

vernal elbow
#

It didn't give you a link

#

?

languid stag
#

nope

vernal elbow
#

cat /var/log/Xorg.0.log

#

do this on its own

#

and show me the output

languid stag
vernal elbow
#

It should work

#

It should give you a link

languid stag
#

not it worked

vernal elbow
#

If so which one

languid stag
#

My GPU is NVIDIA GeForce RTX 3060 Lite

vernal elbow
#

Okay did you properly install drivers?

languid stag
#

I did it from lutris's github page

vernal elbow
#

Wdym

languid stag
#

I got them from here

#

My CPU is AMD Ryzen 5 5600G if that matters as well

vernal elbow
#

Why? why not use arch wiki

#

Ok hold on

languid stag
#

That might explain it, this started happening when I installed drivers

vernal elbow
languid stag
#

I uninstalled it already b4

vernal elbow
#

Okay

#

Install the nvidia package

#

pacman -S nvidia

languid stag
#

Do I reboot now?

vernal elbow
#

No

languid stag
#

Ight

vernal elbow
#

Go into /etc/mkinitcpio.conf

languid stag
#

with cd?

vernal elbow
#

And remove kms from the HOOKS

vernal elbow
languid stag
#

or do I use nano

vernal elbow
#

nano /etc/mkinitcpio.conf

#

There will be a line that begins with HOOKS

#

Remove kms from it

#

and save the file

languid stag
#

it doesnt have it

vernal elbow
#

Ok good

#

Just in case rebuild the initramfs before rebooting

#

mkinitcpio -P

languid stag
#

eli5

#

oh ok

vernal elbow
#

Then type exit

#

and reboot

languid stag
#

is this normal

vernal elbow
#

Oh right

#

we didn't mount the boot partition

#

Show me the fstab

#

cat /etc/fstab

languid stag
vernal elbow
#

mount /dev/nvme0n1p1 /boot

languid stag
#

there

vernal elbow
#

Ok now do mkinitcpio -P again

languid stag
#

"Image generation succesful"

vernal elbow
#

ok

#

exit

#

then reboot

languid stag
#

still the same error

vernal elbow
#

Shit should've installed network manager while in chroot

#

totally slipped my mind

vernal elbow
#

And we install network manager as well

#

mount /dev/nvme0n1p2 /mnt

#

mount /dev/nvme0n1p1 /mnt/boot

#

arch-chroot /mnt

languid stag
#

done

vernal elbow
#

pacman -S networkmanager

languid stag
#

It failed to install it

vernal elbow
#

Show me

languid stag
#

ig there's no internet connection

vernal elbow
#

Did you connect

#

connect first

languid stag
#

oh nvm I forgot

vernal elbow
#

then install

languid stag
#

ok I got networkmanager now

vernal elbow
#

systemctl enable NetworkManager

#

no dashes

#

mb

languid stag
#

there

vernal elbow
#

Alright

#

now

#

.s ix

round salmonBOT
vernal elbow
#

Do journalctl -b -1

vernal elbow
#

and send the link

languid stag
#

nvm I misread 1 as i

#

I mistyped it

vernal elbow
#

💀

vernal elbow
languid stag
#

now I got it

vernal elbow
#

tf

languid stag
#

?

vernal elbow
#

either my browser is going crazy or the link is corrupt

#

hold on let me try from my phone

languid stag
#

I can see it

vernal elbow
#

It's like that

#

even on my phone

#

unreadable

#

Can you do it again?

#

Maybe it corrupted or some shit

languid stag
#

It keeps giving the same link

vernal elbow
#

.s rs

round salmonBOT
vernal elbow
#

Do it with this one

languid stag
vernal elbow
#

Ok it works

languid stag
#

actually I just remembered I had rfkill block on bluetooth

#

but I had got the same error whether I had it on or not so idk

vernal elbow
#

Does your system boot normally to the tty or does it just get stuck on that msg

languid stag
#

just unblocked it

#

it gets stuck on that message

vernal elbow
#

then you switch with ctrl alt?

languid stag
#

ye ctrl alt f2

#

thats what i tried b4

vernal elbow
#

I don't this has anything to do with the bluetooth

languid stag
#

ok

#

tell me what you can find out from that log

#

or smth

vernal elbow
#

Yeah checking it

vernal elbow
languid stag
vernal elbow
#

just boot into your system

#

and send it

#

go to tty

#

connect using nmtui or nmcli

languid stag
vernal elbow
#

yes

languid stag
vernal elbow
languid stag
#

I'll check the HOOKS thing again in case I missed it

vernal elbow
#

Okay

#

you can post it here if you want

languid stag
#

nope, not there

vernal elbow
languid stag
#

There is nvdimm-security.conf nvidia-utils.conf README and systemd.conf

vernal elbow
#

cat /usr/lib/modprobe.d/nvidia-utils.conf

#

It's not long just snap a pic no need to paste

#

Should be 1 line with blacklist nouveau

languid stag
#

says exactly that

vernal elbow
languid stag
#

nvidia 525.85.05-3
nvidia-utils 525.85.05-1

vernal elbow
#

paste sudo dmesg

languid stag
umbral junco
vernal elbow
#

why not

umbral junco
vernal elbow
#

they don't have iwd installed...

#

they used it in the live iso

umbral junco
vernal elbow
#

in the iso

languid stag
#

iwtcl didnt work in chroot

#

Officer can you explain what we doing, what I understand is Nvidia is causing the error to occur

vernal elbow
#

nvidia driver is not loading for some reason

#

I'm looking for why

#

Try to do modprobe nvidia -vv

vernal elbow
languid stag
#

should I try reinstalling it?

vernal elbow
#

Yes

#

pacman -S nvidia

languid stag
#

what now

vernal elbow
#

Reboot

languid stag
#

same error 🤷‍♂️

vernal elbow
#

Yeah

#

go to tty

#

and try modprobe again

vernal elbow
languid stag
#

same output

vernal elbow
#

Ok

#

Let's try to completely uninstall it then reinstall

#

pacman -Rns nvidia

#

then pacman -S nvidia

#

and reboot

languid stag
#

still not working

#

modprobe still gives the same output

vernal elbow
#

pacman -Syu

#

You might have done a partial upgrade or something

#

package versions probably don't match

languid stag
#

ok I did pacman -Syu nvidia and now its all working

vernal elbow
#

no need to specify nvidia

#

but it doesn't matter

#

Yeah I thought so

#

X works fine?

languid stag
#

X?

vernal elbow
#

Xorg

#

Does lightdm launch fine?

languid stag
#

ye

languid stag
#

im on the desktop

vernal elbow
#

Read this

#

Never do pacman -Sy <package> or pacman -Sy followed by pacman -S <package>

#

Always do a full system upgrade

#

... close

round salmonBOT
#

#11251 📣 if you don't need help with this anymore, add [SOLVED] to the start of the post's title (for example, the title could say [SOLVED] pacman not working)
if you're on a laptop or desktop computer, see the note on archiving by sending a message that says ... archive.