povverty Posted September 16, 2009 Share Posted September 16, 2009 When I try to boot the prepared 10.6 installer (booting with latest chameleon, patched dsdt in place) on my POV-ION-330 board (same as PEGATRON), I get a kernel panic and "should have 2 cores, but only found 1". I had the same problem with 10.5, but it could be fixed with cpus=2. With 10.6 it seems to have no effect. any ideas EDIT: Kernel panic fixed by decompiling the dsdt.aml, removing P003, P004 and the CPU aliases and recompiling dsdt_pov330.zip EDIT2: fixed Ethernet connection problem by installing the driver from this thread http://www.insanelymac.com/forum/index.php?showtopic=125569 (remove nvenet.kext from /System/Library/Extensions/IONetworkingFamily.kext/Contents/PlugIns/ and put nForceLAN.kext there - could not get it running via /Extra/) Link to comment https://www.insanelymac.com/forum/topic/187063-kernel-panic-while-booting-installer-on-atom-330-board-solved/ Share on other sites More sharing options...
shoarthing Posted September 16, 2009 Share Posted September 16, 2009 When I try to boot the prepared 10.6 installer (booting with latest chameleon, patched dsdt in place) on my POV-ION-330 board (same as PEGATRON), I get a kernel panic and "should have 2 cores, but only found 1". I had the same problem with 10.5, but it could be fixed with cpus=2. With 10.6 it seems to have no effect. any ideas This error comes from AppleACPICPU - yes? . . if so, you need both a patched dsdt.aml [with CPU alias' removed] & to have disabled HTT in your BIOS. Here's a link to a report to the Voodoo kernel team [you get this message with all kernels after 10.5.6] . . . in there are further links to other reports from Atom 330 users. Link to comment https://www.insanelymac.com/forum/topic/187063-kernel-panic-while-booting-installer-on-atom-330-board-solved/#findComment-1269302 Share on other sites More sharing options...
povverty Posted September 16, 2009 Author Share Posted September 16, 2009 The kernel trace looks similar to the photo in the link you provided - so yes it seems to be the same problem. What puzzles me ist that I am able to boot a stock 10.5.8 kernel with cpus=2 and my patched dsdt but found no way to boot the 10.6 kernel with a similar trick. My problem is that my BIOS has no option to disable hyperthreading - so I cannot test that :-( Link to comment https://www.insanelymac.com/forum/topic/187063-kernel-panic-while-booting-installer-on-atom-330-board-solved/#findComment-1269359 Share on other sites More sharing options...
shoarthing Posted September 17, 2009 Share Posted September 17, 2009 The kernel trace looks similar to the photo in the link you provided - so yes it seems to be the same problem. What puzzles me ist that I am able to boot a stock 10.5.8 kernel with cpus=2 and my patched dsdt but found no way to boot the 10.6 kernel with a similar trick. My problem is that my BIOS has no option to disable hyperthreading - so I cannot test that :-( . . . suggest you edit the dsdt to remove the HTT "CPU's" - these may be numbers 1 & 3 but you'll have to use trial & error. Failing that . . well, I have read reports [take pinch of salt to taste] that flags such as: cpus=3 might work . . . me I'd nag POV support to provide a customer BIOS with HTT Enable/Disable feature - say you are using "Darwin" as your OS & they may well understand. Link to comment https://www.insanelymac.com/forum/topic/187063-kernel-panic-while-booting-installer-on-atom-330-board-solved/#findComment-1269635 Share on other sites More sharing options...
povverty Posted September 17, 2009 Author Share Posted September 17, 2009 I decompiled the dstl.aml, removed P002 P004 and the Alias and compiled again. The result is that I get no error but hang at "using 16384 buffer headers and 4096 cluster IO buffer headers" (I think the same behaviour as when providing no dsdt.aml at all). I might have to wait for PEGATRON or POV to provide a new BIOS { Processor (P001, 0x01, 0x00004010, 0x06) {} Processor (P002, 0x02, 0x00000000, 0x00) {} Alias (P002, CPU2) Processor (P003, 0x03, 0x00000000, 0x00) {} Processor (P004, 0x04, 0x00000000, 0x00) {} Alias (P004, CPU4) } Link to comment https://www.insanelymac.com/forum/topic/187063-kernel-panic-while-booting-installer-on-atom-330-board-solved/#findComment-1269773 Share on other sites More sharing options...
shoarthing Posted September 17, 2009 Share Posted September 17, 2009 . . what happens if you remove all CPU instances bar the first one? . . & don't wait for Pegatron/POV - nag 'em [politely] - you've paid for a mobo which doesn't work with your OS of choice & it is their responsibility to fix this: making a custom AMI BIOS is pretty trivial if you have the toolkit. Link to comment https://www.insanelymac.com/forum/topic/187063-kernel-panic-while-booting-installer-on-atom-330-board-solved/#findComment-1269844 Share on other sites More sharing options...
Hugo_bee Posted September 17, 2009 Share Posted September 17, 2009 interesting.. i'm searching a solution too why not injecting p anc c state from linux ssdt table? Link to comment https://www.insanelymac.com/forum/topic/187063-kernel-panic-while-booting-installer-on-atom-330-board-solved/#findComment-1269856 Share on other sites More sharing options...
povverty Posted September 17, 2009 Author Share Posted September 17, 2009 . . what happens if you remove all CPU instances bar the first one? then... it works! I got to the install screen - and even booting with usb 2.0 enabled seems to work. OFFTOPIC: I didnt know however that a GUID partition table is a requirement. so I cannot get further now (or is it possible to create a GUID partition table without loosing data? I have a 300G linux partition that I dont want to loose.... Link to comment https://www.insanelymac.com/forum/topic/187063-kernel-panic-while-booting-installer-on-atom-330-board-solved/#findComment-1269861 Share on other sites More sharing options...
shoarthing Posted September 17, 2009 Share Posted September 17, 2009 then... it works! I got to the install screen - and even booting with usb 2.0 enabled seems to work. OFFTOPIC: I didnt know however that a GUID partition table is a requirement. so I cannot get further now (or is it possible to create a GUID partition table without loosing data? I have a 300G linux partition that I dont want to loose.... . . you can make [or search for & d/l] a hacked 'osinstall.mpkg' which'll allow installation onto MBR-partitioned disks. Glad the dsdt hack worked; but we'll need to see whether this in fact gives you 2x real cores, each w/ 512KB of L2 cache, or just the first Atom core plus its HTT echo. Please report on this Link to comment https://www.insanelymac.com/forum/topic/187063-kernel-panic-while-booting-installer-on-atom-330-board-solved/#findComment-1269871 Share on other sites More sharing options...
povverty Posted September 17, 2009 Author Share Posted September 17, 2009 . . you can make [or search for & d/l] a hacked 'osinstall.mpkg' which'll allow installation onto MBR-partitioned disks. Ok, that did the trick - thanks! Installation took really long, but it worked. Glad the dsdt hack worked; but we'll need to see whether this in fact gives you 2x real cores, each w/ 512KB of L2 cache, or just the first Atom core plus its HTT echo. Please report on this system profiler reports one cpu with one core. I dont know about better ways to check it like cat /proc/cpuinfo in linux. What works: - nvidia graphics with dvi out - sleep - usb 2.0 (sometimes) What does not: - second cpu core - hyperthreading - audio - ethernet (detected but no link) - usb 2.0 (sometimes) (i didnt try to fix anything yet - just glad that it works now - at least to some degree) Link to comment https://www.insanelymac.com/forum/topic/187063-kernel-panic-while-booting-installer-on-atom-330-board-solved/#findComment-1270340 Share on other sites More sharing options...
shoarthing Posted September 19, 2009 Share Posted September 19, 2009 Are you disabling AppleIntelCPUPowerManagement - using, say, NullCPUPowerManagement.kext from/Extra/Extensions? . . if so, you *should* be able to edit out from your dsdt the 2 HTT 'cores' - leaving the 2 actual cores from your Atom 330 ugokind [re: inserting power-states] this may well be an avenue worth looking at; to your knowledge has anyone got injected powerstates to work with this CPU? Link to comment https://www.insanelymac.com/forum/topic/187063-kernel-panic-while-booting-installer-on-atom-330-board-solved/#findComment-1272829 Share on other sites More sharing options...
povverty Posted September 19, 2009 Author Share Posted September 19, 2009 Are you disabling AppleIntelCPUPowerManagement - using, say, NullCPUPowerManagement.kext from/Extra/Extensions? I used the Disabler from Chameleon 2.0-RC3 . . if so, you *should* be able to edit out from your dsdt the 2 HTT 'cores' - leaving the 2 actual cores from your Atom 330 At least it did not work to remove cpu 2 and 4 while leaving 1 and 3 intact. I could try to remove 3 and 4 and leave 1 and 2 intact.... Link to comment https://www.insanelymac.com/forum/topic/187063-kernel-panic-while-booting-installer-on-atom-330-board-solved/#findComment-1272874 Share on other sites More sharing options...
shoarthing Posted September 19, 2009 Share Posted September 19, 2009 I used the Disabler from Chameleon 2.0-RC3 At least it did not work to remove cpu 2 and 4 while leaving 1 and 3 intact. I could try to remove 3 and 4 and leave 1 and 2 intact.... . . . check in its plist that this 'disabler.kext' is not the upstreamclient disabler [you probably need this as well]. There's a useful repository of SL kexts in Stellarols's blog. Link to comment https://www.insanelymac.com/forum/topic/187063-kernel-panic-while-booting-installer-on-atom-330-board-solved/#findComment-1272894 Share on other sites More sharing options...
povverty Posted September 19, 2009 Author Share Posted September 19, 2009 . . . check in its plist that this 'disabler.kext' is not the upstreamclient disabler [you probably need this as well]. Yes, the disabler I am using disables AppleIntelCPUPowerManagement removing cpu 3 and 4 from the dsdt worked. Now SL reports 1 cpu with 2 cores. I hope the second is a real core, not the hyperthreading fake core. Link to comment https://www.insanelymac.com/forum/topic/187063-kernel-panic-while-booting-installer-on-atom-330-board-solved/#findComment-1272953 Share on other sites More sharing options...
shoarthing Posted September 19, 2009 Share Posted September 19, 2009 Yes, the disabler I am using disables AppleIntelCPUPowerManagement removing cpu 3 and 4 from the dsdt worked. Now SL reports 1 cpu with 2 cores. I hope the second is a real core, not the hyperthreading fake core. . . . what I'm looking at in System Profiler in 10.6.1 w/ HTT disabled says: "L2 cache (per core) 512KB" Link to comment https://www.insanelymac.com/forum/topic/187063-kernel-panic-while-booting-installer-on-atom-330-board-solved/#findComment-1273024 Share on other sites More sharing options...
povverty Posted September 19, 2009 Author Share Posted September 19, 2009 . . . what I'm looking at in System Profiler in 10.6.1 w/ HTT disabled says: "L2 cache (per core) 512KB" same here. seems to work Link to comment https://www.insanelymac.com/forum/topic/187063-kernel-panic-while-booting-installer-on-atom-330-board-solved/#findComment-1273433 Share on other sites More sharing options...
Recommended Posts