Ultralinux archive on lore.kernel.org
 help / color / mirror / Atom feed
* Ultra4000 and kernel 2.4.0
@ 2001-01-25  7:33 Daz
  2001-01-25 13:52 ` David S. Miller
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Daz @ 2001-01-25  7:33 UTC (permalink / raw)
  To: ultralinux

I have installed redhat 62 on my smp ultra4000.  I needed to recompile the
kernel to get my soc drivers working (I had older firmware).  I managed to
extract (I believe) the firmware, and compile the kernel.  Unfortunately,
when I reboot to use the new kenrel (2.4.0 and 2.4.0ac9), I get this
error:

Remapping the kernel....done
Booting Linux...
sbus_apply_ranges: cannot find matching range nregs[1] nranges[3]
Program Terminated.



I have recompiled this kernel 15 times with smp trying different
settings.  I have
recompiled it 5 times specifying non-smp.  The same error every time.

I can boot with uni-and smp-kernels that come with rh6.2.

For the life of me, I cant figure out why this is happening.


Anyone have any ideas?

Thanks
David
-- 
"I find your lack of faith disturbing."
--Darth Vader

-
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@vger.kernel.org


-
To unsubscribe from this list: send the line "unsubscribe ultralinux" in
the body of a message to majordomo@vger.kernel.org

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Ultra4000 and kernel 2.4.0
  2001-01-25  7:33 Ultra4000 and kernel 2.4.0 Daz
@ 2001-01-25 13:52 ` David S. Miller
  2001-01-25 14:56 ` Daz
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: David S. Miller @ 2001-01-25 13:52 UTC (permalink / raw)
  To: ultralinux


Daz writes:
 > I can boot with uni-and smp-kernels that come with rh6.2.
 > 
 > For the life of me, I cant figure out why this is happening.

Sounds like a kernel bug.  To be honest none of the sparc64 developers
even have part-time access to any Ex000 systems so we never have any
idea whether those systems work with current kernels unless someone
like you actually tries it out. :-)  I personally have not touched
an Ex000 system for nearly 2 years now, to give you some idea.

Please send "prtconf -pv" output from the machine and we'll try
to figure out what might be wrong, but no promises.

Later,
David S. Miller
davem@redhat.com
-
To unsubscribe from this list: send the line "unsubscribe ultralinux" in
the body of a message to majordomo@vger.kernel.org

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Ultra4000 and kernel 2.4.0
  2001-01-25  7:33 Ultra4000 and kernel 2.4.0 Daz
  2001-01-25 13:52 ` David S. Miller
@ 2001-01-25 14:56 ` Daz
  2001-01-25 15:35 ` David S. Miller
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Daz @ 2001-01-25 14:56 UTC (permalink / raw)
  To: ultralinux

[-- Attachment #1: Type: TEXT/PLAIN, Size: 1108 bytes --]

On Thu, 25 Jan 2001, David S. Miller wrote:

> 
> Daz writes:
>  > I can boot with uni-and smp-kernels that come with rh6.2.
>  > 
>  > For the life of me, I cant figure out why this is happening.
> 
> Sounds like a kernel bug.  To be honest none of the sparc64 developers
> even have part-time access to any Ex000 systems so we never have any
> idea whether those systems work with current kernels unless someone
> like you actually tries it out. :-)  I personally have not touched

Im more than happy to work with the debuggin of these systems.  Sounds
like fun :)

> an Ex000 system for nearly 2 years now, to give you some idea.
> 
> Please send "prtconf -pv" output from the machine and we'll try
> to figure out what might be wrong, but no promises.
> 

I have attached the file to this email.  Would it help if I attached my
kernel config also?

Thanks,
David

> Later,
> David S. Miller
> davem@redhat.com
> -
> To unsubscribe from this list: send the line "unsubscribe ultralinux" in
> the body of a message to majordomo@vger.kernel.org
> 

-- 
"I find your lack of faith disturbing."
--Darth Vader

[-- Attachment #2: prtconf output --]
[-- Type: TEXT/plain, Size: 21518 bytes --]

System Configuration:  Sun Microsystems  sun4u
Memory size: 512 Megabytes
System Peripherals (PROM Nodes):

Node 0xf0029b68
    clock-frequency:  04e33880
    previous-reset-reason: 'S-POR'
    banner-name: '8-slot Sun Enterprise 4000/5000'
    idprom:  01800800.20804b3c.00000000.804b3ca9.00000000.00000000.00000000.00000000
    reset-reason: 'S-POR'
    fatal-reset-info:  00006000
    breakpoint-trap:  0000007f
    #size-cells:  00000002
    name: 'SUNW,Ultra-Enterprise'

    Node 0xf002cdf4
        name: 'packages'

        Node 0xf003649c
            iso6429-1983-colors:  
            name: 'terminal-emulator'

        Node 0xf0039208
            disk-write-fix:  
            name: 'deblocker'

        Node 0xf00398e4
            name: 'obp-tftp'

        Node 0xf00446cc
            name: 'disk-label'

    Node 0xf002ce64
        stdout:  ffdb3950
        stdin:  ffdb3b00
        eeprom:  f005dba0
        mmu:  fffea070
        memory:  fffea270
        bootargs:  00
        bootpath: '/sbus@3,0/SUNW,fas@3,8800000/sd@a,0:a'
        stdout-#lines:  00000022
        name: 'chosen'

    Node 0xf002ced0
        add-brd-supported-types: '014'
        version: 'OBP 3.2.28 2000/12/20 12:24'
        model: 'SUNW,3.2'
        decode-complete:  
        aligned-allocator:  
        relative-addressing:  
        name: 'openprom'

        Node 0xf002cf60
            name: 'client-services'

    Node 0xf002d008
        disabled-memory-list:  
        disabled-board-list:  
        memory-interleave: 'max'
        configuration-policy: 'component'
        scsi-initiator-id: '7'
        keyboard-click?: 'false'
        keymap:  
        ttyb-rts-dtr-off: 'false'
        ttyb-ignore-cd: 'true'
        ttya-rts-dtr-off: 'false'
        ttya-ignore-cd: 'false'
        ttyb-mode: '9600,8,n,1,-'
        ttya-mode: '9600,8,n,1,-'
        sbus-specific-probe:  
        sbus-probe-default: 'd3120'
        mfg-mode: 'off '
        diag-level: 'max'
        powerfail-time: '0'
        #power-cycles: '1426063460'
        fcode-debug?: 'true'
        output-device: 'screen'
        input-device: 'keyboard'
        load-base: '16384'
        boot-command: 'boot'
        auto-boot?: 'true'
        watchdog-reboot?: 'false'
        diag-file:  
        diag-device: 'disk diskbrd diskisp disksoc net'
        boot-file:  
        boot-device: 'linux'
        local-mac-address?: 'false'
        ansi-terminal?: 'true'
        screen-#columns: '80'
        screen-#rows: '34'
        silent-mode?: 'false'
        use-nvramrc?: 'true'
        nvramrc:  64657661.6c696173.206c696e.7578202f.73627573.40332c30.2f53554e.572c6661.732f7364.40612c30.3a630a
        security-mode: 'none'
        security-password:  
        security-#badlogins: '2684354560'
        oem-logo:  
        oem-logo?: 'false'
        oem-banner:  
        oem-banner?: 'false'
        hardware-revision:  
        last-hardware-update:  00000000.00000000.00000000.000000a0.00000000.00000000.00000000.000000a0.00000000.00000000.00000000.000000a0.00000000.00000000.00000000.000000a0.00000000.00000000.00000000.00000000.00003534.35363638.39303520.31303a32.323a3030.2030342f.33302f39.37206a75.6d707374.61727420.35393130.3030207a.77303039.00000000.00000000.00000000.00000000.00000000.00000000.00000000
        diag-switch?: 'true'
        name: 'options'

    Node 0xf002d078
        disksoc: '/sbus@2,0/SUNW,soc@d,10000/SUNW,pln@b0000000,8427b7/SUNW,ssd@0,0'
        screen: '/sbus@2,0/cgsix@1,0'
        linux: '/sbus@3,0/SUNW,fas/sd@a,0:c'
        disk: '/sbus@3,0/SUNW,fas@3,8800000/sd@0,0'
        diskbrd: '/sbus@3,0/SUNW,fas@3,8800000/sd@a,0'
        diskisp: '/sbus@3,0/QLGC,isp@0,10000/sd@0,0'
        net: '/sbus@3,0/SUNW,hme@3,8c00000'
        cdrom: '/sbus@3,0/SUNW,fas@3,8800000/sd@6,0:f'
        tape: '/sbus@3,0/SUNW,fas@3,8800000/st@4,0'
        scsi: '/sbus@3,0/SUNW,fas@3,8800000'
        disk0: '/sbus@3,0/SUNW,fas@3,8800000/sd@0,0'
        disk1: '/sbus@3,0/SUNW,fas@3,8800000/sd@1,0'
        disk2: '/sbus@3,0/SUNW,fas@3,8800000/sd@2,0'
        disk3: '/sbus@3,0/SUNW,fas@3,8800000/sd@3,0'
        disk4: '/sbus@3,0/SUNW,fas@3,8800000/sd@4,0'
        disk5: '/sbus@3,0/SUNW,fas@3,8800000/sd@5,0'
        tape0: '/sbus@3,0/SUNW,fas@3,8800000/st@4,0'
        tape1: '/sbus@3,0/SUNW,fas@3,8800000/st@5,0'
        ttya: '/central/fhc/zs@0,902000:a'
        ttyb: '/central/fhc/zs@0,902000:b'
        keyboard: '/central/fhc/zs@0,904000'
        keyboard!: '/central/fhc/zs@0,904000:forcemode'
        name: 'aliases'

    Node 0xf004ed9c
        reg:  00000000.00000000.00000000.10000000.00000000.10000000.00000000.10000000
        available:  00000000.1fd54000.00000000.00002000.00000000.1fc00000.00000000.00112000.00000000.00000000.00000000.1f48e000
        name: 'memory'

    Node 0xf004f37c
        translations:  00000000.fffd0000.00000000.00020000.80000000.1ff600b6.00000000.fff70000.00000000.00060000.80000000.1fef80b6.00000000.fff6e000.00000000.00002000.80000000.1fbfe0b6.00000000.fff6c000.00000000.00002000.80000000.1fef60b6.00000000.fff66000.00000000.00002000.800001ff.f890208e.00000000.fff64000.00000000.00002000.800001ff.f890808e.00000000.fff62000.00000000.00002000.800001ff.f890808e.00000000.fff60000.00000000.00002000.800001c4.f830008e.00000000.ffddc000.00000000.00184000.80000000.1fd700b6.00000000.ffdd0000.00000000.0000c000.800001c0.f880408e.00000000.ffdce000.00000000.00002000.80000000.1fd6e0b6.00000000.ffdc2000.00000000.0000c000.800001c8.f880408e.00000000.ffdc0000.00000000.00002000.800001ff.f820608e.00000000.ffdbc000.00000000.00004000.80000000.1fd5a0b6.00000000.ffdba000.00000000.00002000.800001ff.f890408e.00000000.ffdb8000.00000000.00002000.800001c5.1030008e.00000000.ffdb6000.00000000.00002000.800001c5.1070008e.00000000.ffdb4000.00000000.00002000.800001c5.1028008e.00000000.ffdb2000.00000000.00002000.80000000.1fd520b6.00000000.ffdaa000.00000000.00006000.800001c4.0000008e.00000000.ffda4000.00000000.00006000.800001c4.0000008e.00000000.ffd9c000.00000000.00008000.80000000.1fd660b6.00000000.ffd90000.00000000.0000c000.800001c4.f880408e.00000000.ffd8e000.00000000.00002000.800001c4.f830008e.00000000.ffd8c000.00000000.00002000.800001c4.0000208e.00000000.ffd8a000.00000000.00002000.800001c4.0000208e.00000000.ffd88000.00000000.00002000.800001c4.0000208e.00000000.ffd82000.00000000.00006000.800001c6.0000008e.00000000.ffd7c000.00000000.00006000.800001c6.0000008e.00000000.ffd74000.00000000.00008000.80000000.1fd5e0b6.00000000.ffd72000.00000000.00002000.800001c6.0000208e.00000000.ffd70000.00000000.00002000.800001c6.0000208e.00000000.ffd6e000.00000000.00002000.800001c6.0000208e.00000000.ffc6e000.00000000.00100000.800001c5.1080008e.00000000.ffa6e000.00000000.00200000.80000000.1f48e0b6.00000000.f0bfe000.00000000.00002000.800001ff.f000008e.00000000.f07fc000.00000000.00002000.800001ff.f004208e.00000000.f05f0000.00000000.00040000.80000000.1fd120b6.00000000.f0080000.00000000.00570000.80000000.1f68e0b6.00000000.f0000000.00000000.00080000.80000000.1ff800b6.00000000.00400000.00000000.00400000.80000000.00000036
        existing:  00000000.00000000.00000800.00000000.fffff800.00000000.00000800.00000000
        available:  fffff800.00000000.000007fc.00000000.00000001.00000000.000007ff.00000000.00000000.ffff0000.00000000.0000e000.00000000.00000000.00000000.f0000000.00000000.ffdb0000.00000000.00002000.00000000.f0c00000.00000000.0ee6e000
        page-size:  00002000
        name: 'virtual-memory'

    Node 0xf005d88c
        ranges:  00000000.f8000000.000001ff.f8000000.08000000
        reg:  000001ff.00000000.00000000.08000000
        name: 'central'

        Node 0xf005d9e0
            board-model: 'SUNW,501-2511'
            ranges:  00000000.00000000.00000000.f8000000.08000000
            reg:  00000000.f8800000.00000110.00000000.f8802000.00000010.00000000.f8804000.00000020.00000000.f8806000.00000020.00000000.f8808000.00000020.00000000.f880a000.00000020
            name: 'fhc'

            Node 0xf005dba0
                address:  fff62000
                watchdog-enable:  
                interrupts:  0000003a
                reg:  00000000.00908000.00002000
                model: 'mk48t59'
                name: 'eeprom'

            Node 0xf005dcd0
                port-b-ignore-cd:  
                address:  fff66000
                interrupts:  00000039
                device_type: 'serial'
                reg:  00000000.00902000.00000008
                name: 'zs'

            Node 0xf005dda8
                address:  ffdba000
                port-b-ignore-cd:  
                port-a-ignore-cd:  
                keyboard:  
                interrupts:  00000039
                device_type: 'serial'
                reg:  00000000.00904000.00000008
                name: 'zs'

            Node 0xf005def0
                reg:  00000000.00900000.00000006.00000000.00906000.00000060.00000000.0090c000.00000001
                interrupts:  00000038
                name: 'clock-board'

    Node 0xf006f8cc
        board-type: 'cpu'
        board-model: 'SUNW,501-2557'
        ranges:  00000000.00000000.000001c0.f8000000.08000000
        central-space:  
        board#:  00000000
        reg:  000001c0.f8800000.00000000.00000110.000001c0.f8802000.00000000.00000010.000001c0.f8804000.00000000.00000020.000001c0.f8806000.00000000.00000020.000001c0.f8808000.00000000.00000020.000001c0.f880a000.00000000.00000020
        manfid#:  0000003e
        version#:  00000001
        model: 'SUNW,fhc0FA0'
        name: 'fhc'

        Node 0xf006fb18
            reg:  00000000.01000000.00008000.00000000.02000000.01000000
            bank-0-status: 'ok'
            bank-1-status: 'nomem'
            manfid#:  0000003e
            version#:  00000005
            model: 'SUNW,ac0F9E'
            device_type: 'memory-controller'
            name: 'ac'

        Node 0xf006fca0
            reg:  00000000.00600000.00000010
            name: 'simm-status'

        Node 0xf006fd38
            interrupts:  0000003b
            reg:  00000000.00400000.00000010
            name: 'environment'

        Node 0xf006fdf4
            reg:  00000000.00200000.00008000.00000000.00280000.00008000
            name: 'sram'

        Node 0xf006fe90
            version:  4f425020.2020332e.322e3238.20323030.302f3132.2f323020.31323a32.3400504f.53542020.332e392e.32382032.3030302f.31322f32.30203132.3a323900
            model: 'SUNW,525-1431'
            reg:  00000000.00000000.00080000
            name: 'flashprom'

    Node 0xf006ffd4
        manufacturer#:  00000017
        implementation#:  00000011
        mask#:  00000011
        sparc-version:  00000009
        ecache-associativity:  00000001
        ecache-line-size:  00000040
        ecache-size:  00100000
        #dtlb-entries:  00000040
        dcache-associativity:  00000001
        dcache-line-size:  00000020
        dcache-size:  00004000
        #itlb-entries:  00000040
        icache-associativity:  00000002
        icache-line-size:  00000020
        icache-size:  00004000
        upa-portid:  00000000
        clock-frequency:  0ec82e00
        rated-frequency:  0ec82e00
        reg:  000001c0.00000000.00000000.00000008
        board#:  00000000
        device_type: 'cpu'
        name: 'SUNW,UltraSPARC-II'

    Node 0xf01cf8cc
        board-type: 'cpu'
        board-model: 'SUNW,501-2557'
        ranges:  00000000.00000000.000001c8.f8000000.08000000
        board#:  00000002
        reg:  000001c8.f8800000.00000000.00000110.000001c8.f8802000.00000000.00000010.000001c8.f8804000.00000000.00000020.000001c8.f8806000.00000000.00000020.000001c8.f8808000.00000000.00000020.000001c8.f880a000.00000000.00000020
        manfid#:  0000003e
        version#:  00000001
        model: 'SUNW,fhc0FA0'
        name: 'fhc'

        Node 0xf01cfaf4
            reg:  00000000.01000000.00008000.00000000.02000000.01000000
            bank-0-status: 'ok'
            bank-1-status: 'nomem'
            manfid#:  0000003e
            version#:  00000005
            model: 'SUNW,ac0F9E'
            device_type: 'memory-controller'
            name: 'ac'

        Node 0xf01cfc7c
            reg:  00000000.00600000.00000010
            name: 'simm-status'

        Node 0xf01cfd14
            interrupts:  0000003b
            reg:  00000000.00400000.00000010
            name: 'environment'

        Node 0xf01cfdd0
            reg:  00000000.00200000.00008000.00000000.00280000.00008000
            name: 'sram'

        Node 0xf01cfe6c
            version:  4f425020.2020332e.322e3238.20323030.302f3132.2f323020.31323a32.3400504f.53542020.332e392e.32382032.3030302f.31322f32.30203132.3a323900
            model: 'SUNW,525-1431'
            reg:  00000000.00000000.00080000
            name: 'flashprom'

    Node 0xf01cffb0
        manufacturer#:  00000017
        implementation#:  00000011
        mask#:  00000011
        sparc-version:  00000009
        ecache-associativity:  00000001
        ecache-line-size:  00000040
        ecache-size:  00100000
        #dtlb-entries:  00000040
        dcache-associativity:  00000001
        dcache-line-size:  00000020
        dcache-size:  00004000
        #itlb-entries:  00000040
        icache-associativity:  00000002
        icache-line-size:  00000020
        icache-size:  00004000
        upa-portid:  00000004
        clock-frequency:  0ec82e00
        rated-frequency:  0ec82e00
        reg:  000001c8.00000000.00000000.00000008
        board#:  00000002
        device_type: 'cpu'
        name: 'SUNW,UltraSPARC-II'

    Node 0xf027f8cc
        disk0-scsi-id:  0000000a
        disk1-scsi-id:  0000000b
        board-type: 'disk'
        board-model: 'SUNW,501-3113'
        reg:  000001cc.00000000.00000000.00000000
        board#:  00000003
        name: 'disk-board'

    Node 0xf011f8cc
        ranges:  00000001.00000000.000001c5.10000000.10000000.00000002.00000000.000001c5.20000000.10000000.0000000d.00000000.000001c5.d0000000.10000000
        interrupts:  000000b4.000000b5.000000b6.000000a5.000000aa.000000b7
        version#:  00000001
        implementation#:  00000000
        bus-parity-generated:  
        address:  ffdaa000
        scsi-initiator-id:  00000007
        model: 'SUNW,sysio'
        reg:  000001c4.00000000.00000000.00006000
        slot-address-bits:  0000001c
        up-burst-sizes:  0078007f
        burst-sizes:  00f8007f
        device_type: 'sbus'
        name: 'sbus'
        upa-portid:  00000002
        clock-frequency:  017d7840
        board#:  00000001

        Node 0xf0126704
            soc-config:  00000000
            port-wwns:  20000800.20ffffff.20010800.20ffffff
            soc-wwn:  10000800.20ffffff
            intr:  00000003.00000000
            interrupts:  00000022
            reg:  0000000d.00010000.00010010
            soc-fcode: '1.3 95/09/28'
            manufacturer: 'SUNW'
            model: '501-2069'
            name: 'SUNW,soc'

            Node 0xf012f95c
                reg:  b0000000.008427b7.00000001
                pln-nport-wwn:  20010000.008427b7
                pln-wwn:  10000000.008427b7
                soc_port:  00000001
                manufacturer: 'SUNW'
                name: 'SUNW,pln'

                Node 0xf0131188
                    device_type: 'block'
                    name: 'SUNW,ssd'

        Node 0xf0131b3c
            address:  ffc6e000
            character-set: 'ISO8859-1'
            intr:  00000005.00000000
            interrupts:  00000005
            reg:  00000001.00000000.01000000
            dblbuf:  00000000
            vmsize:  00000001
            depth:  00000008
            height:  00000384
            awidth:  00000480
            linebytes:  00000480
            width:  00000480
            emulation: 'cgsix'
            montype:  00000004
            boardrev:  000000a1
            pixfreq:  066ff300
            hfreq:  00011880
            vfreq:  0000004c
            hbporch:  000000c0
            hsync:  00000080
            hfporch:  00000020
            vbporch:  00000021
            vsync:  00000008
            vfporch:  00000002
            fbmapped:  00100000
            global-data:  ffdb25e0
            oscillators: '84375000,64125000,108000000,94500000'
            chiprev:  0000000b
            device_type: 'display'
            model: 'SUNW,501-2325'
            name: 'cgsix'

        Node 0xf0136a68
            model: 'SUNW,500-2015'
            reg:  00000002.00081000.00000010
            name: 'dma'

            Node 0xf0137148
                device_type: 'scsi'
                clock-frequency:  02625a00
                intr:  00000003.00000000
                reg:  00000002.00080000.00000040
                name: 'esp'
                chip: 'FAS236'
                interrupts:  00000003

                Node 0xf013b6a0
                    device_type: 'block'
                    name: 'sd'

                Node 0xf013be60
                    device_type: 'byte'
                    name: 'st'

        Node 0xf013cb1c
            burst-sizes:  0000003f
            model: 'SUNW,500-2015'
            reg:  00000002.00040000.00020000
            name: 'lebuffer'

            Node 0xf013cd74
                device_type: 'network'
                intr:  00000004.00000000
                busmaster-regval:  00000005
                reg:  00000002.00060000.00000004
                alias: 'le'
                name: 'le'
                interrupts:  00000004

    Node 0xf0122728
        board-type: 'dual-sbus'
        manfid#:  0000003e
        version#:  00000001
        ranges:  00000000.00000000.000001c4.f8000000.08000000
        reg:  000001c4.f8800000.00000000.00000110.000001c4.f8802000.00000000.00000010.000001c4.f8804000.00000000.00000020.000001c4.f8806000.00000000.00000020.000001c4.f8808000.00000000.00000020.000001c4.f880a000.00000000.00000020
        board-model: 'SUNW,501-2558'
        model: 'SUNW,fhc0FA0'
        board#:  00000001
        name: 'fhc'

        Node 0xf0122c7c
            manfid#:  0000003e
            version#:  00000005
            device_type: 'memory-controller'
            reg:  00000000.01000000.00008000.00000000.02000000.01000000
            model: 'SUNW,ac0F9E'
            name: 'ac'

        Node 0xf0122db4
            interrupts:  0000003b
            reg:  00000000.00400000.00000010
            name: 'environment'

        Node 0xf0122e70
            version:  46434f44.4520312e.382e3238.20323030.302f3132.2f323020.31323a32.30006950.4f535420.332e342e.32382032.3030302f.31322f32.30203132.3a323800
            model: 'SUNW,525-1432'
            reg:  00000000.00000000.00080000
            name: 'flashprom'

        Node 0xf0123330
            address:  ffd8e000
            interrupts:  0000003a
            reg:  00000000.00300000.00002000
            model: 'mk48t59'
            name: 'eeprom'

        Node 0xf0123428
            reg:  00000000.00500000.00000010
            name: 'sbus-speed'

    Node 0xf0123518
        address:  ffd8dc00.ffd89860.ffd8b060
        interrupts:  000000b0.000000b1
        reg:  000001c4.00003c00.00000000.00000020.000001c4.00003860.00000000.00000010.000001c4.00003060.00000000.00000010
        name: 'counter-timer'

    Node 0xf0123744
        ranges:  00000000.00000000.000001c7.00000000.10000000.00000003.00000000.000001c7.30000000.10000000
        interrupts:  000000f4.000000f5.000000f6.000000e5.000000ea.000000f7
        version#:  00000001
        implementation#:  00000000
        bus-parity-generated:  
        address:  ffd82000
        scsi-initiator-id:  00000007
        model: 'SUNW,sysio'
        reg:  000001c6.00000000.00000000.00006000
        slot-address-bits:  0000001c
        up-burst-sizes:  0078007f
        burst-sizes:  00f8007f
        device_type: 'sbus'
        name: 'sbus'
        upa-portid:  00000003
        clock-frequency:  017d7840
        board#:  00000001

        Node 0xf013f9a8
            hm-rev:  00000022
            device_type: 'network'
            intr:  00000004.00000000
            interrupts:  00000004
            address-bits:  00000030
            max-frame-size:  00004000
            reg:  00000003.08c00000.00000108.00000003.08c02000.00002000.00000003.08c04000.00002000.00000003.08c06000.00002000.00000003.08c07000.00000020
            name: 'SUNW,hme'

        Node 0xf0147928
            hm-rev:  00000022
            device_type: 'scsi'
            clock-frequency:  02625a00
            intr:  00000003.00000000
            interrupts:  00000003
            reg:  00000003.08800000.00000010.00000003.08810000.00000040
            name: 'SUNW,fas'

            Node 0xf014d370
                device_type: 'block'
                name: 'sd'

            Node 0xf014dcd4
                device_type: 'byte'
                name: 'st'

    Node 0xf01264d8
        address:  ffd73c00.ffd6f860.ffd71060
        interrupts:  000000f0.000000f1
        reg:  000001c6.00003c00.00000000.00000020.000001c6.00003860.00000000.00000010.000001c6.00003060.00000000.00000010
        name: 'counter-timer'


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Ultra4000 and kernel 2.4.0
  2001-01-25  7:33 Ultra4000 and kernel 2.4.0 Daz
  2001-01-25 13:52 ` David S. Miller
  2001-01-25 14:56 ` Daz
@ 2001-01-25 15:35 ` David S. Miller
  2001-01-25 17:10 ` David S. Miller
  2001-01-25 17:16 ` Daz
  4 siblings, 0 replies; 6+ messages in thread
From: David S. Miller @ 2001-01-25 15:35 UTC (permalink / raw)
  To: ultralinux


Please try this patch, thanks:

--- drivers/sbus/sbus.c.~1~	Tue Nov 28 08:33:08 2000
+++ drivers/sbus/sbus.c	Thu Jan 25 07:34:01 2001
@@ -238,10 +238,14 @@
 					break;
 			}
 			if (rngnum = num_ranges) {
-				prom_printf("sbus_apply_ranges: Cannot find matching "
-					    "range nregs[%d] nranges[%d].\n",
-					    num_regs, num_ranges);
-				prom_halt();
+				/* We used to flag this as an error.  Actually
+				 * some devices do not report the regs as we expect.
+				 * For example, see SUNW,pln device.  In that case
+				 * the reg property is in a format internal to that
+				 * node, ie. it is not in the SBUS register space
+				 * per se. -DaveM
+				 */
+				return;
 			}
 			regs[regnum].which_io = ranges[rngnum].ot_parent_space;
 			regs[regnum].phys_addr += ranges[rngnum].ot_parent_base;
-
To unsubscribe from this list: send the line "unsubscribe ultralinux" in
the body of a message to majordomo@vger.kernel.org

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Ultra4000 and kernel 2.4.0
  2001-01-25  7:33 Ultra4000 and kernel 2.4.0 Daz
                   ` (2 preceding siblings ...)
  2001-01-25 15:35 ` David S. Miller
@ 2001-01-25 17:10 ` David S. Miller
  2001-01-25 17:16 ` Daz
  4 siblings, 0 replies; 6+ messages in thread
From: David S. Miller @ 2001-01-25 17:10 UTC (permalink / raw)
  To: ultralinux


Daz writes:
 > That worked!!  muchas gracias!!   Now I just have to go back to fixing
 > that dang soc problem.....grumble...grumble...

No problem, thank you for reporting the problem and testing the fix.

Later,
David S. Miller
davem@redhat.com
-
To unsubscribe from this list: send the line "unsubscribe ultralinux" in
the body of a message to majordomo@vger.kernel.org

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Ultra4000 and kernel 2.4.0
  2001-01-25  7:33 Ultra4000 and kernel 2.4.0 Daz
                   ` (3 preceding siblings ...)
  2001-01-25 17:10 ` David S. Miller
@ 2001-01-25 17:16 ` Daz
  4 siblings, 0 replies; 6+ messages in thread
From: Daz @ 2001-01-25 17:16 UTC (permalink / raw)
  To: ultralinux

That worked!!  muchas gracias!!   Now I just have to go back to fixing
that dang soc problem.....grumble...grumble...



David
On Thu, 25 Jan 2001, David
S. Miller wrote:

> 
> Please try this patch, thanks:
> 
> --- drivers/sbus/sbus.c.~1~	Tue Nov 28 08:33:08 2000
> +++ drivers/sbus/sbus.c	Thu Jan 25 07:34:01 2001
> @@ -238,10 +238,14 @@
>  					break;
>  			}
>  			if (rngnum = num_ranges) {
> -				prom_printf("sbus_apply_ranges: Cannot find matching "
> -					    "range nregs[%d] nranges[%d].\n",
> -					    num_regs, num_ranges);
> -				prom_halt();
> +				/* We used to flag this as an error.  Actually
> +				 * some devices do not report the regs as we expect.
> +				 * For example, see SUNW,pln device.  In that case
> +				 * the reg property is in a format internal to that
> +				 * node, ie. it is not in the SBUS register space
> +				 * per se. -DaveM
> +				 */
> +				return;
>  			}
>  			regs[regnum].which_io = ranges[rngnum].ot_parent_space;
>  			regs[regnum].phys_addr += ranges[rngnum].ot_parent_base;
> 

-- 
"I find your lack of faith disturbing."
--Darth Vader

-
To unsubscribe from this list: send the line "unsubscribe ultralinux" in
the body of a message to majordomo@vger.kernel.org

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2001-01-25 17:16 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-01-25  7:33 Ultra4000 and kernel 2.4.0 Daz
2001-01-25 13:52 ` David S. Miller
2001-01-25 14:56 ` Daz
2001-01-25 15:35 ` David S. Miller
2001-01-25 17:10 ` David S. Miller
2001-01-25 17:16 ` Daz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox