Modify

Opened 11 years ago

Closed 10 years ago

Last modified 4 years ago

#1610 closed defect (fixed)

wl500g deluxe - kamikaze proper pci initialisation?

Reported by: anonymous Owned by: developers
Priority: high Milestone: Barrier Breaker 14.07
Component: kernel Version:
Keywords: pci configuration Cc:

Description

If you examine lspci on kamikaze you get:

#lspci -n -P ./pci/

00:00.0 0600: 14e4:5365
00:02.0 0c03: 1106:3038 (rev 61)
00:02.1 0c03: 1106:3038 (rev 61)
00:02.2 0c03: 1106:3104 (rev 63)
00:03.0 0280: 14e4:4320 (rev 03)

# lspci -v -P ./pci/

00:00.0 Host bridge: Broadcom Corporation BCM5365P Sentry5 Host Bridge
        Subsystem: Broadcom Corporation BCM5365P Sentry5 Host Bridge
        Flags: bus master, fast devsel, latency 168, IRQ 5
        Memory at <unassigned> (32-bit, non-prefetchable) [size=8K]
        Memory at <unassigned> (32-bit, prefetchable) [size=128M]

00:02.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 61) (prog-if 00 [UHCI])
        Subsystem: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller
        Flags: bus master, medium devsel, latency 22, IRQ 5
        I/O ports at 0100 [size=32]
        Capabilities: [80] Power Management version 2

00:02.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 61) (prog-if 00 [UHCI])
        Subsystem: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller
        Flags: bus master, medium devsel, latency 22, IRQ 5
        I/O ports at 0120 [size=32]
        Capabilities: [80] Power Management version 2

00:02.2 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 63) (prog-if 20 [EHCI])
        Subsystem: VIA Technologies, Inc. USB 2.0
        Flags: bus master, medium devsel, latency 22, IRQ 5
        '''Memory at 40000000 (32-bit, non-prefetchable) [size=256]'''
        Capabilities: [80] Power Management version 2

00:03.0 Network controller: Broadcom Corporation BCM4306 802.11b/g Wireless LAN Controller (rev 03)
        Subsystem: Broadcom Corporation Unknown device 120f
        Flags: fast devsel, IRQ 5
        Memory at 40000000 (32-bit, non-prefetchable) [disabled] [size=8K]
        Capabilities: [40] Power Management version 2

Memory is not properly assigned. Notice that Host bridge / Wlan dont have proper memory regions assigned.

On production you should see something like:

Bus.dev.func  registers          vend:prod     Description
1.0.0         iomem 0x40000000   14e4:5365     BCM5365P Sentry5 Host Bridge
                  - 0x40001fff
1.2.0         io 0x100-0x11f     1106:3038     VT82xxxxx UHCI USB 1.1 Controller
1.2.1         io 0x120-0x13f     1106:3038     VT82xxxxx UHCI USB 1.1 Controller
1.2.2         iomem 0x40002000   1106:3104     VIA USB 2.0
                  - 0x400020ff
1.3.0         iomem 0x40004000   14e4:4320     BCM4306 802.11b/g Wireless LAN Controller
                  - 0x40005fff

see:
http://wiki.openwrt.org/OpenWrtDocs/Hardware/Asus/WL500GD

Attachments (0)

Change History (9)

comment:1 Changed 11 years ago by anonymous

related to inproper initialisation in drivers/ssb/* ?

here's my dmesg:

Linux version 2.6.19.2 (buildslave@brick) (gcc version 4.1.2) #1 Thu Apr 12 03:
24:18 BST 2007
CPU revision is: 00029007
ssb: Sonics Silicon Backplane found on address 0x18000000
ssb: BUG: Assertion failed (bus->board_vendor && bus->board_type) at: drivers/s
sb/core.c:260:ssb_get_boardtype()
ssb: Core 0 found: ChipCommon (cc 0x800, rev 0x05, vendor 0x4243)
ssb: Core 1 found: Fast Ethernet (cc 0x806, rev 0x06, vendor 0x4243)
ssb: Core 2 found: IPSEC (cc 0x80B, rev 0x01, vendor 0x4243)
ssb: Core 3 found: USB 1.1 Hostdev (cc 0x808, rev 0x02, vendor 0x4243)
ssb: Core 4 found: PCI (cc 0x804, rev 0x08, vendor 0x4243)
ssb: Core 5 found: MIPS 3302 (cc 0x816, rev 0x01, vendor 0x4243)
ssb: Core 6 found: MEMC SDRAM (cc 0x80F, rev 0x00, vendor 0x4243)
ssb: Initializing MIPS core...

comment:2 Changed 11 years ago by anonymous

The ssb assertion failed bug also occurs on the wl500g premium
dmesg:

Linux version 2.6.21.1 (build@thebe) (gcc version 4.1.2) #1 Wed May 30 13:52:16 CEST 2007
CPU revision is: 00029006
ssb: Sonics Silicon Backplane found on address 0x18000000
ssb: BUG: Assertion failed (bus->board_vendor && bus->board_type) at: drivers/ssb/core.c:260:ssb_get_boardtype()
ssb: Core 0 found: ChipCommon (cc 0x800, rev 0x03, vendor 0x4243)
ssb: Core 1 found: Fast Ethernet (cc 0x806, rev 0x06, vendor 0x4243)
ssb: Core 2 found: Fast Ethernet (cc 0x806, rev 0x06, vendor 0x4243)
ssb: Core 3 found: USB 1.1 Hostdev (cc 0x808, rev 0x03, vendor 0x4243)
ssb: Core 4 found: PCI (cc 0x804, rev 0x08, vendor 0x4243)
ssb: Core 5 found: MIPS 3302 (cc 0x816, rev 0x03, vendor 0x4243)
ssb: Core 6 found: V90 (cc 0x807, rev 0x02, vendor 0x4243)
ssb: Core 7 found: IPSEC (cc 0x80B, rev 0x00, vendor 0x4243)
ssb: Core 8 found: MEMC SDRAM (cc 0x80F, rev 0x02, vendor 0x4243)
ssb: Initializing MIPS core...
ssb: set_irq: core 0x0806, irq 2 => 2
ssb: set_irq: core 0x0806, irq 3 => 3
ssb: set_irq: core 0x0804, irq 0 => 4
Determined physical RAM map:
 memory: 02000000 @ 00000000 (usable)
<cut>

lspci -v

00:00.0 Host bridge: Broadcom Corporation BCM4704 PCI to SB Bridge (rev 09)
        Subsystem: Broadcom Corporation BCM4704 PCI to SB Bridge
        Flags: bus master, fast devsel, latency 168, IRQ 6
        Memory at <unassigned> (32-bit, prefetchable)

00:03.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 62) (prog-if 00 [UHCI])
        Subsystem: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller
        Flags: medium devsel, IRQ 6
        I/O ports at 0400 [disabled] [size=32]
        Capabilities: [80] Power Management version 2

00:03.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 62) (prog-if 00 [UHCI])
        Subsystem: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller
        Flags: medium devsel, IRQ 6
        I/O ports at 0420 [disabled] [size=32]
        Capabilities: [80] Power Management version 2

00:03.2 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 65) (prog-if 20 [EHCI])
        Subsystem: VIA Technologies, Inc. USB 2.0
        Flags: medium devsel, IRQ 6
        Memory at 40000000 (32-bit, non-prefetchable) [disabled] [size=256]
        Capabilities: [80] Power Management version 2

lspci -n

00:00.0 0600: 14e4:4704 (rev 09)
00:03.0 0c03: 1106:3038 (rev 62)
00:03.1 0c03: 1106:3038 (rev 62)
00:03.2 0c03: 1106:3104 (rev 65)

comment:3 Changed 11 years ago by noz

The SSB code has been updated, as of r7691 and r7732. Can you retest against a later revision?

comment:4 Changed 10 years ago by nbd

still broken. tested on wl-500gP

comment:5 Changed 10 years ago by michu-at-neophob-com

still broken with r9709:

00:00.0 Host bridge: Broadcom Corporation BCM4704 PCI to SB Bridge (rev 09)
        Subsystem: Broadcom Corporation BCM4704 PCI to SB Bridge
        Flags: bus master, fast devsel, latency 168, IRQ 6
        Memory at <unassigned> (32-bit, prefetchable)

00:02.0 Network controller: Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller (rev 02)
        Subsystem: ASUSTeK Computer Inc. Unknown device 120f
        Flags: fast devsel, IRQ 6
        Memory at 40000000 (32-bit, non-prefetchable) [disabled] [size=8K]

00:03.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 61) (prog-if 00 [UHCI])
        Subsystem: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller
        Flags: bus master, medium devsel, latency 22, IRQ 6
        I/O ports at 0100 [size=32]
        Capabilities: [80] Power Management version 2

00:03.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 61) (prog-if 00 [UHCI])
        Subsystem: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller
        Flags: bus master, medium devsel, latency 22, IRQ 6
        I/O ports at 0120 [size=32]
        Capabilities: [80] Power Management version 2

00:03.2 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 63) (prog-if 20 [EHCI])
        Subsystem: VIA Technologies, Inc. USB 2.0
        Flags: bus master, medium devsel, latency 22, IRQ 6
        Memory at 40000000 (32-bit, non-prefetchable) [size=256]
        Capabilities: [80] Power Management version 2

bug the ssb bug assertion is gone:

Linux version 2.6.23.1 (michux@fwpiercer) (gcc version 4.1.2) #5 Wed Dec 12 01:05:37 CET 2007
CPU revision is: 00029006
ssb: Core 0 found: ChipCommon (cc 0x800, rev 0x03, vendor 0x4243)
ssb: Core 1 found: Fast Ethernet (cc 0x806, rev 0x06, vendor 0x4243)
ssb: Core 2 found: Fast Ethernet (cc 0x806, rev 0x06, vendor 0x4243)
ssb: Core 3 found: USB 1.1 Hostdev (cc 0x808, rev 0x03, vendor 0x4243)
ssb: Core 4 found: PCI (cc 0x804, rev 0x08, vendor 0x4243)
ssb: Core 5 found: MIPS 3302 (cc 0x816, rev 0x03, vendor 0x4243)
ssb: Core 6 found: V90 (cc 0x807, rev 0x02, vendor 0x4243)
ssb: Core 7 found: IPSEC (cc 0x80B, rev 0x00, vendor 0x4243)
ssb: Core 8 found: MEMC SDRAM (cc 0x80F, rev 0x02, vendor 0x4243)
ssb: Initializing MIPS core...
ssb: set_irq: core 0x0806, irq 2 => 2
ssb: set_irq: core 0x0806, irq 3 => 3
ssb: set_irq: core 0x0804, irq 0 => 4
ssb: Sonics Silicon Backplane found at address 0x18000000
Determined physical RAM map:
 memory: 02000000 @ 00000000 (usable)
...

comment:6 Changed 10 years ago by anonymous

KAMIKAZE (bleeding edge, r10214)

Well everything works including the b43 driver.

My asus wl500 GX is now completely free! Thanks & well done.

comment:7 Changed 10 years ago by anonymous

BTW, here's an lspci of r10214

00:00.0 Host bridge: Broadcom Corporation BCM5365P Sentry5 Host Bridge
        Subsystem: Broadcom Corporation BCM5365P Sentry5 Host Bridge
        Flags: bus master, fast devsel, latency 168, IRQ 5
        Memory at <unassigned> (32-bit, non-prefetchable) [size=8K]
        Memory at <unassigned> (32-bit, prefetchable) [size=128M]

00:02.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 61) (prog-if 00 [UHCI])
        Subsystem: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller
        Flags: bus master, medium devsel, latency 22, IRQ 5
        I/O ports at 0100 [size=32]
        Capabilities: [80] Power Management version 2

00:02.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 61) (prog-if 00 [UHCI])
        Subsystem: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller
        Flags: bus master, medium devsel, latency 22, IRQ 5
        I/O ports at 0120 [size=32]
        Capabilities: [80] Power Management version 2

00:02.2 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 63) (prog-if 20 [EHCI])
        Subsystem: VIA Technologies, Inc. USB 2.0
        Flags: bus master, medium devsel, latency 22, IRQ 5
        Memory at 40002000 (32-bit, non-prefetchable) [size=256]
        Capabilities: [80] Power Management version 2

00:03.0 Network controller: Broadcom Corporation BCM4306 802.11b/g Wireless LAN Controller (rev 03)
        Subsystem: Broadcom Corporation Unknown device 120f
        Flags: bus master, fast devsel, latency 64, IRQ 5
        Memory at 40000000 (32-bit, non-prefetchable) [size=8K]
        Capabilities: [40] Power Management version 2

lspci -n -P ./pci/

  00:00.0 0600: 14e4:5365
  00:02.0 0c03: 1106:3038 (rev 61)
  00:02.1 0c03: 1106:3038 (rev 61)
  00:02.2 0c03: 1106:3104 (rev 63)
  00:03.0 0280: 14e4:4320 (rev 03)

comment:8 Changed 10 years ago by nbd

  • Resolution set to fixed
  • Status changed from new to closed

comment:9 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.