PowerBook 12" hangs right after attaching ams0

Ed Schouten ed at 80386.nl
Thu Oct 30 10:18:33 PDT 2008


* Nathan Whitehorn <nwhitehorn at freebsd.org> wrote:
> Ed Schouten wrote:
>> Hello Nathan,
>>
>> * Nathan Whitehorn <nwhitehorn at freebsd.org> wrote:
>>> Drat. Could you try the patch at
>>> http://people.freebsd.org/~nwhitehorn/adb-delayed-attach.diff?
>>
>> After applying the patch, it still gets stuck during boot.
>
> Could you try the latest HEAD? I poked around at my machines this  
> morning to try to make them hang, succeeded, and then fixed some  
> problems that make mouse probes hang after the keyboard is probed  
> successfully.

I will. Unfortunately I have to compile some things first, so I'll get
back to you on that.

>> There are some random things I still have to look into:
>>
>> - I've dd'd the boot loader to /dev/ad0s2, but for some reason my Mac
>>   still refuses to boot from it.
>
> What is the partition type (gpart show) for ad0s2? I think it might need  
> to be set to !Apple_Bootstrap. The partition size may also need to be  
> exactly 800K. You should be able to change both of these things with the  
> system up, though you might need to enable foot shooting in geom.

Even after shrinking the partition to exactly 1600 sectors and using
!Apple_Bootstrap, it still doesn't work. Output of `gpart show' below:

| =>       10  117210230  ad0  APM  (60.0GB)
|          10         54       - free -  (27.6KB)
|          64       1600    1  !Apple_Bootstrap  (819.2KB)
|        1664        448       - free -  (229.4KB)
|        2112     524288    2  !Apple_UNIX_SVR2  (268.4MB)
|      526400    2097152    3  !Apple_UNIX_SVR2  (1073.7MB)
|     2623552     524288    4  !Apple_UNIX_SVR2  (268.4MB)
|     3147840     524288    5  !Apple_UNIX_SVR2  (268.4MB)
|     3672128   16777216    6  !Apple_UNIX_SVR2  (8.6GB)
|    20449344   96760896    7  !Apple_UNIX_SVR2  (49.5GB)

When I boot my system, I first get the classic folder icon with the
question mark in it. After a couple of seconds, I end up in the Open
Firmware console.

Thanks for your help so far!

-- 
 Ed Schouten <ed at 80386.nl>
 WWW: http://80386.nl/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ppc/attachments/20081030/6ebecf3d/attachment.pgp


More information about the freebsd-ppc mailing list