Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
redox
redox
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 211
    • Issues 211
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 9
    • Merge Requests 9
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • redox-os
  • redoxredox
  • Issues
  • #1297

Closed
Open
Opened May 06, 2020 by Mustakimur Rahman@mustakcsecuet1 of 1 task completed1/1 task

pa_context_connect() failed

  • I agree that I have searched opened and closed issues to prevent duplicates.

Description

I failed to run the redox in our ubuntu server using: sudo make qemu. I build the redox from the source using the bootstrap.sh. The error seems to be connected to audio driver.

SDL_VIDEO_X11_DGAMOUSE=0 qemu-system-x86_64 -d cpu_reset -d guest_errors -smp 4 -m 2048 -serial mon:stdio -machine q35 -device ich9-intel-hda -device hda-duplex -netdev user,id=net0 -device e1000,netdev=net0 -object filter-dump,id=f1,netdev=net0,file=build/network.pcap -device nec-usb-xhci,id=xhci -device usb-tablet,bus=xhci.0 -enable-kvm -cpu host \
	-drive file=build/harddrive.bin,format=raw \
	-drive file=build/extra.bin,format=raw
Home directory not accessible: Permission denied
pulseaudio: pa_context_connect() failed
pulseaudio: Reason: Connection refused
pulseaudio: Failed to initialize PA contextaudio: Could not init `pa' audio driver
Could not initialize SDL(No available video device) - exiting
mk/qemu.mk:52: recipe for target 'qemu' failed
make: *** [qemu] Error 1

If it is a driver issue, is there any way that I could skip building the driver modules?

Environment info

  • Redox OS Release: Build using the following: curl -sf https://gitlab.redox-os.org/redox-os/redox/raw/master/bootstrap.sh -o bootstrap.sh && bash -e bootstrap.sh
  • Operating system:
Distributor ID:	Ubuntu
Description:	Ubuntu 18.04.4 LTS
Release:	18.04
Codename:	bionic
  • uname -a: Linux syssec 4.15.0-99-generic #100-Ubuntu SMP Wed Apr 22 20:32:56 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
  • rustc -V: rustc 1.41.0-nightly (412f43ac5 2019-11-24)
  • git rev-parse HEAD: aa76286e40158a8e473c5702b071b9afd1987f87
  • OS type: server

Steps to reproduce

  1. curl -sf https://gitlab.redox-os.org/redox-os/redox/raw/master/bootstrap.sh -o bootstrap.sh && bash -e bootstrap.sh
  2. cd redox/
  3. make all
  4. sudo make qemu

Behavior

  • Expected behavior: running the redox OS with qemu in the terminal.
  • Actual behavior: Failed to run the redox OS in qemu. Failed reason showing audio driver error.
SDL_VIDEO_X11_DGAMOUSE=0 qemu-system-x86_64 -d cpu_reset -d guest_errors -smp 4 -m 2048 -serial mon:stdio -machine q35 -device ich9-intel-hda -device hda-duplex -netdev user,id=net0 -device e1000,netdev=net0 -object filter-dump,id=f1,netdev=net0,file=build/network.pcap -device nec-usb-xhci,id=xhci -device usb-tablet,bus=xhci.0 -enable-kvm -cpu host \
	-drive file=build/harddrive.bin,format=raw \
	-drive file=build/extra.bin,format=raw
Home directory not accessible: Permission denied
pulseaudio: pa_context_connect() failed
pulseaudio: Reason: Connection refused
pulseaudio: Failed to initialize PA contextaudio: Could not init `pa' audio driver
Could not initialize SDL(No available video device) - exiting
mk/qemu.mk:52: recipe for target 'qemu' failed
make: *** [qemu] Error 1
  • Proposed solution: N/A

Optional references

Related to: N/A

Blocked by: N/A

Optional extras

N/A

Edited May 06, 2020 by Mustakimur Rahman
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: redox-os/redox#1297