Skip to content

GitLab

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

Closed
Open
Opened Jan 21, 2012 by Bugzilla Migration User@bugzilla-migration

FreeBSD: 'failed to set mtrr: No space left on device' is printed on some systems

Submitted by Yuri

Assigned to ajax @ajax

Link to original bug (#45066)

Description

I find this message in kdm.log on FreeBSD-9.0 when I try to start kde4.

Investigating a bit, I got this information:

This message is printed by package libpciaccess-0.12.1, file src/freebsd_pci.c in it. Rebuilding this package doesn't help.

The error 'failed to set mtrr: No space left on device' results from system call ioctl(fd, MEMRANGE_SET, &mro) @ freebsd_pci.c:146. fd there is the fd for /dev/mem Parameters of this ioctl call are (mro.r.mr_base=40000000 mro.r.mr_len=10000000 mro.r.mr_flags=2 mro.r.mr_owner="pciacces" mro.mo_arg[0]=0 mro.mmo_arg[1]=0)

This system only has 1GB memory, mr_base=40000000 is already at 1GB, so mr_len=10000000 makes it out of range? That's why it maybe failed.

This issue is also mentioned in FreeBSD PR#ports/164350

libpciaccess-0.12.1

Edited Aug 29, 2018 by Adam Jackson
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: xorg/lib/libpciaccess#2