GhostBSD 21.05.01 install problem on MacBookPro 8,2 1.0

Questions about the installation of FreeBSD
CyBear
Posts: 11
Joined: Fri Apr 23, 2021 10:37 am

GhostBSD 21.05.01 install problem on MacBookPro 8,2 1.0

Post by CyBear »

I got my hands on MackBook and tried to put GhostBSD on it but run into a hold/freeze after

kldunload cant find file nvidia-modeset
kldunload cant find file nvidia
kernel: Failed to add WC MTRR for [0xa0000000-0xafffffff]: -22; performance may suffer

Any suggestions as to how to proceed are welcome.

Image
grahamperrin
Posts: 105
Joined: Sun Sep 04, 2016 6:06 am

Starting Desktop (Intel DRM).. Please wait..

Post by grahamperrin »

In your photograph, the most relevant line is probably:

Starting Desktop (Intel DRM).. Please wait..

https://everymac.com/ultimate-mac-looku ... BookPro8,2

Does your model have Intel HD Graphics 3000?
kernel: Failed to add WC MTRR for [0xa0000000-0xafffffff]: -22; performance may suffer
https://github.com/FreeBSDDesktop/kms-d ... -414058160 suggests that the MTRR warning can be ignored.
CyBear
Posts: 11
Joined: Fri Apr 23, 2021 10:37 am

Re: Starting Desktop (Intel DRM).. Please wait..

Post by CyBear »

grahamperrin wrote: Fri May 07, 2021 8:35 pm In your photograph, the most relevant line is probably:

Starting Desktop (Intel DRM).. Please wait..

https://everymac.com/ultimate-mac-looku ... BookPro8,2

Does your model have Intel HD Graphics 3000?
kernel: Failed to add WC MTRR for [0xa0000000-0xafffffff]: -22; performance may suffer
https://github.com/FreeBSDDesktop/kms-d ... -414058160 suggests that the MTRR warning can be ignored.
Hi,
wouldn't say so
lspci -v | grep -r vga gives
VGA compatible controller : Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09) (prog-if 00 [VGA controller])
grahamperrin
Posts: 105
Joined: Sun Sep 04, 2016 6:06 am

2nd Generation Core Processor Family Integrated Graphics Controller

Post by grahamperrin »

Thanks, 2nd Generation Core Processor Family Integrated Graphics Controller also appears for a MacBookPro8,3 and according to EveryMac.com, all four models include Intel HD Graphics 3000.

Of the six models at https://everymac.com/ultimate-mac-lookup/?search_keywords=MacBookPro8,2, which one matches yours?
CyBear
Posts: 11
Joined: Fri Apr 23, 2021 10:37 am

Re: 2nd Generation Core Processor Family Integrated Graphics Controller

Post by CyBear »

grahamperrin wrote: Sat May 08, 2021 9:37 am Thanks, 2nd Generation Core Processor Family Integrated Graphics Controller also appears for a MacBookPro8,3 and according to EveryMac.com, all four models include Intel HD Graphics 3000.

Of the six models at https://everymac.com/ultimate-mac-lookup/?search_keywords=MacBookPro8,2, which one matches yours?
Thank you,
This one matches
MacBook Pro 15-Inch "Core i7" 2.4 Late 2011 2.4 GHz Core i7 (I7-2760QM)
grahamperrin
Posts: 105
Joined: Sun Sep 04, 2016 6:06 am

AMD Whistler [Radeon HD 6730M/6770M/7690M XT]

Post by grahamperrin »

For reference, also in this MacBookPro8,2

Vendor ID 1002, device ID 6740

https://bsd-hardware.info/?view=search& ... 6740&d=Allhttps://bsd-hardware.info/?id=pci:1002-6740-106b-6740

For the same hardware on Linux: https://linux-hardware.org/?id=pci:1002-6740-103c-185e
grahamperrin
Posts: 105
Joined: Sun Sep 04, 2016 6:06 am

Intel 2nd Generation Core Processor Family Integrated Graphics Controller

Post by grahamperrin »

For reference

Intel 2nd Generation Core Processor Family Integrated Graphics Controller e.g. Intel HD Graphics 3000

Vendor ID 8086, device ID 0102

https://bsd-hardware.info/?id=pci:8086-0102-8086-2010

https://linux-hardware.org/?id=pci:8086-0102-8086-2010
Last edited by grahamperrin on Sat May 08, 2021 8:04 pm, edited 1 time in total.
grahamperrin
Posts: 105
Joined: Sun Sep 04, 2016 6:06 am

Single user mode, kldload radeonkms

Post by grahamperrin »

Try:
  1. when the GhostBSD menu appears
  2. key 7
  3. key 5
  4. key Return (to boot in single user mode)
  5. Return (for /bin/sh)
  6. kldload radeonkms
  7. Return
  8. exit (type the word)
  9. Return
CyBear
Posts: 11
Joined: Fri Apr 23, 2021 10:37 am

Re: Single user mode, kldload radeonkms

Post by CyBear »

grahamperrin wrote: Sat May 08, 2021 8:03 pm Try:
  1. when the GhostBSD menu appears
  2. key 7
  3. key 5
  4. key Return (to boot in single user mode)
  5. Return (for /bin/sh)
  6. kldload radeonkms
  7. Return
  8. exit (type the word)
  9. Return
Hi,
@grahamperrin
Thanks again for your guidance.
When I try to boot in single user mode in step when I should enter pathname of shell weather i stick with /rescue/sh or type /bin/sh i get the following
cannot read termcap database;
using dumb terminal settings.

After that I tried to use kldload radeonkms but i get:
kldload: can't load radeonkms: No such file or directory

I stumbled upon https://bugs.freebsd.org/bugzilla/show_ ... ?id=247112
grahamperrin
Posts: 105
Joined: Sun Sep 04, 2016 6:06 am

Single user mode

Post by grahamperrin »

Sorry, my mistake. (I thought I tested the steps with an ISO, in retrospect it seems that I tested the steps with an installation.)
Post Reply