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

Eraseall crash on uclinux 2.4.19



Hi folks,

setting:
- Fujitsu 29LV160TE in word mode (16bit interface no interleave, big endian 
box). ID is 0x22C4
- the latest version from infradead CVS server.

problem:
on line 142 a eraseall /dev/mtd0 stops with a failed 11 (EAGAIN)
and the process stops. It stops after about a second.

A second eraseall /dev/mtd0 get the process stuck (board still pingable from 
ethernet)

cat /proc/mtd shows mtd0 size 00200000 erasesize 00010000 name "Physically 
mapped flash"

cat /var/log/messages is empty (after first eraseall)

Any idea what might be wrong?

The chip is fine, we use it with our own flash programming software.

Another question:
Can we ignore the AMD_BOOTLOC_BUG and switch this off? Is this also Fujitsu 
related?

thanks

Dani

ABCDEF
JTAGBlaster (JBlaster) Version 0.1
 Altera Corporation
 Ported to linux by Marcos Lois Bermudez (marcos.lois@xxxxxxx.org)
Info: Verifying device chain...
Info: Detected 1 device(s) in chain...
Info: Dev1: Altera: 0x110300DD
Debug: (Id)0x110300DD (Action)P (Part)EP1K30T144 (File Len)59215 Bytes (Inst Len)10
Info: Configuration setup device #1
Info: Start configuration process.
  Please wait... done
Info: Checking Status
Info: Configuration of device #1 successful...
Linux version 2.4.19-uc1 (haensse@xxxxxxx.net/coldfire/">http://fiddes.net/coldfire/)(-msep-data patches)) #345 Die Okt 8 21:50:06 CEST 2002

DragonixVZ support by Daniel Haensse daniel.haensse@xxxxxxx.net

10.10.2000 01:06:41
Lithium cell trickle charger enabled
Contrast controller set to 0x0
1st cs8900: hwaddr 00:08:9d:00:00:00
2st cs8900: hwaddr 00:08:9d:00:00:01
68VZ328 DragonBallVZ support (c) 2001 Lineo, Inc.


uClinux/MC68VZ328
M68VZ328 support by Evan Stawnyczy <e@xxxxxxx.ca>
Flat model support (C) 1998,1999 Kenneth Albanowski, D. Jeff Dionne
On node 0 totalpages: 2048
zone(0): 0 pages.
zone(1): 2048 pages.
zone(2): 0 pages.
Kernel command line:
Calibrating delay loop... 2.28 BogoMIPS
Memory available: 7552k/8000k RAM, 0k/0k ROM (711k kernel code, 341k data)
kmem_create: Forcing size word alignment - vm_area_struct
kmem_create: Forcing size word alignment - mm_struct
kmem_create: Forcing size word alignment - filp
Dentry cache hash table entries: 1024 (order: 1, 8192 bytes)
Inode cache hash table entries: 512 (order: 0, 4096 bytes)
kmem_create: Forcing size word alignment - inode_cache
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
kmem_create: Forcing size word alignment - bdev_cache
kmem_create: Forcing size word alignment - cdev_cache
Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 2048 (order: 1, 8192 bytes)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
kmem_create: Forcing size word alignment - sock
Initializing RT netlink socket
Starting kswapd
kmem_create: Forcing size word alignment - file lock cache
JFFS2 version 2.1. (C) 2001, 2002 Red Hat, Inc., designed by Axis Communications AB.
MC68328 serial driver version 1.00
ttyS0 at 0xfffff900 (irq = 2) is a builtin MC68328 UART
ttyS1 at 0xfffff910 (irq = 12) is a builtin MC68328 UART
kmem_create: Forcing size word alignment - blkdev_requests
cs89x0:cs89x0_probe(0x0)
cs89x0: Setting up DragonixVZ CS8900 Chip Select & IRQ ioaddr = 0x4000000
cs89x0.c: v2.4.3-pre1 Russell Nelson <nelson@xxxxxxx.au>
eth0: cs8900 rev J found at 0x4000000
cs89x0 media RJ-45, IRQ 19, programmed I/O, MAC 00:08:9d:00:00:00
cs89x0_probe1() successful
Blkmem copyright 1998,1999 D. Jeff Dionne
Blkmem copyright 1998 Kenneth Albanowski
Blkmem 1 disk images:
0: 20F40E0-21594DF [VIRTUAL 20F40E0-21594DF] (RO)
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
physmap flash device: 200000 at 2200000
 Amd/Fujitsu Extended Query Table v1.0 at 0x0040
Physically mapped flash: JEDEC Device ID is 0xC4. Assuming broken CFI table.
Physically mapped flash: Swapping erase regions for broken CFI table.
number of CFI chips: 1
cfi_cmdset_0002: Disabling fast programming due to code brokenness.
mtd: Giving out device 0 to Physically mapped flash
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
kmem_create: Forcing size word alignment - ip_dst_cache
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 512 bind 512)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
VFS: Mounted root (romfs filesystem) readonly.
Shell invoked to run file: /etc/rc
Command: hostname dragonix
Command:
Command: # expand the ramdisk
Command: expand /etc/ramfs.img /dev/ram0
Command:
Command: # mount ramdisk, proc and nfs
Command: mount -t ext2 /dev/ram0 /var
Command:
Command: mount -t proc proc /proc
Command: mkdir /var/tmp
Command: mkdir /var/log
Command:
Command: ifconfig lo 127.0.0.1
Command: route add -net 127.0.0.0 netmask 255.0.0.0 lo
Command:
Command: # ifconfig eth0 24.229.50.8 broadcast 24.229.50.255 netmask 255.255.255.0
Command: # route add -net 24.229.50.0 netmask 255.255.255.0 eth0
Command: # route add default gw 24.229.50.1
Command:
Command: #kitkatbox
Command: #ifconfig eth0 10.16.42.3 broadcast 10.16.42.255 netmask 255.255.255.0 Command: #route add -net 10.16.42.0 netmask 255.255.255.0 eth0
Command: #route add default gw 10.16.42.254
Command: #portmap &
Command: #mount -t nfs -o rsize=4096,wsize=4096 10.16.42.1:/export /usr
Command:
Command: #danibox
Command: ifconfig eth0 192.168.1.201 broadcast 192.168.1.255 netmask 255.255.255.0
eth0: using half-duplex 10Base-T (RJ-45)
Command: route add -net 192.168.1.0 netmask 255.255.255.0 eth0
Command: route add default gw 192.168.1.1
Command: portmap &
[19]
Command: mount -t nfs -o rsize=4096,wsize=4096 192.168.1.100:/export /usr
Command:
Command:
Command:
Command:
Command:
Command:
Command:
Command:
Command:
Command:
Command:
Command:
Command:
Command:
Command:
Command:
Command:
Command:
Execution Finished, Exiting

dragonix login: root
Password:

Sash command shell (version 1.1.1)
/> eraseall /dev/mtd0
MTD_open
MTD_ioctl
Erasing 64 Kibyte @xxxxxxx.MTD_ioctl
pid 26: failed 11
/> eraseall /dev/mtd0
MTD_open
MTD_ioctl
Erasing 64 Kibyte @xxxxxxx.MTD_ioctl