2008-07-17 12:41:56     some troubles with jffs2

Document created by Aaronwu Employee on Aug 7, 2013
Version 1Show Document
  • View in full screen mode

2008-07-17 12:41:56     some troubles with jffs2

Hadi Boulfelfel (FRANCE)

Message: 59026   

 

Hi,

 

using BF537 , 2008R1-RC8 dist  and an M25P128 Flash.

 

when i tried to put the jffs2 on my board on the ST M25128 ( 128Mb) i got some probs, the config is as follows;

 

Partition1: U-Boot.

 

Partition2: kernel Image.

 

Partion3: jffs2 fs

 

I used the default config in the stamp.c file :

 

#if defined(CONFIG_MTD_M25P80) \

    || defined(CONFIG_MTD_M25P80_MODULE)

static struct mtd_partition bfin_spi_flash_partitions[] = {

    {

        .name = "bootloader",

        .size = 0x00040000,

        .offset = 0,

        .mask_flags = MTD_CAP_ROM

    }, {

        .name = "kernel",

        .size = 0xe0000,

        .offset = 0x40000

    }, {

        .name = "file system",

        .size = 0x6e0000,

        .offset = 0x00120000,

    }

};

 

I load it like this:

 

> bootargs=root=/dev/mtdblock2 rw rootfstype=jffs2 earlyprintk=serial,uart0,57600

 

> eeprom read 1000000 40000 7C0000

 

kernel loads with those log messages:

 

bootm

## Booting image at 01000000 ...

   Image Name:   Linux-2.6.22.18-ADI-2008R1-svn

   Created:      2008-07-17  14:00:13 UTC

   Image Type:   Blackfin Linux Kernel Image (gzip compressed)

   Data Size:    895470 Bytes = 874.5 kB

   Load Address: 00001000

   Entry Point:  00170000

   Verifying Checksum ... OK

   Uncompressing Kernel Image ... OK

Starting Kernel at = 170000

[17179569.184000] Linux version 2.6.22.18-ADI-2008R1-svn (root@linux-SUSE) (gcc version 4.1.2 (ADI svn)) #375 Thu Jul 17 16:00:08 CEST 2008

[17179569.184000] early printk enabled on early_BFuart0

[17179569.184000] Hardware Trace Active and Enabled

[17179569.184000] Warning: limiting memory to 56MB due to hardware anomaly 05000263

[17179569.184000] Blackfin support (C) 2004-2007 Analog Devices, Inc.

[17179569.184000] Compiled for ADSP-BF537 Rev 0.2

[17179569.184000] Blackfin Linux support by http://blackfin.uclinux.org/

[17179569.184000] Processor Speed: 600 MHz core clock and 100 MHz System Clock

[17179569.184000] Board Memory: 64MB

[17179569.184000] Kernel Managed Memory: 64MB

[17179569.184000] Memory map:

[17179569.184000]   text      = 0x00001000-0x00110ae0

[17179569.184000]   rodata    = 0x00111000-0x0015fe5c

[17179569.184000]   data      = 0x00160000-0x00170000

[17179569.184000]     stack   = 0x00160000-0x00162000

[17179569.184000]   init      = 0x00170000-0x0018b000

[17179569.184000]   bss       = 0x0018b000-0x0019a670

[17179569.184000]   available = 0x0019a670-0x037ff000

[17179569.184000]   DMA Zone  = 0x03f00000-0x04000000

[17179569.184000] Data Cache Enabled (write-through)

[17179569.184000] Built 1 zonelists.  Total pages: 14224

[17179569.184000] Kernel command line: root=/dev/mtdblock2 rw rootfstype=jffs2 earlyprintk=serial,uart0,57600 ip=192.168.0.38:192.168.0.20:19f

[17179569.184000] Configuring Blackfin Priority Driven Interrupts

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

[17179569.184000] console handover: boot [early_BFuart0] -> real [ttyBF0]

[17179569.188000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)

[17179569.192000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)

[17179569.204000] Memory available: 55120k/65536k RAM, (108k init code, 1086k kernel code, 443k data, 1024k dma, 7756k reserved)

[17179569.208000] Blackfin Scratchpad data SRAM: 4 KB

[17179569.212000] Blackfin Data A SRAM: 16 KB (15 KB free)

[17179569.216000] Blackfin Data B SRAM: 16 KB (16 KB free)

[17179569.220000] Blackfin Instruction SRAM: 48 KB (39 KB free)

[17179569.328000] Mount-cache hash table entries: 512

[17179569.336000] NET: Registered protocol family 16

[17179569.340000] Blackfin GPIO Controller

[17179569.344000] Blackfin DMA Controller

[17179569.348000] stamp_init(): registering device resources

[17179569.352000] Generic PHY: Registered new driver

[17179569.360000] NET: Registered protocol family 2=

                                                    [17179569.400000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)

[17179569.404000] TCP established hash table entries: 2048 (order: 2, 16384 bytes)

[17179569.408000] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)

[17179569.412000] TCP: Hash tables configured (established 2048 bind 2048)

[17179569.420000] TCP reno registered

[17179569.436000] JFFS2 version 2.2. (NAND) .. 2001-2006 Red Hat, Inc.

[17179569.444000] io scheduler noop registered

[17179569.448000] io scheduler anticipatory registered (default)

[17179569.452000] io scheduler cfq registered

[17179569.456000] pfx: pfbits driver for bf5xx

[17179569.464000] PPI: ADSP PPI Frame Capture Driver IRQ:11

[17179569.472000] timer_initialize: module loaded

[17179569.476000] bfin-wdt: initialized: timeout=20 sec (nowayout=0)

[17179569.480000] Serial: Blackfin serial driver

[17179569.484000] bfin-uart.1: ttyBF0 at MMIO 0xffc00400 (irq = 18) is a BFIN-UART

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

[17179569.492000] SMSC LAN83C185: Registered new driver

[17179569.496000] bfin_mac_mdio: probed

[17179569.500000] bfin_mac: attached PHY driver [SMSC LAN83C185] (mii_bus:phy_addr=0:01, irq=-1, mdc_clk=2500000Hz(mdc_div=19)@sclk=100MHz)

[17179569.508000] bfin_mac: Version 1.1, Blackfin BF53[67] BF527 on-chip Ethernet MAC driver

[17179569.512000] Generic platform RAM MTD, (c) 2004 Simtec Electronics

[17179569.516000] m25p80 spi0.1: m25p64 (8192 Kbytes)

[17179569.520000] Creating 3 MTD partitions on "m25p80":

[17179569.524000] 0x00000000-0x00040000 : "bootloader"

[17179569.528000] 0x00040000-0x00120000 : "kernel"

[17179569.532000] 0x00120000-0x00800000 : "file system"

[17179569.536000] bfin-spi bfin-spi.0: Blackfin BF5xx on-chip SPI Contoller Driver, Version 1.0, regs_base@ffc00500, dma channel@7

[17179569.540000] rtc-bfin rtc-bfin: rtc core: registered rtc-bfin as rtc0

[17179569.544000] i2c /dev entries driver

[17179569.548000] i2c-bfin-twi i2c-bfin-twi.0: Blackfin BF5xx on-chip I2C TWI Contoller Driver, Version 1.8, regs_base@ffc01400

[17179569.552000] TCP cubic registered

[17179569.556000] NET: Registered protocol family 1

[17179569.560000] NET: Registered protocol family 17

[17179569.576000] rtc-bfin rtc-bfin: setting the system clock to 2008-07-17 18:08:33 (1216318113)

[17179571.088000] IP-Config: Complete:

[17179571.092000]       device=eth0, addr=192.168.0.38, mask=255.255.255.0, gw=192.168.0.1,

[17179571.104000]      host=192.168.0.38, domain=, nis-domain=(none),

[17179571.108000]      bootserver=192.168.0.20, rootserver=192.168.0.20, rootpath=

[17179572.208000] VFS: Mounted root (jffs2 filesystem).

[17179572.212000] Freeing unused kernel memory: 108k freed

[17179572.240000] dma_alloc_init: dma_page @ 0x00184000 - 256 pages at 0x03f00000

[17179572.500000] PHY: 0:01 - Link is Up - 100/Full

mount: mounting devpts on /dev/pts failed

                           _____________________________________

        a8888b.           / Welcome to the uClinux distribution \

       d888888b.         /       _     _                         \

       8P"YP"Y88        /       | |   |_|            __  __ (TM)  |

       8|o||o|88  _____/        | |    _ ____  _   _ \ \/ /       |

       8'    .88       \        | |   | |  _ \| | | | \  /        |

       8`._.' Y8.       \       | |__ | | | | | |_| | /  \        |

      d/      `8b.       \      \____||_|_| |_|\____|/_/\_\       |

     dP   .    Y8b.       \   For embedded processors including   |

    d8:'  "  `::88b        \    the Analog Devices Blackfin      /

   d8"         'Y88b        \___________________________________/

  :8P    '      :888

   8a.   :     _a88P         For further information, check out:

._/"Yaa_:   .| 88P|            - http://blackfin.uclinux.org/

\    YP"    `| 8P  `.          - http://docs.blackfin.uclinux.org/

/     \.___.d|    .'           - http://www.uclinux.org/

`--..__)8888P`._.'  jgs/a:f    - http://www.analog.com/blackfin

 

Have a lot of fun...

 

 

BusyBox v1.4.1 (2008-07-17 16:01:15 CEST) Built-in shell (msh)

Enter 'help' for a list of built-in commands.

 

root:/> [17179574.152000] JFFS2 warning: (14) jffs2_do_read_inode_internal: Truncating ino #238 to 505912 bytes failed because it only had 35!

 

root:/> [17179680.644000] Node totlen on flash (0xffffffff) != totlen from node ref (0x0000004c)

[17179680.652000] Node totlen on flash (0xffffffff) != totlen from node ref (0x00000060)

[17179680.656000] Node totlen on flash (0xffffffff) != totlen from node ref (0x00000060)

init: /sbin/syslogd respawning too fast

init: /sbin/klogd respawning too fast

init: /sbin/syslogd respawning too fast

init: /sbin/klogd respawning too fast

init: /sbin/syslogd respawning too fast

init: /sbin/klogd respawning too fast

init: /sbin/syslogd respawning too fast

init: /sbin/klogd respawning too fast

init: /sbin/syslogd respawning too fast

init: /sbin/klogd respawning too fast

 

root:/> init: /sbin/syslogd respawning too fast

init: /sbin/klogd respawning too fast

init: /sbin/syslogd respawning too fast

init: /sbin/klogd respawning too fast 

 

so, what do you think about the above background colored messages ? and what about the M25P128 Flash?

 

Thank you,

 

best regards                                                                                                   

TranslateQuoteReplyEditDelete

 

 

2008-07-17 21:35:35     Re: some troubles with jffs2

Mike Frysinger (UNITED STATES)

Message: 59039   

 

you need to change the '.type' field to match your part in the board resources file

QuoteReplyEditDelete

 

 

2008-07-19 03:39:28     Re: some troubles with jffs2

Hadi Boulfelfel (FRANCE)

Message: 59107   

 

Mike,

 

You mean that I need just to change it like this:  (.type = "m25p128",) ?

TranslateQuoteReplyEditDelete

 

 

2008-07-19 04:07:28     Re: some troubles with jffs2

Mike Frysinger (UNITED STATES)

Message: 59108   

 

yes

QuoteReplyEditDelete

 

 

2008-07-19 04:34:35     Re: some troubles with jffs2

Hadi Boulfelfel (FRANCE)

Message: 59126   

 

Ok thank you Mike,

 

but what about the others errors:

 

mount: mounting devpts on /dev/pts failed

 

root:/> [17179574.152000] JFFS2 warning: (14) jffs2_do_read_inode_internal: Truncating ino #238 to 505912 bytes failed because it only had 35!

 

what do those mean?

TranslateQuoteReplyEditDelete

 

 

2008-07-19 12:55:27     Re: some troubles with jffs2

Mike Frysinger (UNITED STATES)

Message: 59134   

 

if you disable the devpts filesystem in the kernel, then trying to mount it isnt going to work

 

i wouldnt bother looking at mtd errors until your mtd's are configured properly

QuoteReplyEditDelete

 

 

2008-07-28 05:52:26     Re: some troubles with jffs2

Hadi Boulfelfel (FRANCE)

Message: 59469   

 

Thank you Mike and sorry to be too late ,

 

I changed the .type to {.type = "m25p128",} but I get other problems as follow:

 

New changes to the bfin_spi_flash_partitions[] in order to  align write/read of blocks :

 

static struct mtd_partition bfin_spi_flash_partitions[] = {

    {

        .name = "bootloader",

        .size = 0x00040000,

        .offset = 0,

        .mask_flags = MTD_CAP_ROM

    }, {

        .name = "kernel",

        .size = 0x100000, //0xe0000

        .offset = 0x40000

    }, {

        .name = "file system",

        .size = 0x300000, //0x6e0000

        .offset = 0x00140000,

    }

};

 

I flash them:

 

>mw.b 1000 0 400000

 

>tftp 1000 vmImage

 

>tftp 101000 rootfs.jffs2

 

>eeprom write 1000 40000 400000

 

and I boot :

 

>eeprom read 1000000 40000 400000

 

with bootargs : bootargs=root=/dev/mtdblock2 rw rootfstype=jffs2 earlyprintk=serial,uart0,57600

 

>bootm

 

bootm

## Booting image at 01000000 ...

   Image Name:   Linux-2.6.22.18-ADI-2008R1-svn

   Created:      2008-07-28   9:20:45 UTC

   Image Type:   Blackfin Linux Kernel Image (gzip compressed)

   Data Size:    895486 Bytes = 874.5 kB

   Load Address: 00001000

   Entry Point:  00170000

   Verifying Checksum ... OK

   Uncompressing Kernel Image ... OK

Starting Kernel at = 170000

[17179569.184000] Linux version 2.6.22.18-ADI-2008R1-svn (root@linux-SUSE) (gcc version 4.1.2 (ADI svn)) #381 Mon Jul 28 11:20:39 CEST 2008

[17179569.184000] early printk enabled on early_BFuart0

[17179569.184000] Hardware Trace Active and Enabled

[17179569.184000] Warning: limiting memory to 56MB due to hardware anomaly 05000263

[17179569.184000] Reset caused by Software reset

[17179569.184000] Blackfin support (C) 2004-2007 Analog Devices, Inc.

[17179569.184000] Compiled for ADSP-BF537 Rev 0.2

[17179569.184000] Blackfin Linux support by http://blackfin.uclinux.org/

[17179569.184000] Processor Speed: 600 MHz core clock and 100 MHz System Clock

[17179569.184000] Board Memory: 64MB

[17179569.184000] Kernel Managed Memory: 64MB

[17179569.184000] Memory map:

[17179569.184000]   text      = 0x00001000-0x00110ae0

[17179569.184000]   rodata    = 0x00111000-0x0015fe5c

[17179569.184000]   data      = 0x00160000-0x00170000

[17179569.184000]     stack   = 0x00160000-0x00162000

[17179569.184000]   init      = 0x00170000-0x0018b000

[17179569.184000]   bss       = 0x0018b000-0x0019a670

[17179569.184000]   available = 0x0019a670-0x037ff000

[17179569.184000]   DMA Zone  = 0x03f00000-0x04000000

[17179569.184000] Data Cache Enabled (write-through)

[17179569.184000] Built 1 zonelists.  Total pages: 14224

[17179569.184000] Kernel command line: root=/dev/mtdblock2 rw rootfstype=jffs2 earlyprintk=serial,uart0,57600 ip=192.168.0.38:192.168.0.20:19f

[17179569.184000] Configuring Blackfin Priority Driven Interrupts

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

[17179569.184000] console handover: boot [early_BFuart0] -> real [ttyBF0]

[17179569.188000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)

[17179569.192000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)

[17179569.204000] Memory available: 55120k/65536k RAM, (108k init code, 1086k kernel code, 443k data, 1024k dma, 7756k reserved)

[17179569.208000] Blackfin Scratchpad data SRAM: 4 KB

[17179569.212000] Blackfin Data A SRAM: 16 KB (15 KB free)

[17179569.216000] Blackfin Data B SRAM: 16 KB (16 KB free)

[17179569.220000] Blackfin Instruction SRAM: 48 KB (39 KB free)

[17179569.328000] Mount-cache hash table entries: 512

[17179569.336000] NET: Registered protocol family 16

[17179569.340000] Blackfin GPIO Controller

[17179569.344000] Blackfin DMA Controller

[17179569.348000] stamp_init(): registering device resources

[17179569.352000] Generic PHY: Registered new driver

[17179569.360000] NET: Registered protocol family 2=

                                                    [17179569.400000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)

[17179569.404000] TCP established hash table entries: 2048 (order: 2, 16384 bytes)

[17179569.408000] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)

[17179569.412000] TCP: Hash tables configured (established 2048 bind 2048)

[17179569.420000] TCP reno registered

[17179569.436000] JFFS2 version 2.2. (NAND) .. 2001-2006 Red Hat, Inc.

[17179569.444000] io scheduler noop registered

[17179569.448000] io scheduler anticipatory registered (default)

[17179569.452000] io scheduler cfq registered

[17179569.456000] pfx: pfbits driver for bf5xx

[17179569.464000] PPI: ADSP PPI Frame Capture Driver IRQ:11

[17179569.472000] timer_initialize: module loaded

[17179569.476000] bfin-wdt: initialized: timeout=20 sec (nowayout=0)

[17179569.480000] Serial: Blackfin serial driver

[17179569.484000] bfin-uart.1: ttyBF0 at MMIO 0xffc00400 (irq = 18) is a BFIN-UART

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

[17179569.492000] SMSC LAN83C185: Registered new driver

[17179569.496000] bfin_mac_mdio: probed

[17179569.500000] bfin_mac: attached PHY driver [SMSC LAN83C185] (mii_bus:phy_addr=0:01, irq=-1, mdc_clk=2500000Hz(mdc_div=19)@sclk=100MHz)

[17179569.508000] bfin_mac: Version 1.1, Blackfin BF53[67] BF527 on-chip Ethernet MAC driver

[17179569.512000] Generic platform RAM MTD, (c) 2004 Simtec Electronics

[17179569.516000] m25p80 spi0.1: m25p128 (16384 Kbytes)

[17179569.520000] Creating 3 MTD partitions on "m25p128":

[17179569.524000] 0x00000000-0x00040000 : "bootloader"

[17179569.532000] 0x00040000-0x00140000 : "kernel"

[17179569.536000] 0x00140000-0x00440000 : "file system"

[17179569.540000] bfin-spi bfin-spi.0: Blackfin BF5xx on-chip SPI Contoller Driver, Version 1.0, regs_base@ffc00500, dma channel@7

[17179569.544000] rtc-bfin rtc-bfin: rtc core: registered rtc-bfin as rtc0

[17179569.548000] i2c /dev entries driver

[17179569.556000] i2c-bfin-twi i2c-bfin-twi.0: Blackfin BF5xx on-chip I2C TWI Contoller Driver, Version 1.8, regs_base@ffc01400

[17179569.560000] TCP cubic registered

[17179569.564000] NET: Registered protocol family 1

[17179569.568000] NET: Registered protocol family 17

[17179569.584000] rtc-bfin rtc-bfin: setting the system clock to 2008-07-28 11:39:02 (1217245142)

[17179571.096000] IP-Config: Complete:

[17179571.100000]       device=eth0, addr=192.168.0.38, mask=255.255.255.0, gw=192.168.0.1,

[17179571.112000]      host=192.168.0.38, domain=, nis-domain=(none),

[17179571.116000]      bootserver=192.168.0.20, rootserver=192.168.0.20, rootpath=

[17179571.156000] Empty flash at 0x0000fffc ends at 0x00010000

[17179571.208000] Empty flash at 0x0002fffc ends at 0x00030000

[17179571.260000] Empty flash at 0x0004fffc ends at 0x00050000

[17179571.288000] Empty flash at 0x0005fffc ends at 0x00060000

[17179571.316000] Empty flash at 0x0006fffc ends at 0x00070000

[17179571.368000] Empty flash at 0x0008fffc ends at 0x00090000

[17179571.400000] Empty flash at 0x0009fffc ends at 0x000a0000

[17179571.432000] Empty flash at 0x000afffc ends at 0x000b0000

[17179571.484000] Empty flash at 0x000cfffc ends at 0x000d0000

[17179571.512000] Empty flash at 0x000dfffc ends at 0x000e0000

[17179571.536000] Empty flash at 0x000eff50 ends at 0x000f0000

[17179571.588000] Empty flash at 0x0010fffc ends at 0x00110000

[17179571.612000] Empty flash at 0x0011fffc ends at 0x00120000

[17179571.640000] Empty flash at 0x0012ffa0 ends at 0x00130000

[17179571.696000] Empty flash at 0x0014fffc ends at 0x00150000

[17179571.724000] Empty flash at 0x0015fffc ends at 0x00160000

[17179571.756000] Empty flash at 0x0016fffc ends at 0x00170000

[17179571.812000] Empty flash at 0x0018fffc ends at 0x00190000

[17179571.844000] Empty flash at 0x0019fffc ends at 0x001a0000

[17179571.872000] Empty flash at 0x001afffc ends at 0x001b0000

[17179571.920000] Empty flash at 0x001cfffc ends at 0x001d0000

[17179571.948000] Empty flash at 0x001dfffc ends at 0x001e0000

[17179571.976000] Empty flash at 0x001efffc ends at 0x001f0000

[17179572.036000] Empty flash at 0x0020fffc ends at 0x00210000

[17179572.064000] Empty flash at 0x0021fffc ends at 0x00220000

[17179572.092000] Empty flash at 0x0022fffc ends at 0x00230000

[17179572.148000] Empty flash at 0x0024fffc ends at 0x00250000

[17179572.180000] Empty flash at 0x0025fffc ends at 0x00260000

[17179572.208000] Empty flash at 0x0026fffc ends at 0x00270000

[17179572.264000] Empty flash at 0x0028fffc ends at 0x00290000

[17179572.296000] Empty flash at 0x0029fffc ends at 0x002a0000

[17179572.328000] Empty flash at 0x002afffc ends at 0x002b0000

[17179572.492000] VFS: Mounted root (jffs2 filesystem).

[17179572.496000] Freeing unused kernel memory: 108k freed

[17179572.500000] PHY: 0:01 - Link is Up - 100/Full

[17179572.512000] dma_alloc_init: dma_page @ 0x00184000 - 256 pages at 0x03f00000

mount: mounting devpts on /dev/pts failed

                           _____________________________________

        a8888b.           / Welcome to the uClinux distribution \

       d888888b.         /       _     _                         \

       8P"YP"Y88        /       | |   |_|            __  __ (TM)  |

       8|o||o|88  _____/        | |    _ ____  _   _ \ \/ /       |

       8'    .88       \        | |   | |  _ \| | | | \  /        |

       8`._.' Y8.       \       | |__ | | | | | |_| | /  \        |

      d/      `8b.       \      \____||_|_| |_|\____|/_/\_\       |

     dP   .    Y8b.       \   For embedded processors including   |

    d8:'  "  `::88b        \    the Analog Devices Blackfin      /

   d8"         'Y88b        \___________________________________/

  :8P    '      :888

   8a.   :     _a88P         For further information, check out:

._/"Yaa_:   .| 88P|            - http://blackfin.uclinux.org/

\    YP"    `| 8P  `.          - http://docs.blackfin.uclinux.org/

/     \.___.d|    .'           - http://www.uclinux.org/

`--..__)8888P`._.'  jgs/a:f    - http://www.analog.com/blackfin

 

Have a lot of fun...

 

 

BusyBox v1.4.1 (2008-07-28 11:21:37 CEST) Built-in shell (msh)

Enter 'help' for a list of built-in commands.

 

root:/> mkdir hadi

mkdir: cannot create directory 'hadi': No space left on device

root:/> init: /bin/watchdogd respawning too fast

init: /sbin/syslogd respawning too fast

init: /bin/watchdogd respawning too fast

init: /sbin/syslogd respawning too fast

init: /bin/watchdogd respawning too fast

init: /sbin/syslogd respawning too fast

init: /bin/watchdogd respawning too fast

init: /sbin/syslogd respawning too fast

init: /bin/watchdogd respawning too fast

init: /sbin/syslogd respawning too fast

init: /bin/watchdogd respawning too fast

init: /sbin/syslogd respawning too fast       

 

you see that I cannot create any directory on the fs !!

 

and in the /dev directory I got :

 

root:/> ls /dev

console  null     pts      zero

root:/>

 

what do you think?

 

Thank you                                                                                          

TranslateQuoteReplyEditDelete

 

 

2008-07-28 07:46:06     Re: some troubles with jffs2

Hadi Boulfelfel (FRANCE)

Message: 59487   

 

Ok it's fixed. there was no enough space in the jffs2 partition (3MB), I changed it to (6MB) . Now it works

TranslateQuoteReplyEditDelete

 

 

2008-07-28 07:55:01     Re: some troubles with jffs2

Ian Jeffray (UNITED KINGDOM)

Message: 59489   

 

I'd be wary of a "solution" like this.  It means you're writing to your flash on every boot.

 

You may be interested to read this thread on this forum:

 

http://blackfin.uclinux.org/gf/project/uclinux-dist/forum/?action=ForumBrowse&forum_id=39&thread_id=26049&_forum_action=ForumMessageBrowse

 

 

QuoteReplyEditDelete

 

 

2008-07-28 09:06:30     Re: some troubles with jffs2

Hadi Boulfelfel (FRANCE)

Message: 59493   

 

Ian,

 

what do you mean by :  "writing to your flash on every boot." ?

TranslateQuoteReplyEditDelete

 

 

2008-07-28 09:31:20     Re: some troubles with jffs2

Ian Jeffray (UNITED KINGDOM)

Message: 59494   

 

With the stock /etc/rc file, mdev writes in to /dev which is in flash.   Check the discussion at the URL I pasted for all the details.

QuoteReplyEditDelete

 

 

2008-07-28 11:24:49     Re: some troubles with jffs2

Mike Frysinger (UNITED STATES)

Message: 59497   

 

the latest stock rc mounts /dev as tmpfs

QuoteReplyEditDelete

 

 

2008-07-30 06:00:32     Re: some troubles with jffs2

Ian Jeffray (UNITED KINGDOM)

Message: 59596   

 

Ah ok. Sorry Mike I've not checked SVN in a while.  Any plans for a 2008R2 release?

 

 

QuoteReplyEditDelete

 

 

2008-07-30 06:18:01     Re: some troubles with jffs2

Mike Frysinger (UNITED STATES)

Message: 59597   

 

the next release will be 2008R1.5, but it'll be an update from 2008R1, not from trunk

Attachments

    Outcomes