NetBSD-Bugs archive

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

port-macppc/40051: powerbook g4/500 titanium problem with netbsd-5: fwohci



>Number:         40051
>Category:       port-macppc
>Synopsis:       powerbook g4/500 titanium with netbsd-5 kernel hangs up with 
>fwohci 'support'
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-macppc-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Nov 28 09:25:00 +0000 2008
>Originator:     Markus W Kilbinger
>Release:        NetBSD 5.0_BETA
>Organization:
>Environment:
        
        
System: NetBSD 5.0_BETA (GENERIC) #0: Wed Nov 26 10:23:09 PST 2008  
builds@wb27:/home/builds/ab/netbsd-5/macppc/200811260002Z-obj/home/builds/ab/netbsd-5/src/sys/arch/macppc/compile/GENERIC
 macppc
Architecture: powerpc
Machine: macppc
>Description:
        On my powerbook g4/500 titanium installed with a netbsd-4
        userland (and kernel for normal use) I tried to boot/use an
        actual netbsd-5 kernel (see above) and ran into an hangup
        during booting:

          [...]
          pchb2: Apple Computer UniNorth Host-PCI Bridge (rev. 0x00)
          fwohci0 at pci2 dev 14 function 0: Apple Computer product 0x0018 
(rev. 0x01)
          fwohci0: interrupting at irq 40
          fwohci0: OHCI version 1.0 (ROM=0)
          fwohci0: No. of Isochronous channels is 4.
          fwohci0: EUI64 00:30:65:xx:xx:xx:xx:xx
          fwohci0: Phy 1394a available S400, 1 ports.
          fwohci0: Link S400, max_rec 2048 bytes.
          ieee1394if0 at fwohci0: IEEE1394 bus
          [manually re-typed:]
          fwip0 at ieee1394if0: IP over IEEE1394
          fwohci0: Initiate bus reset
          gem0: ...
          gem0: ...
          bmtphy0: ...
          bmtphy0: ...
          gem0: Ethernet address ...
          biomask 8000ffe netmask 8000ffe ttymask 8000ffe
          fwohci0: BUS reset
          fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
          resCount=4080 plen=20 len=-4
          fwohci0: AR DMA status=8409,  skip buffer done
          ieee1394if0: 1 nodes, maxhop <= 0, Not found IRM capable node
          fwohci0: BUS reset
          uhub0 at usb0: Apple Computer OHCI root hub, class 9/0, rev 
1.00/1.00, addr 1
          uhub1 at usb1: Apple Computer OHCI root hub, class 9/0, rev 
1.00/1.00, addr 1
          [Hangup here!]

        'disable fwohci' with/in userconf(4) avoids this hangup and
        the system boots up normally.

        BTW: At kernel's userconf I tried

             uc> disable ieee1394if
             Unknown argument

             -> Another bug?

             uc> 'disable fwip'
             [205] fwip* disabled

             ... seems to work, but did not prevent the hangup.

        With the netbsd-4 kernel the fwohci output looks like:

          fwohci0 at pci2 dev 14 function 0: Apple Computer product 0x0018 
(rev. 0x01)
          fwohci0: interrupting at irq 40
          fwohci0: OHCI version 1.0 (ROM=0)
          fwohci0: No. of Isochronous channels is 4.
          fwohci0: EUI64 00:30:65:xx:xx:xx:xx:xx
          fwohci0: Phy 1394a available S400, 1 ports.
          fwohci0: Link S400, max_rec 2048 bytes.
          ieee1394if0 at fwohci0: IEEE1394 bus
          fwip0 at ieee1394if0: IP over IEEE1394
          fwohci0: Initiate bus reset
          gem0 at pci2 dev 15 function 0: Apple Computer GMAC Ethernet (rev. 
0x01)
          gem0: interrupting at irq 41
          bmtphy0 at gem0 phy 0: BCM5221 10/100 media interface, rev. 3
          bmtphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
          gem0: Ethernet address 00:30:65:xx:xx:xx, 10KB RX fifo, 4KB TX fifo
          timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
          timecounter: Timecounter "mftb" frequency 24966218 Hz quality 100
          resCount=4080 plen=20 len=-4
          fwohci0: AR DMA status=8409,  skip buffer done
          fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
          ieee1394if0: 1 nodes, maxhop <= 0, Not found IRM capable node

        ... during a normal/successful boot.

        I do not use the fwohci functionality of my powerbook (yet), I
        just ran into the hangup while trying to boot the netbsd-5
        kernel.

>How-To-Repeat:
        Boot a netbsd-5/5.0_BETA kernel on a powerbook g4/500 titanium
        and see how it hangs up.
>Fix:
        Unknown.

>Unformatted:
        
        


Home | Main Index | Thread Index | Old Index