diff mbox

sh: Move IRQ multi definition of DMAC to defconfig

Message ID 49BDC5DF.6070108@renesas.com (mailing list archive)
State Accepted
Headers show

Commit Message

Nobuhiro Iwamatsu March 16, 2009, 3:22 a.m. UTC
When SuperH CPU has IRQ multi of DMAC, SH_DMA_IRQ_MULTI becomes enable.
The following CPU's are Multi IRQ of DMAC now.
 - SH775X and SH7091
 - SH776X
 - SH7780
 - SH7785

If SH_DMA_IRQ_MULTI becomes enable, dma-sh api driver is optimized
for Multi IRQ.

Signed-off-by: Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com>
---
 arch/sh/drivers/dma/Kconfig  |    8 ++++++++
 arch/sh/drivers/dma/dma-sh.c |   17 +++++------------
 2 files changed, 13 insertions(+), 12 deletions(-)

Comments

Paul Mundt March 16, 2009, 11:12 a.m. UTC | #1
On Mon, Mar 16, 2009 at 12:22:07PM +0900, Nobuhiro Iwamatsu wrote:
> When SuperH CPU has IRQ multi of DMAC, SH_DMA_IRQ_MULTI becomes enable.
> The following CPU's are Multi IRQ of DMAC now.
>  - SH775X and SH7091
>  - SH776X
>  - SH7780
>  - SH7785
> 
> If SH_DMA_IRQ_MULTI becomes enable, dma-sh api driver is optimized
> for Multi IRQ.
> 
> Signed-off-by: Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com>

Applied, thanks.

Adrian, please see if there are any outstanding issues on the dreamcast
dma now.
--
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
Adrian McMenamin March 16, 2009, 10:49 p.m. UTC | #2
On Mon, 2009-03-16 at 20:12 +0900, Paul Mundt wrote:
> On Mon, Mar 16, 2009 at 12:22:07PM +0900, Nobuhiro Iwamatsu wrote:
> > When SuperH CPU has IRQ multi of DMAC, SH_DMA_IRQ_MULTI becomes enable.
> > The following CPU's are Multi IRQ of DMAC now.
> >  - SH775X and SH7091
> >  - SH776X
> >  - SH7780
> >  - SH7785
> > 
> > If SH_DMA_IRQ_MULTI becomes enable, dma-sh api driver is optimized
> > for Multi IRQ.
> > 
> > Signed-off-by: Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com>
> 
> Applied, thanks.
> 
> Adrian, please see if there are any outstanding issues on the dreamcast
> dma now.

Have just tested the current kernel in your (Paul's) git repo and
although it doesn't (seem) to be suffering from the DMA issue now, it is
still not booting - oom problems killing init:

[    0.000000] Linux version 2.6.29-rc7-00226-g988f831 (adrian@bossclass) (gcc version 4.2.2) #2 PREEMPT Mon Mar 16 22:38:44 GMT 2009
[    0.000000] Boot params:                                                                                    
[    0.000000] ... MOUNT_ROOT_RDONLY - 91f0c75f                                                                
[    0.000000] ... RAMDISK_FLAGS     - e1ff3018
[    0.000000] ... ORIG_ROOT_DEV     - 89093610
[    0.000000] ... LOADER_TYPE       - 3612e108
[    0.000000] ... INITRD_START      - 46088904
[    0.000000] ... INITRD_SIZE       - 6002306c
[    0.000000] console [sercon0] enabled
[    0.000000] Booting machvec: Sega Dreamcast
[    0.000000] Node 0: start_pfn = 0xc000, low = 0xd000
[    0.000000] Zone PFN ranges:
[    0.000000]   Normal   0x0000c000 -> 0x0000d000
[    0.000000] Movable zone start PFN for each node
[    0.000000] early_node_map[1] active PFN ranges
[    0.000000]     0: 0x0000c000 -> 0x0000d000
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 4064
[    0.000000] Kernel command line: root=/dev/nfs rw nfsroot=192.168.61.50:/home/adrian/debdist ip=dhcp earlyprintk=serial video=pvr2fb:640x480-32@60 console=ttySC1 panic=7
[    0.000000] PID hash table entries: 64 (order: 6, 256 bytes)
[    0.000000] Using tmu for system timer
[    0.004321] Console: colour dummy device 80x25
[    0.009299] Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.016835] Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.026787] Memory: 12400k/16384k available (2456k kernel code, 623k data, 124k init)
[    0.035400] PVR=040205c1 CVR=00000000 PRR=00000000
[    0.040741] I-cache : n_ways=1 n_sets=256 way_incr=8192
[    0.046467] I-cache : entry_mask=0x00001fe0 alias_mask=0x00001000 n_aliases=2
[    0.054390] D-cache : n_ways=1 n_sets=512 way_incr=16384
[    0.060216] D-cache : entry_mask=0x00003fe0 alias_mask=0x00003000 n_aliases=4
[    0.068541] SLUB: Genslabs=10, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.077092] Calibrating delay loop (skipped)... 199.50 BogoMIPS PRESET (lpj=399012)
[    0.086992] Mount-cache hash table entries: 512
[    0.097032] CPU: SH7750
[    0.129038] net_namespace: 296 bytes
[    0.134815] NET: Registered protocol family 16
[    0.266475] bio: create slab <bio-0> at 0
[    0.292432] DMA: Registering DMA API.
[    0.297180] DMA: Registering sh_dmac handler (6 channels).
[    0.322565] DMA: Registering pvr2_dmac handler (1 channel).
[    0.334656] DMA: Registering g2_dmac handler (4 channels).
[    0.354646] Autoconfig PCI channel 0x8c2fed3c
[    0.359450] Scanning bus 00, I/O 0x01001600:0x01003600, Mem 0x01840000:0x01848000
[    0.368242] 00:00.0 Class 0200: 11db:1234 (rev 10)
[    0.373548]         I/O at 0x01001600 [size=0x100]
[    0.378835]         Mem at 0x01840000 [size=0x100]
[    0.387985] PCI: Fixing up device 0000:00:00.0
[    0.443927]  maple: bus core now registered
[    0.449662] NET: Registered protocol family 2
[    0.455092] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.464752] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[    0.472433] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[    0.479497] TCP: Hash tables configured (established 512 bind 512)
[    0.486361] TCP reno registered
[    0.491260] NET: Registered protocol family 1
[    0.499160] maple : detected Dreamcast Controller: function 0x1: at (0, 0)
[    0.506742] maple : no driver found
[    0.514973] maple : detected Dreamcast Controller: function 0x1: at (1, 0)
[    0.522801] maple : no driver found
[    0.529523] maple : detected Keyboard: function 0x40: at (2, 0)
[    0.536204] maple : no driver found
[    0.542674] maple : detected Dreamcast Mouse: function 0x200: at (3, 0)
[    0.549995] maple : no driver found
[    0.559534] sq: Registering store queue API.
[    0.565738] maple : detected Visual Memory: function 0xE: at (1, 1)
[    0.572640] maple : no driver found
[    0.586041] cpufreq: SuperH CPU frequency driver.
[    0.591257] cpufreq: clock framework rate rounding not supported on this CPU.
[    0.613082] HugeTLB registered 64 KB page size, pre-allocated 0 pages
[    0.913302] msgmni has been set to 24
[    0.927012] alg: No test for stdrng (krng)
[    0.931958] io scheduler noop registered
[    0.936466] io scheduler anticipatory registered (default)
[    2.063895] Console: switching to colour frame buffer device 80x30
[    2.108877] fb0: NEC PowerVR2 (rev 1.1) frame buffer device, using 1200k/8192k of video memory
[    2.118389] fb0: Mode 640x480-32 pitch = 2560 cable: VGA video output: VGA
[    2.126037] fb0: registering with SQ API
[    2.130783] sqremap:    NEC PowerVR2  [2048 pages]  va 0xe0000000   pa 0xa5000000
[    2.139014] fb0: Mapped video memory to SQ addr 0xe0000000
[    4.176581] SuperH SCI(F) driver initialized
[    4.181919] sh-sci: ttySC0 at MMIO 0xffe00000 (irq = 23) is a sci
[    4.192416] sh-sci: ttySC1 at MMIO 0xffe80000 (irq = 40) is a scif
�+�̐  4.199755] console handover: boot [sercon0] -> real [ttySC1]
[    4.267418] loop: module loaded
[    4.278515] nbd: registered device at major 43
[    4.408770] 8139too Fast Ethernet driver 0.9.28
[    4.420017] eth0: RealTek RTL8139 at 0xa1001700, 00:d0:f1:03:12:b9, IRQ 83
[    4.993372] GDROM: CD-ROM DRIVE     from SE               with firmware 6.42            
[    5.001929] GDROM: Registered with major number 254
[    5.007186] Uniform CD-ROM driver Revision: 3.20
[    5.031697] mice: PS/2 mouse device common for all mice
[    5.044707] input: Keyboard as /devices/maple/2:00.40/input/input0
[    5.054465] TCP cubic registered
[    5.057882] NET: Registered protocol family 17
[    5.076927] RPC: Registered udp transport module.
[    5.082137] RPC: Registered tcp transport module.
[    5.605016] eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
[    6.612293] Sending DHCP requests ., OK
[    6.624786] IP-Config: Got DHCP answer from 192.168.61.50, my address is 192.168.61.55
[    6.637632] IP-Config: Complete:
[    6.640809]      device=eth0, addr=192.168.61.55, mask=255.255.255.224, gw=192.168.61.50,
[    6.649490]      host=192.168.61.55, domain=, nis-domain=(none),
[    6.655851]      bootserver=192.168.61.50, rootserver=192.168.61.50, rootpath=
[    6.665509] Looking up port of RPC 100003/2 on 192.168.61.50
[    6.707841] Looking up port of RPC 100005/1 on 192.168.61.50
[    6.772851] VFS: Mounted root (nfs filesystem) on device 0:13.
[    6.780492] Freeing unused kernel memory: 124k freed
INIT: �version 2.86 booting�
�Starting the hotplug events dispatcher: udevd.
Synthesizing the initial hotplug events...udevd-event[954]: rename_netif: error changing netif name eth0 to eth1: Device or resource busy
done.
[   29.005585] udevd invoked oom-killer: gfp_mask=0x1201d2, order=0, oomkilladj=-17
[   29.013003] Stack: (0x8cd51ce4 to 0x8cd52000)
[   29.017975] 1ce0:          8c0071ae 8cd51cf4 00000000 001201d2 8c053606 8cd51cfc 00000041 
[   29.026904] 1d00: 8cd7c360 8c053c00 8cd51d2c 000000bc 8cd7c360 00000041 00000124 8c2e4198 
[   29.035457] 1d20: 8c2e4198 00000000 8c2a6d98 00000000 001201d2 0000001c 390f38c7 8c053cc6 
[   29.044718] 1d40: 8cd51d5c 001201d2 00000000 8c4c6a20 00000000 001201d2 8c32bad4 00000000 
[   29.053687] 1d60: 8c05758a 8cd51d74 00000000 8c2621c0 00000000 00000000 00000080 8c4c6cdc 
[   29.062249] 1d80: 001201d2 00000000 00000000 8c302d58 00000010 00000001 00000000 00000042 
[   29.071486] 1da0: 00000000 00000000 00000000 8c05ab14 8cd51dcc 8c809ed4 00000098 0000000f 
[   29.080387] 1dc0: 00000000 00000098 00000000 8cd51de8 0000000f 8cc33840 8c809ed0 00000000 
[   29.088937] 1de0: 000000e6 00000000 8cd51de8 8cd51de8 8c05b1ba 8cd51e14 00008000 8cd51e84 
[   29.098237] 1e00: 00000098 8cc33840 0000000f 8c809ed0 00000000 8c05263c 8cd51e2c 0000009f 
[   29.106789] 1e20: 00000000 8c32bd08 ffffff0f 8cc33880 8c809e78 8cd53200 8cc33840 8c809ed0 
[   29.116032] 1e40: 00000000 00000004 8c069768 8cd51e68 8cd53200 8cd51e84 8cd53200 8cd5d294 
[   29.124937] 1e60: 0000090c 00000000 8cd53240 29643538 8c587000 00000000 00000000 00000200 
[   29.133883] 1e80: 00000000 00000000 0000009f 29643000 00000000 8c06ad0e 8cd51ec0 8cd53200 
[   29.142447] 1ea0: 29643538 8cd5d294 00000000 0000090c 8cd5290c 0000009f 00000000 00000000 
[   29.151714] 1ec0: 00000000 8c587000 8c086308 8cd51eec 8c150cb6 8c2631ea 8c010ee4 8cd51ef8 
[   29.160623] 1ee0: 8cd51fe4 8cd51fa4 8c4c6a20 8cd53200 8c587000 29643538 8c587034 8c09c6e0 
[   29.169571] 1f00: 00000000 8c5964b4 8c09c6ac 8cd51f14 8c5964b4 8c09c70e 8cd51f20 8c14aca6 
[   29.178125] 1f20: 8cd51f24 8c0a4f0a 8cd51f30 8cc05300 8c08a820 8cd51f50 8cb7508e 8cc05300 
[   29.187369] 1f40: 8c5964b4 8cb75024 00000000 8c605600 8c08ae9c 8cd51f70 0043f747 00000028 
[   29.196274] 1f60: 00000001 8c72cb60 00000000 8c605600 8c086cd6 8cd51f78 8cd51f7c 8c010d68 
[   29.204827] 1f80: 8cd51f90 8c0080e4 7be2528c 7be252b0 295a1030 0000000a 8c0080e4 29643538 
[   29.214137] 1fa0: 00000000 00000004 00076dbc 00000004 00000000 295a1000 2956b960 00000003 
[   29.223040] 1fc0: 00000000 2957a048 000001bc 2956b978 0000000a 295a1030 7be252b0 7be2528c 
[   29.231573] 1fe0: 7be2528c 29643538 2957ff4e 00008000 29708440 00000002 0bea60a9 ffffffff 
[   29.240835] 
[   29.240852] Call trace:
[   29.244670] [<8c0071ae>] dump_stack+0xe/0x20
[   29.249208] [<8c053606>] oom_kill_process+0x146/0x280
[   29.254913] [<8c053c00>] __out_of_memory+0x120/0x1a0
[   29.260197] [<8c053cc6>] out_of_memory+0x46/0x120
[   29.265196] [<8c05758a>] __alloc_pages_internal+0x40a/0x4a0
[   29.270738] [<8c2621c0>] _cond_resched+0x0/0x60
[   29.275584] [<8c05ab14>] __do_page_cache_readahead+0x134/0x2c0
[   29.282122] [<8c05b1ba>] do_page_cache_readahead+0x3a/0x80
[   29.288283] [<8c05263c>] filemap_fault+0x37c/0x560
[   29.293034] [<8c069768>] __do_fault+0x48/0x540
[   29.297415] [<8c06ad0e>] handle_mm_fault+0xce/0x740
[   29.302603] [<8c086308>] kmem_cache_free+0x68/0xe0
[   29.307705] [<8c150cb6>] __up_read+0x56/0x120
[   29.312689] [<8c2631ea>] down_read+0xa/0x20
[   29.317489] [<8c010ee4>] do_page_fault+0x124/0x400
[   29.322232] [<8c09c6e0>] d_kill+0x0/0x80
[   29.326048] [<8c09c6ac>] d_free+0x2c/0x60
[   29.330309] [<8c09c70e>] d_kill+0x2e/0x80
[   29.334576] [<8c14aca6>] _atomic_dec_and_lock+0x66/0xa0
[   29.340476] [<8c0a4f0a>] mntput_no_expire+0x2a/0x200
[   29.345732] [<8c08a820>] __fput+0x120/0x2a0
[   29.350180] [<8c08ae9c>] fput+0x3c/0x60
[   29.354279] [<8c086cd6>] filp_close+0x36/0xc0
[   29.358565] [<8c010d68>] __do_page_fault+0xe8/0x140
[   29.363735] [<8c0080e4>] ret_from_exception+0x0/0x8
[   29.369265] [<8c0080e4>] ret_from_exception+0x0/0x8
[   29.374804] 
[   29.376372] Mem-Info:
[   29.378448] Normal per-cpu:
[   29.381075] CPU    0: hi:    0, btch:   1 usd:   0
[   29.386151] Active_anon:298 active_file:3 inactive_anon:216
[   29.386178]  inactive_file:114 unevictable:0 dirty:0 writeback:0 unstable:0
[   29.386207]  free:166 slab:868 mapped:5 pagetables:189 bounce:0
[   29.406147] Normal free:664kB min:508kB low:632kB high:760kB active_anon:1192kB inactive_anon:864kB active_file:12kB inactive_file:456kB unevictable:0kB present:16256kB pages_scanned:6743 all_us
[   29.424918] lowmem_reserve[]: 0 0
[   29.428138] Normal: 48*4kB 13*8kB 3*16kB 2*32kB 0*64kB 0*128kB 1*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 664kB
[   29.439984] 118 total pagecache pages
[   29.444219] 0 pages in swap cache
[   29.447739] Swap cache stats: add 0, delete 0, find 0/0
[   29.452525] Free swap  = 0kB
[   29.455247] Total swap = 0kB
[   29.459266] 4096 pages RAM
[   29.462523] 965 pages reserved
[   29.466130] 3503 pages shared
[   29.469230] 1741 pages non-shared
[   29.473124] 2 pages in pagetable cache
[   29.476745] Out of memory: kill process 859 (rc) score 65 or a child
[   29.483085] Killed process 902 (S03udev)
[   31.311039] udevd invoked oom-killer: gfp_mask=0x1201d2, order=0, oomkilladj=-17
[   31.318432] Stack: (0x8c9ddce4 to 0x8c9de000)
[   31.323028] dce0:          8c0071ae 8c9ddcf4 00000000 001201d2 8c053606 8c9ddcfc 00000033 
[   31.332350] dd00: 8cd7d7a0 8c053c00 8c9ddd2c 000000bc 8cd7d7a0 00000033 00000124 8c2e4198 
[   31.340876] dd20: 8c2e4198 00000000 8c2a6d98 00000000 001201d2 0000001f 0fa94212 8c053cc6 
[   31.350239] dd40: 8c9ddd5c 001201d2 00000000 8cf02d80 00000000 001201d2 8c32bad4 00000000 
[   31.359156] dd60: 8c05758a 8c9ddd74 00000000 8c2621c0 00000000 00000000 00000080 8cf0303c 
[   31.367659] dd80: 001201d2 00000000 00000000 8c302d58 00000010 00000001 00000000 00000042 
[   31.376957] dda0: 00000000 00000000 00000000 8c05ab14 8c9dddcc 8c809ed4 00000098 0000000f 
[   31.385899] ddc0: 00000000 00000098 00000000 8c9ddde8 0000000f 8cc33840 8c809ed0 00000000 
[   31.394818] dde0: 000000e6 00000000 8c9ddde8 8c9ddde8 8c05b1ba 8c9dde14 00008000 8c9dde84 
[   31.403705] de00: 00000098 8cc33840 0000000f 8c809ed0 00000000 8c05263c 8c9dde2c 0000009f 
[   31.412245] de20: 00000000 8c32bd08 ffffff0f 8cc33880 8c809e78 8ceff700 8cc33840 8c809ed0 
[   31.421568] de40: 00000000 00000004 8c069768 8c9dde68 8ceff700 8c9dde84 8ceff700 8c9d8294 
[   31.430110] de60: 0000090c 00000000 8ceff740 29643538 8c5ead20 00000000 00000000 00000200 
[   31.439375] de80: 00000000 00000000 0000009f 29643000 00000000 8c06ad0e 8c9ddec0 8ceff700 
[   31.447912] dea0: 29643538 8c9d8294 00000000 0000090c 8c9df90c 0000009f 00000000 00000000 
[   31.457179] dec0: 00000000 8c5ead20 8cf02d80 8c9ddfa4 8c150cb6 8c2631ea 8c010ee4 8c9ddef8 
[   31.466156] dee0: 8c9ddfe4 8c9ddfa4 8cf02d80 8ceff700 8c5ead20 29643538 8c5ead54 00400f7e 
[   31.474679] df00: 00000000 00000000 00000001 8cf02d80 00000000 8c0263f2 8c9ddf1c 8c32a348 
[   31.483964] df20: 8c32a148 8c329f48 8c329d48 8c04d9c8 8c9ddf34 8c04daba 8c9ddf48 00000020 
[   31.492886] df40: 00000001 8c020ca2 8c9ddf4c 8c020dec 8c9ddf54 0000000a 8c020f46 8c9ddf78 
[   31.501448] df60: 00400f7e 2957a000 00000000 00000000 8c32fcc4 000000f0 8c9ddf7c 8c010d68 
[   31.510751] df80: 8c9ddf90 8c0080e4 7be2528c 7be252b0 295a1030 0000000a 8c0080e4 29643538 
[   31.519255] dfa0: 00000000 00000004 00076dbc 00000004 00000000 295a1000 2956b960 00000003 
[   31.528565] dfc0: 00000000 2957a048 000001bc 2956b978 0000000a 295a1030 7be252b0 7be2528c 
[   31.537507] dfe0: 7be2528c 29643538 2957ff4e 00008000 29708440 00000002 0bea60a9 ffffffff 
[   31.546436] 
[   31.546453] Call trace:
[   31.550238] [<8c0071ae>] dump_stack+0xe/0x20
[   31.554775] [<8c053606>] oom_kill_process+0x146/0x280
[   31.560537] [<8c053c00>] __out_of_memory+0x120/0x1a0
[   31.565805] [<8c053cc6>] out_of_memory+0x46/0x120
[   31.570800] [<8c05758a>] __alloc_pages_internal+0x40a/0x4a0
[   31.576333] [<8c2621c0>] _cond_resched+0x0/0x60
[   31.581546] [<8c05ab14>] __do_page_cache_readahead+0x134/0x2c0
[   31.587724] [<8c05b1ba>] do_page_cache_readahead+0x3a/0x80
[   31.593171] [<8c05263c>] filemap_fault+0x37c/0x560
[   31.598260] [<8c069768>] __do_fault+0x48/0x540
[   31.603380] [<8c06ad0e>] handle_mm_fault+0xce/0x740
[   31.608583] [<8c150cb6>] __up_read+0x56/0x120
[   31.613224] [<8c2631ea>] down_read+0xa/0x20
[   31.617667] [<8c010ee4>] do_page_fault+0x124/0x400
[   31.622379] [<8c0263f2>] run_timer_softirq+0x1d2/0x220
[   31.627860] [<8c04d9c8>] __rcu_process_callbacks+0x2a8/0x380
[   31.634233] [<8c04daba>] rcu_process_callbacks+0x1a/0x40
[   31.640239] [<8c020ca2>] _local_bh_enable+0x22/0xa0
[   31.645050] [<8c020dec>] __do_softirq+0xcc/0x1a0
[   31.649560] [<8c020f46>] do_softirq+0x86/0xa0
[   31.654190] [<8c010d68>] __do_page_fault+0xe8/0x140
[   31.659388] [<8c0080e4>] ret_from_exception+0x0/0x8
[   31.664947] [<8c0080e4>] ret_from_exception+0x0/0x8
[   31.670111] 
[   31.671678] Mem-Info:
[   31.674110] Normal per-cpu:
[   31.677069] CPU    0: hi:    0, btch:   1 usd:   0
[   31.681761] Active_anon:712 active_file:20 inactive_anon:761
[   31.681789]  inactive_file:114 unevictable:0 dirty:0 writeback:0 unstable:0
[   31.681818]  free:179 slab:874 mapped:32 pagetables:186 bounce:0
[   31.701617] Normal free:716kB min:508kB low:632kB high:760kB active_anon:2848kB inactive_anon:3044kB active_file:80kB inactive_file:456kB unevictable:0kB present:16256kB pages_scanned:0 all_unro
[   31.721228] lowmem_reserve[]: 0 0
[   31.724819] Normal: 53*4kB 17*8kB 3*16kB 2*32kB 0*64kB 0*128kB 1*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 716kB
[   31.735167] 148 total pagecache pages
[   31.739427] 0 pages in swap cache
[   31.742975] Swap cache stats: add 0, delete 0, find 0/0
[   31.748089] Free swap  = 0kB
[   31.751151] Total swap = 0kB
[   31.755460] 4096 pages RAM
[   31.758375] 965 pages reserved
[   31.761636] 2578 pages shared
[   31.764736] 2701 pages non-shared
[   31.767866] 3 pages in pagetable cache
[   31.771841] Out of memory: kill process 858 (init) score 51 or a child
[   31.779135] Killed process 859 (rc)
[   34.605320] udevd invoked oom-killer: gfp_mask=0x1200d2, order=0, oomkilladj=-17
[   34.614029] Stack: (0x8cd11d9c to 0x8cd12000)
[   34.618223] 1d80:                                                                8c0071ae 
[   34.632128] 1da0: 8cd11dac 00000000 001200d2 8c053606 8cd11db4 0000002c 8cd7d7a0 8c053c00 
[   34.640616] 1dc0: 8cd11de4 000000bc 8cd7d7a0 0000002c 00000124 8c2e4198 8c2e4198 00000000 
[   34.650020] 1de0: 8c2a6d98 00000000 001200d2 00000022 2139da6d 8c053cc6 8cd11e14 001200d2 
[   34.658905] 1e00: 00000000 8cfced80 00000000 001200d2 8c32bad4 00000000 8c05758a 8cd11e2c 
[   34.667406] 1e20: 00000000 8c2621c0 00000000 00000000 00000080 8cfcf03c 001200d2 00000000 
[   34.676708] 1e40: 00000000 8c302d58 00000010 00000001 00000000 00000042 00000000 00000000 
[   34.685671] 1e60: 00000000 8c06a414 8cd11e84 296b2058 8cd12ac8 8cd13700 0c93255c 8c3d2640 
[   34.694155] 1e80: 8c32bdf0 8cfcd780 0000000b 295af000 8c3d7460 8c06b052 8cd11ec0 8cd13700 
[   34.703506] 1ea0: 296b2058 8ceb0294 0c93255c 8cfcd7c0 8cd12ac8 8ceb0294 8cfcd7c0 0c93255c 
[   34.712026] 1ec0: 00000001 8cfcd780 ffffb926 8c013070 8c150cb6 8c2631ea 8c010ee4 8cd11ef8 
[   34.721337] 1ee0: 8cd11fe4 8cd11fa4 8cfced80 8cd13700 8cfcd780 296b2058 8cfcd7b4 7be252b0 
[   34.730321] 1f00: 00000001 8c026404 8cd11f1c 8cd11ef4 8cd11ef4 0000007b 8c329540 8c003a74 
[   34.738783] 1f20: 8cd11f24 8c261764 8cf05d70 8cfcd780 8cfcef3c 8cf02000 00000000 8cfcd780 
[   34.748131] 1f40: 00000000 8cd11f68 8c0148f0 8cd11f50 8c26177e 8cd11f68 8cfced80 8c261784 
[   34.757016] 1f60: 8c261798 8cd11f68 0000000a 8cfcef50 8cfcef4c 8cfceed4 8cfcedfc 8c010d68 
[   34.765577] 1f80: 8cd11f90 8c0080e4 7be25228 7be252b4 2957a000 0000000a 8c0080e4 296b2058 
[   34.774889] 1fa0: 00000001 296a0000 00000000 295cc6f8 295a8a6c 295b3ad7 296a081f 296a0608 
[   34.783389] 1fc0: 00000000 296a0af8 296a0000 00012058 0000000a 2957a000 7be252b4 7be25228 
[   34.792725] 1fe0: 7be25228 29560542 29560512 00008001 29708440 00000002 0bea60a9 ffffffff 
[   34.801711] 
[   34.801729] Call trace:
[   34.805902] [<8c0071ae>] dump_stack+0xe/0x20
[   34.810439] [<8c053606>] oom_kill_process+0x146/0x280
[   34.815393] [<8c053c00>] __out_of_memory+0x120/0x1a0
[   34.821086] [<8c053cc6>] out_of_memory+0x46/0x120
[   34.826083] [<8c05758a>] __alloc_pages_internal+0x40a/0x4a0
[   34.831576] [<8c2621c0>] _cond_resched+0x0/0x60
[   34.836824] [<8c06a414>] do_wp_page+0x1f4/0xa20
[   34.841216] [<8c06b052>] handle_mm_fault+0x412/0x740
[   34.846939] [<8c013070>] sched_slice+0x30/0xa0
[   34.851662] [<8c150cb6>] __up_read+0x56/0x120
[   34.855862] [<8c2631ea>] down_read+0xa/0x20
[   34.860746] [<8c010ee4>] do_page_fault+0x124/0x400
[   34.865855] [<8c026404>] run_timer_softirq+0x1e4/0x220
[   34.870871] [<8c003a74>] __switch_to+0x34/0x1c0
[   34.875675] [<8c261764>] __sched_text_start+0x264/0x580
[   34.881668] [<8c0148f0>] finish_task_switch+0x30/0x120
[   34.887530] [<8c26177e>] __sched_text_start+0x27e/0x580
[   34.892635] [<8c261784>] __sched_text_start+0x284/0x580
[   34.897763] [<8c261798>] __sched_text_start+0x298/0x580
[   34.902870] [<8c010d68>] __do_page_fault+0xe8/0x140
[   34.908893] [<8c0080e4>] ret_from_exception+0x0/0x8
[   34.914519] [<8c0080e4>] ret_from_exception+0x0/0x8
[   34.919260] 
[   34.920827] Mem-Info:
[   34.922835] Normal per-cpu:
[   34.925818] CPU    0: hi:    0, btch:   1 usd:   0
[   34.930923] Active_anon:755 active_file:18 inactive_anon:707
[   34.930951]  inactive_file:113 unevictable:0 dirty:0 writeback:0 unstable:0
[   34.930981]  free:177 slab:898 mapped:23 pagetables:186 bounce:0
[   34.951245] Normal free:708kB min:508kB low:632kB high:760kB active_anon:3020kB inactive_anon:2828kB active_file:72kB inactive_file:452kB unevictable:0kB present:16256kB pages_scanned:0 all_unro
[   34.969624] lowmem_reserve[]: 0 0
[   34.972769] Normal: 43*4kB 31*8kB 4*16kB 1*32kB 1*64kB 1*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 708kB
[   34.984284] 136 total pagecache pages
[   34.988587] 0 pages in swap cache
[   34.992532] Swap cache stats: add 0, delete 0, find 0/0
[   34.997632] Free swap  = 0kB
[   35.000642] Total swap = 0kB
[   35.004562] 4096 pages RAM
[   35.007033] 965 pages reserved
[   35.010277] 2804 pages shared
[   35.013889] 2704 pages non-shared
[   35.017351] 3 pages in pagetable cache
[   35.020899] Out of memory: kill process 858 (init) score 44 or a child
[   35.028219] Killed process 1072 (init)
[   39.990052] udevd invoked oom-killer: gfp_mask=0x1201d2, order=0, oomkilladj=-17
[   39.997408] Stack: (0x8cadfce4 to 0x8cae0000)
[   40.002072] fce0:          8c0071ae 8cadfcf4 00000000 001201d2 8c053606 8cadfcfc 0000001d 
[   40.011471] fd00: 8cd7d7a0 8c053c00 8cadfd2c 000000bc 8cd7d7a0 0000001d 00000124 8c2e4198 
[   40.019910] fd20: 8c2e4198 00000000 8c2a6d98 00000000 001201d2 00000027 3821c44c 8c053cc6 
[   40.029304] fd40: 8cadfd5c 001201d2 00000000 8cf030e0 00000000 001201d2 8c32bad4 00000000 
[   40.038295] fd60: 8c05758a 8cadfd74 00000000 8c2621c0 00000000 00000000 00000080 8cf0339c 
[   40.047181] fd80: 001201d2 00000000 00000000 8c302d58 00000010 00000001 00000000 00000042 
[   40.055630] fda0: 00000000 00000000 00000000 8c05ab14 8cadfdcc 8c809ed4 00000009 0000000f 
[   40.065004] fdc0: 00000003 0000000c 00000000 8cadfde8 0000000f 8cc33840 8c809ed0 00000003 
[   40.074004] fde0: 000000e6 00000000 8cadfde8 8cadfde8 8c05b1ba 8cadfe14 00008000 8cadfe84 
[   40.082428] fe00: 00000009 8cc33840 0000000f 8c809ed0 00000000 8c05263c 8cadfe2c 00000010 
[   40.091821] fe20: 00000000 8c32bd08 ffffff0f 8cc33880 8c809e78 8c9d0c80 8cc33840 8c809ed0 
[   40.100742] fe40: 00000000 00000004 8c069768 8cadfe68 8c9d0c80 8cadfe84 8c9d0c80 8ce46294 
[   40.109145] fe60: 000006d0 00000000 8c9d0cc0 295b409c 8cf9e000 00000000 00000000 00000204 
[   40.118619] fe80: 00000000 00000000 00000010 295b4000 00000000 8c06ad0e 8cadfec0 8c9d0c80 
[   40.127016] fea0: 295b409c 8ce46294 00000000 000006d0 8cc366d0 00000010 00000000 00000000 
[   40.136427] fec0: 00000000 8cf9e000 8c083426 8c084592 8c150cb6 8c2631ea 8c010ee4 8cadfef8 
[   40.145320] fee0: 8cadffe4 8cadffa4 8cf030e0 8c9d0c80 8cf9e000 295b409c 8cf9e034 00000000 
[   40.154871] ff00: 00000000 00000401 8c097208 8cadff24 8cadff28 00200000 00004000 000021a4 
[   40.163285] ff20: 00000000 8cb7bec8 8cc05d80 8c81bec8 130fa850 00000005 8c7b8005 00000600 
[   40.172703] ff40: 00000000 00000000 8c0148f0 8cadff50 8c26177e 8cadff68 8cf030e0 8c261784 
[   40.181101] ff60: 8c261798 8cadff68 0042fc9a 00000080 8cf032ac 8cf03234 8c7b8000 8c010d68 
[   40.190579] ff80: 8cadff90 8c0080e4 7be23854 00400de6 2957a000 000002a2 8c0080e4 295b409c 
[   40.198999] ffa0: 00000000 295b3b58 00000544 2969c5e8 295b3b58 295af739 00400dec 00400704 
[   40.208397] ffc0: 7be23900 295a9aec 2956bc00 2957a518 000002a2 2957a000 00400de6 7be23854 
[   40.217307] ffe0: 7be23854 2955dc8e 2955dc4a 00008000 29708440 00000002 0069f17d ffffffff 
[   40.226273] 
[   40.226291] Call trace:
[   40.230463] [<8c0071ae>] dump_stack+0xe/0x20
[   40.234546] [<8c053606>] oom_kill_process+0x146/0x280
[   40.240405] [<8c053c00>] __out_of_memory+0x120/0x1a0
[   40.245690] [<8c053cc6>] out_of_memory+0x46/0x120
[   40.250216] [<8c05758a>] __alloc_pages_internal+0x40a/0x4a0
[   40.256618] [<8c2621c0>] _cond_resched+0x0/0x60
[   40.261458] [<8c05ab14>] __do_page_cache_readahead+0x134/0x2c0
[   40.267669] [<8c05b1ba>] do_page_cache_readahead+0x3a/0x80
[   40.272987] [<8c05263c>] filemap_fault+0x37c/0x560
[   40.278077] [<8c069768>] __do_fault+0x48/0x540
[   40.283321] [<8c06ad0e>] handle_mm_fault+0xce/0x740
[   40.288526] [<8c083426>] set_track+0x26/0xa0
[   40.293068] [<8c084592>] __slab_free+0x232/0x380
[   40.297482] [<8c150cb6>] __up_read+0x56/0x120
[   40.302137] [<8c2631ea>] down_read+0xa/0x20
[   40.307075] [<8c010ee4>] do_page_fault+0x124/0x400
[   40.312651] [<8c097208>] sys_mknodat+0xc8/0x220
[   40.317008] [<8c0148f0>] finish_task_switch+0x30/0x120
[   40.321973] [<8c26177e>] __sched_text_start+0x27e/0x580
[   40.327012] [<8c261784>] __sched_text_start+0x284/0x580
[   40.333541] [<8c261798>] __sched_text_start+0x298/0x580
[   40.339582] [<8c010d68>] __do_page_fault+0xe8/0x140
[   40.344264] [<8c0080e4>] ret_from_exception+0x0/0x8
[   40.348964] [<8c0080e4>] ret_from_exception+0x0/0x8
[   40.354146] 
[   40.355714] Mem-Info:
[   40.358643] Normal per-cpu:
[   40.361571] CPU    0: hi:    0, btch:   1 usd:   0
[   40.366664] Active_anon:732 active_file:2 inactive_anon:711
[   40.366692]  inactive_file:128 unevictable:0 dirty:0 writeback:0 unstable:0
[   40.366721]  free:146 slab:922 mapped:7 pagetables:186 bounce:0
[   40.385465] Normal free:584kB min:508kB low:632kB high:760kB active_anon:2928kB inactive_anon:2844kB active_file:8kB inactive_file:512kB unevictable:0kB present:16256kB pages_scanned:96 all_unro
[   40.405185] lowmem_reserve[]: 0 0
[   40.409252] Normal: 22*4kB 24*8kB 9*16kB 1*32kB 0*64kB 1*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 584kB
[   40.419417] 131 total pagecache pages
[   40.423295] 0 pages in swap cache
[   40.426817] Swap cache stats: add 0, delete 0, find 0/0
[   40.432811] Free swap  = 0kB
[   40.436396] Total swap = 0kB
[   40.439832] 4096 pages RAM
[   40.442242] 965 pages reserved
[   40.445490] 2444 pages shared
[   40.448589] 2689 pages non-shared
[   40.452629] 3 pages in pagetable cache
[   40.457105] Out of memory: kill process 858 (init) score 29 or a child
[   40.463494] Killed process 858 (init)


--
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
Paul Mundt March 16, 2009, 10:52 p.m. UTC | #3
On Mon, Mar 16, 2009 at 10:49:29PM +0000, Adrian McMenamin wrote:
> On Mon, 2009-03-16 at 20:12 +0900, Paul Mundt wrote:
> > On Mon, Mar 16, 2009 at 12:22:07PM +0900, Nobuhiro Iwamatsu wrote:
> > > When SuperH CPU has IRQ multi of DMAC, SH_DMA_IRQ_MULTI becomes enable.
> > > The following CPU's are Multi IRQ of DMAC now.
> > >  - SH775X and SH7091
> > >  - SH776X
> > >  - SH7780
> > >  - SH7785
> > > 
> > > If SH_DMA_IRQ_MULTI becomes enable, dma-sh api driver is optimized
> > > for Multi IRQ.
> > > 
> > > Signed-off-by: Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com>
> > 
> > Applied, thanks.
> > 
> > Adrian, please see if there are any outstanding issues on the dreamcast
> > dma now.
> 
> Have just tested the current kernel in your (Paul's) git repo and
> although it doesn't (seem) to be suffering from the DMA issue now, it is
> still not booting - oom problems killing init:
> 
And with DMA disabled, this does not show up?
--
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
Adrian McMenamin March 16, 2009, 10:58 p.m. UTC | #4
On Mon, 2009-03-16 at 22:49 +0000, Adrian McMenamin wrote:

> 
> Have just tested the current kernel in your (Paul's) git repo and
> although it doesn't (seem) to be suffering from the DMA issue now, it is
> still not booting - oom problems killing init:
> 

....


> �Starting the hotplug events dispatcher: udevd.
> Synthesizing the initial hotplug events...udevd-event[954]: rename_netif: error changing netif name eth0 to eth1: Device or resource busy
> done.
> [   29.005585] udevd invoked oom-killer: gfp_mask=0x1201d2, order=0, oomkilladj=-17
> [   29.013003] Stack: (0x8cd51ce4 to 0x8cd52000)
> [   29.017975] 1ce0:          8c0071ae 8cd51cf4 00000000 001201d2 8c053606 8cd51cfc 00000041 
> [   29.026904] 1d00: 8cd7c360 8c053c00 8cd51d2c 000000bc 8cd7c360 00000041 00000124 8c2e4198 


On the next three reboots the box cleanly booted twice and then failed a
third time - slightly differently - will now test with DMA off



--
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
Adrian McMenamin March 16, 2009, 11:32 p.m. UTC | #5
On Mon, 2009-03-16 at 22:58 +0000, Adrian McMenamin wrote:
> On Mon, 2009-03-16 at 22:49 +0000, Adrian McMenamin wrote:
> 
> > 
> > Have just tested the current kernel in your (Paul's) git repo and
> > although it doesn't (seem) to be suffering from the DMA issue now, it is
> > still not booting - oom problems killing init:
> > 
> 
> ....
> 
> 
> > �Starting the hotplug events dispatcher: udevd.
> > Synthesizing the initial hotplug events...udevd-event[954]: rename_netif: error changing netif name eth0 to eth1: Device or resource busy
> > done.
> > [   29.005585] udevd invoked oom-killer: gfp_mask=0x1201d2, order=0, oomkilladj=-17
> > [   29.013003] Stack: (0x8cd51ce4 to 0x8cd52000)
> > [   29.017975] 1ce0:          8c0071ae 8cd51cf4 00000000 001201d2 8c053606 8cd51cfc 00000041 
> > [   29.026904] 1d00: 8cd7c360 8c053c00 8cd51d2c 000000bc 8cd7c360 00000041 00000124 8c2e4198 
> 
> 
> On the next three reboots the box cleanly booted twice and then failed a
> third time - slightly differently - will now test with DMA off
> 
> 
> 
OK, I turned DMA off (as best I could - /arch/sh/drivers/dma/Makefile
seems to want to force you to compile in dam stuff - but I hacked that)
- but it now crashes in a completely new way - but again in a way that
suggests memory problems 

[    0.000000] Boot params:
[    0.000000] ... MOUNT_ROOT_RDONLY - 91f0c75f
[    0.000000] ... RAMDISK_FLAGS     - e1ff3018
[    0.000000] ... ORIG_ROOT_DEV     - 89093610
[    0.000000] ... LOADER_TYPE       - 3612e108
[    0.000000] ... INITRD_START      - 46088904
[    0.000000] ... INITRD_SIZE       - 6002306c
[    0.000000] console [sercon0] enabled
[    0.000000] Booting machvec: Sega Dreamcast
[    0.000000] Node 0: start_pfn = 0xc000, low = 0xd000
[    0.000000] Zone PFN ranges:
[    0.000000]   Normal   0x0000c000 -> 0x0000d000
[    0.000000] Movable zone start PFN for each node
[    0.000000] early_node_map[1] active PFN ranges
[    0.000000]     0: 0x0000c000 -> 0x0000d000
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 4064
[    0.000000] Kernel command line: root=/dev/nfs rw nfsroot=192.168.61.50:/home/adrian/debdist ip=dhcp earlyprintk=serial video=pvr2fb:640x480-32@60 console=ttySC1 panic=7
[    0.000000] PID hash table entries: 64 (order: 6, 256 bytes)
[    0.000000] Using tmu for system timer
[    0.004326] Console: colour dummy device 80x25
[    0.009299] Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.016830] Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.026984] Memory: 12508k/16384k available (2390k kernel code, 607k data, 108k init)
[    0.035609] PVR=040205c1 CVR=00000000 PRR=00000000
[    0.040852] I-cache : n_ways=1 n_sets=256 way_incr=8192
[    0.046579] I-cache : entry_mask=0x00001fe0 alias_mask=0x00001000 n_aliases=2
[    0.054404] D-cache : n_ways=1 n_sets=512 way_incr=16384
[    0.060229] D-cache : entry_mask=0x00003fe0 alias_mask=0x00003000 n_aliases=4
[    0.068536] SLUB: Genslabs=10, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.077088] Calibrating delay loop (skipped)... 199.50 BogoMIPS PRESET (lpj=399012)
[    0.086992] Mount-cache hash table entries: 512
[    0.096940] CPU: SH7750
[    0.129166] net_namespace: 296 bytes
[    0.134918] NET: Registered protocol family 16
[    0.263884] bio: create slab <bio-0> at 0
[    0.286889] Autoconfig PCI channel 0x8c2ea918
[    0.292211] Scanning bus 00, I/O 0x01001600:0x01003600, Mem 0x01840000:0x01848000
[    0.300468] 00:00.0 Class 0200: 11db:1234 (rev 10)
[    0.305682]         I/O at 0x01001600 [size=0x100]
[    0.310929]         Mem at 0x01840000 [size=0x100]
[    0.319876] PCI: Fixing up device 0000:00:00.0
[    0.375813]  maple: bus core now registered
[    0.381354] NET: Registered protocol family 2
[    0.386779] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.396313] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[    0.403956] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[    0.411047] TCP: Hash tables configured (established 512 bind 512)
[    0.417829] TCP reno registered
[    0.422736] NET: Registered protocol family 1
[    0.430522] maple : detected Dreamcast Controller: function 0x1: at (0, 0)
[    0.438185] maple : no driver found
[    0.446510] maple : detected Dreamcast Controller: function 0x1: at (1, 0)
[    0.454348] maple : no driver found
[    0.460931] maple : detected Keyboard: function 0x40: at (2, 0)
[    0.467509] maple : no driver found
[    0.474076] maple : detected Dreamcast Mouse: function 0x200: at (3, 0)
[    0.481827] maple : no driver found
[    0.490909] maple : detected Visual Memory: function 0xE: at (1, 1)
[    0.497908] maple : no driver found
[    0.503078] sq: Registering store queue API.
[    0.517703] cpufreq: SuperH CPU frequency driver.
[    0.522958] cpufreq: clock framework rate rounding not supported on this CPU.
[    0.544895] HugeTLB registered 64 KB page size, pre-allocated 0 pages
[    0.845600] msgmni has been set to 24
[    0.859146] alg: No test for stdrng (krng)
[    0.864236] io scheduler noop registered
[    0.868988] io scheduler anticipatory registered (default)
[    2.902451] SuperH SCI(F) driver initialized
[    2.907682] sh-sci: ttySC0 at MMIO 0xffe00000 (irq = 23) is a sci
[    2.918743] sh-sci: ttySC1 at MMIO 0xffe80000 (irq = 40) is a scif
�+dH�Ȑ2.925660] console handover: boot [sercon0] -> real [ttySC1]
[    2.993680] loop: module loaded
[    3.004701] nbd: registered device at major 43
[    3.134448] 8139too Fast Ethernet driver 0.9.28
[    3.145329] eth0: RealTek RTL8139 at 0xa1001700, 00:d0:f1:03:12:b9, IRQ 83
[    3.718835] GDROM: CD-ROM DRIVE     from SE               with firmware 6.42            
[    3.727399] GDROM: Registered with major number 254
[    3.732696] Uniform CD-ROM driver Revision: 3.20
[    4.753200] mice: PS/2 mouse device common for all mice
[    4.760872] Dreamcast_visual_memory 1:01.E: VMU device at partition 0 has 200 user blocks with a root block at 255
[    4.784481] input: Keyboard as /devices/maple/2:00.40/input/input0
[    4.795256] TCP cubic registered
[    4.799053] NET: Registered protocol family 17
[    4.817682] RPC: Registered udp transport module.
[    4.823172] RPC: Registered tcp transport module.
[    5.345025] eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
[    6.352286] Sending DHCP requests ., OK
[    6.364773] IP-Config: Got DHCP answer from 192.168.61.50, my address is 192.168.61.55
[    6.377423] IP-Config: Complete:
[    6.380650]      device=eth0, addr=192.168.61.55, mask=255.255.255.224, gw=192.168.61.50,
[    6.389332]      host=192.168.61.55, domain=, nis-domain=(none),
[    6.395678]      bootserver=192.168.61.50, rootserver=192.168.61.50, rootpath=
[    6.404475] Looking up port of RPC 100003/2 on 192.168.61.50
[    6.414793] Looking up port of RPC 100005/1 on 192.168.61.50
[    6.447306] VFS: Mounted root (nfs filesystem) on device 0:13.
[    6.454855] Freeing unused kernel memory: 108k freed
INIT: �version 2.86 booting�
�Starting the hotplug events dispatcher: udevd.
Synthesizing the initial hotplug events...udevd-event[932]: rename_netif: error changing netif name eth0 to eth1: Device or resource busy
done.
Waiting for /dev to be fully populated...[   26.353391] Dreamcast_visual_memory 1:01.E: VMU read on (1, 1) timed out on block 0x1
[   26.361411] end_request: I/O error, dev mtdblock0, sector 0
[   26.367235] Buffer I/O error on device mtdblock0, logical block 0
[   29.381520] Dreamcast_visual_memory 1:01.E: VMU read on (1, 1) timed out on block 0x8
[   29.389614] end_request: I/O error, dev mtdblock0, sector 8
[   29.395438] Buffer I/O error on device mtdblock0, logical block 1
[   47.555193] Unable to handle kernel NULL pointer dereference at virtual address 00000000
[   47.563389] pc = 8c14af02
[   47.566758] *pde = 00000000
[   47.569740] Oops: 0000 [#1]
[   47.572653] Modules linked in:
[   47.575847] 
[   47.577414] Pid : 1071, Comm:                udevsettle
[   47.581689] CPU : 0                  Not tainted  (2.6.29-rc7-00226-g988f831-dirty #8)
[   47.581727] 
[   47.590781] PC is at find_next_zero_bit+0x82/0x100
[   47.595796] PR is at alloc_fd+0x6a/0x160
[   47.599889] PC  : 8c14af02 SP  : 8c5fff50 SR  : 40008000 TEA : 00000000
[   47.606791] R0  : 00000003 R1  : fffffffb R2  : 02000000 R3  : 00000000
[   47.613677] R4  : 00000000 R5  : ffffffe3 R6  : 00000000 R7  : 02000000
[   47.620576] R8  : ffffffe0 R9  : 8c4660e0 R10 : 8c86c2a0 R11 : 00000000
[   47.627461] R12 : 00000000 R13 : 8c0a2b20 R14 : 8c5fff50
[   47.633010] MACH: 00003333 MACL: 000030c0 GBR : 29708440 PR  : 8c0a2e0a
[   47.639886] 
[   47.639902] Call trace:
[   47.644023] [<8c086d90>] do_sys_open+0x30/0x120
[   47.648772] [<8c086eb4>] sys_open+0x14/0x20
[   47.653159] [<8c086ea0>] sys_open+0x0/0x20
[   47.657452] [<8c00823a>] syscall_call+0xc/0x10
[   47.662099] 
[   47.663659] Code:
[   47.665676]   8c14aefc:  nop       
[   47.669371]   8c14aefe:  nop       
[   47.673055]   8c14af00:  add       #-32, r5
[   47.677485] ->8c14af02:  mov.l     @r3, r0
[   47.681841]   8c14af04:  mov       #-1, r1
[   47.686192]   8c14af06:  shld      r5, r1
[   47.690473]   8c14af08:  or        r1, r0
[   47.694742]   8c14af0a:  mov       #31, r1
[   47.699095]   8c14af0c:  cmp/hi    r1, r7
[   47.703344] 
[   47.704916] Process: udevsettle (pid: 1071, stack limit = 8c5fe001)
[   47.711440] Stack: (0x8c5fff50 to 0x8c600000)
[   47.715975] ff40:                                     8c5fff58 00000003 00008000 8c086d90 
[   47.724685] ff60: 8c5fff7c fffff000 00000000 ffffff9c 00008000 8cfac100 8cfac100 8c086eb4 
[   47.733418] ff80: 8c5fff9c 000000b4 29698acc 00000000 00000071 0000007f 8c086ea0 8c00823a 
[   47.742147] ffa0: 7bd30878 fffffbc0 00008000 7bd308f1 00000005 7bd308d8 00008000 00000000 
[   47.750876] ffc0: 00000210 00000000 00000000 7bd308d8 00000c50 29698acc 000000b4 7bd30878 
[   47.759605] ffe0: 7bd30878 2962cfd2 004014b0 00000001 29708440 00003333 02faf080 0000004c 
[   47.766146] ---[ end trace 1cae2f7ca6c16c25 ]---
[   47.771633] note: udevsettle[1071] exited with preempt_count 1
[   47.778977] BUG: scheduling while atomic: udevsettle/1071/0x10000002
[   47.785111] Modules linked in:
[   47.788325] Stack: (0x8c5ffc8c to 0x8c600000)
[   47.793968] fc80:                            8c0071ae 8c5ffc9c 8c0137a0 00000000 8c013ac6 
[   47.804608] fca0: 8c5ffca4 8c251046 8c5ffcb0 10000000 8c056826 8c3d2f50 8c3d2f4c 8c3d2ed4 
[   47.812894] fcc0: 8c3afd60 8c3d2ed8 8c0568ec 8c013b1e 8c5ffcec ffffffe1 2956a000 8c013840 
[   47.821214] fce0: 8c250c20 8c0137a0 10000000 8c25191a 8c5ffd04 00000000 29559000 8c69a560 
[   47.830725] fd00: 8c0868c0 8c06c8ec 8c5ffd0c ffffffff 00000000 8c624980 8c5ffd78 00000001 
[   47.839043] fd20: 00000000 8c961294 8c961294 8c4135a0 8c30b194 00000000 ffffffff 0c8ea158 
[   47.848490] fd40: 29569fff 2956a000 00000000 8c06fe58 8c5ffd74 8c4135e0 8c5ffd3c 8c624880 
[   47.857392] fd60: 8c4135a0 8c624880 8c4135a0 8c5ffd74 00000000 00000022 8c30b194 8c01760e 
[   47.865733] fd80: 8c5ffd9c 8c5fff34 8c1548e0 00000000 8c4135a0 8c4135e0 8c4135a0 8c01c430 
[   47.875219] fda0: 8c5ffdac 8c3d2d80 00000000 8c4135d4 8c3d2dfc 0000000b 00000001 8c01e224 
[   47.883502] fdc0: 8c5ffddc 8c5fff34 8c1548e0 00000000 8c3d2d80 0000000b 8c3d2fbc 00000080 
[   47.892984] fde0: 0000001f 0000002f 00000000 8c01b29e 8c5ffe0c 8c5fff34 8c3d2dfc 00000001 
[   47.901265] fe00: 8c2901e4 8c5ffef4 8c01b280 8c00736c 8c5ffe2c 8c5fff34 8c1548e0 00000000 
[   47.910801] fe20: 8c2901e4 8c5ffef4 8c01b280 8c011020 8c5ffe48 8c5ffef4 8c3d2d80 8c01b280 
[   47.919687] fe40: 00000000 00000000 00001040 000030c0 00000000 8c5ffe70 8c083426 8c084592 
[   47.927985] fe60: 8c5ffe70 00000401 8c0843c0 8c5ffe70 8cc02c00 8c086308 8c5ffe98 8c5fff24 
[   47.937464] fe80: 8c0973ca 8cc02c00 8cfac100 00000000 8c3c4500 00000401 8c0973ca 8c5ffeb4 
[   47.945808] fea0: ffffff9c 00000001 00000071 fffffffe 8cfac100 8c5ffeb8 8cfac100 8c3c4500 
[   47.955295] fec0: 8c082c88 8c5ffeec 8c082ae0 00000000 8cc02c40 8c0080e4 8c5fff50 8c0a2b20 
[   47.964163] fee0: 00000000 00000000 8c0080e4 00000000 00000000 00000003 fffffffb 02000000 
[   47.972472] ff00: 00000000 00000000 ffffffe3 00000000 02000000 ffffffe0 8c4660e0 8c86c2a0 
[   47.981919] ff20: 00000000 00000000 8c0a2b20 8c5fff50 8c5fff50 8c14af02 8c0a2e0a 40008000 
[   47.990294] ff40: 29708440 00003333 000030c0 ffffffff 8c5fff58 00000003 00008000 8c086d90 
[   47.999746] ff60: 8c5fff7c fffff000 00000000 ffffff9c 00008000 8cfac100 8cfac100 8c086eb4 
[   48.008646] ff80: 8c5fff9c 000000b4 29698acc 00000000 00000071 0000007f 8c086ea0 8c00823a 
[   48.016924] ffa0: 7bd30878 fffffbc0 00008000 7bd308f1 00000005 7bd308d8 00008000 00000000 
[   48.026466] ffc0: 00000210 00000000 00000000 7bd308d8 00000c50 29698acc 000000b4 7bd30878 
[   48.035326] ffe0: 7bd30878 2962cfd2 004014b0 00000001 29708440 00003333 02faf080 0000004c 
[   48.043633] 
[   48.043650] Call trace:
[   48.048408] [<8c0071ae>] dump_stack+0xe/0x20
[   48.052963] [<8c0137a0>] sub_preempt_count+0x0/0xa0
[   48.058145] [<8c013ac6>] __schedule_bug+0x46/0x80
[   48.063137] [<8c251046>] __sched_text_start+0x426/0x580
[   48.068085] [<8c056826>] free_hot_cold_page+0x2c6/0x300
[   48.073642] [<8c0568ec>] free_hot_page+0xc/0x20
[   48.079034] [<8c013b1e>] __cond_resched+0x1e/0x60
[   48.084023] [<8c013840>] add_preempt_count+0x0/0xc0
[   48.089215] [<8c250c20>] __sched_text_start+0x0/0x580
[   48.093976] [<8c0137a0>] sub_preempt_count+0x0/0xa0
[   48.099145] [<8c25191a>] _cond_resched+0x3a/0x60
[   48.104667] [<8c0868c0>] quicklist_trim+0x0/0x1a0
[   48.110243] [<8c06c8ec>] unmap_vmas+0x60c/0x6a0
[   48.114489] [<8c06fe58>] exit_mmap+0x98/0x200
[   48.118550] [<8c01760e>] mmput+0x6e/0x140
[   48.122842] [<8c1548e0>] bust_spinlocks+0x0/0x60
[   48.127740] [<8c01c430>] exit_mm+0x150/0x240
[   48.132868] [<8c01e224>] do_exit+0xe4/0xa20
[   48.137338] [<8c1548e0>] bust_spinlocks+0x0/0x60
[   48.142251] [<8c01b29e>] printk+0x1e/0x40
[   48.146527] [<8c01b280>] printk+0x0/0x40
[   48.150115] [<8c00736c>] die+0x16c/0x1e0
[   48.154316] [<8c1548e0>] bust_spinlocks+0x0/0x60
[   48.159808] [<8c01b280>] printk+0x0/0x40
[   48.164567] [<8c011020>] do_page_fault+0x260/0x400
[   48.169067] [<8c01b280>] printk+0x0/0x40
[   48.172695] [<8c083426>] set_track+0x26/0xa0
[   48.177236] [<8c084592>] __slab_free+0x232/0x380
[   48.182140] [<8c0843c0>] __slab_free+0x60/0x380
[   48.187567] [<8c086308>] kmem_cache_free+0x68/0xe0
[   48.192674] [<8c0973ca>] user_path_at+0x4a/0xa0
[   48.197484] [<8c0973ca>] user_path_at+0x4a/0xa0
[   48.201722] [<8c082c88>] check_object+0xa8/0x280
[   48.207237] [<8c082ae0>] check_bytes_and_report+0x0/0x100
[   48.212950] [<8c0080e4>] ret_from_exception+0x0/0x8
[   48.217538] [<8c0a2b20>] expand_files+0x0/0x280
[   48.222962] [<8c0080e4>] ret_from_exception+0x0/0x8
[   48.228156] [<8c0a2b20>] expand_files+0x0/0x280
[   48.232384] [<8c14af02>] find_next_zero_bit+0x82/0x100
[   48.238437] [<8c0a2e0a>] alloc_fd+0x6a/0x160
[   48.242992] [<8c086d90>] do_sys_open+0x30/0x120
[   48.247813] [<8c086eb4>] sys_open+0x14/0x20
[   48.251684] [<8c086ea0>] sys_open+0x0/0x20
[   48.256655] [<8c00823a>] syscall_call+0xc/0x10
[   48.260789] 
[   48.266400] Unable to handle kernel NULL pointer dereference at virtual address 00000000
[   48.274488] pc = 8c01c73a
[   48.277226] *pde = 00000000
[   48.280796] Oops: 0000 [#2]
[   48.283711] Modules linked in:
[   48.286906] 
[   48.288473] Pid : 1071, Comm:                udevsettle
[   48.292751] CPU : 0                  Tainted: G      D     (2.6.29-rc7-00226-g988f831-dirty #8)
[   48.292785] 
[   48.302639] PC is at put_files_struct+0x5a/0x140
[   48.307463] PR is at exit_files+0x34/0x60
[   48.311647] PC  : 8c01c73a SP  : 8c5ffda8 SR  : 40008000 TEA : 00000000
[   48.318550] R0  : 00000000 R1  : 00000000 R2  : 02000000 R3  : ffffff0f
[   48.325438] R4  : 8c4660e0 R5  : 00000000 R6  : 8c3b4118 R7  : 00000624
[   48.332326] R8  : 8c3d2fbc R9  : 00000000 R10 : 00000000 R11 : 8c86c2a0
[   48.339213] R12 : 8c4660e0 R13 : 8c5fff34 R14 : 8c5ffda8
[   48.344748] MACH: 00000000 MACL: 00000058 GBR : 29708440 PR  : 8c01c854
[   48.351624] 
[   48.351641] Call trace:
[   48.355747] [<8c01c854>] exit_files+0x34/0x60
[   48.360310] [<8c1548e0>] bust_spinlocks+0x0/0x60
[   48.365143] [<8c01e236>] do_exit+0xf6/0xa20
[   48.369544] [<8c01b29e>] printk+0x1e/0x40
[   48.373756] [<8c01b280>] printk+0x0/0x40
[   48.377866] [<8c00736c>] die+0x16c/0x1e0
[   48.381977] [<8c1548e0>] bust_spinlocks+0x0/0x60
[   48.386818] [<8c01b280>] printk+0x0/0x40
[   48.390925] [<8c011020>] do_page_fault+0x260/0x400
[   48.395944] [<8c01b280>] printk+0x0/0x40
[   48.400069] [<8c083426>] set_track+0x26/0xa0
[   48.404544] [<8c084592>] __slab_free+0x232/0x380
[   48.409381] [<8c0843c0>] __slab_free+0x60/0x380
[   48.414131] [<8c086308>] kmem_cache_free+0x68/0xe0
[   48.419143] [<8c0973ca>] user_path_at+0x4a/0xa0
[   48.423887] [<8c0973ca>] user_path_at+0x4a/0xa0
[   48.428646] [<8c082c88>] check_object+0xa8/0x280
[   48.433485] [<8c082ae0>] check_bytes_and_report+0x0/0x100
[   48.439132] [<8c0080e4>] ret_from_exception+0x0/0x8
[   48.444242] [<8c0a2b20>] expand_files+0x0/0x280
[   48.448988] [<8c0080e4>] ret_from_exception+0x0/0x8
[   48.454116] [<8c0a2b20>] expand_files+0x0/0x280
[   48.458866] [<8c14af02>] find_next_zero_bit+0x82/0x100
[   48.464241] [<8c0a2e0a>] alloc_fd+0x6a/0x160
[   48.468729] [<8c086d90>] do_sys_open+0x30/0x120
[   48.473496] [<8c086eb4>] sys_open+0x14/0x20
[   48.477902] [<8c086ea0>] sys_open+0x0/0x20
[   48.482203] [<8c00823a>] syscall_call+0xc/0x10
[   48.486862] 
[   48.488423] Code:
[   48.490441]   8c01c734:  mov.l     @(12,r11), r1
[   48.495352]   8c01c736:  mov       r10, r0
[   48.499711]   8c01c738:  shll2     r0
[   48.503610] ->8c01c73a:  mov.l     @(r0,r1), r8
[   48.508423]   8c01c73c:  tst       r8, r8
[   48.512714]   8c01c73e:  bf        8c01c780
[   48.517122]   8c01c740:  add       #1, r10
[   48.521468]   8c01c742:  add       #32, r9
[   48.525814]   8c01c744:  cmp/hs    r2, r9
[   48.530074] 
[   48.531648] Process: udevsettle (pid: 1071, stack limit = 8c5fe001)
[   48.538173] Stack: (0x8c5ffda8 to 0x8c600000)
[   48.542710] fda0:                   00000000 8c01c854 8c5ffdcc 8c5fff34 8c1548e0 00000000 
[   48.551440] fdc0: 8c3d2d80 8c4660e0 8c3d2fbc 8c01e236 8c5ffddc 0000000b 8c3d2fbc 00000080 
[   48.560185] fde0: 0000001f 0000002f 00000000 8c01b29e 8c5ffe0c 8c5fff34 8c3d2dfc 00000001 
[   48.568925] fe00: 8c2901e4 8c5ffef4 8c01b280 8c00736c 8c5ffe2c 8c5fff34 8c1548e0 00000000 
[   48.577666] fe20: 8c2901e4 8c5ffef4 8c01b280 8c011020 8c5ffe48 8c5ffef4 8c3d2d80 8c01b280 
[   48.586410] fe40: 00000000 00000000 00001040 000030c0 00000000 8c5ffe70 8c083426 8c084592 
[   48.595148] fe60: 8c5ffe70 00000401 8c0843c0 8c5ffe70 8cc02c00 8c086308 8c5ffe98 8c5fff24 
[   48.603893] fe80: 8c0973ca 8cc02c00 8cfac100 00000000 8c3c4500 00000401 8c0973ca 8c5ffeb4 
[   48.612636] fea0: ffffff9c 00000001 00000071 fffffffe 8cfac100 8c5ffeb8 8cfac100 8c3c4500 
[   48.621381] fec0: 8c082c88 8c5ffeec 8c082ae0 00000000 8cc02c40 8c0080e4 8c5fff50 8c0a2b20 
[   48.630128] fee0: 00000000 00000000 8c0080e4 00000000 00000000 00000003 fffffffb 02000000 
[   48.638865] ff00: 00000000 00000000 ffffffe3 00000000 02000000 ffffffe0 8c4660e0 8c86c2a0 
[   48.647603] ff20: 00000000 00000000 8c0a2b20 8c5fff50 8c5fff50 8c14af02 8c0a2e0a 40008000 
[   48.656343] ff40: 29708440 00003333 000030c0 ffffffff 8c5fff58 00000003 00008000 8c086d90 
[   48.665086] ff60: 8c5fff7c fffff000 00000000 ffffff9c 00008000 8cfac100 8cfac100 8c086eb4 
[   48.673829] ff80: 8c5fff9c 000000b4 29698acc 00000000 00000071 0000007f 8c086ea0 8c00823a 
[   48.682569] ffa0: 7bd30878 fffffbc0 00008000 7bd308f1 00000005 7bd308d8 00008000 00000000 
[   48.691311] ffc0: 00000210 00000000 00000000 7bd308d8 00000c50 29698acc 000000b4 7bd30878 
[   48.700050] ffe0: 7bd30878 2962cfd2 004014b0 00008001 29708440 00003333 02faf080 0000004c 
[   48.706608] ---[ end trace 1cae2f7ca6c16c26 ]---
[   48.710886] Fixing recursive fault but reboot is needed!
[   48.717083] BUG: scheduling while atomic: udevsettle/1071/0x00000002
[   48.723188] Modules linked in:
[   48.727461] Stack: (0x8c5ffbd4 to 0x8c600000)
[   48.732659] fbc0:                                              8c0071ae 8c5ffbe4 0000000b 
[   48.742728] fbe0: 00000000 8c013ac6 8c5ffbec 8c251046 8c5ffbf8 8c01b280 00000000 8c3d2f50 
[   48.750409] fc00: 8c3d2f4c 8c3d2ed4 8c1548e0 8c3d2ed8 8c3d2d80 8c01e8e2 8c5ffc34 8c5ffd8c 
[   48.760494] fc20: 8c1548e0 00000000 8c3d2d80 0000000b 8c01b280 00000080 0000001f 00000030 
[   48.770562] fc40: 00000000 8c01b29e 8c5ffc64 8c5ffd8c 8c1548e0 00000000 8c2901e4 8c5ffd4c 
[   48.778312] fc60: 8c01b280 8c00736c 8c5ffc84 8c5ffd8c 8c1548e0 00000000 8c2901e4 8c5ffd4c 
[   48.787205] fc80: 8c01b280 8c011020 8c5ffca0 8c5ffd4c 8c3d2d80 8c01b280 00000000 00000000 
[   48.796661] fca0: 8c020f46 8c5ffcc0 00000000 8c06fd62 8cc02a00 00000000 8c316cc4 000000f0 
[   48.805558] fcc0: 8c021418 8c02141c 8c5ffccc 8c00389e 8c5ffcd8 00000010 8c0080ec 8c5ffd44 
[   48.814482] fce0: 8c624800 8c003860 400080f1 00000000 00000000 40008001 00000003 00000001 
[   48.823376] fd00: 8c2ee404 8c3b4118 00000624 8c3b1480 00000000 8c624800 8cc02a00 8c06fd62 
[   48.831643] fd20: 8c4135e0 8c5ffd44 8c5ffd48 8c0080e4 8c5ffda8 8c5fff34 8c4660e0 8c86c2a0 
[   48.841136] fd40: 8c0080e4 00000000 00000000 00000000 00000000 02000000 ffffff0f 8c4660e0 
[   48.849397] fd60: 00000000 8c3b4118 00000624 8c3d2fbc 00000000 00000000 8c86c2a0 8c4660e0 
[   48.858944] fd80: 8c5fff34 8c5ffda8 8c5ffda8 8c01c73a 8c01c854 40008000 29708440 00000000 
[   48.867806] fda0: 00000058 ffffffff 00000000 8c01c854 8c5ffdcc 8c5fff34 8c1548e0 00000000 
[   48.876104] fdc0: 8c3d2d80 8c4660e0 8c3d2fbc 8c01e236 8c5ffddc 0000000b 8c3d2fbc 00000080 
[   48.885560] fde0: 0000001f 0000002f 00000000 8c01b29e 8c5ffe0c 8c5fff34 8c3d2dfc 00000001 
[   48.894506] fe00: 8c2901e4 8c5ffef4 8c01b280 8c00736c 8c5ffe2c 8c5fff34 8c1548e0 00000000 
[   48.903384] fe20: 8c2901e4 8c5ffef4 8c01b280 8c011020 8c5ffe48 8c5ffef4 8c3d2d80 8c01b280 
[   48.911672] fe40: 00000000 00000000 00001040 000030c0 00000000 8c5ffe70 8c083426 8c084592 
[   48.921163] fe60: 8c5ffe70 00000401 8c0843c0 8c5ffe70 8cc02c00 8c086308 8c5ffe98 8c5fff24 
[   48.929429] fe80: 8c0973ca 8cc02c00 8cfac100 00000000 8c3c4500 00000401 8c0973ca 8c5ffeb4 
[   48.938983] fea0: ffffff9c 00000001 00000071 fffffffe 8cfac100 8c5ffeb8 8cfac100 8c3c4500 
[   48.947850] fec0: 8c082c88 8c5ffeec 8c082ae0 00000000 8cc02c40 8c0080e4 8c5fff50 8c0a2b20 
[   48.956149] fee0: 00000000 00000000 8c0080e4 00000000 00000000 00000003 fffffffb 02000000 
[   48.965603] ff00: 00000000 00000000 ffffffe3 00000000 02000000 ffffffe0 8c4660e0 8c86c2a0 
[   48.974556] ff20: 00000000 00000000 8c0a2b20 8c5fff50 8c5fff50 8c14af02 8c0a2e0a 40008000 
[   48.982822] ff40: 29708440 00003333 000030c0 ffffffff 8c5fff58 00000003 00008000 8c086d90 
[   48.992319] ff60: 8c5fff7c fffff000 00000000 ffffff9c 00008000 8cfac100 8cfac100 8c086eb4 
[   49.000588] ff80: 8c5fff9c 000000b4 29698acc 00000000 00000071 0000007f 8c086ea0 8c00823a 
[   49.010092] ffa0: 7bd30878 fffffbc0 00008000 7bd308f1 00000005 7bd308d8 00008000 00000000 
[   49.018417] ffc0: 00000210 00000000 00000000 7bd308d8 00000c50 29698acc 000000b4 7bd30878 
[   49.027902] ffe0: 7bd30878 2962cfd2 004014b0 00008001 29708440 00003333 02faf080 0000004c 
[   49.036776] 
[   49.036794] Call trace:
[   49.040380] [<8c0071ae>] dump_stack+0xe/0x20
[   49.044919] [<8c013ac6>] __schedule_bug+0x46/0x80
[   49.050506] [<8c251046>] __sched_text_start+0x426/0x580
[   49.056061] [<8c01b280>] printk+0x0/0x40
[   49.060239] [<8c1548e0>] bust_spinlocks+0x0/0x60
[   49.064535] [<8c01e8e2>] do_exit+0x7a2/0xa20
[   49.069665] [<8c1548e0>] bust_spinlocks+0x0/0x60
[   49.074592] [<8c01b280>] printk+0x0/0x40
[   49.078176] [<8c01b29e>] printk+0x1e/0x40
[   49.082439] [<8c1548e0>] bust_spinlocks+0x0/0x60
[   49.087963] [<8c01b280>] printk+0x0/0x40
[   49.092731] [<8c00736c>] die+0x16c/0x1e0
[   49.096317] [<8c1548e0>] bust_spinlocks+0x0/0x60
[   49.100620] [<8c01b280>] printk+0x0/0x40
[   49.104815] [<8c011020>] do_page_fault+0x260/0x400
[   49.110508] [<8c01b280>] printk+0x0/0x40
[   49.114683] [<8c020f46>] do_softirq+0x86/0xa0
[   49.118715] [<8c06fd62>] remove_vma+0x42/0xa0
[   49.123368] [<8c021418>] irq_exit+0x58/0x80
[   49.128408] [<8c02141c>] irq_exit+0x5c/0x80
[   49.132847] [<8c00389e>] do_IRQ+0x3e/0x80
[   49.137127] [<8c0080ec>] ret_from_irq+0x0/0x10
[   49.141852] [<8c003860>] do_IRQ+0x0/0x80
[   49.145446] [<8c06fd62>] remove_vma+0x42/0xa0
[   49.150673] [<8c0080e4>] ret_from_exception+0x0/0x8
[   49.155870] [<8c0080e4>] ret_from_exception+0x0/0x8
[   49.160460] [<8c01c73a>] put_files_struct+0x5a/0x140
[   49.166308] [<8c01c854>] exit_files+0x34/0x60
[   49.170949] [<8c01c854>] exit_files+0x34/0x60
[   49.174988] [<8c1548e0>] bust_spinlocks+0x0/0x60
[   49.180483] [<8c01e236>] do_exit+0xf6/0xa20
[   49.184943] [<8c01b29e>] printk+0x1e/0x40
[   49.188645] [<8c01b280>] printk+0x0/0x40
[   49.193415] [<8c00736c>] die+0x16c/0x1e0
[   49.197588] [<8c1548e0>] bust_spinlocks+0x0/0x60
[   49.201891] [<8c01b280>] printk+0x0/0x40
[   49.206086] [<8c011020>] do_page_fault+0x260/0x400
[   49.211767] [<8c01b280>] printk+0x0/0x40
[   49.216556] [<8c083426>] set_track+0x26/0xa0
[   49.220512] [<8c084592>] __slab_free+0x232/0x380
[   49.224829] [<8c0843c0>] __slab_free+0x60/0x380
[   49.229680] [<8c086308>] kmem_cache_free+0x68/0xe0
[   49.234755] [<8c0973ca>] user_path_at+0x4a/0xa0
[   49.240187] [<8c0973ca>] user_path_at+0x4a/0xa0
[   49.245010] [<8c082c88>] check_object+0xa8/0x280
[   49.249912] [<8c082ae0>] check_bytes_and_report+0x0/0x100
[   49.255647] [<8c0080e4>] ret_from_exception+0x0/0x8
[   49.260222] [<8c0a2b20>] expand_files+0x0/0x280
[   49.265631] [<8c0080e4>] ret_from_exception+0x0/0x8
[   49.270235] [<8c0a2b20>] expand_files+0x0/0x280
[   49.275662] [<8c14af02>] find_next_zero_bit+0x82/0x100
[   49.281100] [<8c0a2e0a>] alloc_fd+0x6a/0x160
[   49.285052] [<8c086d90>] do_sys_open+0x30/0x120
[   49.290498] [<8c086eb4>] sys_open+0x14/0x20
[   49.294955] [<8c086ea0>] sys_open+0x0/0x20
[   49.299310] [<8c00823a>] syscall_call+0xc/0x10
[   49.303442] 



--
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
diff mbox

Patch

diff --git a/arch/sh/drivers/dma/Kconfig b/arch/sh/drivers/dma/Kconfig
index 57d95fc..32bb8fa 100644
--- a/arch/sh/drivers/dma/Kconfig
+++ b/arch/sh/drivers/dma/Kconfig
@@ -9,6 +9,14 @@  config SH_DMA
 	select SH_DMA_API
 	default n

+config SH_DMA_IRQ_MULTI
+	bool
+	depends on SH_DMA
+	default y if CPU_SUBTYPE_SH7750 || CPU_SUBTYPE_SH7751 || \
+		CPU_SUBTYPE_SH7750S || CPU_SUBTYPE_SH7750R || CPU_SUBTYPE_SH7751R || \
+		CPU_SUBTYPE_SH7091 || CPU_SUBTYPE_SH7763 || CPU_SUBTYPE_SH7764 || \
+		CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7785
+
 config NR_ONCHIP_DMA_CHANNELS
 	int
 	depends on SH_DMA
diff --git a/arch/sh/drivers/dma/dma-sh.c b/arch/sh/drivers/dma/dma-sh.c
index ab7b18d..d7a91c4 100644
--- a/arch/sh/drivers/dma/dma-sh.c
+++ b/arch/sh/drivers/dma/dma-sh.c
@@ -19,13 +19,6 @@ 
 #include <asm/io.h>
 #include <asm/dma-sh.h>

-#if defined(CONFIG_CPU_SUBTYPE_SH7763)	|| \
-		defined(CONFIG_CPU_SUBTYPE_SH7764)	|| \
-		defined(CONFIG_CPU_SUBTYPE_SH7780)	|| \
-		defined(CONFIG_CPU_SUBTYPE_SH7785)
-#define DMAC_IRQ_MULTI	1
-#endif
-
 #if defined(DMAE1_IRQ)
 #define NR_DMAE		2
 #else
@@ -42,7 +35,7 @@  static inline unsigned int get_dmte_irq(unsigned int chan)
 	if (chan < ARRAY_SIZE(dmte_irq_map))
 		irq = dmte_irq_map[chan];

-#if defined(DMAC_IRQ_MULTI)
+#if defined(CONFIG_SH_DMA_IRQ_MULTI)
 	if (irq > DMTE6_IRQ)
 		return DMTE6_IRQ;
 	return DMTE0_IRQ;
@@ -96,7 +89,7 @@  static int sh_dmac_request_dma(struct dma_channel *chan)
 		return 0;

 	return request_irq(get_dmte_irq(chan->chan), dma_tei,
-#if defined(DMAC_IRQ_MULTI)
+#if defined(CONFIG_SH_DMA_IRQ_MULTI)
 				IRQF_SHARED,
 #else
 				IRQF_DISABLED,
@@ -235,7 +228,7 @@  static inline int dmaor_reset(int no)
 #if defined(CONFIG_CPU_SH4)
 static irqreturn_t dma_err(int irq, void *dummy)
 {
-#if defined(DMAC_IRQ_MULTI)
+#if defined(CONFIG_SH_DMA_IRQ_MULTI)
 	int cnt = 0;
 	switch (irq) {
 #if defined(DMTE6_IRQ) && defined(DMAE1_IRQ)
@@ -282,7 +275,7 @@  static struct dma_info sh_dmac_info = {

 static unsigned int get_dma_error_irq(int n)
 {
-#if defined(DMAC_IRQ_MULTI)
+#if defined(CONFIG_SH_DMA_IRQ_MULTI)
 	return (n == 0) ? get_dmte_irq(0) : get_dmte_irq(6);
 #else
 	return (n == 0) ? DMAE0_IRQ :
@@ -304,7 +297,7 @@  static int __init sh_dmac_init(void)

 	for (n = 0; n < NR_DMAE; n++) {
 		i = request_irq(get_dma_error_irq(n), dma_err,
-#if defined(DMAC_IRQ_MULTI)
+#if defined(CONFIG_SH_DMA_IRQ_MULTI)
 				IRQF_SHARED,
 #else
 				IRQF_DISABLED,