OpenWrt Forum Archive

Topic: No modules to charge

The content of this topic has been archived on 2 May 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hello, I have a new small problem. After having to charge the busybox, nothing any more occurs and no module is to charge but the line of order functions.

CFE version 1.0.37-0.6 for BCM96348 (32bit,SP,BE)
Build Date: ¥|  3¤ë  3 18:53:59 CST 2005 (root@hp)
Copyright (C) 2000,2001,2002,2003 Broadcom Corporation.

Initializing Arena.
Initializing Devices.
Auto-negotiation timed-out
10 MB Half-Duplex (assumed)
CPU type 0x29107: 256MHz, Bus: 128MHz, Ref: 32MHz

Total memory used by CFE:  0x80401000 - 0x80522C60 (1186912)
Initialized Data:          0x8041ADB0 - 0x8041C600 (6224)
BSS Area:                  0x8041C600 - 0x80420C60 (18016)
Local Heap:                0x80420C60 - 0x80520C60 (1048576)
Stack Area:                0x80520C60 - 0x80522C60 (8192)
Text (code) segment:       0x80401000 - 0x8041ADB0 (105904)
Boot area (physical):      0x00523000 - 0x00563000
Relocation Factor:         I:00000000 - D:00000000

Board IP address                : 192.168.1.1:ffffff00
Host IP address                 : 192.168.1.100
Gateway IP address              :
Run from flash/host (f/h)       : f
Default host run file name      : vmlinux
Default host flash file name    : bcm963xx_fs_kernel
Boot delay (0-9 seconds)        : 1
Board Id Name                   : 96348GW
Psi size in KB                  : 24
Number of MAC Addresses (1-32)  : 11
Base MAC Address                : 00:03:c9:9b:e0:f6
Ethernet PHY Type               : Internal
Memory size in MB               : 16

*** Press any key to stop auto run (1 seconds) ***
Auto run second count down: 0
Code Address: 0x80010000, Entry Address: 0x80230000
Decompression OK!
Entry at 0x80230000
Closing network.
Starting program at 0x80230000
Linux version 2.6.21.1 (florent@Portable) (gcc version 4.1.2) #5 Thu Jun 7 20:36:48 CEST 2007
Broadcom BCM963xx prom init
Boot loader is : CFEv2
CPU revision is: 00029107
Broadcom BCM963xx MPI
mpi: No Card is in the PCMCIA slot
Determined physical RAM map:
 memory: 00fa0000 @ 00000000 (usable)
Built 1 zonelists.  Total pages: 3969
Kernel command line: console=ttyS0,115200 init=/etc/preinit noinitrd root=/dev/mtdblock2 rootfstype=squashfs
bcm963xx: enabling icache and dcache...
Primary instruction cache 16kB, physically tagged, 2-way, linesize 16 bytes.
Primary data cache 8kB, 2-way, linesize 16 bytes.
Synthesized TLB refill handler (19 instructions).
Synthesized TLB load handler fastpath (31 instructions).
Synthesized TLB store handler fastpath (31 instructions).
Synthesized TLB modify handler fastpath (30 instructions).
PID hash table entries: 64 (order: 6, 256 bytes)
calculating r4koff... 0007d000(512000)
CPU frequency 256.00 MHz
Using 128.000 MHz high precision timer.
Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)
Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
Memory: 13364k/16000k available (1765k kernel code, 2636k reserved, 407k data, 92k init, 0k highmem)
Mount-cache hash table entries: 512
NET: Registered protocol family 16
registering PCI controller with io_map_base unset
Time: MIPS clocksource has been installed.
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 512 (order: 0, 4096 bytes)
TCP bind hash table entries: 512 (order: -1, 2048 bytes)
TCP: Hash tables configured (established 512 bind 512)
TCP reno registered
Software Watchdog Timer: 0.07 initialized. soft_noboot=0 soft_margin=1 sec (nowayout= 0)
audit: initializing netlink socket (disabled)
audit(946684800.236:1): initialized
squashfs: version 3.0 (2006/03/15) Phillip Lougher
io scheduler noop registered
io scheduler cfq registered (default)
bcm963xx_serial driver v2.0
BcmHalMapInterrupt : internal IRQ
bcm963xx: 0x00400000 at 0x1fc00000
bcm963xx: Found 1 x16 devices at 0x0 in 16-bit bank
 Amd/Fujitsu Extended Query Table at 0x0040
bcm963xx: Swapping erase regions for broken CFI table.
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
bcm963xx: Read Signature value of CFE1CFE1$]ð$
bcm963xx: CFE bootloader detected
bcm963xx: CFE boot tag found with version 6 and board type 96348GW.
bcm963xx: Partition 0 is CFE offset 0 and length 10000
bcm963xx: Partition 1 is Kernel offset 1c3100 and length bec75
bcm963xx: Partition 2 is Rootfs offset 10100 and length 1b3000
bcm963xx: Partition 3 is OpenWrt offset 290000 and length 160000
bcm963xx: Partition 4 is NVRAM offset 3f0000 and length 10000
Creating 5 MTD partitions on "bcm963xx":
0x00000000-0x00010000 : "CFE"
0x001c3100-0x00281d75 : "Kernel"
mtd: partition "Kernel" doesn't start on an erase block boundary -- force read-only
0x00010100-0x001c3100 : "Rootfs"
mtd: partition "Rootfs" doesn't start on an erase block boundary -- force read-only
0x00290000-0x003f0000 : "OpenWrt"
0x003f0000-0x00400000 : "NVRAM"
nf_conntrack version 0.5.0 (125 buckets, 1000 max)
ip_tables: (C) 2000-2006 Netfilter Core Team
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
NET: Registered protocol family 15
Bridge firewalling registered
VFS: Mounted root (squashfs filesystem) readonly.
Freeing unused kernel memory: 92k freed
Warning: unable to open an initial console.
Algorithmics/MIPS FPU Emulator v1.5
- preinit -
- init -
init started:  BusyBox v1.4.2 (2007-06-05 21:45:29 CEST) multi-call binary

Please press Enter to activate this console.


BusyBox v1.4.2 (2007-06-05 21:45:29 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 KAMIKAZE (bleeding edge, r7505) -------------------
  * 10 oz Vodka       Shake well with ice and strain
  * 10 oz Triple sec  mixture into 10 shot glasses.
  * 10 oz lime juice  Salute!
 ---------------------------------------------------
root@OpenWrt:/# ls
bin   etc   lib   proc  sbin  tmp   var
dev   jffs  mnt   rom   sys   usr   www
root@OpenWrt:/# cd dev
root@OpenWrt:/dev# ls
console    mem        mtd2       mtd4ro     mtdblock4  random     urandom
full       mtd0       mtd2ro     mtdblock0  null       root       zero
kmem       mtd0ro     mtd3       mtdblock1  port       shm
kmsg       mtd1       mtd3ro     mtdblock2  ptmx       tty
log        mtd1ro     mtd4       mtdblock3  pts        ttyS0
root@OpenWrt:/dev# cd ..
root@OpenWrt:/# lsmod
Module                  Size  Used by    Not tainted

The old version of busybox should still be on the rom partition.  If you really need lsmod to work, change it's symlink (/sbin/lsmod) to point to the original version (/rom/bin/busybox).

It's usually a good idea to avoid upgrading busybox as various kernel things depend on the version.

thank you,
Some modules are charged :

root@OpenWrt:/proc# ps -edf 
  PID  Uid     VmSize Stat Command 
    1 root        392 S   init 
    2 root            SWN [ksoftirqd/0] 
    3 root            SW< [events/0] 
    4 root            SW< [khelper] 
    5 root            SW< [kthread] 
   14 root            SW< [kblockd/0] 
   28 root            SW  [pdflush] 
   29 root            SW  [pdflush] 
   30 root            SW< [kswapd0] 
   31 root            SW< [aio/0] 
   37 root            SW  [mtdblockd] 
  144 root        396 S   logger -s -p 6 -t 
  146 root        536 S   /bin/ash --login 
  172 root        316 S   /sbin/syslogd -C16 -m 0 
  351 root        352 S   syslogd -C16 
  354 root        280 S   klogd 
  362 root        228 S   /sbin/hotplug2 --persistent --max-children 1 
  752 root        316 S   crond -c /etc/crontabs 
  788 root        176 S   httpd -p 80 -h /www -r OpenWrt 
  798 root        192 S   telnetd -l /bin/login 
  855 nobody      348 S   dnsmasq -F 192.168.1.100,192.168.1.250,255.255.255.0, 
  872 root        252 S   pptpd 
 1171 root        376 R   ps -edf 
root@OpenWrt:/proc#

The discussion might have continued from here.