HI YiSun,ChenYang:
    Thanks! It's solved,when using adb kill-server and adb devices as
Chen recommended. It have none business with the kernel. I tried adb
devices alone several times,but not used together with adb kill-
server. I'm now upgrading the virtualbox to check whether it helps.

On 6月16日, 下午3时07分, Yi Sun <[email protected]> wrote:
> Grain,
> Let's us know if it works for you or not. If it is solve your problem, I
> will make this thread into a wiki page.
> Yi
>
>
>
> On Tue, 2009-06-16 at 14:35 +0800, Chen Yang wrote:
> > oh, after the virtualbox restarts its kernel, you'd better repeat the
> > "adb kill-server" and "adb devices" to let it scan for it.
> > Otherwise, adb may not be able to find it.
> > --
> >  Chen
>
> > 2009/6/16 GrainWang <[email protected]>
>
> >         HI YiSun:
> >             No,such kind of thing can't happen twice,haha. BTW, I
> >         built the
> >         kernel in "cupcake" branch, and copy the built image
> >         and .config to
> >         the "master' branch,everything is ok, just randomly the adb
> >         can't
> >         connect to the virtual box.  Thanks!
>
> >         On 6月16日, 下午2时25分, Yi Sun <[email protected]> wrote:
> >         > Man, did you forget to copy the kernel again? :-)
>
> >         > On Tue, 2009-06-16 at 14:20 +0800, Chen Yang wrote:
> >         > > I have not met this kind of problem. I have successfully
> >         used the
> >         > > pcnet-pci card, also well as the e1000 desktop card with
> >         original
> >         > > 2.6.25 kernel. I don't know whether the new kernel doesn't
> >         work well.
> >         > > And from the config you provided, I cannot tell the
> >         problem.
> >         > > --
> >         > > Chen
>
> >         > > On Tue, Jun 16, 2009 at 2:04 PM, GrainWang
> >         <[email protected]>
>
> >         > > wrote:
>
> >         > >         HI ChenYang:
> >         > >             I rechecked the .config file i used,and found
> >         that it's
> >         > >         correct
> >         > >         is true. But I got the wrong result. here is some
> >         information,
> >         > >         my
> >         > >         virtualbox's version is v2.10
>
> >         > >             network have 4 options, PcNet-PCI
> >         II(Am79C970A),PcNet-FAST
> >         > >         III
> >         > >         (Am79C973),Intel Pro/1000 MT
> >         DestTop(82540EM),Intel Pro/1000 T
> >         > >         Server
> >         > >         (82543GC),when choosing the first 2 options,
> >         succesful once,
> >         > >         when
> >         > >         choosing the last 2 options,when booting, a error
> >         log message
> >         > >         show up
> >         > >         with the following message,and can't push alt+f1
> >         to get into
> >         > >         console
> >         > >         and use logcat for more message.
>
> >         > >         Configuration error: Failed to get the "MAC" value
> >         > >         (VERR_CFGM_VALUE_NOT_FOUND).
> >         > >         Unknown error creating VM
> >         (VERR_CFGM_VALUE_NOT_FOUND).
> >         > >         Result Code:
> >         > >         NS_ERROR_FAILURE (0x80004005)
> >         > >         Component:
> >         > >         Console
> >         > >         Interface:
> >         > >         IConsole {e3c6d4a1-a935-47ca-b16d-f9e9c496e53e}
>
> >         > >             The kernel config is listed below:
> >         > >         #
> >         > >         # Automatically generated make config: don't edit
> >         > >         # Linux kernel version: 2.6.27
> >         > >         # Tue Jun 16 11:12:51 2009
> >         > >         #
> >         > >         # CONFIG_64BIT is not set
> >         > >         CONFIG_X86_32=y
> >         > >         # CONFIG_X86_64 is not set
> >         > >         CONFIG_X86=y
>
> >         CONFIG_ARCH_DEFCONFIG="arch/x86/configs/i386_defconfig"
> >         > >         # CONFIG_GENERIC_LOCKBREAK is not set
> >         > >         CONFIG_GENERIC_TIME=y
> >         > >         CONFIG_GENERIC_CMOS_UPDATE=y
> >         > >         CONFIG_CLOCKSOURCE_WATCHDOG=y
> >         > >         CONFIG_GENERIC_CLOCKEVENTS=y
> >         > >         CONFIG_GENERIC_CLOCKEVENTS_BROADCAST=y
> >         > >         CONFIG_LOCKDEP_SUPPORT=y
> >         > >         CONFIG_STACKTRACE_SUPPORT=y
> >         > >         CONFIG_HAVE_LATENCYTOP_SUPPORT=y
> >         > >         CONFIG_FAST_CMPXCHG_LOCAL=y
> >         > >         CONFIG_MMU=y
> >         > >         CONFIG_ZONE_DMA=y
> >         > >         CONFIG_GENERIC_ISA_DMA=y
> >         > >         CONFIG_GENERIC_IOMAP=y
> >         > >         CONFIG_GENERIC_BUG=y
> >         > >         CONFIG_GENERIC_HWEIGHT=y
> >         > >         # CONFIG_GENERIC_GPIO is not set
> >         > >         CONFIG_ARCH_MAY_HAVE_PC_FDC=y
> >         > >         # CONFIG_RWSEM_GENERIC_SPINLOCK is not set
> >         > >         CONFIG_RWSEM_XCHGADD_ALGORITHM=y
> >         > >         # CONFIG_ARCH_HAS_ILOG2_U32 is not set
> >         > >         # CONFIG_ARCH_HAS_ILOG2_U64 is not set
> >         > >         CONFIG_ARCH_HAS_CPU_IDLE_WAIT=y
> >         > >         CONFIG_GENERIC_CALIBRATE_DELAY=y
> >         > >         # CONFIG_GENERIC_TIME_VSYSCALL is not set
> >         > >         CONFIG_ARCH_HAS_CPU_RELAX=y
> >         > >         CONFIG_ARCH_HAS_CACHE_LINE_SIZE=y
> >         > >         CONFIG_HAVE_SETUP_PER_CPU_AREA=y
> >         > >         # CONFIG_HAVE_CPUMASK_OF_CPU_MAP is not set
> >         > >         CONFIG_ARCH_HIBERNATION_POSSIBLE=y
> >         > >         CONFIG_ARCH_SUSPEND_POSSIBLE=y
> >         > >         # CONFIG_ZONE_DMA32 is not set
> >         > >         CONFIG_ARCH_POPULATES_NODE_MAP=y
> >         > >         # CONFIG_AUDIT_ARCH is not set
> >         > >         CONFIG_ARCH_SUPPORTS_AOUT=y
> >         > >         CONFIG_ARCH_SUPPORTS_OPTIMIZED_INLINING=y
> >         > >         CONFIG_GENERIC_HARDIRQS=y
> >         > >         CONFIG_GENERIC_IRQ_PROBE=y
> >         > >         CONFIG_GENERIC_PENDING_IRQ=y
> >         > >         CONFIG_X86_SMP=y
> >         > >         CONFIG_X86_32_SMP=y
> >         > >         CONFIG_X86_HT=y
> >         > >         CONFIG_X86_BIOS_REBOOT=y
> >         > >         CONFIG_X86_TRAMPOLINE=y
> >         > >         CONFIG_KTIME_SCALAR=y
>
> >         CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
>
> >         > >         #
> >         > >         # General setup
> >         > >         #
> >         > >         CONFIG_EXPERIMENTAL=y
> >         > >         CONFIG_LOCK_KERNEL=y
> >         > >         CONFIG_INIT_ENV_ARG_LIMIT=32
> >         > >         CONFIG_LOCALVERSION=""
> >         > >         CONFIG_LOCALVERSION_AUTO=y
> >         > >         # CONFIG_SWAP is not set
> >         > >         CONFIG_SYSVIPC=y
> >         > >         CONFIG_SYSVIPC_SYSCTL=y
> >         > >         # CONFIG_POSIX_MQUEUE is not set
> >         > >         # CONFIG_BSD_PROCESS_ACCT is not set
> >         > >         # CONFIG_TASKSTATS is not set
> >         > >         # CONFIG_AUDIT is not set
> >         > >         CONFIG_IKCONFIG=y
> >         > >         CONFIG_IKCONFIG_PROC=y
> >         > >         CONFIG_LOG_BUF_SHIFT=17
> >         > >         # CONFIG_CGROUPS is not set
> >         > >         CONFIG_HAVE_UNSTABLE_SCHED_CLOCK=y
> >         > >         CONFIG_GROUP_SCHED=y
> >         > >         CONFIG_FAIR_GROUP_SCHED=y
> >         > >         # CONFIG_RT_GROUP_SCHED is not set
> >         > >         CONFIG_USER_SCHED=y
> >         > >         # CONFIG_CGROUP_SCHED is not set
> >         > >         CONFIG_SYSFS_DEPRECATED=y
> >         > >         CONFIG_SYSFS_DEPRECATED_V2=y
> >         > >         CONFIG_RELAY=y
> >         > >         CONFIG_NAMESPACES=y
> >         > >         # CONFIG_UTS_NS is not set
> >         > >         # CONFIG_IPC_NS is not set
> >         > >         # CONFIG_USER_NS is not set
> >         > >         # CONFIG_PID_NS is not set
> >         > >         CONFIG_BLK_DEV_INITRD=y
> >         > >         CONFIG_INITRAMFS_SOURCE=""
> >         > >         CONFIG_CC_OPTIMIZE_FOR_SIZE=y
> >         > >         CONFIG_SYSCTL=y
> >         > >         CONFIG_PANIC_TIMEOUT=0
> >         > >         # CONFIG_EMBEDDED is not set
> >         > >         CONFIG_UID16=y
> >         > >         CONFIG_SYSCTL_SYSCALL=y
> >         > >         CONFIG_KALLSYMS=y
> >         > >         # CONFIG_KALLSYMS_ALL is not set
> >         > >         # CONFIG_KALLSYMS_EXTRA_PASS is not set
> >         > >         CONFIG_HOTPLUG=y
> >         > >         CONFIG_PRINTK=y
> >         > >         CONFIG_BUG=y
> >         > >         CONFIG_ELF_CORE=y
> >         > >         CONFIG_PCSPKR_PLATFORM=y
> >         > >         CONFIG_COMPAT_BRK=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_ASHMEM=y
> >         > >         CONFIG_VM_EVENT_COUNTERS=y
> >         > >         CONFIG_SLAB=y
> >         > >         # CONFIG_SLUB is not set
> >         > >         # CONFIG_SLOB is not set
> >         > >         # CONFIG_PROFILING is not set
> >         > >         # CONFIG_MARKERS is not set
> >         > >         CONFIG_HAVE_OPROFILE=y
> >         > >         # CONFIG_KPROBES is not set
> >         > >         CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y
> >         > >         CONFIG_HAVE_IOREMAP_PROT=y
> >         > >         CONFIG_HAVE_KPROBES=y
> >         > >         CONFIG_HAVE_KRETPROBES=y
> >         > >         # CONFIG_HAVE_ARCH_TRACEHOOK is not set
> >         > >         # CONFIG_HAVE_DMA_ATTRS is not set
> >         > >         CONFIG_USE_GENERIC_SMP_HELPERS=y
> >         > >         # CONFIG_HAVE_CLK is not set
> >         > >         CONFIG_PROC_PAGE_MONITOR=y
> >         > >         CONFIG_HAVE_GENERIC_DMA_COHERENT=y
> >         > >         CONFIG_SLABINFO=y
> >         > >         CONFIG_RT_MUTEXES=y
> >         > >         # CONFIG_TINY_SHMEM is not set
> >         > >         CONFIG_BASE_SMALL=0
> >         > >         CONFIG_MODULES=y
>
> ...
>
> 阅读更多 »- 隐藏被引用文字 -
>
> - 显示引用的文字 -
--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---

Reply via email to