Modify

Opened 11 years ago

Closed 8 years ago

Last modified 4 years ago

#741 closed enhancement (obsolete)

WRT54G3G PCI resource allocation errors (Option Fusion+)

Reported by: m.prenger@… Owned by: nbd
Priority: normal Milestone: Barrier Breaker 14.07
Component: other Version: Kamikaze trunk
Keywords: Cc:

Description

When using a Option 3G Fusion+ card (incl. WLAN) there are PCI resource allocation errors, so that it will not work with current drivers (Cardbus support by nbd).

Cardbus recognises the card but neither nozomi nor usbserial will attach.

Would not be a problem if WLAN component is disabled, main task should be to get 3G working :) Seems that this kind of Option cards will get most sold here in Germany.

Attachments (0)

Change History (16)

comment:1 Changed 11 years ago by nbd

Please flash an updated image from http://downloads.openwrt.org/people/nbd/whiterussian/ and show me the output of dmesg...

comment:2 Changed 11 years ago by anonymous

I used the following image:
http://downloads.openwrt.org/people/nbd/whiterussian/default/openwrt-wrt54g3g-squashfs.bin

... and getting this output:

CPU revision is: 00029007
Primary instruction cache 8kB, physically tagged, 2-way, linesize 16 bytes.
Primary data cache 4kB, 2-way, linesize 16 bytes.
Linux version 2.4.30 (nbd@arrakis) (gcc version 3.4.4 (OpenWrt-1.0)) #1 Sun Sep 3 20:12:49 CEST 2006
Setting the PFC value as 0x15
Determined physical RAM map:
 memory: 01000000 @ 00000000 (usable)
On node 0 totalpages: 4096
zone(0): 4096 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/mtdblock2 rootfstype=squashfs,jffs2 init=/etc/preinit noinitrd console=ttyS0,115200
CPU: BCM4712 rev 1 at 200 MHz
Using 100.000 MHz high precision timer.
Calibrating delay loop... 199.47 BogoMIPS
Memory: 14268k/16384k available (1418k kernel code, 2116k reserved, 100k data, 80k init, 0k highmem)
Dentry cache hash table entries: 2048 (order: 2, 16384 bytes)
Inode cache hash table entries: 1024 (order: 1, 8192 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 4096 (order: 2, 16384 bytes)
Checking for 'wait' instruction...  unavailable.
POSIX conformance testing by UNIFIX
PCI: Fixing up bus 0
PCI: Fixing up bridge
PCI: Setting latency timer of device 01:00.0 to 64
PCI: Fixing up bus 1
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
JFFS2 version 2.1. (C) 2001 Red Hat, Inc., designed by Axis Communications AB.
Squashfs 2.1-r2 (released 2004/12/15) (C) 2002-2004 Phillip Lougher
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled
ttyS00 at 0xb8000300 (irq = 3) is a 16550A
ttyS01 at 0xb8000400 (irq = 0) is a 16550A
b44.c:v0.93 (Mar, 2004)
PCI: Setting latency timer of device 00:02.0 to 64
eth0: Broadcom 47xx 10/100BaseT Ethernet 00:16:b6:20:a8:c9
Physically mapped flash: Found an alias at 0x400000 for the chip at 0x0
Physically mapped flash: Found an alias at 0x800000 for the chip at 0x0
Physically mapped flash: Found an alias at 0xc00000 for the chip at 0x0
Physically mapped flash: Found an alias at 0x1000000 for the chip at 0x0
Physically mapped flash: Found an alias at 0x1400000 for the chip at 0x0
Physically mapped flash: Found an alias at 0x1800000 for the chip at 0x0
Physically mapped flash: Found an alias at 0x1c00000 for the chip at 0x0
cfi_cmdset_0001: Erase suspend on write enabled
0: offset=0x0,size=0x2000,blocks=8
1: offset=0x10000,size=0x10000,blocks=63
Using word write method
Flash device: 0x400000 at 0x1c000000
bootloader size: 262144
Physically mapped flash: Filesystem type: squashfs, size=0x10221b
Updating TRX offsets and length:
old trx = [0x0000001c, 0x000008d8, 0x0007cc00], len=0x0017f000 crc32=0x3a92d38a
new trx = [0x0000001c, 0x000008d8, 0x0007cc00], len=0x00180000 crc32=0xfdf6e9fe
Done
Creating 5 MTD partitions on "Physically mapped flash":
0x00000000-0x00040000 : "cfe"
0x00040000-0x003f0000 : "linux"
0x000bcc00-0x001c0000 : "rootfs"
mtd: partition "rootfs" doesn't start on an erase block boundary -- force read-only
0x003f0000-0x00400000 : "nvram"
0x001c0000-0x003f0000 : "OpenWrt"
Initializing Cryptographic API
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 1024 bind 2048)
ip_conntrack version 2.1 (5953 buckets, 5953 max) - 332 bytes per conntrack
ip_tables: (C) 2000-2002 Netfilter core team
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NET4: Ethernet Bridge 008 for NET4.0
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
VFS: Mounted root (squashfs filesystem) readonly.
Mounted devfs on /dev
Freeing unused kernel memory: 80k freed
Algorithmics/MIPS FPU Emulator v1.5
diag boardtype: 00000101
Probing device eth0: found!
b44: eth0: Link is up at 100 Mbps, full duplex.
b44: eth0: Flow control is off for TX and off for RX.
Registering mini_fo version $Id$
mini_fo: using base directory: /
mini_fo: using storage directory: /tmp/root
jffs2.bbc: SIZE compression mode activated.
PCI: Setting latency timer of device 00:01.0 to 64
eth1: Broadcom BCM4320 802.11 Wireless Controller 3.90.37.0
BFL_ENETADM not set in boardflags. Use force=1 to ignore.
device eth0 entered promiscuous mode
vlan0: add 01:00:5e:00:00:01 mcast address to master interface
vlan0: dev_set_promiscuity(master, 1)
vlan0: dev_set_allmulti(master, 1)
device eth1 entered promiscuous mode
br0: port 2(eth1) entering learning state
br0: port 1(vlan0) entering learning state
br0: port 2(eth1) entering forwarding state
br0: topology change detected, propagating
br0: port 1(vlan0) entering forwarding state
br0: topology change detected, propagating
vlan1: add 01:00:5e:00:00:01 mcast address to master interface
mini_fo_remount_fs: WARNING, this function is umimplemented.
mini_fo_remount_fs: WARNING, this function is umimplemented.
mini_fo: using base directory: /
mini_fo: using storage directory: /jffs

No more PCI resource allocation erros. Nice, thank you!
I will try to use your changes with Nozomi / USBserial drivers, and we will see if its working :)

comment:3 Changed 11 years ago by anonymous

Hmpf, errors still existent when kmod-pcmcia_2.4.30-brcm-4_mipsel.ipk is installed:

CPU revision is: 00029007
Primary instruction cache 8kB, physically tagged, 2-way, linesize 16 bytes.
Primary data cache 4kB, 2-way, linesize 16 bytes.
Linux version 2.4.30 (nbd@arrakis) (gcc version 3.4.4 (OpenWrt-1.0)) #1 Sun Sep 3 20:12:49 CEST 2006
Setting the PFC value as 0x15
Determined physical RAM map:
 memory: 01000000 @ 00000000 (usable)
On node 0 totalpages: 4096
zone(0): 4096 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/mtdblock2 rootfstype=squashfs,jffs2 init=/etc/preinit noinitrd console=ttyS0,115200
CPU: BCM4712 rev 1 at 200 MHz
Using 100.000 MHz high precision timer.
Calibrating delay loop... 199.47 BogoMIPS
Memory: 14268k/16384k available (1418k kernel code, 2116k reserved, 100k data, 80k init, 0k highmem)
Dentry cache hash table entries: 2048 (order: 2, 16384 bytes)
Inode cache hash table entries: 1024 (order: 1, 8192 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 4096 (order: 2, 16384 bytes)
Checking for 'wait' instruction...  unavailable.
POSIX conformance testing by UNIFIX
PCI: Fixing up bus 0
PCI: Fixing up bridge
PCI: Setting latency timer of device 01:00.0 to 64
PCI: Fixing up bus 1
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
JFFS2 version 2.1. (C) 2001 Red Hat, Inc., designed by Axis Communications AB.
Squashfs 2.1-r2 (released 2004/12/15) (C) 2002-2004 Phillip Lougher
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled
ttyS00 at 0xb8000300 (irq = 3) is a 16550A
ttyS01 at 0xb8000400 (irq = 0) is a 16550A
b44.c:v0.93 (Mar, 2004)
PCI: Setting latency timer of device 00:02.0 to 64
eth0: Broadcom 47xx 10/100BaseT Ethernet 00:16:b6:20:a8:c9
Physically mapped flash: Found an alias at 0x400000 for the chip at 0x0
Physically mapped flash: Found an alias at 0x800000 for the chip at 0x0
Physically mapped flash: Found an alias at 0xc00000 for the chip at 0x0
Physically mapped flash: Found an alias at 0x1000000 for the chip at 0x0
Physically mapped flash: Found an alias at 0x1400000 for the chip at 0x0
Physically mapped flash: Found an alias at 0x1800000 for the chip at 0x0
Physically mapped flash: Found an alias at 0x1c00000 for the chip at 0x0
cfi_cmdset_0001: Erase suspend on write enabled
0: offset=0x0,size=0x2000,blocks=8
1: offset=0x10000,size=0x10000,blocks=63
Using word write method
Flash device: 0x400000 at 0x1c000000
bootloader size: 262144
Physically mapped flash: Filesystem type: squashfs, size=0x10221b
Creating 5 MTD partitions on "Physically mapped flash":
0x00000000-0x00040000 : "cfe"
0x00040000-0x003f0000 : "linux"
0x000bcc00-0x001c0000 : "rootfs"
mtd: partition "rootfs" doesn't start on an erase block boundary -- force read-only
0x003f0000-0x00400000 : "nvram"
0x001c0000-0x003f0000 : "OpenWrt"
Initializing Cryptographic API
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 1024 bind 2048)
ip_conntrack version 2.1 (5953 buckets, 5953 max) - 332 bytes per conntrack
ip_tables: (C) 2000-2002 Netfilter core team
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NET4: Ethernet Bridge 008 for NET4.0
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
VFS: Mounted root (squashfs filesystem) readonly.
Mounted devfs on /dev
Freeing unused kernel memory: 80k freed
Algorithmics/MIPS FPU Emulator v1.5
diag boardtype: 00000101
Probing device eth0: found!
b44: eth0: Link is up at 100 Mbps, full duplex.
b44: eth0: Flow control is off for TX and off for RX.
Registering mini_fo version $Id$
mini_fo: using base directory: /
mini_fo: using storage directory: /jffs
jffs2.bbc: SIZE compression mode activated.
PCI: Setting latency timer of device 00:01.0 to 64
eth1: Broadcom BCM4320 802.11 Wireless Controller 3.90.37.0
Linux Kernel Card Services 3.1.22
  options:  [pci] [cardbus]
PCI: Enabling device 01:01.0 (0000 -> 0002)
Yenta ISA IRQ mask 0x06f8, PCI irq 2
Socket status: 30000820
cs: cb_alloc(bus 2): vendor 0x11ab, device 0x1faa
PCI: Failed to allocate resource 0(40010000-40007fff) for 02:00.0
PCI: Failed to allocate resource 1(40010000-40007fff) for 02:00.0
PCI: Enabling device 02:00.0 (0000 -> 0002)
PCI: Failed to allocate resource 0(40010000-40007fff) for 02:00.1
PCI: Failed to allocate resource 1(40010000-40007fff) for 02:00.1
PCI: Enabling device 02:00.1 (0000 -> 0002)
PCI: Enabling device 02:00.2 (0000 -> 0002)
BFL_ENETADM not set in boardflags. Use force=1 to ignore.
device eth0 entered promiscuous mode
vlan0: add 01:00:5e:00:00:01 mcast address to master interface
vlan0: dev_set_promiscuity(master, 1)
vlan0: dev_set_allmulti(master, 1)
device eth1 entered promiscuous mode
br0: port 2(eth1) entering learning state
br0: port 1(vlan0) entering learning state
br0: port 2(eth1) entering forwarding state
br0: topology change detected, propagating
br0: port 1(vlan0) entering forwarding state
br0: topology change detected, propagating
vlan1: add 01:00:5e:00:00:01 mcast address to master interface

What can I do next?

comment:4 Changed 11 years ago by m.prenger@…

Anything? Nothing?

Help :)

comment:5 Changed 11 years ago by florian

Do you also use the kernel modules here : http://downloads.openwrt.org/people/nbd/whiterussian/ ?

comment:6 Changed 11 years ago by m.prenger@…

Yes I did. If you wish I can try it once more.

comment:7 Changed 11 years ago by kaloz

  • Milestone set to 0.9/rc6

comment:8 Changed 11 years ago by m.prenger@…

Same results in 0.9test by nbd ...

comment:9 Changed 11 years ago by nbd

  • Milestone changed from 0.9/rc6 to Kamikaze

comment:10 Changed 11 years ago by florian

Same thing with 0.9 ?

comment:11 Changed 11 years ago by ericvanblokland@…

Problem is still there!

Signed: another victim of the Option GT Fusion+

comment:12 Changed 11 years ago by m.prenger@…

Just tried, same errors :(
Could I provide some logs?

comment:13 Changed 11 years ago by m.prenger@…

I've tested several cards of manufactor Option N.V. - the only one I could not get to work is Fusion+:

Jan  1 00:00:09 (none) kern.info kernel: Linux Kernel Card Services 3.1.22
Jan  1 00:00:09 (none) kern.info kernel:   options:  [pci] [cardbus]
Jan  1 00:00:09 (none) user.info : Using /lib/modules/2.4.30/pcmcia_core.o
Jan  1 00:00:09 (none) kern.warn kernel: PCI: Enabling device 01:01.0 (0000 -> 0002)
Jan  1 00:00:09 (none) kern.info kernel: Yenta ISA IRQ mask 0x06f8, PCI irq 2
Jan  1 00:00:09 (none) kern.info kernel: Socket status: 30000820
Jan  1 00:00:09 (none) user.info : Using /lib/modules/2.4.30/yenta_socket.o
Jan  1 00:00:10 (none) kern.info kernel: cs: cb_alloc(bus 2): vendor 0x11ab, device 0x1faa
Jan  1 00:00:10 (none) kern.err kernel: PCI: Failed to allocate resource 0(40010000-40007fff) for 02:00.0
Jan  1 00:00:10 (none) kern.err kernel: PCI: Failed to allocate resource 1(40010000-40007fff) for 02:00.0
Jan  1 00:00:10 (none) kern.warn kernel: PCI: Enabling device 02:00.0 (0000 -> 0002)
Jan  1 00:00:10 (none) kern.err kernel: PCI: Failed to allocate resource 0(40010000-40007fff) for 02:00.1
Jan  1 00:00:10 (none) kern.err kernel: PCI: Failed to allocate resource 1(40010000-40007fff) for 02:00.1
Jan  1 00:00:10 (none) kern.warn kernel: PCI: Enabling device 02:00.1 (0000 -> 0002)
Jan  1 00:00:10 (none) kern.warn kernel: PCI: Enabling device 02:00.2 (0000 -> 0002)
root@OpenWrt:~# cat /proc/bus/usb/devices

T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 0.00
S:  Product=USB OHCI Root Hub
S:  SerialNumber=b8004000
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=255ms

comment:14 Changed 9 years ago by fusion+

Hello, I've the same problem with gt fusion+ (this f card with wifi, think it's problem here). Anybody can repair this problem with this card ??

comment:15 Changed 8 years ago by thepeople

  • Resolution set to obsolete
  • Status changed from new to closed
  • Version set to Kamikaze trunk

This card should work with the kmod-usb-net-hso driver, if now please open a new ticket.

comment:16 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.