Google
  Web www.spinics.net

BUG: soft lockup detected on CPU#0! on S3C2442

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


Hello list!
I am using a custom board with a Samsung SoC S3C2442 (MCP3) with
64MiB SDRAM and 128MiB NAND FLASH.

Here is my machine's log:
Linux version 2.6.19 (gianluca@gianlinux) (gcc version 4.1.1) #3 Fri Mar 23 16:40:10 CET 2007
CPU: ARM920T [41129200] revision 0 (ARMv4T), cr=00007177
Machine: SMDK2440
Memory policy: ECC disabled, Data cache writeback
CPU S3C2442 (id 0x32440aaa)
S3C244X: core 296.352 MHz, memory 98.784 MHz, peripheral 49.392 MHz
S3C24XX Clocks, (c) 2004 Simtec Electronics
CLOCK: Slow mode (2.116 MHz), fast, MPLL on, UPLL on
CPU0: D VIVT write-back cache
CPU0: I cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets
CPU0: D cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets
Built 1 zonelists.  Total pages: 16256
Kernel command line: root=/dev/mtdblock2 rw rootfstype=yaffs noinitrd console=ttySAC1,115200
irq: clearing pending ext status 00000300
irq: clearing subpending status 00000092
PID hash table entries: 256 (order: 8, 1024 bytes)
timer tcon=00400000, tcnt a0c7, tcfg 00000200,00000000, usec 00001f19
Console: colour dummy device 80x30
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 64MB = 64MB total
Memory: 62336KB available (2020K code, 431K data, 116K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
S3C24XX DMA Driver, (c) 2003-2004,2006 Simtec Electronics
Registering sysclass
DMA channel 0 at c4800000, irq 33
DMA channel 1 at c4800040, irq 34
DMA channel 2 at c4800080, irq 35
DMA channel 3 at c48000c0, irq 36
NET: Registered protocol family 16
LCD Type: 3.5in QVGA (Samsung SMDK-S3C2440)
S3C2410 Power Management, (c) 2004 Simtec Electronics
S3C2442: Initialising architecture
 0:               xdreq0, channels 0---
 1:               xdreq1, channels -1--
 2:                  sdi, channels 0-23
 3:                 spi0, channels -1--
 4:                 spi1, channels ---3
 5:                uart0, channels 0---
 6:                uart1, channels -1--
 7:                uart2, channels ---3
 8:                timer, channels 0-23
 9:              i2s-sdi, channels -12-
10:              i2s-sdo, channels --2-
11:               <NULL>, channels ----
12:               <NULL>, channels ----
13:               <NULL>, channels ----
14:              usb-ep1, channels 0---
15:              usb-ep2, channels -1--
16:              usb-ep3, channels --2-
17:              usb-ep4, channels ---3
S3C2442: Clock Support, DVS off
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: -1, 2048 bytes)
TCP established hash table entries: 2048 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 2048 bind 1024)
TCP reno registered
NetWinder Floating Point Emulator V0.97 (double precision)
yaffs Mar 23 2007 16:37:36 Installing.
io scheduler noop registered
io scheduler anticipatory registered (default)
Console: switching to colour frame buffer device 30x40
fb0: s3c2410fb frame buffer device
S3C2410 Watchdog Timer, (c) 2004 Simtec Electronics
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
s3c2440-uart.0: s3c2410_serial0 at MMIO 0x50000000 (irq = 70) is a S3C2440
s3c2440-uart.1: s3c2410_serial1 at MMIO 0x50004000 (irq = 73) is a S3C2440
s3c2440-uart.2: s3c2410_serial2 at MMIO 0x50008000 (irq = 76) is a S3C2440
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
nbd: registered device at major 43
S3C24XX NAND Driver, (c) 2004 Simtec Electronics
s3c2440-nand s3c2440-nand: Tacls=2, 20ns Twrph0=6 60ns, Twrph1=2 20ns
NAND device: Manufacturer ID: 0xec, Chip ID: 0xa1 (Samsung NAND 128MiB 1,8V 8-bit)
Scanning device for bad blocks
Creating 3 MTD partitions on "NAND 128MiB 1,8V 8-bit":
0x00000000-0x00020000 : "Bootloader"
0x00020000-0x00400000 : "Kernel"
0x00400000-0x08000000 : "User"
s3c2410-spi s3c2410-spi.0: registering mcp251x
s3c2410-ohci s3c2410-ohci: S3C24XX OHCI
s3c2410-ohci s3c2410-ohci: new USB bus registered, assigned bus number 1
s3c2410-ohci s3c2410-ohci: irq 42, io mem 0x49000000
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
usb 1-1: new full speed USB device using s3c2410-ohci and address 2
usb 1-1: configuration #1 chosen from 1 choice
usbcore: registered new interface driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
Initializing USB Mass Storage driver...
scsi0 : SCSI emulation for USB Mass Storage devices
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver libusual
usbcore: registered new interface driver hiddev
usbcore: registered new interface driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
mice: PS/2 mouse device common for all mice
s3c2410 TouchScreen successfully loaded
input: s3c2410 TouchScreen as /class/input/input0
i2c /dev entries driver
s3c2440-i2c s3c2440-i2c: slave address 0x10
s3c2440-i2c s3c2440-i2c: bus frequency set to 385 KHz
s3c2440-i2c s3c2440-i2c: i2c-0: S3C I2C adapter
fm31xx_attach_adapter
fm31xx_detect /dev/nvram Driver initialized
mapped channel 0 to 0
s3c2440-sdi s3c2440-sdi: powered down.
s3c2440-sdi s3c2440-sdi: initialisation done.
s3c2440-sdi s3c2440-sdi: running at 0kHz (requested: 0kHz).
s3c2440-sdi s3c2440-sdi: running at 193kHz (requested: 192kHz).
TCP cubic registered
NET: Registered protocol family 1
yaffs: dev is 32505858 name is "mtdblock2"
yaffs: Attempting MTD mount on 31.2, "mtdblock2"
yaffs: auto selecting yaffs2
s3c2440-sdi s3c2440-sdi: running at 193kHz (requested: 192kHz).
s3c2440-sdi s3c2440-sdi: running at 193kHz (requested: 192kHz).
s3c2440-sdi s3c2440-sdi: running at 193kHz (requested: 192kHz).
s3c2440-sdi s3c2440-sdi: running at 193kHz (requested: 192kHz).
s3c2440-sdi s3c2440-sdi: running at 193kHz (requested: 192kHz).
mmc0: host does not support reading read-only switch. assuming write-enable.
s3c2440-sdi s3c2440-sdi: running at 193kHz (requested: 192kHz).
s3c2440-sdi s3c2440-sdi: running at 193kHz (requested: 192kHz).
s3c2440-sdi s3c2440-sdi: running at 24696kHz (requested: 25000kHz).
s3c2440-sdi s3c2440-sdi: running at 24696kHz (requested: 25000kHz).
mmcblk0: mmc0:9fba SD064 60928KiB
 mmcblk0: p1
VFS: Mounted root (yaffs filesystem).
Freeing init memory: 116K
Initializing system...                                                                                                                                      

After digging on enable/disable VM for the kernel as our
architecture has not any virtual memory setup (no hd, only FLASH)
I am facing a kernel problem dumping more than 40MiB of NAND Flash
or untarring a 15MiB tar.gz...
The problem is:
...
BUG: soft lockup detected on CPU#0!

What's going on?
It seems the cpu is not able to manage more than xx megabytes
of RAM...

In the first case I am running a mere:
nanddump -b -f dump124MB.bin /dev/mtd2

and it fails after reaching approx. 40MiB of size.

Anyone has ever faced a problem like that?

Any help?
Regards,
-- 
Gianluca Renzi

-------------------------------------------------------------------
List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
FAQ:        http://www.arm.linux.org.uk/mailinglists/faq.php
Etiquette:  http://www.arm.linux.org.uk/mailinglists/etiquette.php

[Site Home]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux ARM Kernel]     [Linux MIPS]     [ECOS]     [Tools]     [DDR & Rambus]     [Monitors]

Powered by Linux