Jump to content

fluid | fixed

<~--OSX Flags List for Darwin Bootloader & kernel level--~>


  • Please log in to reply
59 replies to this topic

#21
00diabolic

00diabolic

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 812 posts
  • Gender:Male
  • Interests:Modding anything.

View Postmwtnzb, on Apr 29 2008, 12:36 PM, said:

Very Handy.

Mucho Thanks.


No problem. Now If I could only get this sticked somewhere. It would I'm sure reach a lot more people.

#22
Hagar

Hagar

    Project Dogsbody

  • Administrators
  • 2,352 posts
  • Location:Over the hills &amp; far away
thought this might be useful

http://forum.insanel...showtopic=38172

#23
00diabolic

00diabolic

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 812 posts
  • Gender:Male
  • Interests:Modding anything.

View PostHagar, on Apr 30 2008, 11:30 AM, said:

thought this might be useful

http://forum.insanel...showtopic=38172

Thanks Hager. I never knew about some of those flags.. not the most useful ones but I added them to my list. All the hacked kernel flags are under there own group now.

Do you think we can get this topic sticked in this thread now?

#24
lordzed

lordzed

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 3 posts
  • Gender:Male
  • Location:US
Thanks for the flag info.

#25
00diabolic

00diabolic

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 812 posts
  • Gender:Male
  • Interests:Modding anything.

View Postlordzed, on May 3 2008, 12:34 AM, said:

Thanks for the flag info.

NP.. Hey didn't you post here already. What happened to that post? It seems to have disappeared along with some others two. Weird.

Ahhh Well...

This took me a while to comprise.. Sure hope people here dont let this topic die.

MasterofComputers said:

Nice guide on the Darwin Bootloader. I finally got around to reading it and found it quite useful. Don't worry, Mebster will sticky it for you eventually if you ask, as he is a pretty kind mod :)

Regards,

MoC

Your welcome.

#26
knewsom

knewsom

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 291 posts
EXCELLENT, I'm going to print this and stash it in my desk drawer.  MODS, please sticky this!!!  :P

#27
00diabolic

00diabolic

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 812 posts
  • Gender:Male
  • Interests:Modding anything.

View Postknewsom, on May 4 2008, 09:31 PM, said:

EXCELLENT, I'm going to print this and stash it in my desk drawer.  MODS, please sticky this!!!  :)

Glad they helped.

I added a lot more flags to the list. I have no idea how many of them work in OSX but hopefully they help some AMD users and others that have CPU issues. I really need some feedback on them to improve the info.

#28
Hagar

Hagar

    Project Dogsbody

  • Administrators
  • 2,352 posts
  • Location:Over the hills &amp; far away
If you spent half as much time correcting & improving this topic as you do in hassling for it to be stickied, it might be worth stickying.

btw:

afaik:

Quote

Platform= this parameter sets the platform to use at this boot time.

Examples of this flag are:

platform=ACPI (ACPI support)
platform=X86PC (non ACPI support)

only existed in the DTK versions of 10.4.1 -> 10.4.3

and this:

Quote

platform=ACPI|86PC (try to support ACPI if fails do not support it)

um.. looks like someone saw a description of the flag with options separated by | & took a wild guess?

#29
00diabolic

00diabolic

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 812 posts
  • Gender:Male
  • Interests:Modding anything.

View PostHagar, on May 17 2008, 10:23 AM, said:

If you spent half as much time correcting & improving this topic as you do in hassling for it to be stickied, it might be worth stickying.

Ahhh well I need feedback on those new flags. I dont have an AMD system to even try the AMD ones on. Plus How can you confirm they only work in tiger like you say? I know some of the flags kernel specific but I have never seen evidence that they are version specific. If I get the feedback or find more info I'll go through and separate at that level also.

& Actually your wrong about:

Quote

Platform= this parameter sets the platform to use at this boot time.

Examples of this flag are:

platform=ACPI (ACPI support)
platform=X86PC (non ACPI support)

only existed in the DTK versions of 10.4.1 -> 10.4.3  IS INCORRECT. I have used and so have others used the x86pc flag with leopard.

#30
Superhai

Superhai

    InsanelyMac Legend

  • Retired Developers
  • 1,425 posts
These are all options which exists in the kernel source and I also included from boot source. Any other flags will not be used by the vanilla kernel.

Kernel:

dtrace_dof_mode
DisableFBT
IgnoreFBTBlacklist
-s
-b
-x
-l
srv
ncl
nbuf
kmem
trace
msgbuf
rp
mcache_flags
mbuf_debug
initmcl
socket_debug
net_affinity
rte_debug
-rwroot_hack
keepsyms
mseg
dart
io
debug
nvram_paniclog
pmsafe_debug
preempt
unsafe
poll
yield
idlehalt
panic_io_port
_fpu
diag
serial
maxmem
himemory_mode
immediate_NMI
-legacy
lcks
novmx
max_valid_dma_addr
maxbouncepool
maxloreserve
mtxspin
npvhash
wpkernel
-no_shared_cr3
-pmap_trace
_panicd_ip
_router_ip
panicd_port
-zc
cpus
vmmforce
zsize
colors
fill
serialbaud
net_affinity
rte_debug

Darwin booter:

"Graphics Mode"
"Text Mode"
"Boot Graphics"
"Quiet Boot"
"Kernel Flags"
"MKext Cache"
"Kernel"
"Kernel Cache"
"Boot Device"
"Timeout"
"rd"
"boot-uuid"
"platform"
"acpi"
"CD-ROM Prompt"
"CD-ROM Option Key"

"-v"
"-x"
"-f"
"-F"
"-s"
?video
?memory

#31
00diabolic

00diabolic

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 812 posts
  • Gender:Male
  • Interests:Modding anything.

View PostSuperhai, on May 18 2008, 12:06 PM, said:

These are all options which exists in the kernel source and I also included from boot source. Any other flags will not be used by the vanilla kernel.

Kernel:

dtrace_dof_mode
DisableFBT
IgnoreFBTBlacklist
-s
-b
-x
-l
srv
ncl
nbuf
kmem
trace
msgbuf
rp
mcache_flags
mbuf_debug
initmcl
socket_debug
net_affinity
rte_debug
-rwroot_hack
keepsyms
mseg
dart
io
debug
nvram_paniclog
pmsafe_debug
preempt
unsafe
poll
yield
idlehalt
panic_io_port
_fpu
diag
serial
maxmem
himemory_mode
immediate_NMI
-legacy
lcks
novmx
max_valid_dma_addr
maxbouncepool
maxloreserve
mtxspin
npvhash
wpkernel
-no_shared_cr3
-pmap_trace
_panicd_ip
_router_ip
panicd_port
-zc
cpus
vmmforce
zsize
colors
fill
serialbaud
net_affinity
rte_debug

Darwin booter:

"Graphics Mode"
"Text Mode"
"Boot Graphics"
"Quiet Boot"
"Kernel Flags"
"MKext Cache"
"Kernel"
"Kernel Cache"
"Boot Device"
"Timeout"
"rd"
"boot-uuid"
"platform"
"acpi"
"CD-ROM Prompt"
"CD-ROM Option Key"

"-v"
"-x"
"-f"
"-F"
"-s"
?video
?memory

Superhai WoW Thanks for the info, but any clue what some of these do? I tried googling the ones not included in my original list but didn't get much. I will have to over hall my list with this information but I do not want to add flags that I have no idea what they do.

These are just a few of the ones I have no info on:
dtrace_dof_mode
DisableFBT
IgnoreFBTBlacklist
-b

Can you tell me where you got this list and if there are descriptions available anywhere?

#32
Chrysaor

Chrysaor

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 523 posts
  • Gender:Male
I doubt platform option has much affect, if any.

If you look at netkas' PC_EFI boot arguments, it is actually misspelled..

kern.bootargs: boot-uuid=<...> rd=*uuid platfomr=ACPI


#33
Guest: BuildSmart_*

Guest: BuildSmart_*
  • Guests

View PostChrysaor, on May 19 2008, 08:59 PM, said:

I doubt platform option has much affect, if any.

If you look at netkas' PC_EFI boot arguments, it is actually misspelled..

kern.bootargs: boot-uuid=<...> rd=*uuid platfomr=ACPI
now that's funny....

#34
00diabolic

00diabolic

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 812 posts
  • Gender:Male
  • Interests:Modding anything.

View PostChrysaor, on May 19 2008, 08:59 PM, said:

I doubt platform option has much affect, if any.

If you look at netkas' PC_EFI boot arguments, it is actually misspelled..

kern.bootargs: boot-uuid=<...> rd=*uuid platfomr=ACPI

It does have an affect for me it breaks things. I lose sound and shutdown using it. However other users (AMD) got there fans to work using it. There is no question it is a worth while flag for some users.

Thats why there needs to be more research on what all of these flags do (minus the obvious ones). I have done a lot of searching and cant find that data on all of them though, just bits and pieces. If its out there its not easy to find. I need the community to help me here. I will over hall the list again when Superhai gets back to me with the flag data he finds. Even having users who test random flags would help.

#35
Hagar

Hagar

    Project Dogsbody

  • Administrators
  • 2,352 posts
  • Location:Over the hills &amp; far away

View Post00Diabolic, on May 21 2008, 06:13 PM, said:

Thats why there needs to be more research on what all of these flags do (minus the obvious ones). I have done a lot of searching and cant find that data on all of them though, just bits and pieces. If its out there its not easy to find. I need the community to help me here. I will over hall the list again when Superhai gets back to me with the flag data he finds. Even having users who test random flags would help.

Let me get this straight, you've started this list, harassed people all over the place to get it stickied, touted it as "the only complete list anywhere" and now that you realise that it may involve something more than just pasting together hearsay you want *others* to do all the research for you?

Just what resources do you think the other members here have that you don't?

#36
00diabolic

00diabolic

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 812 posts
  • Gender:Male
  • Interests:Modding anything.

View PostHagar, on May 21 2008, 12:30 PM, said:

Let me get this straight, you've started this list, harassed people all over the place to get it stickied, touted it as "the only complete list anywhere" and now that you realise that it may involve something more than just pasting together hearsay you want *others* to do all the research for you?

Just what resources do you think the other members here have that you don't?

Man Hager, you were helpful once and now your just being :construction: mean. I CHALLENGE you to find a better list. I have tried you :censored2:  :censored2: :censored2: :censored2:. Yes you can find other lists but THEY dont have as many flags as mine or as much info. So this is the biggest list of complete and incomplete kernel flags ANYWHERE & it should be sticky but you saw to that NOT happening. Thanks Pal! If in fact you can find a more complete list I will bow to your knowledge. Until then either help or GO AWAY!  :P

Now I know & YOU know there are people that are part of this community that have knowledge about these flags. Superhai has proven that fact. I just need those folks to step up and help me fill in the blanks. Then the list can be completed and a lot more people will find it helpful.

Edit: I Overhauled the list. What does everyone think? There is still lots of information I need about a lot of the flags the Superhai gave me. Please feel free to post any information you may have.

THANKS ALL


#37
Ztardust

Ztardust

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 122 posts
  • Gender:Male
  • Location:Oslo
Great job 00Diabolic!

Very useful list.

#38
RxSx

RxSx

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 4 posts
Despite what some may think, I too have found this list useful.

Thanks 00diabolic!

#39
00diabolic

00diabolic

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 812 posts
  • Gender:Male
  • Interests:Modding anything.

View PostZtardust, on May 30 2008, 03:59 AM, said:

Great job 00Diabolic!

Very useful list.

View PostRxSx, on May 30 2008, 05:17 PM, said:

Despite what some may think, I too have found this list useful.

Thanks 00diabolic!

Your welcome guys. I'm glad its helpful.

Have either of you tested out some of those unknown flags?
Do either of you have any feedback about them?


#40
luismanson

luismanson

    InsanelyMac Protégé

  • Members
  • Pip
  • 30 posts
the uuid setting may be related to de boot device, as rd, but by uuid...
see Universally Unique Identifier - http://en.wikipedia.org/wiki/UUID





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2013 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   Web hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy