NetBSD-Bugs archive

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

port-macppc/44895: ofwboot.xcf from current cannot boot system

>Number:         44895
>Category:       port-macppc
>Synopsis:       ofwboot.xcf from current cannot boot system
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    port-macppc-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Apr 22 14:50:01 +0000 2011
>Originator:     Julio Merino
>Release:        NetBSD 5.99.49
System: NetBSD 5.99.49 NetBSD 5.99.49 (GENERIC) #1: Sun Apr 
17 08:45:23 IST 2011
Architecture: powerpc
Machine: macppc
        The ofwboot.xcf that is currently in -current cannot boot a system
        on, at least, the Mac Mini G4 I have.  Using the ofwboot.xcf from
        NetBSD 5.1 (with the same kernel) works just fine.

        I have the following partition scheme (from pdisk):

        Partition map (with 512 byte blocks) on '/dev/wd0c'
         #:                type name      length   base      ( size )
         1: Apple_partition_map Apple         63 @ 1        
         2:           Apple_HFS Boot      204800 @ 64        (100.0M)
         3:     Apple_UNIX_SVR2 Swap     4194304 @ 204864    (  2.0G) S1  SFS 
k0  (swap)
         4:     Apple_UNIX_SVR2 Root   151902320 @ 4399168   ( 72.4G) S0 RUFS 
k0  /

        Device block size=512, Number of Blocks=156301488 (74.5G)
        DeviceType=0x0, DeviceId=0x0

        The following OF commands boot the system fine when I use the
        ofwboot.xcf from 5.1:

        boot hd:,\ofwboot-5.xcf netbsd
        boot hd:,\ofwboot-5.xcf hd:4,/netbsd

        However, these same commands fail miserably with the ofwboot.xcf
        from current.  They are able to locate the kernel, but as soon as
        the kernel starts, it either panics or the machine reboots.  An
        example of the output I see sometimes:

        No ADB support present, assuming USB keyboard
        trap: kernel ISI by 0xff847288 (SRR1 0x40003030), lr: 0x1001bc
        panic: trap

        See this port-macppc thread for some extra details:
        Install NetBSD/macppc current on a Mac Mini G4 1.2Ghz, try to boot
        the kernel and see it fail.
        Unknown.  The code in ofwboot.xcf has changed significantly since
        the 5.1 release.


Home | Main Index | Thread Index | Old Index