[OpenWrt-Devel] problem connecting usb webcam

2010-05-20 Thread Kövesdi György
Hi,

on Asus WL500 gp V2, Backfire (svn revision #21506)
I have the following problem: 
Connected a Creative webcam (driver gspca_zc3xx) without problem. After some 
time of using, got the following error (messages on the console):

zc3xx: probe 2wr ov vga 0x  
 
ohci_hcd ssb0:1: fatal error
 
ohci_hcd ssb0:1: force halt; handhake b8003814 4000 4000 - -145
 
ohci_hcd ssb0:1: HC died; cleaning up
gspca: set alt 0 err -19
usb 2-1: USB disconnect, address 2
usb 2-1.1: USB disconnect, address 3
usb 2-1.1.1: USB disconnect, address 5
gspca: disconnect complete
usb 2-1.1.2: USB disconnect, address 6
usb 2-1.2: USB disconnect, address 4
.

It seems the whole USB subsystem is crashed. All devices are re-connected, 
including the hard disk.
I don't know what can be the problem. Any suggestions are welcome.
It works well with another, UVC-compatible webcam.

Thanx in advance
K. Gy.
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] mountd behavior

2010-05-15 Thread Kövesdi György
Hi

I started mountd, and seems perfect at first sight. :-)
I have running an application writing the mounted disk (external USB HDD, with 
ext3 fs) all the time.

I found two problems:

-- mountd re-mounts sometimes:
...
May 15 14:10:06 OpenWrt user.crit mountd[1241]: /tmp/run/mountd/sda2 has 
expired... unmounting
May 15 14:10:06 OpenWrt user.crit mountd[1241]: finished unmounting
May 15 14:10:06 OpenWrt user.crit mountd[1241]: Got a autofs packet
May 15 14:10:06 OpenWrt user.crit mountd[1241]: kernel is requesting a mount -
 sda2
May 15 14:10:06 OpenWrt user.crit mountd[1241]: mounting /tmp/run/mountd/sda2
May 15 14:10:06 OpenWrt user.crit mountd[2839]: mount -t ext3 -o rw,defaults 
/dev/sda2 /tmp/run/mountd/sda2
...
Such a remount causes some funny problems accessing the disk.

-- eats all CPU time:
The CPU load is 100% if mountd is running.

I tried it with Kamikaze and Backfire too, with similar results (mountd 
version 0.1-1).

Can anybody suggest another automount method?

Thanx in advance
K. Gy.
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] menuconfig vs kernel_menuconfig

2010-04-19 Thread Kövesdi György
Hi,

Some kernel parameters can be configured in 'make menuconfig', but not all of 
them. The full configuration is in 'make kernel_menuconfig', but its content 
differs from the other one. What happens if they are configured differently?

Regards
K. Gy.
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] mjpg-streamer and kernel crash again

2010-03-24 Thread Kövesdi György
 OK, wanted to be sure that we are hunting a real bug. Did you check that
 the files are actually written to that disk?
Yes, it is written. I sent another email about executing a simple 'ls' command 
on that directory (or any other one containing a lot of files) also leads to 
crash. I suppose that it has similar reason.

 Sounds like a memory leak of the application. Or some (debug) log asking
 too much memory. Maybe /var/log/messages is getting huge?
The /var directory is linked to /tmp, therefore it is stored in the ram. I 
don't think that it is a leak in the application, because there is a lot of 
free memory before crash (according to 'free', 'top', /proc/meminfo, etc), and 
the swap is nearly empty (if used).

As far as i can fllow the kernel backtrace, it wants to allocate some memory, 
which fails - however there is a lot of buffers could be freed (or swap, if 
enabled). After killing the biggest process, it should continue, but kills all 
the other processes instead and freezes (sometimes freezes immediately). In my 
mind these are points to kernel problem. I am trying to follow what happens in 
the kernel, but unfortunately i have few time for it.

Regards
K. Gy.
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] mjpg-streamer and kernel crash again

2010-03-24 Thread Kövesdi György
 Besides that, I would suggest to kill mjpg-streamer from time to time
 and restart it with a different output directory.
I tried it but the time of the crash is not determined exactly: sometimes it 
occures sooner. So, the system will crash for sure, sooner or later.

I want to participate in resolving this problem, as far as i can.

Regards
K. Gy.
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] mjpg-streamer and kernel crash again

2010-03-24 Thread Kövesdi György
 Well, if you can reproduce the problem with ls, you can start
 debugging the kernel and figure out, what exactly allocates that much
 memory and maybe prevent it in some way.
In the case of my 'ls' problem the memory allocation is correct, the memory 
really runs out, but i think that the system should not hang up, only that 
process should be killed.
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] mjpg-streamer and kernel crash again

2010-03-22 Thread Kövesdi György
 Where is the output of mjpg-streamer written to? It looks like it is
 using ram disk or (slow) flash memory. Make sure it is on the hard disk.
Sorry, i forgot to mention that there is a link:
/data - /mnt/xxx/
which point to the HD.

 What is the rate of data being written? If, for some reason, the disk
 (flash?) is too slow, you run out of memory due to the block layer
 buffering.
The measured maximum recorded rate is ~23 fps. My very first try was recording 
one picture in every 15 second, which is very slow, and it also leaded to 
crash in 3 days. Faster recording crashes sooner.

--

I checked some out-of-memory situations, and found strange things. You can 
easily try it (i would like to hear if it works on your system or not): create 
a big directory (~50k...100k files) and give a simple 'ls' command:

$ ls /my/big/directory

No swap is in use, my physical memory is 32M.
The 'ls' allocates very much memory, which leads to out-of-memory. AFAIK, the 
kernel calls the oom-killer, which should kill the biggest process ('ls' in 
this case). It happens, but the system hangs. Some seconds later the following 
message appears on the console:

bcm47xx_wdtWatchdog will fire soon!!!

This is the very last message, the system does not respond any more.
I think this situation should be handled correctly.

Thanx
K. Gy.
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] mjpg-streamer and kernel crash again

2010-03-19 Thread Kövesdi György
Hi,

At last i could create symbolic backtrace (attached).

The hardware is an Asus WL500GP-V2, a 160 Gb HD (on USB), a UVC webcam 
(Logitech Quickcam Sphere).
The commandline is:
mjpg-streamer -i input_uvc.so -f 25 -r 320x240 -l off -o output_file.so -r 
/data/jpeg

128Mb swap is used.
Some commands are executed immediately before crash (see the attached file), 
the free memory and other things are shown.

I cannot imagine that all the memory got allocated within some seconds 
(filling 128Mb space through USB takes some time). I assume that there is a 
problem in the kernel instead.

Regards
K. Gy.

r...@openwrt:~# 
r...@openwrt:~# df
FilesystemSize  Used Available Use% Mounted on
/dev/root 3.1M  3.1M 0 100% /rom
tmpfs14.1M184.0K 13.9M   1% /tmp
tmpfs   512.0K 0512.0K   0% /dev
root  3.1M  3.1M 0 100% /tmp/root
mini_fo:/tmp/root 3.1M  3.1M 0 100% /tmp/root
/dev/mtdblock33.6M432.0K  3.2M  12% /jffs
mini_fo:/jffs 3.1M  3.1M 0 100% /
/dev/sda2   148.9G  9.3G139.6G   6% /mnt/xxx
r...@openwrt:~# 
r...@openwrt:~# 
r...@openwrt:~# free
  total used free   shared  buffers
  Mem:2885628068  788017492
 Swap:   136512 1808   134704
Total:   16536829876   135492
r...@openwrt:~# 
r...@openwrt:~# 
r...@openwrt:~# ps
  PID USER   VSZ STAT COMMAND
1 root  1340 Sinit   
2 root 0 SW   [kthreadd]
3 root 0 SW   [ksoftirqd/0]
4 root 0 SW   [events/0]
5 root 0 SW   [khelper]
8 root 0 SW   [async/mgr]
   24 root 0 SW   [sync_supers]
   26 root 0 SW   [bdi-default]
   28 root 0 SW   [kblockd/0]
   60 root 0 SW   [kswapd0]
   61 root 0 SW   [aio/0]
   63 root 0 SW   [crypto/0]
   78 root 0 SW   [mtdblockd]
  280 root  1352 S/bin/ash --login 
  308 root  1344 Ssyslogd -C16 
  310 root  1324 Sklogd 
  324 root   712 S/sbin/hotplug2 --override --persistent --set-worker /
  452 root 0 SW   [cfg80211]
  521 root 0 SW   [khubd]
  576 root 0 SW   [rpciod/0]
  582 root 0 SW   [nfsiod]
  652 root 0 SW   [scsi_eh_0]
  653 root 0 SW   [usb-storage]
  905 root  1344 Sudhcpc -t 0 -i eth0.1 -b -p /var/run/eth0.1.pid -O ro
  946 root  1332 S/usr/sbin/httpd -p 80 -h /www -r OpenWrt 
  950 root  1328 Stelnetd -l /bin/login.sh 
  976 nobody 868 S/usr/sbin/dnsmasq -K -D -y -Z -b -E -s lan -S /lan/ -
  998 root 0 SWN  [jffs2_gcd_mtd3]
 1028 root  1324 Swatchdog -t 5 /dev/watchdog 
 1038 root  1116 S/usr/sbin/dropbear -p 22 -P /var/run/dropbear.1.pid 
 1059 root 0 SW   [reiserfs/0]
 1260 root  1692 SSCREEN 
 1261 root  1340 S/bin/ash 
 1262 root  1340 S/bin/ash 
 1263 root  1404 S/bin/ash 
 1264 root  1348 S/bin/ash 
 1326 root 0 SW   [flush-8:0]
 1333 root  2116 Smjpg_streamer -i input_uvc.so -f 25 -r 320x240 -l off
 1334 root  2116 Smjpg_streamer -i input_uvc.so -f 25 -r 320x240 -l off
 1335 root  2116 Smjpg_streamer -i input_uvc.so -f 25 -r 320x240 -l off
 1336 root  2116 Smjpg_streamer -i input_uvc.so -f 25 -r 320x240 -l off
 1349 root  1332 Rps 
r...@openwrt:~# 
r...@openwrt:~# 
r...@openwrt:~# top -h

watchdog invoked oom-killer: gfp_mask=0x200da, order=0, oom_adj=0
Call Trace:
[8000a254] dump_stack+0x8/0x34
[8006ba94] T.348+0x68/0x1f8
[8006bd94] __out_of_memory+0x170/0x1a4
[8006be3c] out_of_memory+0x74/0xa4
[8006f5fc] __alloc_pages_nodemask+0x470/0x594
[800928b8] read_swap_cache_async+0x94/0x2a8
[80092b2c] swapin_readaead+0x60/0xe0
[800859a0] handle_mm_fault+0x374/0x740
[8001794c] do_page_fault+0x100/0x2ec
[80001820] ret_from_exception+0x0/0x24

Mem-Info:
Normal per-cpu:
CPU0: hi:0, btch:   1 usd:   0
active_anon:1 inactive_anon:3 isolated_anon:0
 active_file:2281 inactive_file:2293 isolated_file:0
 unevictable:0 dirty:0 writeback:0 unstable:0
 free:247 slab_reclaimable:199 slab_unreclaimable:1081
 mapped:61 shmem:0 pagetables:53 bounce:0
Normal free:984kB min:720kB low:900kB high:1080kB active_anon:4kB 
inactive_anon:12kB active_file:9124kB inactive_file:9172kB unevictable:0kB 
isolated(anon):0kB isolated(file):0kB present:32512kB mlocked:0kB dirty:0kB 
writeback:0kB mapped:244kB shmem:0kB slab_reclaimable:796kB 
slab_unreclaimable:4324kB kernel_stack:328kB pagetables:212kB unstable:0kB 
bounce:0kB writeback_tmp:0kB pages_scanned:2333 all_unreclaimable? no
lowmem_reserve[]: 0 0
Normal: 30*4kB 10*8kB 5*16kB 0*32kB 1*64kB 1*128kB 0*256kB 1*512kB 0*1024kB 
0*2048kB 0*4096kB = 984kB
4577 total pagecache pages
3 pages in swap cache
Swap cache stats: 

Re: [OpenWrt-Devel] kernel: symbolic call trace

2010-03-14 Thread Kövesdi György
 Hi,
 I have some problems with my kernel, so i got call traces frequently. :-(
I just sent this mail accidentally. Sorry.
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] mjpg-streamer on Asus WL500gP V2

2010-03-10 Thread Kövesdi György
Hi,

I tried to use mjpg-streamer and it is working properly - except that after 
recording ~30 frames (~6 hours recording) the kernel crashes. It kills all 
processes with a strange out of memory message. I printed the memory info 
about one minute before crash (date, cat /proc/meminfo, and ps), and cannot 
find any problem. The output is attached.

Kernel version: 2.6.32.8
The hardware is an Asus WL500gP V2, with a USB hard disk. The camera is a UVC 
compatible Logitech webcam.

Has anyone experience in using mjpg-streamer for continuous recording?

Thanx in advance
K. Gy.
Wed Mar 10 08:17:16 UTC 2010
Mem: 28864K used, 832K free, 0K shrd, 17592K buff, 1260K cached
CPU:   0% usr  16% sys   0% nic   0% idle  66% io  16% irq   0% sirq
Load average: 0.78 1.12 1.10 1/43 1340
  PID  PPID USER STAT   VSZ %MEM %CPU COMMAND
 1340   279 root R 1360   5%  17% top -b -n1 
 1166  1164 root S 2188   7%   0% mjpg_streamer -i input_uvc.so -f 25 -
 1165  1164 root S 2188   7%   0% mjpg_streamer -i input_uvc.so -f 25 -
 1164  1163 root S 2188   7%   0% mjpg_streamer -i input_uvc.so -f 25 -
 1163  1162 root S 2188   7%   0% mjpg_streamer -i input_uvc.so -f 25 -
 1158  1157 root S 1696   6%   0% SCREEN 
 1157  1150 root S 1528   5%   0% screen 
  279 1 root S 1372   5%   0% /bin/ash --login 
  300 1 root S 1372   5%   0% syslogd -C16 
 1034 1 root S 1372   5%   0% udhcpc -t 0 -i eth0.1 -b -p /var/run/
 1150  1149 root S 1372   5%   0% -ash 
 1161  1158 root S 1368   5%   0% /bin/ash 
1 0 root S 1368   5%   0% init   
 1159  1158 root S 1368   5%   0% /bin/ash 
 1160  1158 root S 1368   5%   0% /bin/ash 
 1162  1158 root S 1368   5%   0% /bin/ash 
 1108 1 root S 1356   5%   0% /usr/sbin/httpd -p 80 -h /www -r Open
 1139 1 root S 1352   5%   0% watchdog -t 5 /dev/watchdog 
  302 1 root S 1352   5%   0% klogd 
 1149  1101 root S 1200   4%   0% /usr/sbin/dropbear -p 22 -P /var/run/
 1101 1 root S 1144   4%   0% /usr/sbin/dropbear -p 22 -P /var/run/
  316 1 root S  772   3%   0% /sbin/hotplug2 --override --persisten
  722 2 root SW   0   0%   0% [usb-storage]
   59 2 root DW   0   0%   0% [kswapd0]
3 2 root SW   0   0%   0% [ksoftirqd/0]
   23 2 root SW   0   0%   0% [sync_supers]
   75 2 root SW   0   0%   0% [mtdblockd]
 1017 2 root SW   0   0%   0% [flush-8:0]
  844 2 root SW   0   0%   0% [reiserfs/0]
   25 2 root SW   0   0%   0% [bdi-default]
  256 2 root SWN  0   0%   0% [jffs2_gcd_mtd3]
4 2 root SW   0   0%   0% [events/0]
5 2 root SW   0   0%   0% [khelper]
2 0 root SW   0   0%   0% [kthreadd]
8 2 root SW   0   0%   0% [async/mgr]
  524 2 root SW  0   0%   0% [kslowd000]
  534 2 root SW  0   0%   0% [kslowd001]
   27 2 root SW   0   0%   0% [kblockd/0]
  482 2 root SW   0   0%   0% [khubd]
  721 2 root SW   0   0%   0% [scsi_eh_0]
   60 2 root SW   0   0%   0% [aio/0]
  550 2 root SW   0   0%   0% [rpciod/0]
  631 2 root SW   0   0%   0% [nfsiod]

MemTotal:  29696 kB
MemFree:   1008 kB
Buffers:   17456 kB
Cached:  924 kB
SwapCached:  472 kB
Active: 9448 kB
Inactive:   9488 kB
Active(anon):204 kB
Inactive(anon):  356 kB
Active(file):   9244 kB
Inactive(file): 9132 kB
Unevictable:   0 kB
Mlocked:   0 kB
SwapTotal:136512 kB
SwapFree: 134648 kB
Dirty:   100 kB
Writeback: 0 kB
AnonPages:   268 kB
Mapped:  628 kB
Shmem: 4 kB
Slab:   4588 kB
SReclaimable:880 kB
SUnreclaim: 3708 kB
KernelStack: 344 kB
PageTables:  236 kB
NFS_Unstable:  0 kB
Bounce:0 kB
WritebackTmp:  0 kB
CommitLimit:  151360 kB
Committed_AS:   5072 kB
VmallocTotal:1048372 kB
VmallocUsed:1656 kB
VmallocChunk:1029924 kB
FilesystemSize  Used Available Use% Mounted on
/dev/root 2.5M  2.5M 0 100% /rom
tmpfs14.5M 40.0K 14.5M   0% /tmp
tmpfs   512.0K 0512.0K   0% /dev
/dev/mtdblock34.5M760.0K  3.8M  16% /jffs
mini_fo:/jffs 2.5M  2.5M 0 100% /
/dev/sda2   148.9G  8.8G140.1G   6% /mnt/sda2
--
mjpg_streamer invoked oom-killer: gfp_mask=0x201da, order=0, oom_adj=0
Call Trace:[8002ffd4] 0x8002ffd4
[8000a57c] 0x8000a57c
[8000a57c] 0x8000a57c
[8006d440] 0x8006d440
[800487c8] 0x800487c8
[8006dbb8] 0x8006dbb8

Re: [OpenWrt-Devel] mjpg-streamer on Asus WL500gP V2

2010-03-10 Thread Kövesdi György
 Although there is still enough free memory, probably the memory is
 entirely fragmented and it cannot allocate a large block?
What size of block does it need? I think it cannot be larger than one file 
(~30...80k). I cannot imagine that it cannot be allocated. Or, if it occures, 
only the mjpg-streamer is killed. In my case, _all_ processes are killed, 
that's why I think there can be a bug somewhere in the kernel. (in the UVC 
driver?)

 Does this problem occur regularly after about 300k frames?
I tried with different resolution and speed, it is within 290k...310k frames.

 In this case why don't you try to stop and restart mjpg-streamer right
 before that just to see if the system stays up for a longer time?
I will try it, but I would like to catch the problem in the kernel. 
Unfortunately, I don't know too much about the memory handling within the 
kernel. At least the source is available (it is my own compilation), so I will 
try to do something. Any help would be appreciated.

Thanx
K. Gy.
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] 2.6 kernel crash on Asus WL500gP_V2

2010-03-09 Thread Kövesdi György
 Most important is Compile the kernel with symbol table information under
 Global build settings.
 This will resolve all hex addresses to their related names.
I set that option [*], but no more information is printed.
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] 2.6 kernel crash on Asus WL500gP_V2

2010-03-01 Thread Kövesdi György
 Compile a kernel with debugging enabled, this is pretty much worthless
There are a lot of options under debugging in the config. I enabled all of 
them, but the result hangs during boot.
Which one must be enabled?

Thx
K. Gy.
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] Asus WL500gP v2 and wifi

2010-02-27 Thread Kövesdi György
Hi,

Is there any possibility to get the wifi working on Asus WL500gP v2 hardware 
and 2.6 kernel?

Regards
K. Gy.
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] WL500GPv2 USB and 2.6 kernel

2010-02-25 Thread Kövesdi György
 This usb2 core requires the ehci driver (usb2) and the ohci driver
 (ohci). The ohci driver initializes the core. The uhci driver doesn't
 apply to this hardware.

Installing ohci solved the problem!
BTW i read on the net that only usb2 is necessary - which is not
true, accordingly.

Many thanks!
K. Gy.
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] WL500GPv2 USB and 2.6 kernel

2010-02-24 Thread Kövesdi György
 You could start with providing some more informations.
 like: dmesg output, lsmod output, /proc/bus/pci, logread and whatever
 else seems useful.
The boot log and the directory contents of /sys/bus/pci/ are attached. The 
command lspci says nothing. Maybe problems with pci? The 'Support for PCI 
controller' is switched on in the config.
 If you have a working revision, you can also bisect the problem.
Unfortunately it is far away. BTW is it possible to read its flash content? 
The image is not available other way.

Thanx
K. Gy.
Decompressing..done


CFE version 1.0.37 for BCM947XX (32bit,SP,LE)
Build Date: Mon Jan 28 10:52:32 CST 2008 (r...@localhost.localdomain)
Copyright (C) 2000,2001,2002,2003 Broadcom Corporation.

Initializing Arena
Initializing Devices.
Boot partition size = 131072(0x2)
et0: Broadcom BCM47xx 10/100 Mbps Ethernet Controller 4.130.31.0
CPU type 0x29029: 240MHz
Total memory: 32768 KBytes

Total memory used by CFE:  0x8040 - 0x80497FF0 (622576)
Initialized Data:  0x8042F370 - 0x80431830 (9408)
BSS Area:  0x80431830 - 0x80431FF0 (1984)
Local Heap:0x80431FF0 - 0x80495FF0 (409600)
Stack Area:0x80495FF0 - 0x80497FF0 (8192)
Text (code) segment:   0x8040 - 0x8042F370 (193392)
Boot area (physical):  0x00498000 - 0x004D8000
Relocation Factor: I: - D:

Device eth0:  hwaddr 00-22-15-7A-FE-9C, ipaddr 192.168.1.1, mask 255.255.255.0
gateway not set, nameserver not set
Null Rescue Flag.
Loader:raw Filesys:tftp Dev:eth0 File:: Options:(null)
Loading: TFTP Server.
Failed.
Could not load :: Timeout occured
Loader:raw Filesys:raw Dev:flash0.os File: Options:(null)
Loading: .. 4092 bytes read
Entry at 0x80001000
Closing network.
Starting program at 0x80001000
Linux version 2.6.32.8 (k...@linux-x5ej) (gcc version 4.3.3 (GCC) ) #6 Tue Feb 23 21:24:20 CET 2010
CPU revision is: 00029029 (Broadcom BCM3302)
ssb: Core 0 found: ChipCommon (cc 0x800, rev 0x14, vendor 0x4243)
ssb: Core 1 found: Fast Ethernet (cc 0x806, rev 0x09, vendor 0x4243)
ssb: Core 2 found: MIPS 3302 (cc 0x816, rev 0x08, vendor 0x4243)
ssb: Core 3 found: USB 2.0 Host (cc 0x819, rev 0x02, vendor 0x4243)
ssb: Core 4 found: MEMC SDRAM (cc 0x80F, rev 0x04, vendor 0x4243)
ssb: Core 5 found: IEEE 802.11 (cc 0x812, rev 0x0D, vendor 0x4243)
ssb: Core 6 found: Roboswitch (cc 0x81C, rev 0x02, vendor 0x4243)
ssb: Initializing MIPS core...
ssb: set_irq: core 0x0806, irq 4 = 4
ssb: set_irq: core 0x0816, irq 5 = 2
ssb: set_irq: core 0x0812, irq 2 = 5
ssb: after irq reconfiguration
ssb: core 0x0800, irq : 2(S)  3* 4  5  6  D  I 
ssb: core 0x0806, irq : 2(S)  3  4* 5  6  D  I 
ssb: core 0x0816, irq : 2(S)* 3  4  5  6  D  I 
ssb: core 0x0819, irq : 2(S)  3  4  5  6* D  I 
ssb: core 0x080f, irq : 2(S)  3  4  5  6  D  I*
ssb: core 0x0812, irq : 2(S)  3  4  5* 6  D  I 
ssb: core 0x081c, irq : 2(S)  3  4  5  6  D  I*
ssb: Sonics Silicon Backplane found at address 0x1800
Serial init done.
Determined physical RAM map:
 memory: 0200 @  (usable)
Initrd not found or empty - disabling initrd
Zone PFN ranges:
  Normal   0x - 0x2000
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
0: 0x - 0x2000
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
Kernel command line: root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200
PID hash table entries: 128 (order: -3, 512 bytes)
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Primary instruction cache 16kB, VIPT, 4-way, linesize 16 bytes.
Primary data cache 16kB, 2-way, VIPT, cache aliases, linesize 16 bytes
Memory: 29608k/32768k available (2205k kernel code, 3160k reserved, 343k data, 136k init, 0k highmem)
Hierarchical RCU implementation.
NR_IRQS:128
console [ttyS0] enabled
Calibrating delay loop... 3215.08 BogoMIPS (lpj=33488896)
Mount-cache hash table entries: 512
NET: Registered protocol family 16
bio: create slab bio-0 at 0
Switching to clocksource MIPS
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 1024 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
TCP reno registered
NET: Registered protocol family 1
squashfs: version 4.0 (2009/01/31) Phillip Lougher
Registering mini_fo version $Id$
JFFS2 version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
msgmni has been set to 57
io scheduler noop registered
io scheduler deadline registered (default)
Serial: 8250/16550 driver, 2 ports, IRQ sharing enabled
serial8250: ttyS0 at MMIO 0xb8000300 (irq = 3) is a 16550A
serial8250: ttyS1 at MMIO 0xb8000400 (irq = 3) is a 16550A
serial8250.0: ttyS0 at MMIO 0xb8000300 (irq = 3) is a 16550A
serial8250.0: ttyS1 at MMIO 0xb8000400 (irq = 3) is a 16550A
flash init: 

[OpenWrt-Devel] WL500GPv2 USB and 2.6 kernel

2010-02-23 Thread Kövesdi György
Hi,

I have a Asus WL500GPv2 and i would like to use its USB with 2.6 kernel.

I downloaded the recent version of openwrt-brcm-2.4-
squashfs.trx and everything works well, including the USB.
The recent version of openwrt-brcm47xx-squashfs.trx (2.6 
kernel) does not identify the USB system at all. I tried to compile it 
myself (from svn://svn.openwrt.org/openwrt/trunk), the result is 
the same, however, the Broadcom extension for USB is set in the config.

I have an older build of 2.6 which works, but its details are not known. Is 
there any patches necessary?

Thanx in advance
K. Gy.
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] firewall and ppp0

2009-04-09 Thread Kövesdi György
Hi,
I have OpenWrt (Kamikaze 8.09) on Asus WL500GP with kernel version 2.6.25.17.
Using the firewall I found that after manual restart (/etc/init.d/firewall 
restart) the ppp interfaces can be set up incorrectly. I have only one ppp0 
interface, but the iptables (iptables -L -v) can conatin ppp0 and/or ppp2 
references randomly. If ppp0 is missing, then the network does not work at 
all. Restarting the firewall does not resolve the problem, but restarting the 
network (/etc/init.d/network restart) usually does.
After system restart the firewall always set up correctly.
Where the interface name comes from?

Thanx in advance
K. Gy.
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] option overlay_root /jffs

2009-02-22 Thread Kövesdi György
Hi,

I have OpenWrt (Kamikaze 8.09), and 'opkg install xx' says:

 * Only have 0 available blocks on filesystem /, pkg xx needs nnn

I had this error some time ago, and found that the option

 option overlay_root /jffs

resolves this problem. But this version does not accept this option.
I tried this:

 dest root /jffs

and install/upgrade seems working, but I don't know if it is a correct 
solution or not. Or is there any better solution?

Thanx in advance
K. Gy.
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] upgrading kernel

2009-02-18 Thread Kövesdi György
Hi,

The opkg upgrade upgraded my kernel from 2.6.25.19 to 2.6.28.5.
After reboot, the old kernel runs. What can I do to solve it?
I have Asus wl500gp.

Thanx in advance

K. Gy.
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] Only have 0 available blocks on filesystem /

2009-02-18 Thread Kövesdi György
 How can I solve it?
I changed the entry
   dest root /
to:
   dest root /jffs
in the opkg.conf, and it works. After upgrading opkg it must be written back, 
and the option overlay_root is accepted.

Thanx!

K. Gy.
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] Only have 0 available blocks on filesystem /

2009-02-17 Thread Kövesdi György
Hi,

I have Asus wl500gp, and wanted to upgrade:

/# opkg upgrade

and got the following message:

...
 * Only have 0 available blocks on filesystem / ...
...

the 'df' output is:

FilesystemSize  Used Avail Use% Mounted on
rootfs1.4M  1.4M 0 100% /
/dev/root 1.4M  1.4M 0 100% /rom
tmpfs  15M  840K   14M   6% /tmp
tmpfs 512K 0  512K   0% /dev
/dev/mtdblock35.7M  1.2M  4.5M  21% /jffs
mini_fo:/jffs 1.4M  1.4M 0 100% /
/dev/sda2 3.7G 1021M  2.5G  29% /mnt/usbdrive

I don't really understand the filesystem structure used on OpenWrt. AFAIK, the 
root filesystem always shows 0 available blocks, however, e.g. 1Mb sized 
files can be created in directories /, /lib, /bin, etc., using the 4.5M free 
space from /jffs. Why opkg cannot do it?

Thanx in advance
K. Gy.
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel