Clock Running Slow

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Broadcom SoC based Hardware
Goto page Previous  1, 2, 3, 4  Next
Author Message
teddy_bear
DD-WRT User


Joined: 09 Oct 2008
Posts: 71

PostPosted: Sun Nov 09, 2008 18:19    Post subject: Reply with quote
That's great news, redhawk! Couldn't wait when it's fixed properly.

By the way, according to a poster who created a ticket on OpenWRT, the change he suggested did fix the problem in his OpenWRT build...

_________________
Asus WL-520GU /w Tomato 1.23 ND USB Mod
Sponsor
redhawk0
DD-WRT Guru


Joined: 04 Jan 2007
Posts: 11447
Location: Wherever the wind blows- North America

PostPosted: Sun Nov 09, 2008 21:21    Post subject: Reply with quote
teddy_bear wrote:
That's great news, redhawk! Couldn't wait when it's fixed properly.

By the way, according to a poster who created a ticket on OpenWRT, the change he suggested did fix the problem in his OpenWRT build...


Interesting...I have the original ASUS CFE that I extracted...it specifically states the CPU Clock rate is 240MHz.

I'll try to get with Eko this week sometime to do some investigation work into the issue.

redhawk



Clipboard01.jpg
 Description:
 Filesize:  9.75 KB
 Viewed:  39038 Time(s)

Clipboard01.jpg



_________________
I do NOT provide personal assistance through chat or phone....so please don't ask.
eXisor
DD-WRT User


Joined: 08 Jun 2006
Posts: 98

PostPosted: Sun Nov 16, 2008 16:38    Post subject: Reply with quote
Eko, redhawk0, any luck in finding a more elegant solution to this problem?
_________________
WRT54GL v1.1 - dd-wrt V24 pre-sp2
E3000 - build 14929
redhawk0
DD-WRT Guru


Joined: 04 Jan 2007
Posts: 11447
Location: Wherever the wind blows- North America

PostPosted: Sun Nov 16, 2008 22:10    Post subject: Reply with quote
eXisor wrote:
Eko, redhawk0, any luck in finding a more elegant solution to this problem?


Not yet...still scratching our heads on this one.

Eko is trying to find the GPL files from Asus...but right now, we haven't found where the problem is.

Sorry.

redhawk

_________________
I do NOT provide personal assistance through chat or phone....so please don't ask.
eXisor
DD-WRT User


Joined: 08 Jun 2006
Posts: 98

PostPosted: Mon Nov 17, 2008 6:12    Post subject: Reply with quote
Thanx for the feedback...

Seems odd that the symptom hints at the processor being underclocked to 200mhz, and that the openwrt "special build fix" in fact uses that reliably.

_________________
WRT54GL v1.1 - dd-wrt V24 pre-sp2
E3000 - build 14929
teddy_bear
DD-WRT User


Joined: 09 Oct 2008
Posts: 71

PostPosted: Wed Nov 19, 2008 2:24    Post subject: Reply with quote
redhawk0 wrote:
Eko is trying to find the GPL files from Asus...

Were you able to find the sources? They are available on ASUS web site - go to download page, select "Operating System"->Others, then expand "Others" section, and there you'll see "GPL source code version 2.0.0.8".

However, I've been reading some posts on russian section of AsusForum.NET, and they discuss the same problem in the original ASUS firmware. But the ASUS firmware does resync the time often, and that's why it's not as noticeable. Well, these were old posts, so maybe only older firmware versions were affected - I don't know.

If fixing the clock speed will turn out to be too difficult or not possible, maybe there is a better way of updating the time with NTP client, so it doesn't get set to UTC first, and then to the timezone selected? That would help too - at least it won't break Asterisk registrations...

_________________
Asus WL-520GU /w Tomato 1.23 ND USB Mod
teddy_bear
DD-WRT User


Joined: 09 Oct 2008
Posts: 71

PostPosted: Fri Nov 21, 2008 6:38    Post subject: Reply with quote
FWIW, I looked at the ASUS GPL sources for WL-520GU latest firmware ver. 2.0.0.8, and - lo and behold - there it is:

\src\shared\hndmips.c:
Code:
      /* 5354 chip uses a non programmable PLL of frequency 200MHz for WL520gC/U by Yen*/
      if (sb_chip(sbh) == BCM5354_CHIP_ID) {
         rate = 200000000;
         goto out;
      }

\src\shared.orig\hndmips.c:
Code:
      /* 5354 chip uses a non programmable PLL of frequency 240MHz */
      if (sb_chip(sbh) == BCM5354_CHIP_ID) {
         rate = 200000000;
//         rate = 240000000;
      /* Modify CPU clock to 200MHz 'cause HW fixed PLL rate to 200MHz by Yen*/
         goto out;
      }

Looking at the comments, the rate should be set for 200MHz only for WL520gC/U. Since this code is shared by different router models, the solution similar to the one used by Oleg's firmware could be applied:
Code:
   /* 5354 could run both on 200 & 240 Mhz -- use nvram setting */
   if (sb_chip(sbh) == BCM5354_CHIP_ID && nvram_match("clkfreq", "200"))
      hz = 200000000;


Hopefully Eko or BrainSlayer can make this change to DD-WRT sources soon.

_________________
Asus WL-520GU /w Tomato 1.23 ND USB Mod
Eko
DD-WRT Developer/Maintainer


Joined: 07 Jun 2006
Posts: 5772

PostPosted: Fri Nov 21, 2008 10:21    Post subject: Reply with quote
Test build:

plase set

Code:
nvram set Fix_WL520GUGC_clock=1
nvram commit
reboot


And give me output of:

Code:
nvram get clkfreq
cat /proc/cpuinfo
dmesg


before and after the change.



dd-wrt.v24-10973_NEWD_mini_usb.bin
 Description:

Download
 Filename:  dd-wrt.v24-10973_NEWD_mini_usb.bin
 Filesize:  2.95 MB
 Downloaded:  2034 Time(s)

redhawk0
DD-WRT Guru


Joined: 04 Jan 2007
Posts: 11447
Location: Wherever the wind blows- North America

PostPosted: Fri Nov 21, 2008 11:19    Post subject: Reply with quote
Eko wrote:
Test build:

plase set

Code:
nvram set Fix_WL520GUGC_clock=1
nvram commit
reboot


And give me output of:

Code:
nvram get clkfreq
cat /proc/cpuinfo
dmesg


before and after the change.



Before

root@merlin-10949-mini-usb:~# nvram get clkfreq
240

root@merlin-10949-mini-usb:~# cat /proc/cpuinfo
system type : Broadcom BCM5354 chip rev 3
processor : 0
cpu model : BCM3302 V2.9
BogoMIPS : 239.20
wait instruction : no
microsecond timers : yes
tlb_entries : 32
extra interrupt vector : no
hardware watchpoint : no
VCED exceptions : not available
VCEI exceptions : not available

root@merlin-10949-mini-usb:~# dmesg
CPU revision is: 00029029
Linux version 2.4.36 (bin@dd-wrt) (gcc version 3.4.6 (OpenWrt-2.0)) #2490 Wed Nov 19 14:36:19 CET 2008
Setting the PFC to its default value
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 noinitrd console=ttyS0,115200
CPU: BCM5354 rev 3 at 240 MHz
Using 120.000 MHz high precision timer.
Calibrating delay loop... 239.20 BogoMIPS
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: no core
PCI: Fixing up bus 0
Initializing RT netlink socket
Starting kswapd
devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
squashfs: version 3.0 (2006/03/15) Phillip Lougher
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-0Cool with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled
ttyS00 at 0xb8000300 (irq = 3) is a 16550A
ttyS01 at 0xb8000400 (irq = 3) is a 16550A
PCI: Setting latency timer of device 00:01.0 to 64
PCI: Setting latency timer of device 00:05.0 to 64
sb_doattach: incoming bus is PCI but it's a lie, switching to SB devid:0x4318
Universal TUN/TAP device driver 1.5 (C)1999-2002 Maxim Krasnyansky
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
Amd/Fujitsu Extended Query Table v1.1 at 0x0040
number of CFI chips: 1
cfi_cmdset_0002: Disabling fast programming due to code brokenness.
Flash device: 0x400000 at 0x1c000000
bootloader size: 131072
Physically mapped flash: Filesystem type: squashfs, size=0x20e568
Creating 5 MTD partitions on "Physically mapped flash":
0x00000000-0x00020000 : "cfe"
0x00020000-0x003f0000 : "linux"
0x00103000-0x00320000 : "rootfs"
mtd: partition "rootfs" doesn't start on an erase block boundary -- force read-only
0x003f0000-0x00400000 : "nvram"
0x00320000-0x003f0000 : "ddwrt"
sflash not supported on this router
Initializing Cryptographic API
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 1024 bind 2048)
etherip: Ethernet over IPv4 tunneling driver
ip_conntrack version 2.1 (512 buckets, 4096 max) - 336 bytes per conntrack
ip_tables: (C) 2000-2002 Netfilter core team
ipt_random match loaded
netfilter PSD loaded - (c) astaro AG
ipt_osf: Startng OS fingerprint matching module.
ipt_IPV4OPTSSTRIP loaded
NET4: Unix domain sockets 1.0/SMP for Linux 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
vlan1: add 01:00:5e:00:00:01 mcast address to master interface
vlan0: add 01:00:5e:00:00:01 mcast address to master interface
vlan0: dev_set_promiscuity(master, 1)
device eth0 entered promiscuous mode
device vlan0 entered promiscuous mode
device wl0.1 entered promiscuous mode
vlan1: dev_set_allmulti(master, 1)
vlan1: dev_set_promiscuity(master, 1)
device vlan1 entered promiscuous mode




After

root@merlin-10973-mini-usb:~# nvram get clkfreq
240
root@merlin-10973-mini-usb:~# cat /proc/cpuinfo
system type : Broadcom BCM5354 chip rev 3
processor : 0
cpu model : BCM3302 V2.9
BogoMIPS : 199.88
wait instruction : no
microsecond timers : yes
tlb_entries : 32
extra interrupt vector : no
hardware watchpoint : no
VCED exceptions : not available
VCEI exceptions : not available
root@merlin-10973-mini-usb:~# dmesg
CPU revision is: 00029029
Linux version 2.4.36 (bin@dd-wrt) (gcc version 3.4.6 (OpenWrt-2.0)) #2559 Fri Nov 21 11:14:29 CET 2008
Setting the PFC to its default value
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 noinitrd console=ttyS0,115200
CPU: BCM5354 rev 3 at 200 MHz
Using 100.000 MHz high precision timer.
Calibrating delay loop... 199.88 BogoMIPS
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: no core
PCI: Fixing up bus 0
Initializing RT netlink socket
Starting kswapd
devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
squashfs: version 3.0 (2006/03/15) Phillip Lougher
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-0Cool with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled
ttyS00 at 0xb8000300 (irq = 3) is a 16550A
ttyS01 at 0xb8000400 (irq = 3) is a 16550A
PCI: Setting latency timer of device 00:01.0 to 64
PCI: Setting latency timer of device 00:05.0 to 64
sb_doattach: incoming bus is PCI but it's a lie, switching to SB devid:0x4318
Universal TUN/TAP device driver 1.5 (C)1999-2002 Maxim Krasnyansky
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
Amd/Fujitsu Extended Query Table v1.1 at 0x0040
number of CFI chips: 1
cfi_cmdset_0002: Disabling fast programming due to code brokenness.
Flash device: 0x400000 at 0x1c000000
bootloader size: 131072
Physically mapped flash: Filesystem type: squashfs, size=0x20e8a2
Creating 5 MTD partitions on "Physically mapped flash":
0x00000000-0x00020000 : "cfe"
0x00020000-0x003f0000 : "linux"
0x00103000-0x00320000 : "rootfs"
mtd: partition "rootfs" doesn't start on an erase block boundary -- force read-only
0x003f0000-0x00400000 : "nvram"
0x00320000-0x003f0000 : "ddwrt"
sflash not supported on this router
Initializing Cryptographic API
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 1024 bind 2048)
etherip: Ethernet over IPv4 tunneling driver
ip_conntrack version 2.1 (512 buckets, 4096 max) - 336 bytes per conntrack
ip_tables: (C) 2000-2002 Netfilter core team
ipt_random match loaded
netfilter PSD loaded - (c) astaro AG
ipt_osf: Startng OS fingerprint matching module.
ipt_IPV4OPTSSTRIP loaded
NET4: Unix domain sockets 1.0/SMP for Linux 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
vlan1: add 01:00:5e:00:00:01 mcast address to master interface
vlan0: add 01:00:5e:00:00:01 mcast address to master interface
vlan0: dev_set_promiscuity(master, 1)
device eth0 entered promiscuous mode
device vlan0 entered promiscuous mode
device wl0.1 entered promiscuous mode
vlan1: dev_set_allmulti(master, 1)
vlan1: dev_set_promiscuity(master, 1)
device vlan1 entered promiscuous mode


I'll let you know of the clock is off in about 10 minutes or so.


redhawk

_________________
I do NOT provide personal assistance through chat or phone....so please don't ask.


Last edited by redhawk0 on Fri Nov 21, 2008 11:30; edited 1 time in total
redhawk0
DD-WRT Guru


Joined: 04 Jan 2007
Posts: 11447
Location: Wherever the wind blows- North America

PostPosted: Fri Nov 21, 2008 11:28    Post subject: Reply with quote
Yep...keeping perfect time now....changes minutes exactly as my laptop clock.

Thanx Eko.

redhawk

_________________
I do NOT provide personal assistance through chat or phone....so please don't ask.
teddy_bear
DD-WRT User


Joined: 09 Oct 2008
Posts: 71

PostPosted: Fri Nov 21, 2008 17:01    Post subject: Reply with quote
Thanks Eko!

We're getting closer. The time is dead on with this build Very Happy !

Unfortunately, this build completely brakes USB support for my router - I was unable to make it to recognize my USB devices no matter what I've tried. So I had to roll back to 10947 for now Sad ...

Here's output of commands you asked about:

before
Code:
~# nvram get clkfreq
240
~# cat /proc/cpuinfo
system type      : Broadcom BCM5354 chip rev 3
processor      : 0
cpu model      : BCM3302 V2.9
BogoMIPS      : 239.20
wait instruction   : no
microsecond timers   : yes
tlb_entries      : 32
extra interrupt vector   : no
hardware watchpoint   : no
VCED exceptions      : not available
VCEI exceptions      : not available
~# dmesg
CPU revision is: 00029029
Linux version 2.4.36 (root@dd-wrt) (gcc version 3.4.6 (OpenWrt-2.0)) #1961 Wed Nov 19 02:11:08 CET 2008
Setting the PFC to its default value
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 noinitrd console=ttyS0,115200
CPU: BCM5354 rev 3 at 240 MHz
Using 120.000 MHz high precision timer.
Calibrating delay loop... 239.20 BogoMIPS
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: no core
PCI: Fixing up bus 0
Initializing RT netlink socket
Starting kswapd
devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
squashfs: version 3.0 (2006/03/15) 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 = 3) is a 16550A
PCI: Setting latency timer of device 00:01.0 to 64
PCI: Setting latency timer of device 00:05.0 to 64
sb_doattach: incoming bus is PCI but it's a lie, switching to SB devid:0x4318
Universal TUN/TAP device driver 1.5 (C)1999-2002 Maxim Krasnyansky
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
 Amd/Fujitsu Extended Query Table v1.1 at 0x0040
number of CFI chips: 1
cfi_cmdset_0002: Disabling fast programming due to code brokenness.
Flash device: 0x400000 at 0x1c000000
bootloader size: 131072
Physically mapped flash: Filesystem type: squashfs, size=0x2168df
partition size = 2236284
Updating TRX offsets and length:
old trx = [0x0000001c, 0x000009a4, 0x000de084], len=0x002f6000 crc32=0xf12aa92e
new trx = [0x0000001c, 0x000009a4, 0x000de084], len=0x00300000 crc32=0x83269ed8
Done
Creating 5 MTD partitions on "Physically mapped flash":
0x00000000-0x00020000 : "cfe"
0x00020000-0x003f0000 : "linux"
0x000fe084-0x00320000 : "rootfs"
mtd: partition "rootfs" doesn't start on an erase block boundary -- force read-only
0x003f0000-0x00400000 : "nvram"
0x00320000-0x003f0000 : "ddwrt"
sflash not supported on this router
Initializing Cryptographic API
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 (512 buckets, 4096 max) - 336 bytes per conntrack
ip_tables: (C) 2000-2002 Netfilter core team
ipt_random match loaded
netfilter PSD loaded - (c) astaro AG
ipt_osf: Startng OS fingerprint matching module.
ipt_IPV4OPTSSTRIP loaded
NET4: Unix domain sockets 1.0/SMP for Linux 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
vlan0: add 01:00:5e:00:00:01 mcast address to master interface
vlan0: dev_set_promiscuity(master, 1)
device eth0 entered promiscuous mode
device vlan0 entered promiscuous mode
device eth1 entered promiscuous mode
device vlan1 entered promiscuous mode
vlan1: Setting MAC address to  00 22 15 f9 d8 63.
vlan1: dev_set_promiscuity(master, 1)
vlan1: dev_set_allmulti(master, 1)
vlan1: dev_set_promiscuity(master, -1)
device vlan1 left promiscuous mode
vlan1: dev_set_allmulti(master, -1)
vlan1: add 01:00:5e:00:00:01 mcast address to master interface
etherip: Ethernet over IPv4 tunneling driver
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
USB20H fcr: 0x64
USB20H shim cr: 0x8f7
USB20H syn01 register : 0xfe00fe
USB20H syn03 register : 0x1
PCI: Setting latency timer of device 00:03.0 to 64
usb-ohci.c: USB OHCI at membase 0xb8003000, IRQ 6
usb-ohci.c: usb-00:03.0, PCI device 14e4:471a
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
USB20H fcr: 0x64
USB20H shim cr: 0x8f7
USB20H syn01 register : 0xfe00fe
USB20H syn03 register : 0x1
PCI: Setting latency timer of device 00:03.1 to 64
ehci_hcd 00:03.1: PCI device 14e4:471a
ehci_hcd 00:03.1: irq 6, pci mem b8003800
usb.c: new USB bus registered, assigned bus number 2
ehci_hcd 00:03.1: illegal capability!
ehci_hcd 00:03.1: USB 0.0 enabled, EHCI 1.00, driver 2003-Dec-29/2.4
hub.c: USB hub found
hub.c: 2 ports detected
hub.c: connect-debounce failed, port 1 disabled
SCSI subsystem driver Revision: 1.00
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
USB Mass Storage support registered.
hub.c: new USB device 00:03.1-1, assigned address 2
hub.c: USB hub found
hub.c: 4 ports detected
usb.c: registered new driver usblp
printer.c: v0.13: USB Printer Device Class driver
hub.c: new USB device 00:03.1-1.1, assigned address 3
printer.c: usblp0: USB Bidirectional printer dev 3 if 0 alt 0 proto 2 vid 0x04F9 pid 0x002A
hub.c: new USB device 00:03.1-1.3, assigned address 4
scsi0 : SCSI emulation for USB Mass Storage devices
  Vendor: Memorex   Model: TD CLASSIC 003B   Rev: PMAP
  Type:   Direct-Access                      ANSI SCSI revision: 02
Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
SCSI device sda: 2015232 512-byte hdwr sectors (1032 MB)
sda: Write Protect is off
Partition check:
 /dev/scsi/host0/bus0/target0/lun0: p1
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 4
SQUASHFS error: Can't find a SQUASHFS superblock on sd(8,1)
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended

after
Code:
~# nvram get clkfreq
240
~# cat /proc/cpuinfo
system type      : Broadcom BCM5354 chip rev 3
processor      : 0
cpu model      : BCM3302 V2.9
BogoMIPS      : 199.88
wait instruction   : no
microsecond timers   : yes
tlb_entries      : 32
extra interrupt vector   : no
hardware watchpoint   : no
VCED exceptions      : not available
VCEI exceptions      : not available
~# dmesg
CPU revision is: 00029029
Linux version 2.4.36 (bin@dd-wrt) (gcc version 3.4.6 (OpenWrt-2.0)) #2559 Fri Nov 21 11:14:29 CET 2008
Setting the PFC to its default value
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 noinitrd console=ttyS0,115200
CPU: BCM5354 rev 3 at 200 MHz
Using 100.000 MHz high precision timer.
Calibrating delay loop... 199.88 BogoMIPS
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: no core
PCI: Fixing up bus 0
Initializing RT netlink socket
Starting kswapd
devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
squashfs: version 3.0 (2006/03/15) 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 = 3) is a 16550A
PCI: Setting latency timer of device 00:01.0 to 64
PCI: Setting latency timer of device 00:05.0 to 64
sb_doattach: incoming bus is PCI but it's a lie, switching to SB devid:0x4318
Universal TUN/TAP device driver 1.5 (C)1999-2002 Maxim Krasnyansky
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
 Amd/Fujitsu Extended Query Table v1.1 at 0x0040
number of CFI chips: 1
cfi_cmdset_0002: Disabling fast programming due to code brokenness.
Flash device: 0x400000 at 0x1c000000
bootloader size: 131072
Physically mapped flash: Filesystem type: squashfs, size=0x21444b
Creating 5 MTD partitions on "Physically mapped flash":
0x00000000-0x00020000 : "cfe"
0x00020000-0x003f0000 : "linux"
0x00103000-0x00320000 : "rootfs"
mtd: partition "rootfs" doesn't start on an erase block boundary -- force read-only
0x003f0000-0x00400000 : "nvram"
0x00320000-0x003f0000 : "ddwrt"
sflash not supported on this router
Initializing Cryptographic API
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 1024 bind 2048)
etherip: Ethernet over IPv4 tunneling driver
ip_conntrack version 2.1 (512 buckets, 4096 max) - 336 bytes per conntrack
ip_tables: (C) 2000-2002 Netfilter core team
ipt_random match loaded
netfilter PSD loaded - (c) astaro AG
ipt_osf: Startng OS fingerprint matching module.
ipt_IPV4OPTSSTRIP loaded
NET4: Unix domain sockets 1.0/SMP for Linux 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
vlan0: add 01:00:5e:00:00:01 mcast address to master interface
vlan0: dev_set_promiscuity(master, 1)
device eth0 entered promiscuous mode
device vlan0 entered promiscuous mode
device eth1 entered promiscuous mode
device vlan1 entered promiscuous mode
vlan1: Setting MAC address to  00 22 15 f9 d8 63.
vlan1: dev_set_promiscuity(master, 1)
vlan1: dev_set_allmulti(master, 1)
vlan1: dev_set_promiscuity(master, -1)
device vlan1 left promiscuous mode
vlan1: dev_set_allmulti(master, -1)
vlan1: add 01:00:5e:00:00:01 mcast address to master interface
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
USB20H fcr: 0x64
USB20H shim cr: 0x8f7
USB20H syn01 register : 0xfe00fe
USB20H syn03 register : 0x1
PCI: Setting latency timer of device 00:03.0 to 64
usb-ohci.c: USB OHCI at membase 0xb8003000, IRQ 6
usb-ohci.c: usb-00:03.0, PCI device 14e4:471a
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
USB20H fcr: 0x64
USB20H shim cr: 0x8f7
USB20H syn01 register : 0xfe00fe
USB20H syn03 register : 0x1
PCI: Setting latency timer of device 00:03.1 to 64
ehci_hcd 00:03.1: PCI device 14e4:471a
ehci_hcd 00:03.1: irq 6, pci mem b8003800
usb.c: new USB bus registered, assigned bus number 2
ehci_hcd 00:03.1: illegal capability!
ehci_hcd 00:03.1: USB 0.0 enabled, EHCI 1.00, driver 2003-Dec-29/2.4
hub.c: USB hub found
hub.c: 2 ports detected
SCSI subsystem driver Revision: 1.00
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
USB Mass Storage support registered.
hub.c: new USB device 00:03.1-1, assigned address 2
usb.c: USB device not accepting new address=2 (error=-71)
usb.c: registered new driver usblp
printer.c: v0.13: USB Printer Device Class driver
hub.c: new USB device 00:03.1-1, assigned address 3
usb.c: USB device not accepting new address=3 (error=-71)


The clock works fine - but please notice USB errors at the end of second output.

_________________
Asus WL-520GU /w Tomato 1.23 ND USB Mod
Donny
DD-WRT Guru


Joined: 13 Nov 2008
Posts: 5266
Location: CENTRAL Midnowhere

PostPosted: Fri Nov 21, 2008 18:02    Post subject: Reply with quote
Cool....a top secret 10973 uild that no one knows about! And all those other suckas are still using 10949! Twisted Evil
redhawk0
DD-WRT Guru


Joined: 04 Jan 2007
Posts: 11447
Location: Wherever the wind blows- North America

PostPosted: Fri Nov 21, 2008 21:03    Post subject: Reply with quote
Donny wrote:
Cool....a top secret 10973 uild that no one knows about! And all those other suckas are still using 10949! Twisted Evil


Wow...the little things that excite some people.

redhawk

_________________
I do NOT provide personal assistance through chat or phone....so please don't ask.
adspguy
DD-WRT Novice


Joined: 16 Sep 2008
Posts: 8

PostPosted: Mon Nov 24, 2008 14:23    Post subject: Should I take this update? Reply with quote
I am using the wl520gu with the v24 vpn package and it working great for me except for the bad timekeeping. I am not too concerned about the timekeeping, it doesn't seem to have an effect on other operations since I am not using any time based filters or applications which get the time from the router. Does the clock change have any other effect on the operation of the router which might be causing problems that I just haven't noticed?
Donny
DD-WRT Guru


Joined: 13 Nov 2008
Posts: 5266
Location: CENTRAL Midnowhere

PostPosted: Mon Nov 24, 2008 14:27    Post subject: Re: Should I take this update? Reply with quote
adspguy wrote:
Does the clock change have any other effect on the operation of the router which might be causing problems that I just haven't noticed?


No. It's not a big deal unless you have time sensitive filters. However if you don't want to download the new firmware that fixes it, you could simply run the cron script that redhawk provided in this thread that will keep your clock close.
Goto page Previous  1, 2, 3, 4  Next Display posts from previous:    Page 3 of 4
Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum