[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: PMU, was Re: d-i built (but not tested)



On Fri, 12 Aug 2011, Brad Boyer wrote:

> On Fri, Aug 12, 2011 at 10:37:20PM +1000, Finn Thain wrote:
> > It is wierd, but I think that the powerbook PMU chip will respond to 
> > certain CPU exceptions this way. I've seen powerbooks respond to 
> > initramfs like this before but I don't think I ever found out why.
> 
> The basic idea is that any time the PMU thinks you aren't following the 
> right communication protocol (including the timing between messages) it 
> will just shut off because it thinks the OS crashed. So if it is in a 
> multi-message handshake and something disables interrupts for too long, 
> the system will just power off.

So the solution would be to load the PMU driver earlier?


MacLinux

 vidaddr: 60000000
  _stext: 00001000
bootinfo: 00335000
   cpuid: 0000000A
 sccbase: 50F04000
ABCFGHIJK
Linux version 2.6.39-mac (fthain@nippy) (gcc version 4.4.6 (GCC) ) #6 Thu 
Aug 11 12:37:02 EST 2011
bootconsole [early0] enabled
Detected Macintosh model: 72
VIA1 at 50f00000 is a 6522 or clone
VIA2 at 50f02000 is a 6522 or clone
Apple Macintosh PowerBook 520
initrd: 021c2800 - 02400000
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 9135
Kernel command line: console=tty0 console=ttyS0 root=/dev/ram0
PID hash table entries: 256 (order: -2, 1024 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 30740k/30740k available (2372k kernel code, 3636k data, 116k init)
Killing onboard sonic... Done.
Console: colour dummy device 80x25
console [ttyS0] enabled, bootconsole disabled
console [ttyS0] enabled, bootconsole disabled
Calibrating delay loop... 26.31 BogoMIPS (lpj=131584)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
devtmpfs: initialized
NET: Registered protocol family 16
bio: create slab <bio-0> at 0
NuBus: Scanning NuBus slots.
SCSI subsystem initialized
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
Trying to unpack rootfs image as initramfs...

[machine powers down at this point]

Finn


Reply to: