Segmentation faults Xorg

Antonio Olivares olivares14031 at gmail.com
Sun Oct 29 08:05:37 PDT 2023


On Sun, Oct 29, 2023, 9:50 AM Antonio Huete Jimenez <
tuxillo at quantumachine.net> wrote:

> Ok, much clearer now. How do you load the radeon module? I'm using the
> radeon driver too but I don't do any preloading, I let Xorg load it. I
> get this when trying to startup the first time:
>

I also let Xorg load the driver on it's own.
On other systems one can set it in /etc/rc.conf, but it's not setup here
like that.

>
> drm0 on vgapci0
> drm_setmaster_ioctl: already has one XXX ignored
> drm_setmaster_ioctl: is_not master, set masterdrm_dropmaster_ioctl
> pid 2467 (Xorg), uid 0: exited on signal 6
>
> Then I start it up again and X comes up.
>
>
> On 10/29/23 15:33, Antonio Olivares wrote:
> > I have upgraded from 6.2 version.  Followed the instructions carefully.
> > However, I did not apply the evdev part.  I later added it and followed
> > the instructions.  When I start it up, it fails with the message :
> >
> > drm_setmaster_ioctl: already has one XXX configured
> >
> >
> > I have my system to automatically startx, but I have commented that out
> > in ~/.profile. i type   startx and press Enter, i get same error.
> >
> > i am using a USB mouse not a PS2 mouse.
> > What I meant with the USB, is that I can use it to capture the output of
> > commands .
> >
> > Best Regards,
> >
> >
> > Antonio
> >
> > On Sun, Oct 29, 2023, 9:26 AM Antonio Huete Jimenez
> > <tuxillo at quantumachine.net <mailto:tuxillo at quantumachine.net>> wrote:
> >
> >       From your email, it is unclear to me what type of installation you
> >     have. First you said you upgraded from 6.2, then you mention booting
> >     from a USB. Also it's unclear whether you managed to startup X or not
> >     with the help of the mailing list email.
> >
> >     On 10/29/23 13:47, Antonio Olivares wrote:
> >      >
> >      >
> >      > On Sun, Oct 29, 2023, 7:34 AM Antonio Huete Jimenez
> >      > <tuxillo at quantumachine.net <mailto:tuxillo at quantumachine.net>
> >     <mailto:tuxillo at quantumachine.net
> >     <mailto:tuxillo at quantumachine.net>>> wrote:
> >      >
> >      >     There are two things I can see in the log:
> >      >
> >      >     1. it can't open /dev/ums0, not sure why. This requires
> >     investigation.
> >      >     2. It crashes right after removing the card, probably during
> >     shutdown.
> >      >
> >      >     Can you try finding out what's using ums0 and why it is
> >     failing? Maybe
> >      >     that way you can fix the startup and we will learn whether
> >     the crash
> >      >     only occurs during shutdown.
> >      >
> >      >     Cheers
> >      >
> >      >
> >      > I applied the suggestions here:
> >      >
> >      >
> >
> https://lists.dragonflybsd.org/pipermail/users/2022-December/428474.html <
> https://lists.dragonflybsd.org/pipermail/users/2022-December/428474.html>
> >      >
> >     <
> https://lists.dragonflybsd.org/pipermail/users/2022-December/428474.html <
> https://lists.dragonflybsd.org/pipermail/users/2022-December/428474.html>>
> >      >
> >      > However the sysctl command I ran it as root, but it is not
> >     permanent as
> >      > that would need to be placed in /etc/sysctl.conf.
> >      >
> >      > The computer has an HDMI and dvi output on the motherboard but
> >     they do
> >      > not work.  I was told by a friend that I needed a video card and
> >     I had
> >      > the ati Radeon 7450 card or something like it.  Also for
> >     Radeon/amdgou
> >      > in FreeBSD one would need to specify in /etc/rc.conf but in
> >     DragonflyBSD
> >      > I was not able to check how to load it.  Maybe related to this?
> >      >
> >      > The evdev needs the sysctl present every time?  How does this
> work?
> >      >
> >      > I can save commands requested on a USB drive then copy paste to
> >     email or
> >      > use paste bin as guest.  I was signed up but forgot my password
> :(.
> >      >
> >      > Best Regards,
> >      >
> >      >
> >      > Antonio
> >      >
> >      >
> >      >     On 10/29/23 13:16, Antonio Olivares wrote:
> >      >      > On Sun, Oct 29, 2023 at 6:53 AM Antonio Huete Jimenez
> >      >      > <tuxillo at quantumachine.net
> >     <mailto:tuxillo at quantumachine.net> <mailto:tuxillo at quantumachine.net
> >     <mailto:tuxillo at quantumachine.net>>> wrote:
> >      >      >>
> >      >      >> Can you try calling startxfce4 directly, without the
> >     setxkbmap?
> >      >     For me,
> >      >      >> removing the xrdb seemed to work. Also, please upload
> >     somewhere the
> >      >      >> failing Xorg log.
> >      >      >>
> >      >      >> On 10/29/23 12:47, Antonio Olivares wrote:
> >      >      >>> ~/.xinitrc
> >      >      >>>
> >      >      >>> Has the following :
> >      >      >>> setxkbmap -option compose:ralt &&
> /usr/local/Bob/startxfce4
> >      >      >>>
> >      >      >>> Best regards,
> >      >      >>>
> >      >      >>>
> >      >      >>> Antonio
> >      >      >>>
> >      >      >>> On Sun, Oct 29, 2023, 6:36 AM Antonio Huete Jimenez
> >      >      >>> <tuxillo at quantumachine.net
> >     <mailto:tuxillo at quantumachine.net> <mailto:tuxillo at quantumachine.net
> >     <mailto:tuxillo at quantumachine.net>>
> >      >     <mailto:tuxillo at quantumachine.net
> >     <mailto:tuxillo at quantumachine.net>
> >      >     <mailto:tuxillo at quantumachine.net
> >     <mailto:tuxillo at quantumachine.net>>>> wrote:
> >      >      >>>
> >      >      >>>      Can you please share you .xinitrc?
> >      >      >>>
> >      >      >>>      On 10/29/23 12:28, Antonio Olivares wrote:
> >      >      >>>       >
> >      >      >>>       >
> >      >      >>>       > On Sun, Oct 29, 2023, 6:24 AM Antonio Huete
> Jimenez
> >      >      >>>       > <tuxillo at quantumachine.net
> >     <mailto:tuxillo at quantumachine.net>
> >      >     <mailto:tuxillo at quantumachine.net
> >     <mailto:tuxillo at quantumachine.net>>
> >     <mailto:tuxillo at quantumachine.net <mailto:tuxillo at quantumachine.net>
> >      >     <mailto:tuxillo at quantumachine.net
> >     <mailto:tuxillo at quantumachine.net>>>
> >      >      >>>      <mailto:tuxillo at quantumachine.net
> >     <mailto:tuxillo at quantumachine.net>
> >      >     <mailto:tuxillo at quantumachine.net
> >     <mailto:tuxillo at quantumachine.net>>
> >      >      >>>      <mailto:tuxillo at quantumachine.net
> >     <mailto:tuxillo at quantumachine.net>
> >      >     <mailto:tuxillo at quantumachine.net
> >     <mailto:tuxillo at quantumachine.net>>>>> wrote:
> >      >      >>>       >
> >      >      >>>       >     I'm seeing that too when I start up Xorg.
> >     I'm using
> >      >     .xinitrc
> >      >      >>>      to start X
> >      >      >>>       >     into i3 and I have to run 'startx' a couple
> >     times
> >      >     to make it
> >      >      >>>      work. What
> >      >      >>>       >     do you use to start X?
> >      >      >>>       >
> >      >      >>>       >     I'm suspecting it is related to my xrdb call
> but
> >      >     not sure
> >      >      >>>      yet. If you
> >      >      >>>       >     find out more please let me know.
> >      >      >>>       >
> >      >      >>>       >     On 10/29/23 04:16, Antonio Olivares wrote:
> >      >      >>>       >      > Dear DragonflyBsd users,
> >      >      >>>       >      >
> >      >      >>>       >      > I have updated a machine that ran version
> >     6.2 to
> >      >     latest
> >      >      >>>      6.4 version.
> >      >      >>>       >      >
> >      >      >>>       >      > I had to install evdev package as it was
> not
> >      >     installed
> >      >      >>>       >     automatically.
> >      >      >>>       >      > Followed instructions from
> >      >      >>>       >      >
> >      >      >>>       >      >
> >      >      >>>       >      >
> >      >      >>>       >
> >      >      >>>
> >      >
> >
> https://lists.dragonflybsd.org/pipermail/users/2022-December/428474.html <
> https://lists.dragonflybsd.org/pipermail/users/2022-December/428474.html>
> <https://lists.dragonflybsd.org/pipermail/users/2022-December/428474.html
> <https://lists.dragonflybsd.org/pipermail/users/2022-December/428474.html>>
> <https://lists.dragonflybsd.org/pipermail/users/2022-December/428474.html
> <https://lists.dragonflybsd.org/pipermail/users/2022-December/428474.html>
> <https://lists.dragonflybsd.org/pipermail/users/2022-December/428474.html
> <https://lists.dragonflybsd.org/pipermail/users/2022-December/428474.html>>>
> <https://lists.dragonflybsd.org/pipermail/users/2022-December/428474.html
> <https://lists.dragonflybsd.org/pipermail/users/2022-December/428474.html>
> <https://lists.dragonflybsd.org/pipermail/users/2022-December/428474.html
> <https://lists.dragonflybsd.org/pipermail/users/2022-December/428474.html>>
> <https://lists.dragonflybsd.org/pipermail/users/2022-December/428474.html
> <https://lists.dragonflybsd.org/pipermail/users/2022-December/428474.html>
> <https://lists.dragonflybsd.org/pipermail/users/2022-December/428474.html
> <https://lists.dragonflybsd.org/pipermail/users/2022-December/428474.html
> >>>>
> >      >      >>>       >      >
> >      >      >>>       >
> >      >      >>>
> >      >
> >       <
> https://lists.dragonflybsd.org/pipermail/users/2022-December/428474.html <
> https://lists.dragonflybsd.org/pipermail/users/2022-December/428474.html>
> <https://lists.dragonflybsd.org/pipermail/users/2022-December/428474.html
> <https://lists.dragonflybsd.org/pipermail/users/2022-December/428474.html>>
> <https://lists.dragonflybsd.org/pipermail/users/2022-December/428474.html
> <https://lists.dragonflybsd.org/pipermail/users/2022-December/428474.html>
> <https://lists.dragonflybsd.org/pipermail/users/2022-December/428474.html
> <https://lists.dragonflybsd.org/pipermail/users/2022-December/428474.html>>>
> <https://lists.dragonflybsd.org/pipermail/users/2022-December/428474.html
> <https://lists.dragonflybsd.org/pipermail/users/2022-December/428474.html>
> <https://lists.dragonflybsd.org/pipermail/users/2022-December/428474.html
> <https://lists.dragonflybsd.org/pipermail/users/2022-December/428474.html>>
> <https://lists.dragonflybsd.org/pipermail/users/2022-December/428474.html
> <https://lists.dragonflybsd.org/pipermail/users/2022-December/428474.html>
> <https://lists.dragonflybsd.org/pipermail/users/2022-December/428474.html
> <https://lists.dragonflybsd.org/pipermail/users/2022-December/428474.html
> >>>>>
> >      >      >>>       >      >
> >      >      >>>       >      > And
> >      >      >>>       >      >
> >      >      >>>       >      >
> >      >      >>>       >
> >      >      >>>
> >      >
> >
> https://lists.dragonflybsd.org/pipermail/users/2022-December/452061.html <
> https://lists.dragonflybsd.org/pipermail/users/2022-December/452061.html>
> <https://lists.dragonflybsd.org/pipermail/users/2022-December/452061.html
> <https://lists.dragonflybsd.org/pipermail/users/2022-December/452061.html>>
> <https://lists.dragonflybsd.org/pipermail/users/2022-December/452061.html
> <https://lists.dragonflybsd.org/pipermail/users/2022-December/452061.html>
> <https://lists.dragonflybsd.org/pipermail/users/2022-December/452061.html
> <https://lists.dragonflybsd.org/pipermail/users/2022-December/452061.html>>>
> <https://lists.dragonflybsd.org/pipermail/users/2022-December/452061.html
> <https://lists.dragonflybsd.org/pipermail/users/2022-December/452061.html>
> <https://lists.dragonflybsd.org/pipermail/users/2022-December/452061.html
> <https://lists.dragonflybsd.org/pipermail/users/2022-December/452061.html>>
> <https://lists.dragonflybsd.org/pipermail/users/2022-December/452061.html
> <https://lists.dragonflybsd.org/pipermail/users/2022-December/452061.html>
> <https://lists.dragonflybsd.org/pipermail/users/2022-December/452061.html
> <https://lists.dragonflybsd.org/pipermail/users/2022-December/452061.html
> >>>>
> >      >      >>>       >      >
> >      >      >>>       >
> >      >      >>>
> >      >
> >       <
> https://lists.dragonflybsd.org/pipermail/users/2022-December/452061.html <
> https://lists.dragonflybsd.org/pipermail/users/2022-December/452061.html>
> <https://lists.dragonflybsd.org/pipermail/users/2022-December/452061.html
> <https://lists.dragonflybsd.org/pipermail/users/2022-December/452061.html>>
> <https://lists.dragonflybsd.org/pipermail/users/2022-December/452061.html
> <https://lists.dragonflybsd.org/pipermail/users/2022-December/452061.html>
> <https://lists.dragonflybsd.org/pipermail/users/2022-December/452061.html
> <https://lists.dragonflybsd.org/pipermail/users/2022-December/452061.html>>>
> <https://lists.dragonflybsd.org/pipermail/users/2022-December/452061.html
> <https://lists.dragonflybsd.org/pipermail/users/2022-December/452061.html>
> <https://lists.dragonflybsd.org/pipermail/users/2022-December/452061.html
> <https://lists.dragonflybsd.org/pipermail/users/2022-December/452061.html>>
> <https://lists.dragonflybsd.org/pipermail/users/2022-December/452061.html
> <https://lists.dragonflybsd.org/pipermail/users/2022-December/452061.html>
> <https://lists.dragonflybsd.org/pipermail/users/2022-December/452061.html
> <https://lists.dragonflybsd.org/pipermail/users/2022-December/452061.html
> >>>>>
> >      >      >>>       >      >
> >      >      >>>       >      > I get a segmentation fault.  I did not
> >     deal with
> >      >     LibreSSL make
> >      >      >>>       >      > Deprecated when upgrading from source.
> >      >     Buildworld and install
> >      >      >>>       >     kernel
> >      >      >>>       >      > ran without problems.  Updated pkg update
> and
> >      >     pkg upgrade
> >      >      >>>       >     successfully
> >      >      >>>       >      > as well.
> >      >      >>>       >      >
> >      >      >>>       >      > The video card is
> >      >      >>>       >      >
> >      >      >>>       >      > amd radeon hd 7450
> >      >      >>>       >      >
> >      >      >>>       >      > Any advice is greatly appreciated.  Was
> >     running
> >      >     6.2 on machine
> >      >      >>>       >     two years
> >      >      >>>       >      > ago and was not updated since.
> >      >      >>>       >      >
> >      >      >>>       >      > Best Regards,
> >      >      >>>       >      >
> >      >      >>>       >      >
> >      >      >>>       >      > Antonio
> >      >      >>>       >      >
> >      >      >>>       >
> >      >      >>>       >
> >      >      >>>       > I also use .xinitrc and use xfce.  If I use
> >     start twice
> >      >     I just
> >      >      >>>      get "No
> >      >      >>>       > Video Signal".  I have to reboot and get same
> caught
> >      >     signal 11
> >      >      >>>      error.
> >      >      >>>       > Thank you for your input.
> >      >      >>>       >
> >      >      >>>       >
> >      >      >>>       > Best Regards,
> >      >      >>>       >
> >      >      >>>       >
> >      >      >>>       > Antonio
> >      >      >>>       >
> >      >      >>>       >
> >      >      >>>
> >      >      >
> >      >      > Changed ~/xinitrc as per your suggestion.  Still problem
> >     remains.
> >      >      >
> >      >      > Xorg.0.log copied termporarily to  pastebin
> >      >      >
> >      >      > https://pastebin.com/jQP3eGwR
> >     <https://pastebin.com/jQP3eGwR> <https://pastebin.com/jQP3eGwR
> >     <https://pastebin.com/jQP3eGwR>>
> >      >      > Thank you for helping.
> >      >      >
> >      >      >
> >      >      > Best Regards
> >      >      >
> >      >      >
> >      >      > Antonio
> >      >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dragonflybsd.org/pipermail/users/attachments/20231029/30cfea0f/attachment-0001.htm>


More information about the Users mailing list