From: Valentin R Sitsikov <valentin.sitdikov@siemens.com>
To: linux-sh@vger.kernel.org
Subject: Re: User mode address error problems on 7763
Date: Tue, 15 Sep 2009 13:49:44 +0000 [thread overview]
Message-ID: <4AAF9B78.9080501@siemens.com> (raw)
In-Reply-To: <6e6aa1a80909111106l6dbcfccag4e9e7a3abb922688@mail.gmail.com>
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="windows-1254", Size: 6983 bytes --]
Hello Dale!
Hello Paul!
Due to cache alias problem we used 8k page size on Sh7785.
But it also required corresponding uclibc/glibc.
At least right now I am using uclibc with page size = 8k as it is
configured in kernel.
May be it helps.
Best regards,
Valentin
Dale Larson wrote:
>>>> page size. That will bring up a menu where you can cycle through the
>>>> available page sizes. I don't recommend 1MB for a system page size, as it
>>>> tends to interact badly with some of the slab allocators. 64k will give
>>>> you an idea of whether there are indeed any aliasing bugs lurking about.
>>>>
>
> When I turned on 64K pages I got the following panic:
>
> [ 0.000000] Linux version 2.6.31-rc9 (dlarson@UbuntuDale) (gcc
> version 4.3.4 (GCC) ) #7 Tue Sep 15 08:05:36 CDT 2009
> [ 0.000000] Boot params:
> [ 0.000000] ... MOUNT_ROOT_RDONLY - 00000001
> [ 0.000000] ... RAMDISK_FLAGS - 00000000
> [ 0.000000] ... ORIG_ROOT_DEV - 00000200
> [ 0.000000] ... LOADER_TYPE - 00000001
> [ 0.000000] ... INITRD_START - 00000000
> [ 0.000000] ... INITRD_SIZE - 00000000
> [ 0.000000] Early serial console at MMIO 0x18000008 (options '115200n8')
> [ 0.000000] console [uart0] enabled
> [ 0.000000] Booting machvec: jci7763
> [ 0.000000] Node 0: start_pfn = 0x800, low = 0x1000
> [ 0.000000] Zone PFN ranges:
> [ 0.000000] Normal 0x00000800 -> 0x00001000
> [ 0.000000] Movable zone start PFN for each node
> [ 0.000000] early_node_map[1] active PFN ranges
> [ 0.000000] 0: 0x00000800 -> 0x00001000
> [ 0.000000] Built 1 zonelists in Zone order, mobility grouping off.
> Total pages: 2047
> [ 0.000000] Kernel command line:
> earlycon=uart,mmio,0x18000008,115200n8 console=ttyS0,115200n8
> root=/dev/nfs rw rootfstype=nfs nfsroot\x159.222.11.56:/n40root ip=dhcp
> [ 0.000000] PID hash table entries: 512 (order: 9, 2048 bytes)
> [ 0.000000] Dentry cache hash table entries: 16384 (order: 0, 65536 bytes)
> [ 0.000000] Inode-cache hash table entries: 16384 (order: 0, 65536 bytes)
> [ 0.000000] PVR\x10200a00 CVRs440010 PRR\0000a10
> [ 0.000000] I-cache : n_ways=4 n_sets%6 way_incr92
> [ 0.000000] I-cache : entry_mask=0x00001fe0 alias_mask=0x00000000 n_aliases=0
> [ 0.000000] D-cache : n_ways=4 n_sets%6 way_incr92
> [ 0.000000] D-cache : entry_mask=0x00001fe0 alias_mask=0x00000000 n_aliases=0
> [ 0.000000] Memory: 128064k/131072k available (1424k kernel code,
> 623k data, 192k init)
> [ 0.000000] NR_IRQS:256
> [ 0.000000] sh_tmu: TMU0 used for clock events
> [ 0.000000] sh_tmu: TMU0 used for periodic clock events
> [ 0.000000] sh_tmu: TMU1 used as clock source
> [ 0.004000] Calibrating delay loop (skipped)... 266.66 BogoMIPS
> PRESET (lpjS3333)
> [ 0.008000] Mount-cache hash table entries: 8192
> [ 0.016000] CPU: SH7763
> [ 0.032000] NET: Registered protocol family 16
> [ 0.072000] bio: create slab <bio-0> at 0
> [ 0.080000] SCSI subsystem initialized
> [ 0.100000] NET: Registered protocol family 2
> [ 0.104000] IP route cache hash table entries: 16384 (order: 0, 65536 bytes)
> [ 0.108000] TCP established hash table entries: 8192 (order: 0, 65536 bytes)
> [ 0.112000] TCP bind hash table entries: 8192 (order: -1, 32768 bytes)
> [ 0.116000] TCP: Hash tables configured (established 8192 bind 8192)
> [ 0.120000] TCP reno registered
> [ 0.124000] NET: Registered protocol family 1
> [ 0.140000] msgmni has been set to 248
> [ 0.144000] io scheduler noop registered
> [ 0.148000] io scheduler anticipatory registered (default)
> [ 0.156000] io scheduler deadline registered
> [ 0.160000] io scheduler cfq registered
> [ 0.200000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
> [ 0.204000] serial8250.0: ttyS0 at MMIO 0x18000008 (irq = 4) is a 16550A
> [ 0.208000] console handover: boot [uart0] -> real [ttyS0]
> [ 0.232000] loop: module loaded
> [ 0.276000] sh_mii: probed
> [ 0.280000] Base address at 0xfee00800, 00:10:8D:01:C1:9A, IRQ 57.
> [ 0.292000] sh_tmu: TMU0 kept as earlytimer
> [ 0.296000] sh_tmu: TMU1 kept as earlytimer
> [ 0.300000] TCP cubic registered
> [ 0.304000] NET: Registered protocol family 17
> [ 0.308000] RPC: Registered udp transport module.
> [ 0.312000] RPC: Registered tcp transport module.
> [ 0.832000] net eth0: attached phy 1 to driver Generic PHY
> [ 1.844000] Sending DHCP requests ..
> [ 4.832000] PHY: 0:01 - Link is Up - 100/Full
> [ 9.668000] .., OK
> [ 18.396000] IP-Config: Got DHCP answer from 0.0.0.0, my address is
> 159.222.10.212
> [ 18.408000] IP-Config: Complete:
> [ 18.412000] device=eth0, addr\x159.222.10.212,
> mask%5.255.252.0, gw\x159.222.8.2,
> [ 18.424000] host\x159.222.10.212, domain=cg.na.jci.com,
> nis-domain=(none),
> [ 18.428000] bootserver=0.0.0.0, rootserver\x159.222.11.56, rootpath> [ 18.440000] Looking up port of RPC 100003/2 on 159.222.11.56
> [ 18.448000] Looking up port of RPC 100005/1 on 159.222.11.56
> [ 18.588000] VFS: Mounted root (nfs filesystem) on device 0:9.
> [ 18.596000] Freeing unused kernel memory: 192k freed
> /sbin/init:572: can't map '/lib/libm.so.0'
> /sbin/init:572: can't map '/lib/libm.so.0'
> /sbin/init: can't load library 'libm.so.0'
> [ 18.828000] Kernel panic - not syncing: Attempted to kill init!
> [ 18.832000] Stack: (0x8c12ff1c to 0x8c130000)
> [ 18.836000] ff00:
> 8817176a
> [ 18.852000] ff20: 8c12ff2c 8c113400 881b5570 881717c0 8c12ff34
> 8c12ff58 88033390 8c12ff64
> [ 18.868000] ff40: 29563718 29574008 8c113400 00001000 8c113400
> 000000bc 8c1133f8 fffffefd
> [ 18.888000] ff60: 8c12ff3c 8804319a 00000001 7be6fb84 29574008
> 8c12ff74 8c12ff74 880338d0
> [ 18.904000] ff80: 8c12ff9c 29563718 29574008 00000000 00000071
> 00000100 880338c0 88025226
> [ 18.920000] ffa0: 7be6fbb4 00000001 ffffff82 2959001a 00000001
> 00000010 00010000 00000002
> [ 18.936000] ffc0: 29590019 00000000 00402109 29580028 0048149c
> 29574008 29563718 7be6fbb4
> [ 18.956000] ffe0: 7be6fbb4 29562c66 29562c5e 00008100 00000000
> 00000004 00000001 00000044
> [ 18.972000]
> [ 18.972000] Call trace:
> [ 18.976000] [<8817176a>] dump_stack+0xe/0x1c
> [ 18.980000] [<881717c0>] panic+0x48/0x104
> [ 18.984000] [<88033390>] do_exit+0x40/0x4bc
> [ 18.988000] [<8804319a>] up_write+0xa/0x18
> [ 18.992000] [<880338d0>] sys_exit+0x10/0x18
> [ 18.996000] [<880338c0>] sys_exit+0x0/0x18
> [ 19.000000] [<88025226>] syscall_call+0xc/0x10
> [ 19.004000]
>
> Dale Larson
> --
> To unsubscribe from this list: send the line "unsubscribe linux-sh" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
--
To unsubscribe from this list: send the line "unsubscribe linux-sh" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2009-09-15 13:49 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-11 18:06 User mode address error problems on 7763 Dale Larson
2009-09-11 18:35 ` Matt Fleming
2009-09-11 19:16 ` Dale Larson
2009-09-14 13:02 ` Dale Larson
2009-09-14 13:10 ` Paul Mundt
2009-09-14 13:14 ` Matt Fleming
2009-09-14 13:54 ` Dale Larson
2009-09-15 8:39 ` Matt Fleming
2009-09-15 11:54 ` Dale Larson
2009-09-15 11:57 ` Paul Mundt
2009-09-15 12:20 ` Dale Larson
2009-09-15 12:36 ` Paul Mundt
2009-09-15 12:55 ` Dale Larson
2009-09-15 13:07 ` Paul Mundt
2009-09-15 13:16 ` Dale Larson
2009-09-15 13:23 ` Dale Larson
2009-09-15 13:29 ` Dale Larson
2009-09-15 13:39 ` Paul Mundt
2009-09-15 13:49 ` Valentin R Sitsikov [this message]
2009-09-15 14:43 ` Dale Larson
2009-09-15 23:42 ` Paul Mundt
2009-09-16 12:45 ` Dale Larson
2009-09-16 19:22 ` Dale Larson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4AAF9B78.9080501@siemens.com \
--to=valentin.sitdikov@siemens.com \
--cc=linux-sh@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox