From: Will M. <wjm...@gm...> - 2008-10-30 22:31:44
|
Andre Puschmann wrote: > Hi list, > > I am using kernel 2.6.21 and I am trying to use axfs as my root filesystem. > If I try to boot the kernel with this command line: > "console=ttyS0,115200n8 rootfstype=axfs root=1f03" > > .. I get the following error (some debug messages added): > > <log> > [ 1.210000] XScale iWMMXt coprocessor detected. > [ 1.220000] fsoffset is 0x0 > [ 1.220000] sbi->mmap_size is 0x1 > [ 1.220000] fsoffset > sbi->mmap_size > [ 1.230000] 5 call axfs_copy_mem*sbi: C02F9000 > [ 1.230000] offset: 1 > [ 1.230000] *sbi: C02F9000 > [ 1.240000] offset: 1 > [ 1.240000] *virt_start_addr: 0 > [ 1.240000] addr: 0 > [ 1.240000] Unable to handle kernel NULL pointer dereference at > virtual address 00000000 > [ 1.250000] pgd = c0004000 > [ 1.260000] [00000000] *pgd=00000000 > [ 1.260000] Internal error: Oops: f5 [#1] > [ 1.260000] Modules linked in: > [ 1.260000] CPU: 0 > [ 1.260000] PC is at memcpy+0x48/0x330 > [ 1.260000] LR is at axfs_copy_mem+0x90/0xa8 > [ 1.260000] pc : [<c00e2668>] lr : [<c00a6d98>] Not tainted > [ 1.260000] sp : c02d3acc ip : 00000000 fp : c02d3b14 > [ 1.260000] r10: c01cc5b8 r9 : c03739c0 r8 : c01cc5a8 > </log> > > If I use the physaddr-flag, I can successfully mount the image: > "console=ttyS0,115200n8 rootfstype=axfs rootflags=physaddr=0x360000" > > <log> > [ 1.220000] VFS: Unable to mount root fs via NFS, trying floppy. > [ 1.230000] 1 call axfs_copy_mem*sbi: C02F9000 > [ 1.230000] offset: 1 > [ 1.240000] *sbi: C02F9000 > [ 1.240000] offset: 1 > [ 1.240000] *virt_start_addr: C4C10000 > [ 1.250000] addr: C4C10000 > [ 1.250000] fsoffset is 0x0 > [ 1.250000] sbi->mmap_size is 0x1 > [ 1.250000] fsoffset < sbi->mmap_size > [ 1.260000] 2 call axfs_copy_mem*sbi: C02F9000 > [ 1.260000] offset: 1 > [ 1.260000] *sbi: C02F9000 > [ 1.270000] offset: 1 > [ 1.270000] *virt_start_addr: C4C10000 > [ 1.270000] addr: C4C100FC > [ 1.280000] fsoffset is 0x0 > </log> > > The strange thing, as you can see in the first log, is line two to four. > > > Best regards, > Andre > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > AXFS-developer mailing list > AXF...@li... > https://lists.sourceforge.net/lists/listinfo/axfs-developer > > Andre, Thanks for the report, I'll look into that shortly. Before that, have you tried using a root parameter along the lines of: root=mtdX where X is the number of your mtd device? Don't include /dev/ on that, it's omitted intentionally. |