From mboxrd@z Thu Jan 1 00:00:00 1970 From: eric.dejonc@thales-e-transactions.com (Eric DEJONC) Date: Mon, 31 Mar 2003 09:37:06 +0200 Subject: Unable to handle kernel paging request at virtualaddress80000013 References: <3E8303F3.980B0F02@thales-e-transactions.com> <1048778440.30799.76.camel@henrik.marasystems.com> <3E832D9D.8C65AC7@thales-e-transactions.com> <200303272119.02420.tglx@linutronix.de> Message-ID: <3E87F022.F65810C7@thales-e-transactions.com> To: linux-mtd@lists.infradead.org List-Id: linux-mtd.lists.infradead.org Hi, I have a question.... What is the physical start adress of flash mapping, and where can I find it. I get different results if I change this value. In the arch/arm/machsa1100/trizeps.c, its is written: static struct map_desc trizeps_io_desc[] __initdata = { /* Defines in trizeps.h */ /* r = read w = write c = cache b = buffer */ /* virtual physical length domain r w c b */ { 0xe8000000, 0x00000000, 0x01000000, DOMAIN_IO, 0, 1, 0, 0 }, /* Flash bank 0, neccessary for mtd */ { 0xF0000000l, 0x30000000l, 0x00800000l, DOMAIN_IO, 1, 1, 0, 0 }, { 0xF2000000l, 0x38000000l, 0x00800000l, DOMAIN_IO, 1, 1, 0, 0 }, LAST_DESC }; Does it mean that I have to put 0 to the physical start adress of flash mapping? I patched the kernel, Here is the error I get when I try to mount the flash disk. thank's in advance Eric >>EIP; c00fd654 <===== >>r10; ffffffff Trace; c00fd63c Trace; c009eba8 Trace; c009eac4 Trace; c009e27c Trace; c009e228 Trace; c009e02c Trace; c009dfcc Trace; c00a115c Trace; c00a1144 Trace; c009cffc Trace; c009cd08 Trace; c0066be8 Trace; c006694c Trace; c009d2dc Trace; c009d2c0 Trace; c0066de8 Trace; c0066d90 Trace; c007f924 Trace; c007f890 Trace; c007fc64 Trace; c007faec Trace; c00804b0 Trace; c0080414 Trace; c001d6a0 Code; c00fd644 00000000 <_EIP>: Code; c00fd644 0: 04 b0 add $0xb0,%al Code; c00fd646 2: 4c dec %esp Code; c00fd647 3: e2 00 loop 5 <_EIP+0x5> c00fd649 Code; c00fd649 5: 70 a0 jo ffffffa7 <_EIP+0xffffffa7> c00fd5eb Code; c00fd64b 7: e1 10 loope 19 <_EIP+0x19> c00fd65d Code; c00fd64d 9: d0 4d e2 rorb 0xffffffe2(%ebp) Code; c00fd650 c: 84 c0 test %al,%al Code; c00fd652 e: 97 xchg %eax,%edi Code; c00fd653 <===== f: e5 38 in $0x38,%eax <===== Code; c00fd655 11: 00 9c e5 00 00 00 00 add %bl,0x0(%ebp,8) Thomas Gleixner a ?crit : > On Thursday 27 March 2003 17:58, Eric DEJONC wrote: > > Thank you all for your help, > > I gave the vmlinux file but compiled with the cross compiler I think it > > was the right think to do, i gave too the system.map and the sykms. The > > output seems to denote that the problem comes from the jffs2, driver? > > Could you please try the following: > > 1. Get current MTD source from MTD-CVS or pick a snapshot. > 2. read INSTALL in the base directory of MTD soruce > 3. use install.sh in mtd/patches to update your kernel > 4. compile and try again > 5. report results > > -- > Thomas > ________________________________________________________________________ > linutronix - competence in embedded & realtime linux > http://www.linutronix.de > mail: tglx at linutronix.de > > ______________________________________________________ > Linux MTD discussion mailing list > http://lists.infradead.org/mailman/listinfo/linux-mtd/