Port-macppc archive

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

Re: Problems boot netbsd after installation



Hello Michael,

sorry, take a little bit longer. But now is weekend and enclosed you'll find 
the dump results of my machine. Type it from screen and doubble check it, but 
if something seems wrong, came back and let me check again, please.

Apple PowerBook G3 (FireWire) aka Pismo, Family Number M7572, Production 2000-02
PPC 750@400MHz 1MB Cache (alias G3)
RAM Slot-0: 256 MB SD-RAM 100 MHz
    Slot-1: 128 MB SD-RAM 100 MHz       
8MB Video RAM, ATI GFX (AGP)
DVD-ROM

I'm really interested in learning more about NetBSD kernel programming. May it 
possible, that you provide me information, what source-code files will be 
change in this case, so I'm able to follow this, plaese? If you need someone to 
test the changes, don't hesitate to contact me.

Regards
kug1977


#pcictl pci0 list
000:11:0: Apple Computer UniNorth AGP Interface (host bridge)
000:16:0: ATI Technologies Rage Mobility M3 (AGP) (VGA display, revision 0x02)

#pcictl pci1 list
000:11:0: Apple Computer UniNorth Host-PCI Bridge (host bridge)
000:23:0: Apple Computer KeyLargo I/O Controller (undefined subclass 0x00, 
revision 0x03)
000:24:0: Apple Computer KeyLargo USB Controller (USB serial bus, interface 
0x10)
000:25:0: Apple Computer KeyLargo USB Controller (USB serial bus, interface 
0x10)
000:26:0: Texas Instruments PCI1211 PCI-CardBus Bridge (CardBus bridge)

#pcictl pci2 list
000:11:0: Apple Computer UniNorth Host-PCI Bridge (host bridge)
000:14:0: Apple Computer product 0x0018 (Firewire serial bus, interface 0x10, 
revision 0x01)
000:15:0: Apple Computer GMAC Ethernet (ethernet network, revision 0x01)

#pcictl pci2 dump -d 14
PCI configuration registers:
        Common header:
        0x00: 0x0018106b 0x02200016 0x0c001001 0x00001008

        Vendor Name: Apple Computer (0x106b)
        Device ID: 0x0018
        Command register: 0x0016
        I/O space access: off
        Memory space access: on
        Bus mastering: on
        Special cycles: off
        MWI transactions: on
        Palette snooping: off
        Parity error checking: off
        Address/data stepping: off
        System err (SERR): off
        Fast back-to-back transactions: off
        Interrupt disable: off
   Status register: 0x0220
        Capability List support: off
        66 MHz capable: on
        User Definable Features (UDF) support: off
        Fast back-to-back capable: off
        Data parity error detected: off
        DEVSEL timing: medium (0x1)
        Slave signaled Target abort: off
        Master received Target abort: off
        Master received Master abort: off
        Assert System Error (SERR): off
        Parity error detected: off
   Class Name: serial bus (0x0c)
   Subclass Name: Firewire (0x00)
   Interface: 0x10
   Revision ID: 0x01
   BIST: 0x00
   Header Type: 0x0 (0x00)
   Latency Timer: 0x10
   CAche Line Size: 0x08

Type 0 ("normal" device) header:
   0x10: 0xf5000000 0x00000000 0x00000000 0x00000000 
   0x20: 0x00000000 0x00000000 0x00000000 0x00000000 
   0x30: 0x00000000 0x00000000 0x00000000 0x04030128

   Base address register at 0x10
        type: 32-bit nonprefetchable memory
        base: 0xf5000000, not sized
   Base address register at 0x14
        not implemented(?)
   Base address register at 0x18
        not implemented(?)
   Base address register at 0x1c
        not implemented(?)
   Base address register at 0x20
        not implemented(?)
   Base address register at 0x24
        not implemented(?)
   Cardbus CIS Pointer: 0x00000000
   Subsystem vendor ID: 0x0000
   Subsystem ID: 0x0000
   Expansion ROM Base Adress: 0x00000000
   Reserved @ 0x34: 0x00000000
   Reserved @ 0x38: 0x00000000
   Maximum Latency: 0x04
   Minimum Grant: 0x03
   Interrupt pin: 0x01 (pin A)
   Interrupt line: 0x28

Device-dependent header:
   0x40: 0x00000000 0x00000000 0x00000000 0x00000000
   0x50: 0x00000000 0x00000000 0x00000000 0x00000000
   0x60: 0x00000000 0x00000000 0x00000000 0x00000000
   0x70: 0x00000000 0x00000000 0x00000000 0x00000000
   0x80: 0x00000000 0x00000000 0x00000000 0x00000000
   0x90: 0x00000000 0x00000000 0x00000000 0x00000000
   0xa0: 0x00000000 0x00000000 0x00000000 0x00000000
   0xb0: 0x00000000 0x00000000 0x00000000 0x00000000
   0xc0: 0x00000000 0x00000000 0x00000000 0x00000000
   0xd0: 0x00000000 0x00000000 0x00000000 0x00000000
   0xe0: 0x00000000 0x00000000 0x00000000 0x00000000
   0xf0: 0x00000000 0x00000000 0x00000000 0x00000000


Am 26.01.2010 um 08:03 schrieb Michael:
> Hello,
> 
> On Jan 26, 2010, at 1:49 AM, kug1977 wrote:
> 
>> thank a lot. This was a great break breakthrough.
> 
> Please mail me the pcictl dump output for this firewire controller so we can 
> hopefully avoid this problem in the future without breaking firewire support 
> where it actually works.
> 
> pcictl pci0 list will list all devices on pci0, pcictl pci0 dump -d x will 
> dump device x's configuration space.
> 
> have fun
> Michael
> 
>> Am 25.01.2010 um 22:59 schrieb Michael:
>>> 
>>> Hello,
>>> 
>>> On Jan 25, 2010, at 4:23 PM, kug1977 wrote:
>>> 
>>>> I've the following problems to boot netbsd-GENERIC.gz or 
>>>> netbsd-GENERIC_MD.gz kernels on a Apple PowerBook G3 (pismo), 384 MD RAM, 
>>>> 30 GB HD.
>>>> 
>>>> I was able to install netbsd without any problems from NetBSD 5.0.1 and 
>>>> copy the both netbsd-GENERIC kernels to HFS boot-partition. Starting the 
>>>> kernel from OF isn't a problem, but than the kernel hangs.
>>>> 
>>>> First time after
>>>> 
>>>> 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 mode
>>>> fwohci0: BUS reset
>>>> uhub0 at usb0: Apple Computer OHCI root hub, class 9/0, rev 1.00/1.00, 
>>>> addr 1
>>>> uhub1 at usb0: Apple Computer OHCI root hub, class 9/0, rev 1.00/1.00, 
>>>> addr 1
>>>> 
>>>> Sometimes it hangs after recognizing KBD and MICE but it never come to an 
>>>> end. Can anybody say, what's to do, please. I like to run the new NetBSD 
>>>> on this machine.
>>> 
>>> I vaguely remember trouble like this with the Firewire controllers used in 
>>> G3 Powerbooks ( bus probe would take bloody ages or never finish ) - the 
>>> INSTALL kernel works because it doesn't have firewire support built in. 
>>> Unfortunately I don't have the hardware to investigate - the onboard 
>>> firewire controllers used in G4 hardware work fine and so does the one on a 
>>> PCI card in my beige G3 :/
>>> 
>>> You can disable the firewire driver by booting with -c ( as in boot 
>>> <whatever>netbsd -c ) and then 'disable fwohci'.
>>> 
>>> This should at least get the kernel to boot.
>>> 
>>> have fun
>>> Michael



Home | Main Index | Thread Index | Old Index