Error when trying to install Brave Linux browser

Did you run start or onestart? If you ran "onestart", that means you didn't enable linux service in rc.conf. # service linux enable. If you ran "start", i don't know why linux service didn't start.
In rc.conf, of course is the sentence linux_enable="YES", I'll check it out , just in case.
My O.S. run from the beginning in pure mode text, console, then if I want to enter in a desktop environmente, in my case KDE, I type startx
 
In rc.conf, of course is the sentence linux_enable="YES", I'll check it out , just in case.
My O.S. run from the beginning in pure mode text, console, then if I want to enter in a desktop environmente, in my case KDE, I type startx
rc.conf.jpg
 
I never used such a line like service linux enable or any other service related to in rc.conf.
An another problem I have, years ago, i.e , mouse appeared in pure mode text in console, no desktop environmente like KDE, i.e. 12.4-RELEASE. Today, since 12.4-RELEASE at least mouse does not appear in console. No matter in rc.conf is the line "moused_enable="YES". I have included the line "moused_port=/dev/psm0" but mouse does not work at all.
 
Sorry for responding without quoting – my answer was to your post about mouse not working. ums(4) is USB mouse driver, please check man 4 ums
I hope that command would work. At least for me is something very practical working in pure mode text without KDE o whatever desktop loaded
 
Brave was working fine, but suddenly it crashes, still it can be opened. When I am trying to get inside a site like youtube.com, it is unpossible to write the e-mail and password, the keyboard and mouse pointer do not work, the screen is frozen.

I have found these files *.core
CacheThread_Blo.core
gmain.core
ThreadPoolForeg.core
pool-linux-free.core

I have no idea about.
Any suggestion?
 
I have installed linux-brave in a clean FreeBSD installation...

Sudo pkg install linux-brave

Installing stopped ask me to include 'linux64_enable="YES" in /boot/loader.conf

I have edited loader.conf, including such a code line, and again, installed linux-brave, everything's all right.

When I write: 'sudo service linux start' remember me I must use 'sudo service onestart' or include 'linux_enable="YES" in etc/rc.conf.

OK,
editing rc.conf, now it is all right.

I run Brave, it works, but something very rare happens; when I open a very common site where is not needed to log in using a user-name and password, Brave works fine.
The problem arises when I need to log into a site with a user-name and password. Just typing a few keys for the user, keyboard and mouse freeze and the browser does not work anymore, I must to kill it, I can't continue log into the site.

Is there any special task I have to do with keyboard and mouse? Is there anybody suffering such a same problem?

Thank you.
 
Installing stopped ask me to include 'linux64_enable="YES" in /boot/loader.conf

I have edited loader.conf, including such a code line, and again, installed linux-brave, everything's all right.
Never had similar problem, and IDK will this help, but do not use /boot/loader.con for loading *.ko. Rather, use kld_list=" ... " in the /etc/rc.conf
 
Never had similar problem, and IDK will this help, but do not use /boot/loader.con for loading *.ko. Rather, use kld_list=" ... " in the /etc/rc.conf
OK, but what do I put in "kld_list="...; and the other problem is that keybord and mouse freeze when I'm trying to log in a site with user and password.
As have I commented, browsing a normal page without logging in there is no problem.
 
OK, but what do I put in "kld_list="...; and the other problem is that keybord and mouse freeze when I'm trying to log in a site with user and password.
As have I commented, browsing a normal page without logging in there is no problem.
For clarity: I'm loading from /boot/loader.con only zfs, cryptodev and aio:
Code:
zfs_load="YES" 
cryptodev_load="YES" 
aio_load="YES"
This is an example of kld_list in /etc/rc.conf
Code:
 kld_list="libiconv libmchain cd9660_iconv msdosfs_iconv speaker autofs fusefs linux linux64"
As I said, IDK if loading with kld_list will help with your particular problem, nor what might be causing it, it's just good practice to load *.ko that are not necessary very early in the boot from /etc/rc.conf.
 
Just a thought (didn't see it mentioned in this thread, if it was, I missed it, sorry), do you have your /etc/fstab set up for Linuxulator properly? Relevant part should look something like this:
Code:
proc       /proc                   procfs       rw              0    0
linproc    /compat/linux/proc      linprocfs    rw,auto,late    0    0
linsys     /compat/linux/sys       linsysfs     rw              0    0
tmpfs      /compat/linux/dev/shm   tmpfs        rw,mode=1777    0    0
Also check that /compat/linux/tmp has 1777 permissions; it probably does, otherwise Brave will fail to start, but check just to be sure.

If you are not sure how to check do ls -ld /compat/linux/tmp, first column should show drwxrwxrwt. If you have something different do sudo chmod 1777 /compat/linux/tmp
 
Code:

proc /proc procfs rw 0 0
linproc /compat/linux/proc linprocfs rw,auto,late 0 0
linsys /compat/linux/sys linsysfs rw 0 0
tmpfs /compat/linux/dev/shm tmpfs rw,mode=1777 0 0

Thanks, nothing of this code I have in etc/fstab.

I`ll test it along the syntax included in rc.conf and permissions
 
@vmisev

I did what you told me, fixed /etc/fstab; included kld_list="... in rc.conf.
Creating a directory "mkdir /compat/linux/tmp", verifing permissions for such a directory tmp, they are all right.
Creating directory /compat/linux/dev/shm
Rebooting...
Startx...
Click on Brave icon, ...and nothing happens.
Ha, ha, ha, forgett it, I'll see how can a fixit from now on.
Thank you so much
 
Just a thought (didn't see it mentioned in this thread, if it was, I missed it, sorry), do you have your /etc/fstab set up for Linuxulator properly? Relevant part should look something like this:
Code:
proc       /proc                   procfs       rw              0    0
linproc    /compat/linux/proc      linprocfs    rw,auto,late    0    0
linsys     /compat/linux/sys       linsysfs     rw              0    0
tmpfs      /compat/linux/dev/shm   tmpfs        rw,mode=1777    0    0
Also check that /compat/linux/tmp has 1777 permissions; it probably does, otherwise Brave will fail to start, but check just to be sure.

If you are not sure how to check do ls -ld /compat/linux/tmp, first column should show drwxrwxrwt. If you have something different do sudo chmod 1777 /compat/linux/tmp
Just one thing, in /etc/fstab, first column, linux related, instead of "tmpfs" should not appear "tmp"
 
A lot of errors

Code:

raul@Raul:~ $ brave-browser
[1990:102289:0913/123757.602033:ERROR:file_path_watcher_inotify.cc(337)] inotify_init() failed: Función no implementada (38)
[1990:1990:0913/123757.655896:ERROR:platform_shared_memory_region_posix.cc(222)] Creating shared memory in /dev/shm/.org.chromium.Chromium.4hS4kQ failed: La
operación no está soportada (95)
Gtk-Message: 12:37:57.941: Failed to load module "colorreload-gtk-module"
Gtk-Message: 12:37:57.942: Failed to load module "window-decorations-gtk-module"
[1990:1990:0913/123758.081702:ERROR:proxy_config_service_linux.cc(626)] inotify_init failed: Función no implementada (38)
[1990:102291:0913/123758.105662:ERROR:bus.cc(408)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid typ
es are "tcp" and on UNIX "unix")
[1990:102291:0913/123758.106114:ERROR:bus.cc(408)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid typ
es are "tcp" and on UNIX "unix")
[1990:102291:0913/123758.106520:ERROR:bus.cc(408)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid typ
es are "tcp" and on UNIX "unix")
[1990:102291:0913/123758.106857:ERROR:bus.cc(408)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid typ
es are "tcp" and on UNIX "unix")
[1990:102291:0913/123758.107141:ERROR:object_proxy.cc(576)] Failed to call method: org.freedesktop.DBus.NameHasOwner: object_path= /org/freedesktop/DBus: un
known error type:
[1990:1990:0913/123758.113440:ERROR:platform_shared_memory_region_posix.cc(222)] Creating shared memory in /dev/shm/.org.chromium.Chromium.jjndpg failed: La
operación no está soportada (95)
[1990:1990:0913/123758.115391:ERROR:platform_shared_memory_region_posix.cc(222)] Creating shared memory in /dev/shm/.org.chromium.Chromium.yaWU97 failed: La
operación no está soportada (95)
[1990:102301:0913/123758.115608:ERROR:platform_shared_memory_region_posix.cc(222)] Creating shared memory in /dev/shm/.org.chromium.Chromium.1MggEc failed:
La operación no está soportada (95)
[0913/123758.268093:ERROR:ptracer.cc(44)] ptrace: Invalid argument (22)
[0913/123758.268429:WARNING:process_reader_linux.cc(400)] Couldn't initialize main thread.
[0913/123758.268598:ERROR:proc_task_reader.cc(47)] format error
[0913/123758.268652:WARNING:exception_snapshot_linux.cc(391)] thread ID 102301 not found in process
[0913/123758.268972:ERROR:process_snapshot_linux.cc(129)] thread not found 102301
[0913/123758.270582:ERROR:proc_task_reader.cc(47)] format error
[1990:102288:0913/123758.271554:ERROR:udev_watcher.cc(51)] Failed to initialize a udev monitor.
[1990:1990:0913/123758.275087:ERROR:platform_shared_memory_region_posix.cc(222)] Creating shared memory in /dev/shm/.org.chromium.Chromium.yZhFFJ failed: La
operación no está soportada (95)
[1990:1990:0913/123758.278506:ERROR:bus.cc(408)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types
are "tcp" and on UNIX "unix")
[1990:1990:0913/123758.278673:ERROR:kwallet_dbus.cc(117)] Error contacting kwalletd6 (isEnabled)
[1990:1990:0913/123758.279029:ERROR:bus.cc(408)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types
are "tcp" and on UNIX "unix")
[1990:1990:0913/123758.279090:ERROR:kwallet_dbus.cc(86)] Error contacting klauncher to start kwalletd6
[1990:1990:0913/123758.279222:ERROR:bus.cc(408)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types
are "tcp" and on UNIX "unix")
[1990:1990:0913/123758.279260:ERROR:kwallet_dbus.cc(412)] Error contacting kwalletd6 (close)
[1990:102291:0913/123758.280334:ERROR:bus.cc(408)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid typ
es are "tcp" and on UNIX "unix")
Trace/BPT trap (core dumped)
 

Attachments

  • boot_loader.conf.png
    boot_loader.conf.png
    20.9 KB · Views: 26
  • etc_fstab.png
    etc_fstab.png
    40.6 KB · Views: 24
  • etc_rc.conf.png
    etc_rc.conf.png
    51.9 KB · Views: 24
You said
@vmisev

Creating a directory "mkdir /compat/linux/tmp", verifing permissions for such a directory tmp, they are all right.
Creating directory /compat/linux/dev/shm
You misunderstood me, I didn't say to create those dirs, just to check their permissions. hier under /compat/linux is created automatically when FreeBSD starts service linux (linux_enable="YES" in /etc/rc.conf, and all of those dirs and mount points I mentioned should be owned by user root and in the group wheel).

I started rereading thread from beginning to see what I missed, and only now I saw that you said in #1 that you installed Ubuntu. How exactly? Did you follow instructions in 12.3.3. Debian / Ubuntu Base System with debootstrap to the letter?

Did you:
Code:
su - 
pkg install debootstrap
debootstrap jammy /compat/ubuntu
?

File /etc/fstab for Ubuntu is different, everthing goes under /compat/ubuntu and not /compat/linux
Code:
devfs           /compat/ubuntu/dev      devfs           rw,late                      0       0
tmpfs           /compat/ubuntu/dev/shm  tmpfs           rw,late,size=1g,mode=1777    0       0
fdescfs         /compat/ubuntu/dev/fd   fdescfs         rw,late,linrdlnk             0       0
linprocfs       /compat/ubuntu/proc     linprocfs       rw,late                      0       0
linsysfs        /compat/ubuntu/sys      linsysfs        rw,late                      0       0
/tmp            /compat/ubuntu/tmp      nullfs          rw,late                      0       0
/home           /compat/ubuntu/home     nullfs          rw,late                      0       0

So, temporarily comment out linux_enable="YES" in /etc/rc.conf, reboot, edit /etc/fstab to include code above and remove /compat/linux lines, remove /compat/linux dir and all under it, remove # in front of linux_enable="YES" and reboot.

If you didn't install debootstrap jammy /compat/ubuntu previously, do it now, you need linux_enable for debootstrap to work.
And remove first kld_list line in /etc/rc.conf (under#fusefs), second one (under #linux) has all you need for this.
 
Well, this is my actual situation brave-browser related with...

When I run brave-browser I get the error you'll see in the matching image.
/boot/loader.conf and /etc/rc.conf were modified by suggested installing method.
 

Attachments

  • 2025-09-18 - boot.loader.conf.jpg
    2025-09-18 - boot.loader.conf.jpg
    22.7 KB · Views: 25
  • 2025-09-18 - compat.ubuntu.jpg
    2025-09-18 - compat.ubuntu.jpg
    65.1 KB · Views: 26
  • 2025-09-18 - etc.fstab.jpg
    2025-09-18 - etc.fstab.jpg
    48.5 KB · Views: 25
  • 2025-09-18 - brave-browser.jpg
    2025-09-18 - brave-browser.jpg
    9.5 KB · Views: 25
You are still using /boot/loader.conf instead of /etc/rc.conf for loading .ko’s, and you are doing it wrong, it’s never =YES" but should be ="YES"

Also, your /comapt/ubuntu/ looks strange, IDK what debootsratp/ is doing there and you don’t have few dirs that I see in my /comapt/ubuntu/ (which I installed only few days ago, just for this case), like media/, mnt/, opt/, srv/, so I doubt that you actually read and followed advices posted here…
 
You are still using /boot/loader.conf instead of /etc/rc.conf for loading .ko’s, and you are doing it wrong, it’s never =YES" but should be ="YES"

Also, your /comapt/ubuntu/ looks strange, IDK what debootsratp/ is doing there and you don’t have few dirs that I see in my /comapt/ubuntu/ (which I installed only few days ago, just for this case), like media/, mnt/, opt/, srv/, so I doubt that you actually read and followed advices posted here…
I see, excusme, could you send to me the actual screeshots from your /boot/loader.conf, /etc/fstab, /etc/rc.conf and /compat/ubuntu

Thank you
 
I see, excusme, could you send to me the actual screeshots from your /boot/loader.conf, /etc/fstab, /etc/rc.conf and /compat/ubuntu

Thank you
ATM I rebooted into Alt Linux, so can't do screenshots from FreeBSD at least until tomorrow, but do check those posts, all is there:


For clarity: I'm loading from /boot/loader.con only zfs, cryptodev and aio:
Code:
zfs_load="YES"
cryptodev_load="YES"
aio_load="YES"
This is an example of kld_list in /etc/rc.conf
Code:
 kld_list="libiconv libmchain cd9660_iconv msdosfs_iconv speaker autofs fusefs linux linux64"
As I said, IDK if loading with kld_list will help with your particular problem, nor what might be causing it, it's just good practice to load *.ko that are not necessary very early in the boot from /etc/rc.conf.

You said

You misunderstood me, I didn't say to create those dirs, just to check their permissions. hier under /compat/linux is created automatically when FreeBSD starts service linux (linux_enable="YES" in /etc/rc.conf, and all of those dirs and mount points I mentioned should be owned by user root and in the group wheel).

I started rereading thread from beginning to see what I missed, and only now I saw that you said in #1 that you installed Ubuntu. How exactly? Did you follow instructions in 12.3.3. Debian / Ubuntu Base System with debootstrap to the letter?

Did you:
Code:
su -
pkg install debootstrap
debootstrap jammy /compat/ubuntu
?

File /etc/fstab for Ubuntu is different, everthing goes under /compat/ubuntu and not /compat/linux
Code:
devfs           /compat/ubuntu/dev      devfs           rw,late                      0       0
tmpfs           /compat/ubuntu/dev/shm  tmpfs           rw,late,size=1g,mode=1777    0       0
fdescfs         /compat/ubuntu/dev/fd   fdescfs         rw,late,linrdlnk             0       0
linprocfs       /compat/ubuntu/proc     linprocfs       rw,late                      0       0
linsysfs        /compat/ubuntu/sys      linsysfs        rw,late                      0       0
/tmp            /compat/ubuntu/tmp      nullfs          rw,late                      0       0
/home           /compat/ubuntu/home     nullfs          rw,late                      0       0

So, temporarily comment out linux_enable="YES" in /etc/rc.conf, reboot, edit /etc/fstab to include code above and remove /compat/linux lines, remove /compat/linux dir and all under it, remove # in front of linux_enable="YES" and reboot.

If you didn't install debootstrap jammy /compat/ubuntu previously, do it now, you need linux_enable for debootstrap to work.
And remove first kld_list line in /etc/rc.conf (under#fusefs), second one (under #linux) has all you need for this.
 
Why not simple: sudo pkg ins linux-brave ?

It worked for me, without a hitch 🤷‍♂️

(note: I had linux_base-rl9 already installed)
I remember you wrote this code on July, 27th. After that begun all the other codes, very problematic. Then working on a new copy for my OS, I have deleted all of pkg related linux with.
I'll try to use that code again and I'll see what happens.
I guess that linux_enable must be stated in rc.conf
 
Back
Top