I have a requirement to allocate 128K memory of 4K aligned of 64 chunks. Currentyl using pci_alloc_consistent() as allocated phy_addr needs to have DMA capability. When i do this, i get the below warning message. Does this mean my request failed?
------------[ cut here ]------------
WARNING: at mm/page_alloc.c:2045 __alloc_pages_nodemask+0x8d9/0x940() (Tainted: P ---------------- )
Hardware name: ProLiant DL165 G5
Modules linked in: vgchal(P+)(U) vgcport(P)(U) autofs4 sunrpc cpufreq_ondemand powernow_k8 freq_table mperf ipt_REJECT nf_conntrack_ipv4 nf_defrag_ipv4 iptable_filter ip_tables ip6t_REJECT nf_conntrack_ipv6 nf_defrag_ipv6 xt_state nf_conntrack ip6table_filter ip6_tables ipv6 uinput tg3 vgcinit(P)(U) vgcdebug(P)(U) sg microcode k10temp amd64_edac_mod edac_core edac_mce_amd i2c_piix4 i2c_core shpchp ext3 jbd mbcache hpsa cciss sr_mod cdrom ata_generic pata_acpi pata_serverworks sata_svw dm_mirror dm_region_hash dm_log dm_mod [last unloaded: scsi_wait_scan]
Pid: 2448, comm: insmod Tainted: P ---------------- 2.6.32-220.el6.x86_64 #1
Call Trace:
[<ffffffff81069b77>] ? warn_slowpath_common+0x87/0xc0
[<ffffffff81069bca>] ? warn_slowpath_null+0x1a/0x20
[<ffffffff81124069>] ? __alloc_pages_nodemask+0x8d9/0x940
[<ffffffff81147fc9>] ? vmap_page_range_noflush+0x279/0x370
[<ffffffff811474da>] ? __insert_vmap_area+0x7a/0xd0
[<ffffffff81010f46>] ? dma_generic_alloc_coherent+0xa6/0x160
[<ffffffff8103bb89>] ? gart_alloc_coherent+0x49/0x140
[<ffffffffa00ee5e5>] ? dbh_hal_init+0x105/0x410 [vgchal]
[<ffffffffa00ee805>] ? dbh_hal_init+0x325/0x410 [vgchal]
[<ffffffffa0113095>] ? hal_module_init+0x95/0xa0 [vgchal]
[<ffffffff81096e75>] ? __blocking_notifier_call_chain+0x65/0x80
[<ffffffffa0113000>] ? hal_module_init+0x0/0xa0 [vgchal]
[<ffffffff8100204c>] ? do_one_initcall+0x3c/0x1d0
[<ffffffff810af641>] ? sys_init_module+0xe1/0x250
[<ffffffff8100b0f2>] ? system_call_fastpath+0x16/0x1b
As i read, pci_alloc_consistent() should be able to allocate more than 128K memory but couldn't find what is the max it can do. Please let me know what is going wrong here.
I'd also recommend a kernel upgrade, if possible.
2.6.32-220.el6 was the initial (buggy) kernel release shipped with RHEL 6.2 (which has been superseded by EL6.3 and 6.4). If you can, try to move to the last release of the 6.2 kernel, kernel-2.6.32-220.23.1.el6,assuming you need to remain on the 6.2 OS release.
Related
I am trying to set up SSH over USB to Serial.
I am using:
- MacBook Pro (OS X 10.15.1)
- Raspberry Pi 3 Model B+ (Raspbian 9.11)
- EVISWIY PL2303TA USB to TTL Serial Cable Debug Console Cable for Raspberry Pi 3 (Amazon Link)
I have installed the cable driver however i did notice when i downloaded it that they did not mention support for the Catalina OS (Driver Download) however it does list support for High Sierra 10.15...
Cable is plugged in as so (Im colorblind so just making sure i didn't make a mistake there):
I am running ls /dev and getting back as follows:
afsc_type5 pf
auditpipe pfm
auditsessions profile
autofs ptmx
autofs_control ptyp0
autofs_homedirmounter ptyp1
autofs_notrigger ptyp2
autofs_nowait ptyp3
bpf0 ptyp4
bpf1 ptyp5
bpf10 ptyp6
bpf100 ptyp7
bpf101 ptyp8
bpf102 ptyp9
bpf103 ptypa
bpf104 ptypb
bpf105 ptypc
bpf106 ptypd
bpf107 ptype
bpf108 ptypf
bpf109 ptyq0
bpf11 ptyq1
bpf110 ptyq2
bpf111 ptyq3
bpf112 ptyq4
bpf113 ptyq5
bpf114 ptyq6
bpf115 ptyq7
bpf116 ptyq8
bpf117 ptyq9
bpf118 ptyqa
bpf119 ptyqb
bpf12 ptyqc
bpf120 ptyqd
bpf121 ptyqe
bpf122 ptyqf
bpf123 ptyr0
bpf124 ptyr1
bpf125 ptyr2
bpf126 ptyr3
bpf127 ptyr4
bpf128 ptyr5
bpf129 ptyr6
bpf13 ptyr7
bpf130 ptyr8
bpf131 ptyr9
bpf132 ptyra
bpf133 ptyrb
bpf134 ptyrc
bpf135 ptyrd
bpf136 ptyre
bpf137 ptyrf
bpf138 ptys0
bpf139 ptys1
bpf14 ptys2
bpf140 ptys3
bpf141 ptys4
bpf142 ptys5
bpf143 ptys6
bpf144 ptys7
bpf145 ptys8
bpf146 ptys9
bpf147 ptysa
bpf148 ptysb
bpf149 ptysc
bpf15 ptysd
bpf150 ptyse
bpf151 ptysf
bpf152 ptyt0
bpf153 ptyt1
bpf154 ptyt2
bpf155 ptyt3
bpf156 ptyt4
bpf157 ptyt5
bpf158 ptyt6
bpf159 ptyt7
bpf16 ptyt8
bpf160 ptyt9
bpf161 ptyta
bpf162 ptytb
bpf163 ptytc
bpf164 ptytd
bpf165 ptyte
bpf166 ptytf
bpf167 ptyu0
bpf168 ptyu1
bpf169 ptyu2
bpf17 ptyu3
bpf170 ptyu4
bpf171 ptyu5
bpf172 ptyu6
bpf173 ptyu7
bpf174 ptyu8
bpf175 ptyu9
bpf176 ptyua
bpf177 ptyub
bpf178 ptyuc
bpf179 ptyud
bpf18 ptyue
bpf180 ptyuf
bpf181 ptyv0
bpf182 ptyv1
bpf183 ptyv2
bpf184 ptyv3
bpf185 ptyv4
bpf186 ptyv5
bpf187 ptyv6
bpf188 ptyv7
bpf189 ptyv8
bpf19 ptyv9
bpf190 ptyva
bpf191 ptyvb
bpf192 ptyvc
bpf193 ptyvd
bpf194 ptyve
bpf195 ptyvf
bpf196 ptyw0
bpf197 ptyw1
bpf198 ptyw2
bpf199 ptyw3
bpf2 ptyw4
bpf20 ptyw5
bpf200 ptyw6
bpf201 ptyw7
bpf202 ptyw8
bpf203 ptyw9
bpf204 ptywa
bpf205 ptywb
bpf206 ptywc
bpf207 ptywd
bpf208 ptywe
bpf209 ptywf
bpf21 random
bpf210 rdisk0
bpf211 rdisk0s1
bpf212 rdisk0s2
bpf213 rdisk0s3
bpf214 rdisk1
bpf215 rdisk1s1
bpf216 rdisk1s2
bpf217 rdisk1s3
bpf218 rdisk1s4
bpf219 rdisk1s5
bpf22 rdisk2
bpf220 sdt
bpf221 stderr
bpf222 stdin
bpf223 stdout
bpf224 systrace
bpf225 tty
bpf226 tty.Bluetooth-Incoming-Port
bpf227 tty.usbserial
bpf228 tty.usbserial-1420
bpf229 ttyp0
bpf23 ttyp1
bpf230 ttyp2
bpf231 ttyp3
bpf232 ttyp4
bpf233 ttyp5
bpf234 ttyp6
bpf235 ttyp7
bpf236 ttyp8
bpf237 ttyp9
bpf238 ttypa
bpf239 ttypb
bpf24 ttypc
bpf240 ttypd
bpf241 ttype
bpf242 ttypf
bpf243 ttyq0
bpf244 ttyq1
bpf245 ttyq2
bpf246 ttyq3
bpf247 ttyq4
bpf248 ttyq5
bpf249 ttyq6
bpf25 ttyq7
bpf250 ttyq8
bpf251 ttyq9
bpf252 ttyqa
bpf253 ttyqb
bpf254 ttyqc
bpf255 ttyqd
bpf26 ttyqe
bpf27 ttyqf
bpf28 ttyr0
bpf29 ttyr1
bpf3 ttyr2
bpf30 ttyr3
bpf31 ttyr4
bpf32 ttyr5
bpf33 ttyr6
bpf34 ttyr7
bpf35 ttyr8
bpf36 ttyr9
bpf37 ttyra
bpf38 ttyrb
bpf39 ttyrc
bpf4 ttyrd
bpf40 ttyre
bpf41 ttyrf
bpf42 ttys0
bpf43 ttys000
bpf44 ttys001
bpf45 ttys002
bpf46 ttys003
bpf47 ttys004
bpf48 ttys1
bpf49 ttys2
bpf5 ttys3
bpf50 ttys4
bpf51 ttys5
bpf52 ttys6
bpf53 ttys7
bpf54 ttys8
bpf55 ttys9
bpf56 ttysa
bpf57 ttysb
bpf58 ttysc
bpf59 ttysd
bpf6 ttyse
bpf60 ttysf
bpf61 ttyt0
bpf62 ttyt1
bpf63 ttyt2
bpf64 ttyt3
bpf65 ttyt4
bpf66 ttyt5
bpf67 ttyt6
bpf68 ttyt7
bpf69 ttyt8
bpf7 ttyt9
bpf70 ttyta
bpf71 ttytb
bpf72 ttytc
bpf73 ttytd
bpf74 ttyte
bpf75 ttytf
bpf76 ttyu0
bpf77 ttyu1
bpf78 ttyu2
bpf79 ttyu3
bpf8 ttyu4
bpf80 ttyu5
bpf81 ttyu6
bpf82 ttyu7
bpf83 ttyu8
bpf84 ttyu9
bpf85 ttyua
bpf86 ttyub
bpf87 ttyuc
bpf88 ttyud
bpf89 ttyue
bpf9 ttyuf
bpf90 ttyv0
bpf91 ttyv1
bpf92 ttyv2
bpf93 ttyv3
bpf94 ttyv4
bpf95 ttyv5
bpf96 ttyv6
bpf97 ttyv7
bpf98 ttyv8
bpf99 ttyv9
console ttyva
cu.Bluetooth-Incoming-Port ttyvb
cu.usbserial ttyvc
cu.usbserial-1420 ttyvd
disk0 ttyve
disk0s1 ttyvf
disk0s2 ttyw0
disk0s3 ttyw1
disk1 ttyw2
disk1s1 ttyw3
disk1s2 ttyw4
disk1s3 ttyw5
disk1s4 ttyw6
disk1s5 ttyw7
disk2 ttyw8
dtrace ttyw9
dtracehelper ttywa
fbt ttywb
fd ttywc
fsevents ttywd
io8log ttywe
io8logmt ttywf
io8logtemp urandom
klog vboxdrv
lockstat vboxdrvu
machtrace vboxnetctl
null xcpm
oslog zero
oslog_stream
So... from that result and consulting many guides for accomplishing this task i have been trying to use the screen command on the following:
cu.usbserial-1420
cu.usbserial
tty.usbserial-1420
tty.usbserial
I've been running it as follows:
screen /dev/[INSERT ONE HERE] 115200
that seems to be the baud rate suggested in multiple guides but I've also tried 9600 and 115600 as I saw those both mentioned in regards to RPi's a few times.
The best result i ever get is an empty terminal window with the cursor grey block:
I've tried disabling System Integrity Protection because one Adafruit tutorial mentioned it. No change.
Also i have enabled serial interface in the raspi-config menu
Any Direction to my problem would be greatly appreciated. Im getting the feeling its the driver because i can't find any other ideas... but i am hoping that's not the case.
--EDIT--
I read somewhere that This Driver is the correct one for newer models of this device. After install there is no change.
I use systematap to probe slab memory allocation activity.
#! /usr/bin/env stap
global slabs
probe vm.kmem_cache_alloc {
slabs [execname(), bytes_req]<<<1
}
probe timer.ms(10000)
{
dummy = "";
foreach ([name, bytes] in slabs) {
if (dummy != name)
printf("\nProcess:%s\n", name);
printf("Slab_size:%d\tCount:%d\n", bytes, #count(slabs[name, bytes]));
dummy = name;
}
delete slabs
printf("\n-------------------------------------------------------\n\n")
}
but the stap produce following errors :
[root#svr_test5 ~]# stap -v -u vm.tracepoints.stp
Pass 1: parsed user script and 85 library script(s) using 146832virt/23712res/3012shr/21396data kb, in 140usr/10sys/152real ms.
Pass 2: analyzed script: 3 probe(s), 111 function(s), 3 embed(s), 13 global(s) using 228472virt/45000res/4760shr/41696data kb, in 300usr/150sys/488real ms.
Pass 3: translated to C into "/tmp/stap7FrdOq/stap_1d0a8db65ecd4c9f56be318001d197c0_39617_src.c" using 226240virt/47000res/6800shr/41696data kb, in 10usr/0sys/36real ms.
Pass 4: compiled C into "stap_1d0a8db65ecd4c9f56be318001d197c0_39617.ko" in 1360usr/160sys/1546real ms.
Pass 5: starting run.
WARNING: probe kernel.function("kmem_cache_alloc#mm/slab.c:3269").call (address 0xffffffff8000ac24) registration error (rc -84)
WARNING: probe kernel.function("kmem_cache_alloc#mm/slab.c:3269").return (address 0xffffffff8000ac24) registration error (rc -84)
which I guess the probe kernel module should be not registered, so have no effective.
My os :
CentOS release 5.8 (Final)
kernel :
Linux svr_test5 2.6.18-308.el5 #1 SMP Tue Feb 21 20:06:06 EST 2012 x86_64 x86_64 x86_64 GNU/Linux
so, what's the WARNING meaning ? how to fix it ?
WARNING: probe [...] registration error (rc -84)
This is an indication of a kernel kprobe error EILSEQ, which is issued when the kernel is unable to decode/confirm the binary instruction sequence at the requested address.
For systemtap 1.8 (last version officially updated for RHEL5) against a RHEL5.11 kernel (2.6.18-400), it happens to work; perhaps kprobes improvements did the job.
I've a gpu cluster composed of 2 Tesla M2050 and when I'm executing my code, cudaGetDeviceCount returns only 1. If I try to set the device 1 with cudaSetDevice it give me this error: invalid device ordinals. In the device manager of windows both the devices are listed. If needed this is my source code
cutilSafeCall(cudaGetDeviceCount(&num_devices));
for (device = 0; device < num_devices; device++) {
cudaDeviceProp properties;
cudaGetDeviceProperties(&properties, device);
printf("Device ID:\t%d\n", device);
printf("Device Name:\t%s\n", properties.name );
printf("Global memory:\t%d\n", properties.totalGlobalMem );
printf("Constant memory:\t%d\n", properties.totalConstMem );
printf("Warp size:\t%d\n", properties.warpSize );
}
devs=0;
ParseArguments(argc, argv);
cutilSafeCall(cudaSetDevice(devs));
any help would be appreciated
edit: output of deviceQuery.exe
deviceQuery.exe Starting...
CUDA Device Query (Runtime API) version (CUDART static linking)
There is 1 device supporting CUDA
Device 0: "Tesla M2050"
CUDA Driver Version: 5.50
CUDA Runtime Version: 4.20
CUDA Capability Major/Minor version number: 2.0
...
...
deviceQuery, CUDA Driver = CUDART, CUDA Driver Version = 5.50, CUDA Runtime Vers ion = 4.20, NumDevs = 1, Device = Tesla M2050
PASSED
Press <Enter> to Quit...
-----------------------------------------------------------
If you have two CUDA GPUs in a single node and deviceQuery only reports one, then consider the following possibilities:
Check both GPUs are functioning correctly by running nvidia-smi, if only one is shown then check it is socketed correctly.
Check the environment variable CUDA_VISIBLE_DEVICES is not set.
I want to get the address of SSDT and Shadow SSDT using windbg.Windbg successfully connected to vmware .which commmand i have to use to get the address of these tables?
The x command displays the symbols in all contexts that match the specified pattern x [Options] Module!Symbol.
lkd> x nt!*keservicedescriptortable*
82da2980 nt!KeServiceDescriptorTableShadow = <no type information>
82da2940 nt!KeServiceDescriptorTable = <no type information>
lkd> dps 82da2980
82da2980 82c9f634 nt!KiServiceTable
82da2984 00000000
82da2988 00000191
82da298c 82c9fc7c nt!KiArgumentTable
82da2990 95b66000 win32k!W32pServiceTable
82da2994 00000000
82da2998 00000339
82da299c 95b6702c win32k!W32pArgumentTable
I have a S3C6410 board. The default Linux in the package is 2.6.28 and working fine. I want to upgrade it with more recent kernel. I grabbed buildroot 2012.11 edition. Then I get the default config file in the DVD and compiled the kernel 3.6.8 with that. Boot loader and root file system are the same old ones. Now when I boot the kernel I got this error:
VFS: Cannot open root device "mtdblock2" or unknown-block(0,0): error -19
Please append a correct "root=" boot option; here are the available partitions:
1f00 8192 mtdblock0 (driver?)
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[<c0018528>] (unwind_backtrace+0x0/0xf0) from [<c03977d4>] (panic+0x78/0x1b8)
[<c03977d4>] (panic+0x78/0x1b8) from [<c04f0bbc>] (mount_block_root+0x178/0x22c)
[<c04f0bbc>] (mount_block_root+0x178/0x22c) from [<c04f0e54>] (mount_root+0xe8/0x10c)
[<c04f0e54>] (mount_root+0xe8/0x10c) from [<c04f0fcc>] (prepare_namespace+0x154/0x1ac)
[<c04f0fcc>] (prepare_namespace+0x154/0x1ac) from [<c04f0874>] (kernel_init+0x16c/0x1a8)
[<c04f0874>] (kernel_init+0x16c/0x1a8) from [<c001424c>] (kernel_thread_exit+0x0/0x8)
This my kernel config file:
CONFIG_ARM=y
CONFIG_SYS_SUPPORTS_APM_EMULATION=y
CONFIG_GENERIC_GPIO=y
CONFIG_MMU=y
CONFIG_NO_IOPORT=y
CONFIG_GENERIC_HARDIRQS=y
CONFIG_STACKTRACE_SUPPORT=y
CONFIG_HAVE_LATENCYTOP_SUPPORT=y
CONFIG_LOCKDEP_SUPPORT=y
CONFIG_TRACE_IRQFLAGS_SUPPORT=y
CONFIG_HARDIRQS_SW_RESEND=y
CONFIG_GENERIC_IRQ_PROBE=y
CONFIG_RWSEM_GENERIC_SPINLOCK=y
CONFIG_GENERIC_HWEIGHT=y
CONFIG_GENERIC_CALIBRATE_DELAY=y
CONFIG_ZONE_DMA=y
CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y
CONFIG_VECTORS_BASE=0xffff0000
CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
CONFIG_EXPERIMENTAL=y
CONFIG_BROKEN_ON_SMP=y
CONFIG_INIT_ENV_ARG_LIMIT=32
CONFIG_LOCALVERSION="-EmbedSky"
CONFIG_SYSVIPC=y
CONFIG_SYSVIPC_SYSCTL=y
CONFIG_LOG_BUF_SHIFT=17
CONFIG_NAMESPACES=y
CONFIG_SYSCTL=y
CONFIG_UID16=y
CONFIG_SYSCTL_SYSCALL=y
CONFIG_KALLSYMS=y
CONFIG_HOTPLUG=y
CONFIG_PRINTK=y
CONFIG_BUG=y
CONFIG_ELF_CORE=y
CONFIG_BASE_FULL=y
CONFIG_FUTEX=y
CONFIG_ANON_INODES=y
CONFIG_EPOLL=y
CONFIG_SIGNALFD=y
CONFIG_TIMERFD=y
CONFIG_EVENTFD=y
CONFIG_SHMEM=y
CONFIG_AIO=y
CONFIG_VM_EVENT_COUNTERS=y
CONFIG_SLUB_DEBUG=y
CONFIG_SLUB=y
CONFIG_HAVE_OPROFILE=y
CONFIG_HAVE_KPROBES=y
CONFIG_HAVE_KRETPROBES=y
CONFIG_HAVE_CLK=y
CONFIG_HAVE_GENERIC_DMA_COHERENT=y
CONFIG_SLABINFO=y
CONFIG_RT_MUTEXES=y
CONFIG_BASE_SMALL=0
CONFIG_MODULES=y
CONFIG_MODULE_UNLOAD=y
CONFIG_KMOD=y
CONFIG_BLOCK=y
CONFIG_LBD=y
CONFIG_LSF=y
CONFIG_IOSCHED_NOOP=y
CONFIG_IOSCHED_AS=y
CONFIG_IOSCHED_DEADLINE=y
CONFIG_IOSCHED_CFQ=y
CONFIG_DEFAULT_NOOP=y
CONFIG_DEFAULT_IOSCHED="noop"
CONFIG_CLASSIC_RCU=y
CONFIG_ARCH_S3C64XX=y
CONFIG_PLAT_S3C64XX=y
CONFIG_CPU_S3C6400_INIT=y
CONFIG_CPU_S3C6400_CLOCK=y
CONFIG_S3C64XX_SETUP_I2C0=y
CONFIG_S3C64XX_DEV_FIMC0=y
CONFIG_S3C64XX_DEV_FIMC1=y
CONFIG_S3C64XX_SETUP_FIMC0=y
CONFIG_S3C64XX_SETUP_FIMC1=y
CONFIG_NONE_PWM=y
CONFIG_PLAT_S3C=y
CONFIG_S3C_BOOT_ERROR_RESET=y
CONFIG_S3C_LOWLEVEL_UART_PORT=0
CONFIG_SPLIT_ROOT_FILESYSTEM=y
CONFIG_S3C_GPIO_SPACE=0
CONFIG_S3C_GPIO_TRACK=y
CONFIG_S3C_GPIO_PULL_UPDOWN=y
CONFIG_S3C_GPIO_CFG_S3C24XX=y
CONFIG_S3C_GPIO_CFG_S3C64XX=y
CONFIG_S3C_DEV_HSMMC=y
CONFIG_S3C_DEV_HSMMC1=y
CONFIG_S3C_DEV_HSMMC2=y
CONFIG_S3C_DMA_PL080=y
CONFIG_CPU_S3C6410=y
CONFIG_S3C6410_SETUP_SDHCI=y
CONFIG_MACH_SMDK6410=y
CONFIG_SMDK6410_SD_CH0=y
CONFIG_SMDK6410_SD_CH1=y
CONFIG_SMDK6410_SD_CH2=y
CONFIG_CPU_32=y
CONFIG_CPU_V6=y
CONFIG_CPU_32v6K=y
CONFIG_CPU_32v6=y
CONFIG_CPU_ABRT_EV6=y
CONFIG_CPU_PABRT_NOIFAR=y
CONFIG_CPU_CACHE_V6=y
CONFIG_CPU_CACHE_VIPT=y
CONFIG_CPU_COPY_V6=y
CONFIG_CPU_TLB_V6=y
CONFIG_CPU_HAS_ASID=y
CONFIG_CPU_CP15=y
CONFIG_CPU_CP15_MMU=y
CONFIG_ARM_THUMB=y
CONFIG_ARM_VIC=y
CONFIG_DMABOUNCE=y
CONFIG_VMSPLIT_3G=y
CONFIG_PAGE_OFFSET=0xC0000000
CONFIG_HZ=200
CONFIG_AEABI=y
CONFIG_OABI_COMPAT=y
CONFIG_ARCH_FLATMEM_HAS_HOLES=y
CONFIG_SELECT_MEMORY_MODEL=y
CONFIG_FLATMEM_MANUAL=y
CONFIG_FLATMEM=y
CONFIG_FLAT_NODE_MEM_MAP=y
CONFIG_PAGEFLAGS_EXTENDED=y
CONFIG_SPLIT_PTLOCK_CPUS=4
CONFIG_ZONE_DMA_FLAG=1
CONFIG_BOUNCE=y
CONFIG_VIRT_TO_BUS=y
CONFIG_UNEVICTABLE_LRU=y
CONFIG_ALIGNMENT_TRAP=y
CONFIG_ZBOOT_ROM_TEXT=0
CONFIG_ZBOOT_ROM_BSS=0
CONFIG_CMDLINE="root=/dev/mtdblock2 rootfstype=yaffs2 init=/linuxrc console=ttySAC0 mem=128M"
CONFIG_FPE_NWFPE=y
CONFIG_VFP=y
CONFIG_BINFMT_ELF=y
CONFIG_HAVE_AOUT=y
CONFIG_ARCH_SUSPEND_POSSIBLE=y
CONFIG_NET=y
CONFIG_UNIX=y
CONFIG_XFRM=y
CONFIG_INET=y
CONFIG_IP_FIB_HASH=y
CONFIG_IP_PNP=y
CONFIG_IP_PNP_DHCP=y
CONFIG_IP_PNP_BOOTP=y
CONFIG_INET_XFRM_MODE_TRANSPORT=y
CONFIG_INET_XFRM_MODE_TUNNEL=y
CONFIG_INET_XFRM_MODE_BEET=y
CONFIG_INET_DIAG=y
CONFIG_INET_TCP_DIAG=y
CONFIG_TCP_CONG_CUBIC=y
CONFIG_DEFAULT_TCP_CONG="cubic"
CONFIG_WIRELESS=y
CONFIG_CFG80211=y
CONFIG_WIRELESS_EXT=y
CONFIG_MAC80211=m
CONFIG_MAC80211_RC_PID=y
CONFIG_MAC80211_RC_MINSTREL=y
CONFIG_MAC80211_RC_DEFAULT_PID=y
CONFIG_MAC80211_RC_DEFAULT="pid"
CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
CONFIG_STANDALONE=y
CONFIG_PREVENT_FIRMWARE_BUILD=y
CONFIG_FW_LOADER=y
CONFIG_FIRMWARE_IN_KERNEL=y
CONFIG_EXTRA_FIRMWARE=""
CONFIG_MTD=y
CONFIG_MTD_PARTITIONS=y
CONFIG_MTD_CMDLINE_PARTS=y
CONFIG_MTD_CHAR=y
CONFIG_MTD_BLKDEVS=y
CONFIG_MTD_BLOCK=y
CONFIG_MTD_MAP_BANK_WIDTH_1=y
CONFIG_MTD_MAP_BANK_WIDTH_2=y
CONFIG_MTD_MAP_BANK_WIDTH_4=y
CONFIG_MTD_CFI_I1=y
CONFIG_MTD_CFI_I2=y
CONFIG_MTD_NAND=y
CONFIG_MTD_NAND_IDS=y
CONFIG_MTD_NAND_S3C=y
CONFIG_BLK_DEV=y
CONFIG_BLK_DEV_LOOP=y
CONFIG_BLK_DEV_RAM=y
CONFIG_BLK_DEV_RAM_COUNT=16
CONFIG_BLK_DEV_RAM_SIZE=8192
CONFIG_MISC_DEVICES=y
CONFIG_HAVE_IDE=y
CONFIG_SCSI=y
CONFIG_SCSI_DMA=y
CONFIG_SCSI_PROC_FS=y
CONFIG_BLK_DEV_SD=y
CONFIG_CHR_DEV_SG=y
CONFIG_SCSI_WAIT_SCAN=m
CONFIG_SCSI_LOWLEVEL=y
CONFIG_NETDEVICES=y
CONFIG_NET_ETHERNET=y
CONFIG_MII=y
CONFIG_DM9000AEP=y
CONFIG_WLAN_80211=y
CONFIG_ZD1211RW=m
CONFIG_ZD1211RW_DEBUG=y
CONFIG_RT2X00=m
CONFIG_RT73USB=m
CONFIG_RT2X00_LIB_USB=m
CONFIG_RT2X00_LIB=m
CONFIG_RT2X00_LIB_FIRMWARE=y
CONFIG_RT2X00_LIB_CRYPTO=y
CONFIG_RT2X00_DEBUG=y
CONFIG_INPUT=y
CONFIG_INPUT_MOUSEDEV=y
CONFIG_INPUT_MOUSEDEV_PSAUX=y
CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
CONFIG_INPUT_EVDEV=y
CONFIG_INPUT_KEYBOARD=y
CONFIG_KEYPAD_S3C64XX=y
CONFIG_INPUT_MOUSE=y
CONFIG_INPUT_TOUCHSCREEN=y
CONFIG_TOUCHSCREEN_S3C64XX=y
CONFIG_SERIO=y
CONFIG_SERIO_SERPORT=y
CONFIG_VT=y
CONFIG_CONSOLE_TRANSLATIONS=y
CONFIG_VT_CONSOLE=y
CONFIG_HW_CONSOLE=y
CONFIG_SERIAL_SAMSUNG=y
CONFIG_SERIAL_SAMSUNG_UARTS=4
CONFIG_SERIAL_SAMSUNG_CONSOLE=y
CONFIG_SERIAL_S3C6400=y
CONFIG_SERIAL_CORE=y
CONFIG_SERIAL_CORE_CONSOLE=y
CONFIG_UNIX98_PTYS=y
CONFIG_S3C_MEM=y
CONFIG_I2C=y
CONFIG_I2C_BOARDINFO=y
CONFIG_I2C_CHARDEV=y
CONFIG_I2C_HELPER_AUTO=y
CONFIG_I2C_S3C2410=y
CONFIG_AT24=y
CONFIG_ARCH_REQUIRE_GPIOLIB=y
CONFIG_GPIOLIB=y
CONFIG_HWMON=y
CONFIG_WATCHDOG=y
CONFIG_S3C2410_WATCHDOG=y
CONFIG_SSB_POSSIBLE=y
CONFIG_VIDEO_DEV=y
CONFIG_VIDEO_V4L2_COMMON=y
CONFIG_VIDEO_ALLOW_V4L1=y
CONFIG_VIDEO_V4L1_COMPAT=y
CONFIG_VIDEO_MEDIA=y
CONFIG_MEDIA_TUNER=y
CONFIG_MEDIA_TUNER_SIMPLE=y
CONFIG_MEDIA_TUNER_TDA8290=y
CONFIG_MEDIA_TUNER_TDA9887=y
CONFIG_MEDIA_TUNER_TEA5761=y
CONFIG_MEDIA_TUNER_TEA5767=y
CONFIG_MEDIA_TUNER_MT20XX=y
CONFIG_MEDIA_TUNER_XC2028=y
CONFIG_MEDIA_TUNER_XC5000=y
CONFIG_VIDEO_V4L2=y
CONFIG_VIDEO_V4L1=y
CONFIG_VIDEO_CAPTURE_DRIVERS=y
CONFIG_VIDEO_FIXED_MINOR_RANGES=y
CONFIG_VIDEO_HELPER_CHIPS_AUTO=y
CONFIG_V4L_USB_DRIVERS=y
CONFIG_USB_GSPCA=y
CONFIG_USB_M5602=y
CONFIG_USB_GSPCA_CONEX=y
CONFIG_USB_GSPCA_ETOMS=y
CONFIG_USB_GSPCA_FINEPIX=y
CONFIG_USB_GSPCA_MARS=y
CONFIG_USB_GSPCA_OV519=y
CONFIG_USB_GSPCA_PAC207=y
CONFIG_USB_GSPCA_PAC7311=y
CONFIG_USB_GSPCA_SONIXB=y
CONFIG_USB_GSPCA_SONIXJ=y
CONFIG_USB_GSPCA_SPCA500=y
CONFIG_USB_GSPCA_SPCA501=y
CONFIG_USB_GSPCA_SPCA505=y
CONFIG_USB_GSPCA_SPCA506=y
CONFIG_USB_GSPCA_SPCA508=y
CONFIG_USB_GSPCA_SPCA561=y
CONFIG_USB_GSPCA_STK014=y
CONFIG_USB_GSPCA_SUNPLUS=y
CONFIG_USB_GSPCA_T613=y
CONFIG_USB_GSPCA_TV8532=y
CONFIG_USB_GSPCA_VC032X=y
CONFIG_USB_GSPCA_ZC3XX=y
CONFIG_USB_ZC0301=y
CONFIG_VIDEO_SAMSUNG=y
CONFIG_VIDEO_FIMC=y
CONFIG_VIDEO_FIMC_DEBUG=y
CONFIG_OV965X=y
CONFIG_OV965X_VGA=y
CONFIG_VIDEO_FIMC_CAM_CH=0
CONFIG_VIDEO_FIMC_CAM_RESET=1
CONFIG_VIDEO_POST=y
CONFIG_VIDEO_MFC10=y
CONFIG_VIDEO_MFC_DEBUG=y
CONFIG_VIDEO_JPEG=y
CONFIG_VIDEO_TV=y
CONFIG_VIDEO_ROTATOR=y
CONFIG_VIDEO_G2D=y
CONFIG_VIDEO_G3D=y
CONFIG_VIDEO_CMM=y
CONFIG_VIDEO_SAMSUNG_MEMSIZE_FIMC=10240
CONFIG_VIDEO_SAMSUNG_MEMSIZE_POST=8192
CONFIG_VIDEO_SAMSUNG_MEMSIZE_TV=8192
CONFIG_VIDEO_SAMSUNG_MEMSIZE_MFC=6144
CONFIG_VIDEO_SAMSUNG_MEMSIZE_JPEG=4096
CONFIG_VIDEO_SAMSUNG_MEMSIZE_CMM=8192
CONFIG_FB=y
CONFIG_FB_CFB_FILLRECT=y
CONFIG_FB_CFB_COPYAREA=y
CONFIG_FB_CFB_IMAGEBLIT=y
CONFIG_FB_S3C=y
CONFIG_FB_S3C_LCD800480=y
CONFIG_FB_S3C_BPP=y
CONFIG_FB_S3C_BPP_16=y
CONFIG_FB_S3C_NUM=4
CONFIG_FB_S3C_DOUBLE_BUFFERING=y
CONFIG_DUMMY_CONSOLE=y
CONFIG_FRAMEBUFFER_CONSOLE=y
CONFIG_FONTS=y
CONFIG_FONT_8x16=y
CONFIG_LOGO=y
CONFIG_LOGO_LINUX_CLUT224=y
CONFIG_SOUND=y
CONFIG_SOUND_OSS_CORE=y
CONFIG_SND=y
CONFIG_SND_TIMER=y
CONFIG_SND_PCM=y
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=y
CONFIG_SND_PCM_OSS=y
CONFIG_SND_PCM_OSS_PLUGINS=y
CONFIG_SND_SUPPORT_OLD_API=y
CONFIG_SND_VERBOSE_PROCFS=y
CONFIG_SND_VMASTER=y
CONFIG_SND_AC97_CODEC=y
CONFIG_SND_DRIVERS=y
CONFIG_SND_ARM=y
CONFIG_SND_USB=y
CONFIG_SND_SOC=y
CONFIG_SND_SOC_AC97_BUS=y
CONFIG_SND_S3C64XX_SOC=y
CONFIG_SND_S3C64XX_SOC_SMDK6410_WM9713=y
CONFIG_SOUND_WM9713_INPUT_STREAM_MIC=y
CONFIG_SND_S3C6410_SOC_AC97=y
CONFIG_SND_SOC_WM9713=y
CONFIG_AC97_BUS=y
CONFIG_HID_SUPPORT=y
CONFIG_HID=y
CONFIG_HID_DEBUG=y
CONFIG_USB_HID=y
CONFIG_HID_A4TECH=y
CONFIG_HID_APPLE=y
CONFIG_HID_BELKIN=y
CONFIG_HID_BRIGHT=y
CONFIG_HID_CHERRY=y
CONFIG_HID_CHICONY=y
CONFIG_HID_CYPRESS=y
CONFIG_HID_DELL=y
CONFIG_HID_EZKEY=y
CONFIG_HID_GYRATION=y
CONFIG_HID_LOGITECH=y
CONFIG_HID_MICROSOFT=y
CONFIG_HID_MONTEREY=y
CONFIG_HID_PANTHERLORD=y
CONFIG_HID_PETALYNX=y
CONFIG_HID_SAMSUNG=y
CONFIG_HID_SONY=y
CONFIG_HID_SUNPLUS=y
CONFIG_USB_SUPPORT=y
CONFIG_USB_ARCH_HAS_HCD=y
CONFIG_USB_ARCH_HAS_OHCI=y
CONFIG_USB=y
CONFIG_USB_DEVICEFS=y
CONFIG_USB_DEVICE_CLASS=y
CONFIG_USB_OHCI_HCD=y
CONFIG_USB_OHCI_LITTLE_ENDIAN=y
CONFIG_USB_STORAGE=y
CONFIG_USB_SERIAL=y
CONFIG_USB_SERIAL_PL2303=m
CONFIG_USB_GADGET=y
CONFIG_USB_GADGET_VBUS_DRAW=2
CONFIG_USB_GADGET_SELECTED=y
CONFIG_USB_GADGET_S3C_OTGD=y
CONFIG_USB_S3C_OTGD=y
CONFIG_USB_GADGET_S3C_OTGD_DMA_MODE=y
CONFIG_USB_GADGET_DUALSPEED=y
CONFIG_USB_GADGETFS=m
CONFIG_USB_FILE_STORAGE=m
CONFIG_MMC=y
CONFIG_MMC_BLOCK=y
CONFIG_MMC_BLOCK_BOUNCE=y
CONFIG_SDIO_UART=y
CONFIG_MMC_SDHCI=y
CONFIG_MMC_SDHCI_S3C=y
CONFIG_RTC_LIB=y
CONFIG_RTC_CLASS=y
CONFIG_RTC_HCTOSYS=y
CONFIG_RTC_HCTOSYS_DEVICE="rtc0"
CONFIG_RTC_INTF_SYSFS=y
CONFIG_RTC_INTF_PROC=y
CONFIG_RTC_INTF_DEV=y
CONFIG_RTC_DRV_S3C=y
CONFIG_FS_POSIX_ACL=y
CONFIG_FILE_LOCKING=y
CONFIG_GENERIC_ACL=y
CONFIG_FAT_FS=y
CONFIG_MSDOS_FS=y
CONFIG_VFAT_FS=y
CONFIG_FAT_DEFAULT_CODEPAGE=936
CONFIG_FAT_DEFAULT_IOCHARSET="utf-8"
CONFIG_PROC_FS=y
CONFIG_PROC_SYSCTL=y
CONFIG_PROC_PAGE_MONITOR=y
CONFIG_SYSFS=y
CONFIG_TMPFS=y
CONFIG_TMPFS_POSIX_ACL=y
CONFIG_YAFFS_FS=y
CONFIG_YAFFS_YAFFS1=y
CONFIG_YAFFS_YAFFS2=y
CONFIG_YAFFS_AUTO_YAFFS2=y
CONFIG_CRAMFS=y
CONFIG_NETWORK_FILESYSTEMS=y
CONFIG_NFS_FS=y
CONFIG_NFS_V3=y
CONFIG_NFS_V3_ACL=y
CONFIG_NFS_V4=y
CONFIG_ROOT_NFS=y
CONFIG_LOCKD=y
CONFIG_LOCKD_V4=y
CONFIG_NFS_ACL_SUPPORT=y
CONFIG_NFS_COMMON=y
CONFIG_SUNRPC=y
CONFIG_SUNRPC_GSS=y
CONFIG_RPCSEC_GSS_KRB5=y
CONFIG_MSDOS_PARTITION=y
CONFIG_NLS=y
CONFIG_NLS_DEFAULT="iso8859-1"
CONFIG_NLS_CODEPAGE_437=y
CONFIG_NLS_CODEPAGE_936=y
CONFIG_NLS_CODEPAGE_950=y
CONFIG_NLS_ASCII=y
CONFIG_NLS_ISO8859_1=y
CONFIG_NLS_UTF8=y
CONFIG_FRAME_WARN=1024
CONFIG_DEBUG_BUGVERBOSE=y
CONFIG_DEBUG_MEMORY_INIT=y
CONFIG_FRAME_POINTER=y
CONFIG_HAVE_FUNCTION_TRACER=y
CONFIG_HAVE_ARCH_KGDB=y
CONFIG_DEBUG_S3C_UART=0
CONFIG_CRYPTO=y
CONFIG_CRYPTO_ALGAPI=y
CONFIG_CRYPTO_ALGAPI2=y
CONFIG_CRYPTO_AEAD2=y
CONFIG_CRYPTO_BLKCIPHER=y
CONFIG_CRYPTO_BLKCIPHER2=y
CONFIG_CRYPTO_HASH2=y
CONFIG_CRYPTO_RNG2=y
CONFIG_CRYPTO_MANAGER=y
CONFIG_CRYPTO_MANAGER2=y
CONFIG_CRYPTO_CBC=y
CONFIG_CRYPTO_ECB=y
CONFIG_CRYPTO_MD5=y
CONFIG_CRYPTO_AES=y
CONFIG_CRYPTO_ARC4=y
CONFIG_CRYPTO_DES=y
CONFIG_CRYPTO_HW=y
CONFIG_BITREVERSE=y
CONFIG_CRC_ITU_T=y
CONFIG_CRC32=y
CONFIG_ZLIB_INFLATE=y
CONFIG_PLIST=y
CONFIG_HAS_IOMEM=y
CONFIG_HAS_DMA=y
It seems the problem is MTD. But MTD support is enabled in kernel. Am I missing something?
I have installed bootloader, kernel and root file system in the NAND flash. If I want to store root file system to SD card with ext2 file system, what I should change? How this line would change?
CONFIG_CMDLINE="root=/dev/mtdblock2 rootfstype=yaffs2 init=/linuxrc console=ttySAC0 mem=128M"
You need to enable the ext2 filesystem in your kernel config:
CONFIG_EXT2_FS=y
You should post your entire kernel boot log if you want anyone to help you on this. Apparently, the /dev/mtdblock2 device does not exists, which probably indicates that your kernel has not been given a partition for your flash.
Also, this question has absolutely nothing to do with Buildroot, it's purely a kernel configuration / kernel command line problem.