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

Re: Mount JFFS file system lock



David,

Kernel version: 2.4.3
Id: cfi_cmd_0001.c, v 1.71 2001/03/19 20:34:38
The hardware platform is PC.

The flash memory is paged mapped to a window(size 0x8000). I did some minor
modification in physmap.c. (program the page register to make the right
address mapped to the window)

Another question:
I just download a new copy of mtd code from CVS server. The directory
structure changed. Is there a new patchin.sh to patch it to kernel?

Mia

----- Original Message -----
From: "David Woodhouse" <dwmw2@xxxxxxx.org>
To: "Mia Hao" <hao@xxxxxxx.com>
Cc: "jffs-dev" <jffs-dev@xxxxxxx.com>
Sent: Tuesday, April 17, 2001 3:43 PM
Subject: Re: Mount JFFS file system lock


>
>
> hao@xxxxxxx.com said:
> > I debugged it, and found the program stoped at spin_lock_bh(chip->
> > mutex); in cfi_cmdset_0001.c function cfi_intelext_read
>
> > The value of chip->mutex is {lock=3254648832}before lock.
>
> > Does someone know what is wrong?
>
> Sounds like the spinlock isn't initialised. Not many people have run with
> actual flash on SMP boxen. I thought I'd fixed this already though.
>
> What kernel, what platform, what version of the MTD code?
>  (grep Id: drivers/mtd/cfi*.c)
>
> --
> dwmw2
>
>
>
> To unsubscribe from this list: send the line "unsubscribe jffs-dev" in
> the body of a message to majordomo@xxxxxxx.com


To unsubscribe from this list: send the line "unsubscribe jffs-dev" in
the body of a message to majordomo@xxxxxxx.com