Just for info

It works fine with 2s sleep:

SHR root@gjama ~ $ rmmod snd_soc_wm8753 snd_soc_s3c24xx snd_soc_neo1973_wm8753 
snd_soc_s3c24xx_i2s snd_soc_dfbmcs320 snd_soc_core regmap_spi snd_pcm snd_timer 
snd soundcore snd_page_alloc
SHR root@gjama ~ $ lsmod
Module                  Size  Used by
g_ether                32953  0 
s3c2410_udc            11837  0 
rfcomm                 29688  0 
ppp_generic            20110  0 
slhc                    4627  1 ppp_generic
ohci_hcd               17722  0 
ipv6                  234213  10 
hidp                   12366  0 
udc_core                4229  2 g_ether,s3c2410_udc
btusb                   9799  0 
usbcore               110387  2 ohci_hcd,btusb
usb_common               571  3 g_ether,udc_core,usbcore
bnep                    9340  2 
bluetooth             134491  12 rfcomm,hidp,btusb,bnep
ar6000                113699  0 
SHR root@gjama ~ $ dmesg -c
SHR root@gjama ~ $ modprobe snd_soc_s3c24xx; modprobe snd_soc_s3c24xx_i2s; 
modprobe snd_soc_dfbmcs320; sleep 2; modprobe snd-soc-wm8753; modprobe 
snd-soc-neo1973-wm8753
SHR root@gjama ~ $ dmesg -c
[64349.470000] asoc: wm8753-hifi <-> s3c24xx-iis mapping ok
[64349.475000] asoc: wm8753-voice <-> dfbmcs320-pcm mapping ok
[64349.500000] input: neo1973gta02 Headset Jack as 
/devices/platform/soc-audio/sound/card0/input6

but without sleep (always) or with just 1s (sometimes) it fails:
SHR root@gjama ~ $ modprobe snd_soc_s3c24xx; modprobe snd_soc_s3c24xx_i2s; 
modprobe snd_soc_dfbmcs320; modprobe snd-soc-wm8753; modprobe 
snd-soc-neo1973-wm8753
SHR root@gjama ~ $ dmesg -c
[64540.300000] modprobe: page allocation failure: order:5, mode:0xd0
[64540.300000] [<c000d4d0>] (unwind_backtrace+0x0/0xf0) from [<c005c400>] 
(warn_alloc_failed+0xc8/0x10c)
[64540.305000] [<c005c400>] (warn_alloc_failed+0xc8/0x10c) from [<c005e58c>] 
(__alloc_pages_nodemask+0x44c/0x664)
[64540.310000] [<c005e58c>] (__alloc_pages_nodemask+0x44c/0x664) from 
[<c000d8d0>] (__dma_alloc+0xa0/0x340)
[64540.315000] [<c000d8d0>] (__dma_alloc+0xa0/0x340) from [<c000db90>] 
(dma_alloc_writecombine+0x20/0x2c)
[64540.320000] [<c000db90>] (dma_alloc_writecombine+0x20/0x2c) from 
[<bfaf357c>] (preallocate_dma_buffer+0x44/0x60 [snd_soc_s3c24xx])
[64540.325000] [<bfaf357c>] (preallocate_dma_buffer+0x44/0x60 
[snd_soc_s3c24xx]) from [<bfaf3618>] (dma_new+0x80/0x94 [snd_soc_s3c24xx])
[64540.330000] [<bfaf3618>] (dma_new+0x80/0x94 [snd_soc_s3c24xx]) from 
[<bfae49ac>] (soc_new_pcm+0x164/0x1f4 [snd_soc_core])
[64540.335000] [<bfae49ac>] (soc_new_pcm+0x164/0x1f4 [snd_soc_core]) from 
[<bfadd550>] (snd_soc_instantiate_cards+0x6a4/0xcdc [snd_soc_core])
[64540.340000] [<bfadd550>] (snd_soc_instantiate_cards+0x6a4/0xcdc 
[snd_soc_core]) from [<bfade298>] (snd_soc_register_card+0x14c/0x17c 
[snd_soc_core])
[64540.345000] [<bfade298>] (snd_soc_register_card+0x14c/0x17c [snd_soc_core]) 
from [<bfade2ec>] (soc_probe+0x24/0x40 [snd_soc_core])
[64540.350000] [<bfade2ec>] (soc_probe+0x24/0x40 [snd_soc_core]) from 
[<c01ba630>] (platform_drv_probe+0x14/0x18)
[64540.355000] [<c01ba630>] (platform_drv_probe+0x14/0x18) from [<c01b9418>] 
(driver_probe_device+0xa0/0x1b0)
[64540.365000] [<c01b9418>] (driver_probe_device+0xa0/0x1b0) from [<c01b83e0>] 
(bus_for_each_drv+0x64/0x8c)
[64540.370000] [<c01b83e0>] (bus_for_each_drv+0x64/0x8c) from [<c01b9344>] 
(device_attach+0x8c/0xa4)
[64540.375000] [<c01b9344>] (device_attach+0x8c/0xa4) from [<c01b8bdc>] 
(bus_probe_device+0x24/0x44)
[64540.380000] [<c01b8bdc>] (bus_probe_device+0x24/0x44) from [<c01b741c>] 
(device_add+0x464/0x530)
[64540.385000] [<c01b741c>] (device_add+0x464/0x530) from [<c01bac38>] 
(platform_device_add+0xf0/0x18c)
[64540.390000] [<c01bac38>] (platform_device_add+0xf0/0x18c) from [<bfb0e05c>] 
(neo1973_init+0x5c/0x9c [snd_soc_neo1973_wm8753])
[64540.395000] [<bfb0e05c>] (neo1973_init+0x5c/0x9c [snd_soc_neo1973_wm8753]) 
from [<c0008518>] (do_one_initcall+0x34/0x178)
[64540.400000] [<c0008518>] (do_one_initcall+0x34/0x178) from [<c0047f28>] 
(sys_init_module+0x37c/0x1934)
[64540.405000] [<c0047f28>] (sys_init_module+0x37c/0x1934) from [<c00090a0>] 
(ret_fast_syscall+0x0/0x2c)
[64540.410000] Mem-info:
[64540.410000] Normal per-cpu:
[64540.415000] CPU    0: hi:   42, btch:   7 usd:   0
[64540.420000] active_anon:9375 inactive_anon:13097 isolated_anon:0
[64540.420000]  active_file:2462 inactive_file:2782 isolated_file:0
[64540.420000]  unevictable:12 dirty:6 writeback:0 unstable:0
[64540.420000]  free:544 slab_reclaimable:999 slab_unreclaimable:966
[64540.420000]  mapped:3947 shmem:12234 pagetables:346 bounce:0
[64540.425000] Normal free:2176kB min:1440kB low:1800kB high:2160kB 
active_anon:37500kB inactive_anon:52388kB active_file:9848kB 
inactive_file:11128kB unevictable:48kB isolated(anon):0kB isolated(file):0kB 
present:130048kB mlocked:48kB dirty:24kB writeback:0kB mapped:15788kB 
shmem:48936kB slab_reclaimable:3996kB slab_unreclaimable:3864kB 
kernel_stack:736kB pagetables:1384kB unstable:0kB bounce:0kB writeback_tmp:0kB 
pages_scanned:0 all_unreclaimable? no
[64540.430000] lowmem_reserve[]: 0 0
[64540.435000] Normal: 144*4kB 26*8kB 47*16kB 6*32kB 5*64kB 1*128kB 0*256kB 
0*512kB 0*1024kB 0*2048kB 0*4096kB = 2176kB
[64540.445000] 21061 total pagecache pages
[64540.450000] 3583 pages in swap cache
[64540.450000] Swap cache stats: add 17886, delete 14303, find 109230/110328
[64540.455000] Free swap  = 1011636kB
[64540.455000] Total swap = 1048572kB
[64540.470000] 32768 pages of RAM
[64540.470000] 786 free pages
[64540.470000] 1298 reserved pages
[64540.475000] 1965 slab pages
[64540.475000] 9499 pages shared
[64540.480000] 3583 pages swap cached
[64540.485000] asoc: platform pcm constructor failed
[64540.490000] asoc: can't create pcm WM8753 HiFi
[64540.490000] asoc: failed to instantiate card neo1973gta02: -12

And this happens with latest 3.2.1 (including Gnutoo's patch fixing codec name).
http://gitorious.org/shr/linux/commits/shr-3.2-nodrm

Cheers,

-- 
Martin 'JaMa' Jansa     jabber: [email protected]

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Shr-User mailing list
[email protected]
http://lists.shr-project.org/mailman/listinfo/shr-user

Reply via email to