[Elphel-support] strreaming problem...

Carlos Padial palidoestudio2 at gmail.com
Fri May 18 15:17:28 PDT 2012


ok, here is log from camera boot

ETRAX FS NAND boot loader

=========================

Rev 1, Nov 23 2009 12:31:43

Boot config: 0x00040000->0x40440000, len 0x00200000, boot @ 0x40440000

CPU revision: 0x00000020

Bootloader main at 0x38000ce2

Data end: 0x3800573c

Bss: 0x38008000

Heap: 0x38008000

Identifying nand chip...

maf_id: 0x00000020; dev_id: 0x000000f1

mtd->size == 0x08000000

scan_bbt(); mtd->size == 0x08000000

scan_bbt() ...01; mtd->size == 0x08000000

len == 0x00000100; and BBT_LEN_1 == 0x00000400

scan_bbt() ...02; mtd->size == 0x08000000

scan_bbt() ...03; mtd->size == 0x08000000

scan_bbt() ...1; mtd->size == 0x08000000

scan_bbt() ...2; mtd->size == 0x08000000

scan_bbt() search_read_bbts(); mtd->size == 0x08000000

search_read_bbts() search primary table; mtd->size == 0x08000000

search_bbt() ...1; mtd->size == 0x08000000

search_bbt() ...2; maxblocks: 0x00000004; mtd->size == 0x08000000

Block: 0x000003ff

Check, if we found a bbt for each requested chip

Bad block table found at page0x0000ffc0, version 0x00000001

search_read_bbts() search mirror table

search_bbt() ...1; mtd->size == 0x08000000

search_bbt() ...2; maxblocks: 0x00000004; mtd->size == 0x08000000

Block: 0x000003ff

Block: 0x000003fe

Check, if we found a bbt for each requested chip

Bad block table found at page0x0000ff80, version 0x00000001

scan_bbt() ...3

Done.

Chip identified... 3; NAND 128MiB 3,3V 8-bit

type: 0x00000004

flags: 0x000000c5

size: 0x08000000

erasesize: 0x00020000

oobblock: 0x00000800

oobsize: 0x00000040

ecctype: 0x00000002

eccsize: 0x00000100

Oob info:

useecc: 0x00000002

eccbytes: 0x00000018

eccpos: 0x00000028 0x00000029 0x0000002a 0x0000002b 0x0000002c
0x0000002d 0x0000002e 0x0000002f 0x00000030 0x00000031 0x00000032
0x00000033 0x00000034 0x00000035 0x00000036 0x00000037 0x00000038
0x00000039 0x0000003a 0x0000003b 0x0000003c 0x0000003d 0x0000003e
0x0000003f

Bootload in progress...

New block 0x00040000;len: 0x00200000;start: 0x00040000

New block 0x00060000;len: 0x001e0000;start: 0x00060000

New block 0x00080000;len: 0x001c0000;start: 0x00080000

New block 0x000a0000;len: 0x001a0000;start: 0x000a0000

New block 0x000c0000;len: 0x00180000;start: 0x000c0000

New block 0x000e0000;len: 0x00160000;start: 0x000e0000

New block 0x00100000;len: 0x00140000;start: 0x00100000

New block 0x00120000;len: 0x00120000;start: 0x00120000

New block 0x00140000;len: 0x00100000;start: 0x00140000

New block 0x00160000;len: 0x000e0000;start: 0x00160000

New block 0x00180000;len: 0x000c0000;start: 0x00180000

New block 0x001a0000;len: 0x000a0000;start: 0x001a0000

New block 0x001c0000;len: 0x00080000;start: 0x001c0000

New block 0x001e0000;len: 0x00060000;start: 0x001e0000

New block 0x00200000;len: 0x00040000;start: 0x00200000

New block 0x00220000;len: 0x00020000;start: 0x00220000

complete, status 0x00000000, loaded 0x00200000 bytes

Data in DRAM:

0x25f005b0 0x009cedff 0xbeef05b0

Booting...

Uncompressing Linux...

Done. Now booting the kernel.

Linux version 2.6.19 (oleg at eyesisboxus) (gcc version 3.2.1 Axis
release R64/1.64) #2 Sun Jan 15 18:43:42 MST 2012

Setting up paging and the MMU.

Linux/CRISv32 port on ETRAX FS (C) 2003, 2004 Axis Communications AB

Built 1 zonelists.  Total pages: 8160

Kernel command line: root=/dev/mtdblock3 init=/linuxrc rootfstype=jffs2

PID hash table entries: 256 (order: 8, 1024 bytes)

Dentry cache hash table entries: 8192 (order: 2, 32768 bytes)

Inode-cache hash table entries: 4096 (order: 1, 16384 bytes)

Memory: 40304k/65536k available (1744k kernel code, 25232k reserved,
622k data, 72k init)

Mount-cache hash table entries: 1024

NET: Registered protocol family 16

SCSI subsystem initialized

usbcore: registered new interface driver usbfs

usbcore: registered new interface driver hub

usbcore: registered new device driver usb

NET: Registered protocol family 2

IP route cache hash table entries: 512 (order: -2, 2048 bytes)

TCP established hash table entries: 2048 (order: 0, 8192 bytes)

TCP bind hash table entries: 1024 (order: -1, 4096 bytes)

TCP: Hash tables configured (established 2048 bind 1024)

TCP reno registered

Check hardware configuration of Elphel 353 camera

Elphel 10349/10369 IO extension board is present

fast_timer_init()

JFFS2 version 2.2. (NAND) (C) 2001-2006 Red Hat, Inc.

io scheduler noop registered (default)

Serial: CRISv32 driver $Revision: 1.78 $ <6>ttyS0 at I/O 0xb0026000
(irq = 68) is a CRISv32

RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize

PPP generic driver version 2.4.2

ETRAX FS 10/100MBit ethernet v0.01 (c) 2003 Axis Communications AB

eth0: changed MAC to 00:40:8C:CD:00:00

Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2

ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx

ide: ETRAX FS built-in ATA DMA controller

cris_ide_init()

hda: TOSHIBA MK1231GAL, ATA DISK drive

Physical sector 4096 bytes

Updating sector size to match that of a hard drive: 4096

ide0 at 0x10000000-0x10000007,0x2c000000 on irq 65

hda: max request size: 128KiB

hda: 234441648 sectors (120034 MB), CHS=16383/255/63, (U)DMA

Skipping WIN_SPECIFY for large sectors drive, it is useless here and
likely not supported

Skipping WIN_SPECIFY for large sectors drive, it is useless here and
likely not supported

hda: cache flushes supported

 hda: hda1

Initializing USB Mass Storage driver...

usbcore: registered new interface driver usb-storage

USB Mass Storage support registered.

usbcore: registered new interface driver usbserial

drivers/usb/serial/usb-serial.c: USB Serial support registered for generic

usbcore: registered new interface driver usbserial_generic

drivers/usb/serial/usb-serial.c: USB Serial Driver core

drivers/usb/serial/usb-serial.c: USB Serial support registered for
Belkin / Peracom / GoHubs USB Serial Adapter

usbcore: registered new interface driver belkin

drivers/usb/serial/belkin_sa.c: USB Belkin Serial converter driver v1.2

drivers/usb/serial/usb-serial.c: USB Serial support registered for cp2101

usbcore: registered new interface driver cp2101

drivers/usb/serial/cp2101.c: Silicon Labs CP2101/CP2102 RS232 serial
adaptor driver v0.07

drivers/usb/serial/usb-serial.c: USB Serial support registered for
Garmin GPS usb/tty

usbcore: registered new interface driver garmin_gps

drivers/usb/serial/garmin_gps.c: garmin gps driver v0.28

drivers/usb/serial/usb-serial.c: USB Serial support registered for MCT U232

usbcore: registered new interface driver mct_u232

drivers/usb/serial/mct_u232.c: Magic Control Technology USB-RS232
converter driver z2.0

drivers/usb/serial/usb-serial.c: USB Serial support registered for pl2303

usbcore: registered new interface driver pl2303

drivers/usb/serial/pl2303.c: Prolific PL2303 USB to serial adaptor driver

ETRAX FS stream co-processor driver v0.01, (c) 2003 Axis Communications AB

stream co-processor: init done.

axisflashmap: ...

NAND device: Manufacturer ID: 0x20, Chip ID: 0xf1 (ST Micro NAND
128MiB 3,3V 8-bit)

Additional Info: ID byte3=0x0, byte4=0x1d

Flash is rated 30 ns, modifying bif_core_rw_grp3: old=0x6300483, new=0x6300001

NAND 128MiB 3,3V 8-bit: 0x08000000 bytes of NAND flash memory.

axisflashmap: Set to boot from NAND flash, making NAND flash primary device.

axisflashmap: flash read 512 bytes at 0x00040000, data: 00 b0 05 f0 25 ff ed 9c

axisflashmap: partition table offset 10, data: ef be 84 00 12 0f 00 00

axisflashmap: Found a valid partition table at 0xc03019ae-0xc0301a3a.

offset == 0x00040000, size == 0x007C0000

offset == 0x00800000, size == 0x01800000

offset == 0x02000000, size == 0x05000000

offset == 0x07000000, size == 0x00C00000

Creating 1 MTD partitions on "NAND 128MiB 3,3V 8-bit":

0x00000000-0x08000000 : "main"

Creating 1 MTD partitions on "NAND 128MiB 3,3V 8-bit":

0x00000000-0x00040000 : "part0"

Creating 1 MTD partitions on "NAND 128MiB 3,3V 8-bit":

0x00040000-0x00800000 : "part1"

Creating 1 MTD partitions on "NAND 128MiB 3,3V 8-bit":

0x00800000-0x02000000 : "part2"

Creating 1 MTD partitions on "NAND 128MiB 3,3V 8-bit":

0x02000000-0x07000000 : "part3"

Creating 1 MTD partitions on "NAND 128MiB 3,3V 8-bit":

0x07000000-0x07c00000 : "part4"

ETRAX FS GPIO driver v2.5, (c) 2003-2006 Axis Communications AB

Elphel (R) model 353 FPGA (Xilinx (R) XC3S1200E) configuration driver - 132

Elphel (R) model 353 system clocks (PLL frequency synth.) driver - 133

fpga_control- 129

arch/cris/arch-v32/drivers/elphel/framepars.c:390:initGlobalPars
GLOBALPARS(G_DEBUG)=0

arch/cris/arch-v32/drivers/elphel/framepars.c:420:initMultiPars
GLOBALPARS(G_MULTI_NUM)=0

Elphel (R) Model 353 Frame Parameters device driver - 130

Elphel FPGA interrupts initialized

Initializing DMA registers for EXTDMA3 - Elphel (R) Model 353 Camera
Driver - 126

Elphel (R) model 353 i2c character device driver - 134, 2 channels

Raw image access driver- 131

Elphel (R) Model 353 video buffer device driver- 135

Elphel (R) model 353 Exif device driver - 125

Starting Elphel (R) Model 353 Gamma Tables device driver - 137

Elphel (R) Model 353 Gamma Tables device driver - 137

Elphel (R) Model 353 Histograms device driver

imu_logger- 141

TCP cubic registered

NET: Registered protocol family 1

NET: Registered protocol family 17

VFS: Mounted root (jffs2 filesystem) readonly.

Freeing unused kernel memory: 72k freed

/linuxrc: Mounting /mnt/flash... Empty flash at 0x00b7e238 ends at 0x00b7e800

Empty flash at 0x01b46038 ends at 0x01b46800

Empty flash at 0x01b5e544 ends at 0x01b5e800

done

/linuxrc: Starting init.

init: starting up.

Starting system initialization.



Axis Linux, http://developer.axis.com/

Copyright (C) 2000-2007 Axis Communications AB



Elphel (R) Model 353 Camera release 8.1.2



 * Mounting filesystems...

                                                                        [ ok ]

 * Initializing /var...

                                                                        [ ok ]

 * Determining MAC address...


    + using saved MAC address: 00:0E:64:08:19:B0

                                                                        [ ok ]

 * Initializing random number generator...

                                                                        [ ok ]

 * Setting hostname...


    + hostname: "Elphel353"

                                                                        [ ok ]

 * Initializing volatile resolver configuration...

                                                                        [ ok ]

 * Setting FPGA master clock to 160 MHz...

                                                                        [ ok ]

 * Programming FPGA with /etc/x353.bit...

                                                                        [ ok ]

 * Loaded FPGA rev...


 [ 353402b ]

 * Adjusting DDR SDRAM clock phase...


 [ PH 90/24 ]

 * Turn on xtall output (12MHz) to FPGA...

                                                                        [ ok ]

 * Some CMOS-based sensor board attached...


 [ assuming 10338 ]

 * Configure broadcast ping...

                                                                        [ ok ]

System initialization is done.

/bin/sh: can't access tty; job control turned off

# New runlevel: 3

 * Starting respawn daemon...

                                                                        [ ok ]

 * Starting system and kernel logger...

Jan  1 00:00:18 Elphel353 syslogd 1.4.1: restart.


    + system logger started


    + kernel logger started

                                                                        [ ok ]

 * Bringing lo up...

                                                                        [ ok ]

 * Bringing eth0 up...

eth0: changed MAC to 00:0E:64:08:19:B0


    + hardware address: 00:0E:64:08:19:B0


    + media: auto


    + eth0 going up

eth0: changed MAC to 00:0E:64:08:19:B0


    + IPv4 on eth0


    + boot protocol: none


    + IP address: 192.168.0.9


    + netmask: 255.255.255.0


    + broadcast address: 192.168.0.255


    + default IPv4 gateway: 192.168.0.15


    + set MDI to MDI (normal) mode

y


    + done

                                                                        [ ok ]

 * Waiting for a network interface...


    + eth0 is up

                                                                        [ ok ]

 * Starting ipsetd...

Jan  1 00:00:20 Elphel353 ipsetd[709]: Timeout in 120 s.

Jan  1 00:00:20 Elphel353 ipsetd[709]: Expecting echo request payload 408 bytes.

Jan  1 00:00:20 Elphel353 ipsetd[709]: On echo request arrival,
execute /etc/ipsetd.script.

                                                                        [ ok ]

 * Starting telnet server...

telnetd: starting

  port: 23; interface: any; login program: /bin/login;

  maximum number of allowed simultaneous clients: unlimited

                                                                        [ ok ]

 * Starting ftp server...

Jan  1 00:00:20 Elphel353 vftpd[715]: Starting vftpd 0.01

Jan  1 00:00:20 Elphel353 vftpd[716]: qos_setup_socket: unsupported AF

                                                                        [ ok ]

 * Starting ssh server...

Jan  1 00:00:21 Elphel353 dropbear[727]: Running in background

                                                                        [ ok ]

 * Starting mii-diag...

                                                                        [ ok ]

 * Starting image server on port 8081, making Exif...

                                                                        [ ok ]

 * Flushing JFFS2 (sync)...

                                                                        [ ok ]

 * Starting autocampars daemon...

                                                                        [ ok ]

 * Starting autoexposure daemon...

autoexposure started, daemon_bit=0x0, debug=0x1

autoexposure.c:126:main: autoexposure started, daemon_bit=0x0, debug=0x1

                                                                        [ ok ]

 * Starting ccamftp daemon...

                                                                        [ ok ]

 * initializing camera/sensor parameters...

arch/cris/arch-v32/drivers/elphel/framepars.c:390:initGlobalPars
GLOBALPARS(G_DEBUG)=0

initSequencers:resetting both sequencers

arch/cris/arch-v32/drivers/elphel/framepars.c:420:initMultiPars
GLOBALPARS(G_MULTI_NUM)=0

sensor clock set to 20000000

removing MRST from the sensor

Found MT9P001 2592x1944 sensor, chip ID=1801

trying MT9P001

Resetting MT9X001 sensor

Reading sensor registers to the shadows:

Initializing MT9X001 registers with default values:

Starting hardware sequencers

                                                                        [ ok ]

 * Starting lighttpd web server...

                                                                        [ ok ]

 * Setting time from NTP server...


[ unavailable ]

 * Looking for I/O board...


 [ 10369"A" ]

ETRAX FS IOP USB Host Controller version 1.10 (c) 2004, 2005,
2006	Axis Communications AB

crisv32_hc crisv32_hc.0: ETRAX FS IOP USB Host Controller

crisv32_hc crisv32_hc.0: new USB bus registered, assigned bus number 1

crisv32_hc crisv32_hc.0: irq 51, io base 0x00000000

usb usb1: configuration #1 chosen from 1 choice

hub 1-0:1.0: USB hub found

hub 1-0:1.0: 1 port detected

crisv32_hc crisv32_hc.0: ETRAX FS IOP USB Host Controller

usbcore: registered new interface driver snd-usb-audio

usbcore: registered new interface driver snd-usb-caiaq

 * Initializing USB hub...

                                                                        [ ok ]

 * Setting system time from CMOS clock...

usb 1-1: new full speed USB device using crisv32_hc and address 2

usb 1-1: configuration #1 chosen from 1 choice

hub 1-1:1.0: USB hub found

hub 1-1:1.0: 4 ports detected


 [ Fri May 18 21:41:48 UTC 2012 ]

 * Starting video streamer...

                                                                        [ ok ]

 * Starting IMU/GPS/compass...

                                                                        [ none ]

launcher: nothing to launch

All scripts for runlevel 3 done in 89.71s.

May 18 21:42:51 Elphel353 ipsetd[709]: Timed out after 120s.

#######################################################################################################################################

and now top just after boot

Mem: 24440K used, 15936K free, 0K shrd, 0K buff, 14808K cached
CPU:   0% usr   0% sys   0% nic  99% idle   0% io   0% irq   0% sirq
Load average: 0.21 0.15 0.09 2/34 860
  PID  PPID USER     STAT   VSZ %MEM %CPU COMMAND
  860   854 root     R     1496   4%   0% top
  751     1 root     S     4136  10%   0% /usr/local/sbin/autoexposure
  827     1 root     S    44912 111%   0% /usr/local/bin/str
  829   827 root     S    44912 111%   0% /usr/local/bin/str
  830   829 root     S    44912 111%   0% /usr/local/bin/str
  763   759 root     S    30872  76%   0% /usr/local/sbin/php
  764   763 root     S    30872  76%   0% /usr/local/sbin/php
  765   763 root     S    30872  76%   0% /usr/local/sbin/php
  759     1 root     S     4976  12%   0% /usr/local/sbin/lighttpd -f /etc/light
  727     1 root     S     1480   4%   0% /usr/sbin/dropbear
  716     1 root     S     1432   4%   0% /bin/vftpd -r
  854   712 root     S     1352   3%   0% -sh
  647     1 root     S     1352   3%   0% /bin/sh
  654     1 root     S     1312   3%   0% /usr/sbin/syslogd -m 0 -o 40000
  657     1 root     S     1144   3%   0% /usr/sbin/klogd -x
    1     0 root     S     1136   3%   0% init
  712     1 root     S     1136   3%   0% /bin/utelnetd -d
  651     1 root     S     1136   3%   0% /sbin/respawnd
  746     1 root     S     1136   3%   0% /usr/local/sbin/imgsrv -p 8081
  752     1 root     S     1120   3%   0% /usr/local/sbin/launch_php_script 2 /u


####

i setup camera to 1280x720 @ 24.989 fps 51K

run mplayer

MPlayer SVN-r33713-4.6.1 (C) 2000-2011 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing rtsp://192.168.0.9:554.
Resolving 192.168.0.9 for AF_INET6...

Couldn't resolve name for AF_INET6: 192.168.0.9
Connecting to server 192.168.0.9[192.168.0.9]: 554...

rtsp_session: unsupported RTSP server. Server type is 'unknown'.
Resolving 192.168.0.9 for AF_INET6...

Couldn't resolve name for AF_INET6: 192.168.0.9
Connecting to server 192.168.0.9[192.168.0.9]: 554...

http_read_response read 0 (i.e. EOF).
No stream found to handle url rtsp://192.168.0.9:554

Exiting... (End of file)

i cant get the stream with the same computer,

i setup camera to 640x480 @ 24.989 fps 18K
and launch mplayer from other laptop ubuntu in the same lan
(the camera is conected to a router, and also the pcs)

--------------------------
top while running (non stop)

Mem: 27264K used, 13112K free, 0K shrd, 0K buff, 16248K cached
CPU:   0% usr   3% sys   0% nic  94% idle   0% io   0% irq   1% sirq
Load average: 0.02 0.08 0.08 2/34 1129
  PID  PPID USER     STAT   VSZ %MEM %CPU COMMAND
  830   829 root     S    44928 111%   4% /usr/local/bin/str
  860   854 root     R     1496   4%   0% top
  751     1 root     R     4136  10%   0% /usr/local/sbin/autoexposure
  827     1 root     S    44928 111%   0% /usr/local/bin/str
  829   827 root     S    44928 111%   0% /usr/local/bin/str
  765   763 root     S    30936  76%   0% /usr/local/sbin/php
  764   763 root     S    30936  76%   0% /usr/local/sbin/php
  763   759 root     S    30872  76%   0% /usr/local/sbin/php
  759     1 root     S     5288  13%   0% /usr/local/sbin/lighttpd -f /etc/light
  727     1 root     S     1480   4%   0% /usr/sbin/dropbear
  716     1 root     S     1432   4%   0% /bin/vftpd -r
  854   712 root     S     1352   3%   0% -sh
  647     1 root     S     1352   3%   0% /bin/sh
  654     1 root     S     1312   3%   0% /usr/sbin/syslogd -m 0 -o 40000
  657     1 root     S     1144   3%   0% /usr/sbin/klogd -x
    1     0 root     S     1136   3%   0% init
  746     1 root     S     1136   3%   0% /usr/local/sbin/imgsrv -p 8081
  712     1 root     S     1136   3%   0% /bin/utelnetd -d
  651     1 root     S     1136   3%   0% /sbin/respawnd
  752     1 root     S     1120   3%   0% /usr/local/sbin/launch_php_script 2 /u

i setup again to 1280x720 @ 24.989 fps 51K
and launch mplayer from the other laptop

top while running mplayer  (about 10 seconds)

Mem: 27376K used, 13000K free, 0K shrd, 0K buff, 16248K cached
CPU:   0% usr   4% sys   0% nic  92% idle   0% io   0% irq   1% sirq
Load average: 0.29 0.14 0.10 2/34 1189
  PID  PPID USER     STAT   VSZ %MEM %CPU COMMAND
  860   854 root     R     1496   4%   0% top
  854   712 root     S     1352   3%   0% -sh
  830   829 root     S    44928 111%   6% /usr/local/bin/str

and now top before mplayer crashes

Mem: 27296K used, 13080K free, 0K shrd, 0K buff, 16248K cached
CPU:   0% usr   0% sys   0% nic  98% idle   0% io   0% irq   1% sirq
Load average: 0.41 0.19 0.12 2/34 1189
  PID  PPID USER     STAT   VSZ %MEM %CPU COMMAND
  860   854 root     R     1496   4%   0% top
  854   712 root     S     1352   3%   0% -sh
  830   829 root     S    44928 111%   0% /usr/local/bin/str
  829   827 root     S    44928 111%   0% /usr/local/bin/str
  827     1 root     S    44928 111%   0% /usr/local/bin/str
  765   763 root     S    30936  76%   0% /usr/local/sbin/php
  764   763 root     S    30936  76%   0% /usr/local/sbin/php
  763   759 root     S    30872  76%   0% /usr/local/sbin/php
  759     1 root     S     5296  13%   0% /usr/local/sbin/lighttpd -f /etc/light
  752     1 root     S     1120   3%   0% /usr/local/sbin/launch_php_script 2 /u
  751     1 root     S     4136  10%   0% /usr/local/sbin/autoexposure
  750     1 root     R     1120   3%   0% /usr/local/sbin/autocampars
  746     1 root     S     1136   3%   0% /usr/local/sbin/imgsrv -p 8081
  727     1 root     S     1480   4%   0% /usr/sbin/dropbear
  716     1 root     S     1432   4%   0% /bin/vftpd -r
  712     1 root     S     1136   3%   0% /bin/utelnetd -d
  657     1 root     S     1144   3%   0% /usr/sbin/klogd -x
  654     1 root     S     1312   3%   0% /usr/sbin/syslogd -m 0 -o 40000
  651     1 root     S     1136   3%   0% /sbin/respawnd
  647     1 root     S     1352   3%   0% /bin/sh

then the camera dont respond and hangs, last top showed is:

Mem: 27344K used, 13032K free, 0K shrd, 0K buff, 16248K cached
CPU:   0% usr   4% sys   0% nic  91% idle   0% io   0% irq   2% sirq
Load average: 0.03 0.11 0.09 2/34 1190
  PID  PPID USER     STAT   VSZ %MEM %CPU COMMAND
  830   829 root     S    44928 111%   7% /usr/local/bin/str
 1190   854 root     R     1496   4%   0% top
  827     1 root     S    44928 111%   0% /usr/local/bin/str





2012/5/18 Oleg <support-list at support.elphel.com>:
>> 2. Command "top" right after the boot + before/after you launch
>> mplayer could be helpful.
>
> I meant before the mplayer crashes.
>
> On 18 May 2012 12:52, Oleg <support-list at support.elphel.com> wrote:
>>
>> Carlos,
>>
>> "Top"s look ok. I also tried a camera with the 8.1.2 firmware and my PC -
>> streaming works at 1920x1088.
>>
>> Sorry, I forgot to ask you to check a few more things:
>>
>> 1. You should have a usb-serial cable - could you connect it and send us
>> the camera boot log? And also the info the camera writes when the streamer
>> is working.
>> 2. Command "top" right after the boot + before/after you launch
>> mplayer could be helpful.
>>
>> Best regards,
>> Oleg Dzhimiev
>> Electronics Engineer
>> phone: +1 801 783 5555 x124
>> Elphel, Inc.
>>
>>
>> On 18 May 2012 06:53, Carlos Padial <palidoestudio2 at gmail.com> wrote:
>>>
>>> > PC's OS - ?
>>>
>>> ok, lets me explain...
>>>
>>> i have two computers. A netbook (samsung n150, atom) with linux mint
>>> 12 32 bits, ubuntu 10.10 32 bits, and with this computer i also use
>>> the live usb.
>>>
>>> The second one is an intel i7 with linux mint 12 64bits, ubuntu 12.04
>>> 32bits, (and till yesterday ubuntu 11.10)
>>> When i try the live usb with this computer it works badly...
>>> (resolution is 640x400 and window management gests crazy everytime...
>>> making it unusable...
>>>
>>> When i have tried to install the usb, it doenst seems to recognice the
>>> password i entered during the instalation so i'm only working with the
>>> live version.
>>>
>>> I have tried mplayer with all of this OS and the results are similar.
>>>
>>> With the liveusb in the atom netbook i believe the problem is that the
>>> netbook seems not to be able to open high resolution streams, with
>>> 1920x1088 (128K) dont show any image, but i tried 640x480 (24k) and
>>> the image is showed and even mantained for a long time (30-50 seconds)
>>> But after that mplayer exits
>>>
>>> The best results i had was in the i7 with ubuntu 12, mplayer (MPlayer
>>> svn r34540 (Ubuntu) and 640x480 (24k) ,  the live preview was working
>>> without stop (i stopped it)
>>>
>>> when i setup 1280x720 (73k) and mplayer dont show the image...
>>> i come back to 640x480 (27k) and the live preview works fine... this
>>> is the only setup showing the live preview non stop...
>>>
>>> with 800x600 (40k) the preview show the image for 2 seconds and then
>>> stops..
>>> above this resolution the image is not showed (only one time each 10...
>>>
>>> > Camera firmware - ?
>>>
>>> Firmware Version: Elphel (R) Model 353 Camera release 8.1.2
>>>
>>> > FPS = 24?
>>>
>>> now i'm limitting fps to 25 (using instructions from wiki FPScontrol)
>>>
>>> > Image dimensions and size - 1920x1088, 100-150KB?
>>>
>>> > Mplayer version (let's stick to mplayer)?
>>>
>>> MPlayer svn r34540 (Ubuntu)  (in ubuntu 12, where i have the best
>>> results for the moment)
>>>
>>> > During that 5-10 sec of working the window with image opens, right? or
>>> > it
>>>
>>> > just crashes not showing anything?
>>>
>>> when i say mplayer is working i mean it opens a window and the image
>>> is showed. Then the window close and mplayer says:
>>>
>>>  Exiting... (End of file)
>>>
>>> > 2. Some things that you could try:
>>> > Does mplayer act the same if you boot from our LiveUSB?
>>>
>>> Yes, the response is similar but i need to run liveUSB correctly in
>>> the i7 to test...
>>>
>>> > Check the CPU usage on the camera - "top" or "ps" from the telnet
>>> > session -
>>> > could also you send us this info?
>>>
>>>
>>> top-------------------------------------------------------------------------------------------
>>>
>>> Mem: 27384K used, 12992K free, 0K shrd, 0K buff, 16248K cached
>>> CPU:   0% usr   0% sys   0% nic  98% idle   0% io   0% irq   0% sirq
>>> Load average: 0.27 0.26 0.26 5/34 2001
>>>  PID  PPID USER     STAT   VSZ %MEM %CPU COMMAND
>>>  751     1 root     S     4136  10%   1% /usr/local/sbin/autoexposure
>>>  2001  1996 root     R     1496   4%   0% top
>>>  830   829 root     S    44928 111%   0% /usr/local/bin/str
>>>  827     1 root     S    44928 111%   0% /usr/local/bin/str
>>>  829   827 root     S    44928 111%   0% /usr/local/bin/str
>>>  765   763 root     S    30936  76%   0% /usr/local/sbin/php
>>>  764   763 root     S    30936  76%   0% /usr/local/sbin/php
>>>  763   759 root     S    30872  76%   0% /usr/local/sbin/php
>>>  759     1 root     S     5336  13%   0% /usr/local/sbin/lighttpd -f
>>> /etc/light
>>>  727     1 root     S     1480   4%   0% /usr/sbin/dropbear
>>>  716     1 root     S     1432   4%   0% /bin/vftpd -r
>>>  1996   712 root     S     1352   3%   0% -sh
>>>  647     1 root     S     1352   3%   0% /bin/sh
>>>  654     1 root     S     1312   3%   0% /usr/sbin/syslogd -m 0 -o 40000
>>>  657     1 root     S     1144   3%   0% /usr/sbin/klogd -x
>>>    1     0 root     S     1136   3%   0% init
>>>  746     1 root     S     1136   3%   0% /usr/local/sbin/imgsrv -p 8081
>>>  651     1 root     S     1136   3%   0% /sbin/respawnd
>>>  712     1 root     S     1136   3%   0% /bin/utelnetd -d
>>>  752     1 root     S     1120   3%   0%
>>> /usr/local/sbin/launch_php_script 2 /u
>>>
>>> this is top with the camera configured with  1280x720 (73k)
>>> then i start mplayer in other terminal and the streamed video is
>>> showed for 2 seconds... when the mplayer stop, top show this other
>>> info:
>>>
>>> Mem: 27456K used, 12920K free, 0K shrd, 0K buff, 16248K cached
>>> CPU:   0% usr   1% sys   0% nic  97% idle   0% io   0% irq   1% sirq
>>> Load average: 0.20 0.24 0.25 2/34 2001
>>>  PID  PPID USER     STAT   VSZ %MEM %CPU COMMAND
>>>  2001  1996 root     R     1496   4%   1% top
>>>  751     1 root     S     4136  10%   0% /usr/local/sbin/autoexposure
>>>  830   829 root     S    44928 111%   0% /usr/local/bin/str
>>>  750     1 root     R     1120   3%   0% /usr/local/sbin/autocampars
>>>  827     1 root     S    44928 111%   0% /usr/local/bin/str
>>>  829   827 root     S    44928 111%   0% /usr/local/bin/str
>>>  765   763 root     S    30936  76%   0% /usr/local/sbin/php
>>>  764   763 root     S    30936  76%   0% /usr/local/sbin/php
>>>  763   759 root     S    30872  76%   0% /usr/local/sbin/php
>>>  759     1 root     S     5336  13%   0% /usr/local/sbin/lighttpd -f
>>> /etc/light
>>>  727     1 root     S     1480   4%   0% /usr/sbin/dropbear
>>>  716     1 root     S     1432   4%   0% /bin/vftpd -r
>>>  1996   712 root     S     1352   3%   0% -sh
>>>  647     1 root     S     1352   3%   0% /bin/sh
>>>  654     1 root     S     1312   3%   0% /usr/sbin/syslogd -m 0 -o 40000
>>>
>>> ps-------------------------------------------
>>>
>>>  PID USER       VSZ STAT COMMAND
>>>
>>>    1 root      1136 S    init
>>>    2 root         0 SWN  [ksoftirqd/0]
>>>    3 root         0 SW   [watchdog/0]
>>>    4 root         0 SW<  [events/0]
>>>    5 root         0 SW<  [khelper]
>>>    6 root         0 SW<  [kthread]
>>>    8 root         0 SW<  [kblockd/0]
>>>   11 root         0 SW<  [khubd]
>>>   23 root         0 SW   [pdflush]
>>>   24 root         0 SW   [pdflush]
>>>   25 root         0 SW<  [kswapd0]
>>>   26 root         0 SW<  [aio/0]
>>>  568 root         0 SW   [mtdblockd]
>>>  602 root         0 SWN  [jffs2_gcd_mtd4]
>>>  647 root      1352 S    /bin/sh
>>>  651 root      1136 S    /sbin/respawnd
>>>  654 root      1312 S    /usr/sbin/syslogd -m 0 -o 40000
>>>  657 root      1144 S    /usr/sbin/klogd -x
>>>  712 root      1136 S    /bin/utelnetd -d
>>>  716 root      1432 S    /bin/vftpd -r
>>>  727 root      1480 S    /usr/sbin/dropbear
>>>  746 root      1136 S    /usr/local/sbin/imgsrv -p 8081
>>>  750 root      1120 S    /usr/local/sbin/autocampars
>>>  751 root      4136 S    /usr/local/sbin/autoexposure
>>>  752 root      1120 S    /usr/local/sbin/launch_php_script 2
>>> /usr/local/sbin/c
>>>  759 root      5336 S    /usr/local/sbin/lighttpd -f /etc/lighttpd.conf
>>> -m /us
>>>  763 root     30872 S    /usr/local/sbin/php
>>>  764 root     30936 S    /usr/local/sbin/php
>>>  765 root     30936 S    /usr/local/sbin/php
>>>  827 root     44928 S    /usr/local/bin/str
>>>  829 root     44928 S    /usr/local/bin/str
>>>  830 root     44928 S    /usr/local/bin/str
>>>  1996 root      1352 S    -sh
>>>  2002 root      1488 R    ps
>>>
>>> usually when i use telnet after mplayer exits, telnet didnt respond for a
>>> while.
>>>
>>> it seems that with gstreamer when this happends, i need to restart the
>>> camera, but with mplayer i dont need to restart the camera (yet)
>>>
>>> > Your PC/laptop CPU usage?
>>>
>>> top running in my i7 (ubuntu 12.04) shows:
>>>
>>> top - 13:55:00 up  1:49,  4 users,  load average: 0.92, 0.97, 1.04
>>> Tasks: 198 total,   2 running, 196 sleeping,   0 stopped,   0 zombie
>>> Cpu(s):  1.8%us,  0.5%sy,  0.0%ni, 97.7%id,  0.0%wa,  0.0%hi,  0.0%si,
>>>  0.0%st
>>> Mem:  12401224k total,  2853840k used,  9547384k free,   142224k buffers
>>> Swap:   524284k total,        0k used,   524284k free,  1919880k cached
>>>
>>>  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
>>>  2662 root      20   0 70732  51m  12m S    6  0.4   7:02.82 Xorg
>>>  3346 carlos    20   0  467m 161m  23m S    3  1.3   5:35.28
>>> plugin-containe
>>>  2913 carlos    20   0  328m 164m  38m S    2  1.4  13:12.51 compiz
>>>  1659 carlos     9 -11  171m 5696 4104 S    1  0.0   1:23.66
>>> pulseaudio
>>>  3884 carlos    20   0 96084  17m  11m S    1  0.1   0:29.12
>>> gnome-terminal
>>>  3309 carlos    20   0  547m 179m  32m S    0  1.5   4:15.87 firefox
>>>  5669 root      20   0     0    0    0 S    0  0.0   0:00.91
>>> kworker/0:1
>>>  5825 carlos    20   0  2836 1200  884 R    0  0.0   0:00.03 top
>>>    1 root      20   0  3636 1984 1284 S    0  0.0   0:01.26 init
>>>    2 root      20   0     0    0    0 S    0  0.0   0:00.00 kthreadd
>>>    3 root      20   0     0    0    0 S    0  0.0   0:00.12
>>> ksoftirqd/0
>>>    6 root      RT   0     0    0    0 S    0  0.0   0:00.00
>>> migration/0
>>>    7 root      RT   0     0    0    0 S    0  0.0   2:09.07
>>> watchdog/0
>>>    8 root      RT   0     0    0    0 S    0  0.0   0:00.00
>>> migration/1
>>>   10 root      20   0     0    0    0 S    0  0.0   0:00.05
>>> ksoftirqd/1
>>>   12 root      RT   0     0    0    0 S    0  0.0   0:29.46
>>> watchdog/1
>>>   13 root      RT   0     0    0    0 S    0  0.0   0:00.00
>>> migration/2
>>>   15 root      20   0     0    0    0 S    0  0.0   0:00.05
>>> ksoftirqd/2
>>>   16 root      RT   0     0    0    0 S    0  0.0   0:00.01
>>> watchdog/2
>>>   17 root      RT   0     0    0    0 S    0  0.0   0:00.00
>>> migration/3
>>>   19 root      20   0     0    0    0 S    0  0.0   0:00.03
>>> ksoftirqd/3
>>>   20 root      RT   0     0    0    0 S    0  0.0   0:00.04
>>> watchdog/3
>>>   21 root      RT   0     0    0    0 S    0  0.0   0:00.00
>>> migration/4
>>>   23 root      20   0     0    0    0 S    0  0.0   0:00.01
>>> ksoftirqd/4
>>>   24 root      RT   0     0    0    0 S    0  0.0   0:00.01
>>> watchdog/4
>>>   25 root      RT   0     0    0    0 S    0  0.0   0:00.00
>>> migration/5
>>>   27 root      20   0     0    0    0 S    0  0.0   0:00.00
>>> ksoftirqd/5
>>>   28 root      RT   0     0    0    0 S    0  0.0   0:00.01
>>> watchdog/5
>>>   29 root      RT   0     0    0    0 S    0  0.0   0:00.00
>>> migration/6
>>>   30 root      20   0     0    0    0 S    0  0.0   0:00.00
>>> kworker/6:0
>>>   31 root      20   0     0    0    0 S    0  0.0   0:00.00
>>> ksoftirqd/6
>>>   32 root      RT   0     0    0    0 S    0  0.0   0:00.01
>>> watchdog/6
>>>   33 root      RT   0     0    0    0 S    0  0.0   0:00.00
>>> migration/7
>>>   35 root      20   0     0    0    0 S    0  0.0   0:00.01
>>> ksoftirqd/7
>>>   36 root      RT   0     0    0    0 S    0  0.0   0:00.01 watchdog/7
>>>
>>> > Best regards,
>>> > Oleg Dzhimiev
>>> > Electronics Engineer
>>> > phone: +1 801 783 5555 x124
>>> > Elphel, Inc.
>>>
>>>
>>>
>>> --
>>> Carlos Padial
>>> surreal.asturnazari.es
>>>
>>> _______________________________________________
>>> Support-list mailing list
>>> Support-list at support.elphel.com
>>>
>>> http://support.elphel.com/mailman/listinfo/support-list_support.elphel.com
>>
>>
>>
>
>
>
> --
> Best regards,
> Oleg Dzhimiev
> Electronics Engineer
> phone: +1 801 783 5555 x124
> Elphel, Inc.



-- 
Carlos Padial
surreal.asturnazari.es




More information about the Support-list mailing list