[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] cubieboard2's sd/mmc driver on xen about DMA read data error



在 2014-04-03 17:34:56,"Ian Campbell" <Ian.Campbell@xxxxxxxxxx> 写道:
>On Thu, 2014-04-03 at 11:09 +0800, 杜琪 wrote:
>> Hi there, 
>
>Hi,
>
>Once again: Please don't top post (answer below or interleaved with the
>quote text) and please stop posting HTML mails.
>
>http://wiki.xen.org/wiki/Asking_Xen_Devel_Questions#Observe_list_etiquette.
>
>> The kernel works without XEN (We have tested it yesterday.), but it
>> failed when works with xen hypervisor.
>> 
>> 
>> We have done some research about the MMC driver. 
>> If the command has nothing to do with the data transmission, it will
>> work, such as CMD7 and CMD0
>> But when there is read or write operation( such as CMD52), the DMA
>> module of the MMC controller will be used for the data transmission,
>> instead of the DMA module of the CPU.
>> 
>> 
>> Our question is, should the XEN DMA memory map operations supported by
>> swiotlib  also work for the DMA module of MMC controller? 
>
>As Julien has explained the 1:1 mapping, which is enabled by default for
>dom0 since Xen 4.4 should mean that the swiotlb is not necessary for
>dom0 access to the MMC.
>
>The swiotlb is there to handle the case where the address which dom0
>sees is not the real hardware address, but the 1:1 mapping ensures that
>they are the same.
>
>Looking at your logs I don't see anything of the debug from
>sunxi_mmc_irq, if you have enabled debug prints from this driver then I
>would expect you should see something. This is certainly something worth
>investigating.


I have added some debug information about the dma address and related register 
. 

Could you give me some advice?

Many thanks.


The below is my kerneldump:

## Booting kernel from Legacy Image at 45000000 ...
   Image Name:   
   Created:      2014-04-04   4:40:35 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    993102 Bytes = 969.8 KiB
   Load Address: 40200000
   Entry Point:  40200000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
WARNING: ignoring attempt to set core boot address 7ff88454 on core -1
WARNING: Not kicking secondary CPUs

Starting kernel ...

- UART enabled -
- CPU 00000000 booting -
- Xen starting in Hyp mode -
- Zero BSS -
- Setting up control registers -
- Turning on paging -
- Ready -
Checking for initrd in /chosen
RAM: 0000000040000000 - 000000007fffffff

MODULE[1]: 00000000402ef700 - 00000000402f274e 
MODULE[2]: 0000000050000000 - 0000000050f00000 
MODULE[3]: 0000000060000000 - 0000000066000000 
Placing Xen at 0x000000007fe00000-0x0000000080000000
Xen heap: 0000000076000000-000000007e000000 (32768 pages)
Dom heap: 229376 pages
Looking for UART console serial0
 __  __            _  _   _  _                      _        _     _      
 \ \/ /___ _ __   | || | | || |     _   _ _ __  ___| |_ __ _| |__ | | ___ 
  \  // _ \ '_ \  | || |_| || |_ __| | | | '_ \/ __| __/ _` | '_ \| |/ _ \
  /  \  __/ | | | |__   _|__   _|__| |_| | | | \__ \ || (_| | |_) | |  __/
 /_/\_\___|_| |_|    |_|(_) |_|     \__,_|_| |_|___/\__\__,_|_.__/|_|\___|
                                                                          
(XEN) Xen version 4.4-unstable (root@) (arm-linux-gnueabihf-gcc (Ubuntu/Linaro 
4.7.2-1ubuntu1) 4.7.2) debug=y Fri Apr  4 12:40:24
(XEN) Latest ChangeSet: Mon Oct 14 23:19:37 2013 +0100 git:720f45a
(XEN) Console output is synchronous.
(XEN) Processor: 410fc074: "ARM Limited", variant: 0x0, part 0xc07, rev 0x4
(XEN) 32-bit Execution:
(XEN)   Processor Features: 00001131:00011011
(XEN)     Instruction Sets: AArch32 Thumb Thumb-2 ThumbEE Jazelle
(XEN)     Extensions: GenericTimer Security
(XEN)   Debug Features: 02010555
(XEN)   Auxiliary Features: 00000000
(XEN)   Memory Model Features: 10101105 40000000 01240000 02102211
(XEN)  ISA Features: 02101110 13112111 21232041 11112131 10011142 00000000
(XEN) WARNING: Unrecognized/unsupported device tree compatible list
(XEN) Available platform support:
(XEN)     - VERSATILE EXPRESS
(XEN)     - SAMSUNG EXYNOS5
(XEN)     - CALXEDA MIDWAY
(XEN)     - TI OMAP5
(XEN) Generic Timer IRQ: phys=30 hyp=26 virt=27
(XEN) Using generic timer at 24000 KHz
(XEN) GIC initialization:
(XEN)         gic_dist_addr=0000000001c81000
(XEN)         gic_cpu_addr=0000000001c82000
(XEN)         gic_hyp_addr=0000000001c84000
(XEN)         gic_vcpu_addr=0000000001c86000
(XEN)         gic_maintenance_irq=25
(XEN) GIC: 160 lines, 2 cpus, secure (IID 0100143b).
(XEN) Using scheduler: SMP Credit Scheduler (credit)
(XEN) Allocated console ring of 16 KiB.
(XEN) VFP implementer 0x41 architecture 2 part 0x30 variant 0x7 rev 0x4
(XEN) Brought up 1 CPUs
(XEN) *** LOADING DOMAIN 0 ***
(XEN) Populate P2M 0x40000000->0x60000000
(XEN) Loading kernel from boot module 2
(XEN) Loading zImage from 0000000050000000 to 0000000047800000-0000000047f06b20
(XEN) Loading dom0 initrd from 0000000060000000 to 
0x0000000048200000-0x000000004e200000
(XEN) Loading dom0 DTB to 0x0000000048000000-0x0000000048002eb6
(XEN) Std. Loglevel: All
(XEN) Guest Loglevel: All
(XEN) **********************************************
(XEN) ******* WARNING: CONSOLE OUTPUT IS SYNCHRONOUS
(XEN) ******* This option is intended to aid debugging of Xen by ensuring
(XEN) ******* that all output is synchronously delivered on the serial line.
(XEN) ******* However it can introduce SIGNIFICANT latencies and affect
(XEN) ******* timekeeping. It is NOT recommended for production use!
(XEN) **********************************************
(XEN) 3... 2... 1... 
(XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to switch input to 
Xen)
(XEN) Freed 268kB init memory.
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 3.13.0-rc4 (duqi@Lenovo-G480) (gcc version 4.8.2 
20131014 (prerelease) (crosstool-NG linaro-1.13.1-4
[    0.000000] CPU: ARMv7 Processor [410fc074] revision 4 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing 
instruction cache
[    0.000000] Machine model: Cubietech Cubieboard2
[    0.000000] debug: ignoring loglevel setting.
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] On node 0 totalpages: 131072
[    0.000000] free_area_init_node: node 0, pgdat c0cb0980, node_mem_map 
c0dba000
[    0.000000]   Normal zone: 1024 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 131072 pages, LIFO batch:31
[    0.000000] psci: probing function IDs from device-tree
[    0.000000] PERCPU: Embedded 9 pages/cpu @c11c3000 s13696 r8192 d14976 u36864
[    0.000000] pcpu-alloc: s13696 r8192 d14976 u36864 alloc=9*4096
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total 
pages: 130048
[    0.000000] Kernel command line: console=hvc0,115200n8 debug ignore_loglevel 
rw rootwait earlyprintk=xen clk_ignore_unused rof
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] allocated 1048576 bytes of page_cgroup
[    0.000000] please try 'cgroup_disable=memory' option if you don't want 
memory cgroups
[    0.000000] Memory: 406324K/524288K available (6542K kernel code, 805K 
rwdata, 2832K rodata, 2857K init, 975K bss, 117964K re)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xe0800000 - 0xff000000   ( 488 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc092fc5c   (9376 kB)
[    0.000000]       .init : 0xc0930000 - 0xc0bfa580   (2858 kB)
[    0.000000]       .data : 0xc0bfc000 - 0xc0cc5420   ( 806 kB)
[    0.000000]        .bss : 0xc0cc5420 - 0xc0db9398   ( 976 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=1.
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 
178956969942ns
[    0.000000] sched_clock: 32 bits at 160MHz, resolution 6ns, wraps every 
26843545593ns
[    0.000000] Architected cp15 timer(s) running at 24.00MHz (virt).
[    0.000000] Switching to timer-based delay loop
[    0.000000] Console: colour dummy device 80x30
[    0.000607] Calibrating delay loop (skipped), value calculated using timer 
frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.000623] pid_max: default: 32768 minimum: 301
[    0.000806] Security Framework initialized
[    0.000859] SELinux:  Initializing.
[    0.000904] SELinux:  Starting in permissive mode
[    0.001156] Mount-cache hash table entries: 512
[    0.004470] Initializing cgroup subsys memory
[    0.004522] Initializing cgroup subsys devices
[    0.004533] Initializing cgroup subsys freezer
[    0.004546] Initializing cgroup subsys net_cls
[    0.004555] Initializing cgroup subsys blkio
[    0.004564] Initializing cgroup subsys perf_event
[    0.004690] CPU: Testing write buffer coherency: ok
[    0.004735] ftrace: allocating 27284 entries in 54 pages
[    0.041705] /cpus/cpu@0 missing clock-frequency property
[    0.041737] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.041777] Setting up static identity map for 0x406303f0 - 0x40630488
[    0.049315] Brought up 1 CPUs
[    0.049332] SMP: Total of 1 processors activated.
[    0.049340] CPU: All CPU(s) started in SVC mode.
[    0.050430] devtmpfs: initialized
[    0.055604] VFP support v0.3: implementor 41 architecture 2 part 30 variant 
7 rev 4
[    0.055739] Xen 4.4 support found, events_irq=31 gnttab_frame_pfn=b0000
[    0.055818] xen:grant_table: Grant tables using version 1 layout
[    0.055886] Grant table initialized
[    0.062863] atomic64 test passed
[    0.062886] pinctrl core: initialized pinctrl subsystem
[    0.063364] regulator-dummy: no parameters
[    0.063923] NET: Registered protocol family 16
[    0.064504] Xen: initializing cpu0
[    0.064871] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.066807] xen:swiotlb_xen: Warning: only able to allocate 8 MB for 
software IO TLB
[    0.071143] software IO TLB [mem 0x5e000000-0x5e800000] (8MB) mapped at 
[de000000-de7fffff]
[    0.073958] No ATAGs?
[    0.073989] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint 
registers.
[    0.074000] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.074763] Serial: AMBA PL011 UART driver
[    0.082687] bio: create slab <bio-0> at 0
[    0.083827] edma-dma-engine edma-dma-engine.0: Can't allocate PaRAM dummy 
slot
[    0.083900] edma-dma-engine: probe of edma-dma-engine.0 failed with error -5
[    0.084067] xen:balloon: Initialising balloon driver
[    0.084182] reg-fixed-voltage ahci-5v.3: could not find pctldev for node 
/soc@01c00000/pinctrl@01c20800/ahci_pwr_pin@0, defere
[    0.084200] platform ahci-5v.3: Driver reg-fixed-voltage requests probe 
deferral
[    0.084224] reg-fixed-voltage usb1-vbus.4: could not find pctldev for node 
/soc@01c00000/pinctrl@01c20800/usb1_vbus_pin@0, dee
[    0.084238] platform usb1-vbus.4: Driver reg-fixed-voltage requests probe 
deferral
[    0.084259] reg-fixed-voltage usb2-vbus.5: could not find pctldev for node 
/soc@01c00000/pinctrl@01c20800/usb2_vbus_pin@0, dee
[    0.084273] platform usb2-vbus.5: Driver reg-fixed-voltage requests probe 
deferral
[    0.085486] SCSI subsystem initialized
[    0.085801] libata version 3.00 loaded.
[    0.086168] usbcore: registered new interface driver usbfs
[    0.086235] usbcore: registered new interface driver hub
[    0.086413] usbcore: registered new device driver usb
[    0.086686] pps_core: LinuxPPS API ver. 1 registered
[    0.086696] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo 
Giometti <giometti@xxxxxxxx>
[    0.086723] PTP clock support registered
[    0.087966] NetLabel: Initializing
[    0.087979] NetLabel:  domain hash size = 128
[    0.087987] NetLabel:  protocols = UNLABELED CIPSOv4
[    0.088061] NetLabel:  unlabeled traffic allowed by default
[    0.088519] Switched to clocksource arch_sys_counter
[    0.148018] NET: Registered protocol family 2
[    0.149156] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.149218] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[    0.149284] TCP: Hash tables configured (established 4096 bind 4096)
[    0.149350] TCP: reno registered
[    0.149367] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.149402] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.149716] NET: Registered protocol family 1
[    0.150305] RPC: Registered named UNIX socket transport module.
[    0.150318] RPC: Registered udp transport module.
[    0.150325] RPC: Registered tcp transport module.
[    0.150331] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.334844] Unpacking initramfs...
[    0.334887] Initramfs unpacking failed: junk in compressed archive
[    0.453376] Freeing initrd memory: 98304K (c8200000 - ce200000)
[    0.455429] audit: initializing netlink socket (disabled)
[    0.455503] type=2000 audit(0.430:1): initialized
[    0.660933] zbud: loaded
[    0.661609] VFS: Disk quotas dquot_6.5.2
[    0.661946] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.664475] NFS: Registering the id_resolver key type
[    0.664559] Key type id_resolver registered
[    0.664568] Key type id_legacy registered
[    0.664587] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.665012] msgmni has been set to 985
[    0.665451] SELinux:  Registering netfilter hooks
[    0.669206] alg: No test for stdrng (krng)
[    0.669246] NET: Registered protocol family 38
[    0.669568] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 
250)
[    0.669802] io scheduler noop registered
[    0.669813] io scheduler deadline registered
[    0.670055] io scheduler cfq registered (default)
[    0.673141] sunxi-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.674539] xen:xen_evtchn: Event-channel device installed
[    1.492678] console [hvc0] enabled
[    1.496053] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    1.503983] Serial: AMBA driver
[    1.507117] Serial: IMX driver
[    1.511262] [drm] Initialized drm 1.1.0 20060810
[    1.517710] libphy: Fixed MDIO Bus: probed
[    1.522515] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.529077] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.535206] ohci-omap3: OHCI OMAP3 driver
[    1.539640] usbcore: registered new interface driver usbserial
[    1.545439] usbcore: registered new interface driver usbserial_generic
[    1.552080] usbserial: USB Serial support registered for generic
[    1.558352] mousedev: PS/2 mouse device common for all mice
[    1.565261] device-mapper: uevent: version 1.0.3
[    1.570430] device-mapper: ioctl: 4.27.0-ioctl (2013-10-30) initialised: 
dm-devel@xxxxxxxxxx
[    1.579815] #sunxi_mmc_probe# the host->sg_cpu=e083e000
[    1.585207] sunxi-mci 1c0f000.mmc: base:0xe08be000 irq:64
[    1.590932] hidraw: raw HID events driver (C) Jiri Kosina
[    1.596999] usbcore: registered new interface driver usbhid
[    1.602569] usbhid: USB HID core driver
[    1.606518] mmc0: mmc_rescan_try_freq: trying to init card at 400000 Hz
[    1.613128] mmc0: clock 0Hz busmode 2 powermode 1 cs 0 Vdd 21 width 0 timing 0
[    1.620397] sunxi-mci 1c0f000.mmc: power on!
[    1.625141] drop_monitor: Initializing network drop monitor service
[    1.631696] ip_tables: (C) 2000-2006 Netfilter Core Team
[    1.637013] TCP: cubic registered
[    1.640390] mmc0: clock 400000Hz busmode 2 powermode 2 cs 0 Vdd 21 width 0 
timing 0
[    1.648033] sunxi-mci 1c0f000.mmc: ios->clock: 400000
[    1.653207] sunxi-mci 1c0f000.mmc: setting clk to 400000, rounded 400000
[    1.659960] sunxi-mci 1c0f000.mmc: clk is now 400000
[    1.664993] Initializing XFRM netlink socket
[    1.670082] NET: Registered protocol family 10
[    1.675465] mip6: Mobile IPv6
[    1.678365] NET: Registered protocol family 17
[    1.683070] Key type dns_resolver registered
[    1.687560] ThumbEE CPU extension supported.
[    1.691812] Registering SWP/SWPB emulation handler
[    1.697423] registered taskstats version 1
[    1.702404] ahci-5v: 5000 mV 
[    1.705748] usb1-vbus: 5000 mV 
[    1.709356] usb2-vbus: 5000 mV 
[    1.712763] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[    1.719024] sr_init: No PMIC hook to init smartreflex
[    1.724215] sr_init: platform driver register failed for SR
[    1.738701] mmc0: starting CMD52 arg 00000c00 flags 00000195
[    1.744300] sunxi-mci 1c0f000.mmc: cmd 52(80000174) arg c00 ie 0x0000bbc6 
len 0
[    1.752497] #sunxi_mmc_irq#  REG_IDST=0,REG_MISTA=104
[    1.757479] sunxi-mci 1c0f000.mmc: irq: rq df0ade48 mi 00000104 idi 00000000
[    1.764568] #sunxi_mmc_irq# Don't wait for dma on error!!
[    1.770086] sunxi-mci 1c0f000.mmc: req done, resp 00000000 00000000 00000000 
00000000
[    1.777922] mmc0: req done (CMD52): -110: 00000000 00000000 00000000 00000000
[    1.785201] mmc0: starting CMD52 arg 80000c08 flags 00000195
[    1.790883] sunxi-mci 1c0f000.mmc: cmd 52(80000174) arg 80000c08 ie 
0x0000bbc6 len 0
[    1.799465] #sunxi_mmc_irq#  REG_IDST=0,REG_MISTA=104
[    1.804435] sunxi-mci 1c0f000.mmc: irq: rq df0ade48 mi 00000104 idi 00000000
[    1.811533] #sunxi_mmc_irq# Don't wait for dma on error!!
[    1.817015] sunxi-mci 1c0f000.mmc: req done, resp 00000000 00000000 00000000 
00000000
[    1.824885] mmc0: req done (CMD52): -110: 00000000 00000000 00000000 00000000
[    1.832109] mmc0: clock 400000Hz busmode 2 powermode 2 cs 1 Vdd 21 width 0 
timing 0
[    1.839814] sunxi-mci 1c0f000.mmc: ios->clock: 400000
[    1.844933] sunxi-mci 1c0f000.mmc: clk already 400000, rounded 400000
[    1.907534] mmc0: starting CMD0 arg 00000000 flags 000000c0
[    1.913058] sunxi-mci 1c0f000.mmc: cmd 0(80008000) arg 0 ie 0x0000bbc6 len 0
[    1.920526] #sunxi_mmc_irq#  REG_IDST=0,REG_MISTA=4
[    1.925322] sunxi-mci 1c0f000.mmc: irq: rq df0ade70 mi 00000004 idi 00000000
[    1.932421] #sunxi_mmc_irq# DMA done
[    1.936075] sunxi-mci 1c0f000.mmc: req done, resp 00000000 00000000 00000000 
00000000
[    1.943953] mmc0: req done (CMD0): 0: 00000000 00000000 00000000 00000000
[    1.951836] mmc0: clock 400000Hz busmode 2 powermode 2 cs 0 Vdd 21 width 0 
timing 0
[    1.959424] sunxi-mci 1c0f000.mmc: ios->clock: 400000
[    1.964520] sunxi-mci 1c0f000.mmc: clk already 400000, rounded 400000
[    2.027143] mmc0: starting CMD8 arg 000001aa flags 000002f5
[    2.032665] sunxi-mci 1c0f000.mmc: cmd 8(80000148) arg 1aa ie 0x0000bbc6 len 0
[    2.040252] #sunxi_mmc_irq#  REG_IDST=0,REG_MISTA=4
[    2.045048] sunxi-mci 1c0f000.mmc: irq: rq df0ade70 mi 00000004 idi 00000000
[    2.052147] #sunxi_mmc_irq# DMA done
[    2.055801] sunxi-mci 1c0f000.mmc: req done, resp 000001aa 00000000 00000000 
00000000
[    2.063679] mmc0: req done (CMD8): 0: 000001aa 00000000 00000000 00000000
[    2.070559] mmc0: starting CMD5 arg 00000000 flags 000002e1
[    2.076174] sunxi-mci 1c0f000.mmc: cmd 5(80000045) arg 0 ie 0x0000bbc6 len 0
[    2.084111] #sunxi_mmc_irq#  REG_IDST=0,REG_MISTA=104
[    2.089082] sunxi-mci 1c0f000.mmc: irq: rq df0ade28 mi 00000104 idi 00000000
[    2.096181] #sunxi_mmc_irq# Don't wait for dma on error!!
[    2.101664] sunxi-mci 1c0f000.mmc: req done, resp 00000000 00000000 00000000 
00000000
[    2.109556] mmc0: req failed (CMD5): -110, retrying...
[    2.114760] sunxi-mci 1c0f000.mmc: cmd 5(80000045) arg 0 ie 0x0000bbc6 len 0
[    2.122668] #sunxi_mmc_irq#  REG_IDST=0,REG_MISTA=104
[    2.127637] sunxi-mci 1c0f000.mmc: irq: rq df0ade28 mi 00000104 idi 00000000
[    2.134736] #sunxi_mmc_irq# Don't wait for dma on error!!
[    2.140219] sunxi-mci 1c0f000.mmc: req done, resp 00000000 00000000 00000000 
00000000
[    2.148107] mmc0: req failed (CMD5): -110, retrying...
[    2.153327] sunxi-mci 1c0f000.mmc: cmd 5(80000045) arg 0 ie 0x0000bbc6 len 0
[    2.161218] #sunxi_mmc_irq#  REG_IDST=0,REG_MISTA=104
[    2.166187] sunxi-mci 1c0f000.mmc: irq: rq df0ade28 mi 00000104 idi 00000000
[    2.173286] #sunxi_mmc_irq# Don't wait for dma on error!!
[    2.178775] sunxi-mci 1c0f000.mmc: req done, resp 00000000 00000000 00000000 
00000000
[    2.186656] mmc0: req failed (CMD5): -110, retrying...
[    2.191876] sunxi-mci 1c0f000.mmc: cmd 5(80000045) arg 0 ie 0x0000bbc6 len 0
[    2.199767] #sunxi_mmc_irq#  REG_IDST=0,REG_MISTA=104
[    2.204735] sunxi-mci 1c0f000.mmc: irq: rq df0ade28 mi 00000104 idi 00000000
[    2.211834] #sunxi_mmc_irq# Don't wait for dma on error!!
[    2.217317] sunxi-mci 1c0f000.mmc: req done, resp 00000000 00000000 00000000 
00000000
[    2.225187] mmc0: req done (CMD5): -110: 00000000 00000000 00000000 00000000
[    2.232317] mmc0: starting CMD55 arg 00000000 flags 000000f5
[    2.238018] sunxi-mci 1c0f000.mmc: cmd 55(80000177) arg 0 ie 0x0000bbc6 len 0
[    2.245543] #sunxi_mmc_irq#  REG_IDST=0,REG_MISTA=4
[    2.250339] sunxi-mci 1c0f000.mmc: irq: rq df0addc0 mi 00000004 idi 00000000
[    2.257438] #sunxi_mmc_irq# DMA done
[    2.261091] sunxi-mci 1c0f000.mmc: req done, resp 00400120 00000000 00000000 
00000000
[    2.268971] mmc0: req done (CMD55): 0: 00400120 00000000 00000000 00000000
[    2.275936] mmc0: starting CMD41 arg 00000000 flags 000000e1
[    2.281647] sunxi-mci 1c0f000.mmc: cmd 41(80000069) arg 0 ie 0x0000bbc6 len 0
[    2.289151] #sunxi_mmc_irq#  REG_IDST=0,REG_MISTA=4
[    2.293948] sunxi-mci 1c0f000.mmc: irq: rq df0ade40 mi 00000004 idi 00000000
[    2.301046] #sunxi_mmc_irq# DMA done
[    2.304707] sunxi-mci 1c0f000.mmc: req done, resp 00ff8000 00000000 00000000 
00000000
[    2.312578] mmc0: req done (CMD41): 0: 00ff8000 00000000 00000000 00000000
[    2.319550] mmc0: clock 400000Hz busmode 2 powermode 2 cs 1 Vdd 21 width 0 
timing 0
[    2.327225] sunxi-mci 1c0f000.mmc: ios->clock: 400000
[    2.332362] sunxi-mci 1c0f000.mmc: clk already 400000, rounded 400000
[    2.394970] mmc0: starting CMD0 arg 00000000 flags 000000c0
[    2.400497] sunxi-mci 1c0f000.mmc: cmd 0(80008000) arg 0 ie 0x0000bbc6 len 0
[    2.407944] #sunxi_mmc_irq#  REG_IDST=0,REG_MISTA=4
[    2.412739] sunxi-mci 1c0f000.mmc: irq: rq df0addf8 mi 00000004 idi 00000000
[    2.419838] #sunxi_mmc_irq# DMA done
[    2.423492] sunxi-mci 1c0f000.mmc: req done, resp 00ff8000 00000000 00000000 
00000000
[    2.431382] mmc0: req done (CMD0): 0: 00ff8000 00000000 00000000 00000000
[    2.439251] mmc0: clock 400000Hz busmode 2 powermode 2 cs 0 Vdd 21 width 0 
timing 0
[    2.446818] sunxi-mci 1c0f000.mmc: ios->clock: 400000
[    2.451963] sunxi-mci 1c0f000.mmc: clk already 400000, rounded 400000
[    2.514534] mmc0: starting CMD8 arg 000001aa flags 000002f5
[    2.520056] sunxi-mci 1c0f000.mmc: cmd 8(80000148) arg 1aa ie 0x0000bbc6 len 0
[    2.527618] #sunxi_mmc_irq#  REG_IDST=0,REG_MISTA=4
[    2.532413] sunxi-mci 1c0f000.mmc: irq: rq df0addf8 mi 00000004 idi 00000000
[    2.539512] #sunxi_mmc_irq# DMA done
[    2.543166] sunxi-mci 1c0f000.mmc: req done, resp 000001aa 00000000 00000000 
00000000
[    2.551044] mmc0: req done (CMD8): 0: 000001aa 00000000 00000000 00000000
[    2.557925] mmc0: starting CMD55 arg 00000000 flags 000000f5
[    2.563635] sunxi-mci 1c0f000.mmc: cmd 55(80000177) arg 0 ie 0x0000bbc6 len 0
[    2.571138] #sunxi_mmc_irq#  REG_IDST=0,REG_MISTA=4
[    2.575933] sunxi-mci 1c0f000.mmc: irq: rq df0add60 mi 00000004 idi 00000000
[    2.583032] #sunxi_mmc_irq# DMA done
[    2.586686] sunxi-mci 1c0f000.mmc: req done, resp 00000120 00000000 00000000 
00000000
[    2.594565] mmc0: req done (CMD55): 0: 00000120 00000000 00000000 00000000
[    2.601531] mmc0: starting CMD41 arg 41200000 flags 000000e1
[    2.607222] sunxi-mci 1c0f000.mmc: cmd 41(80000069) arg 41200000 ie 
0x0000bbc6 len 0
[    2.615354] #sunxi_mmc_irq#  REG_IDST=0,REG_MISTA=4
[    2.620162] sunxi-mci 1c0f000.mmc: irq: rq df0adde0 mi 00000004 idi 00000000
[    2.627249] #sunxi_mmc_irq# DMA done
[    2.630913] sunxi-mci 1c0f000.mmc: req done, resp 00ff8000 00000000 00000000 
00000000
[    2.638782] mmc0: req done (CMD41): 0: 00ff8000 00000000 00000000 00000000
[    2.658587] mmc0: starting CMD55 arg 00000000 flags 000000f5
[    2.664166] sunxi-mci 1c0f000.mmc: cmd 55(80000177) arg 0 ie 0x0000bbc6 len 0
[    2.671687] #sunxi_mmc_irq#  REG_IDST=0,REG_MISTA=4
[    2.676483] sunxi-mci 1c0f000.mmc: irq: rq df0add60 mi 00000004 idi 00000000
[    2.683581] #sunxi_mmc_irq# DMA done
[    2.687235] sunxi-mci 1c0f000.mmc: req done, resp 00000120 00000000 00000000 
00000000
[    2.695114] mmc0: req done (CMD55): 0: 00000120 00000000 00000000 00000000
[    2.702085] mmc0: starting CMD41 arg 41200000 flags 000000e1
[    2.707773] sunxi-mci 1c0f000.mmc: cmd 41(80000069) arg 41200000 ie 
0x0000bbc6 len 0
[    2.715912] #sunxi_mmc_irq#  REG_IDST=0,REG_MISTA=4
[    2.720708] sunxi-mci 1c0f000.mmc: irq: rq df0adde0 mi 00000004 idi 00000000
[    2.727807] #sunxi_mmc_irq# DMA done
[    2.731460] sunxi-mci 1c0f000.mmc: req done, resp c0ff8000 00000000 00000000 
00000000
[    2.739358] mmc0: req done (CMD41): 0: c0ff8000 00000000 00000000 00000000
[    2.746329] mmc0: starting CMD2 arg 00000000 flags 00000067
[    2.751940] sunxi-mci 1c0f000.mmc: cmd 2(800001c2) arg 0 ie 0x0000bbc6 len 0
[    2.759568] #sunxi_mmc_irq#  REG_IDST=0,REG_MISTA=4
[    2.764364] sunxi-mci 1c0f000.mmc: irq: rq df0ade18 mi 00000004 idi 00000000
[    2.771463] #sunxi_mmc_irq# DMA done
[    2.775120] sunxi-mci 1c0f000.mmc: req done, resp 02544d53 41303847 111dec2a 
ce00d59b
[    2.782996] mmc0: req done (CMD2): 0: 02544d53 41303847 111dec2a ce00d59b
[    2.789884] mmc0: starting CMD3 arg 00000000 flags 00000075
[    2.795492] sunxi-mci 1c0f000.mmc: cmd 3(80000143) arg 0 ie 0x0000bbc6 len 0
[    2.802917] #sunxi_mmc_irq#  REG_IDST=0,REG_MISTA=4
[    2.807713] sunxi-mci 1c0f000.mmc: irq: rq df0ade18 mi 00000004 idi 00000000
[    2.814812] #sunxi_mmc_irq# DMA done
[    2.818466] sunxi-mci 1c0f000.mmc: req done, resp 12340500 00000000 00000000 
00000000
[    2.826344] mmc0: req done (CMD3): 0: 12340500 00000000 00000000 00000000
[    2.833225] mmc0: starting CMD9 arg 12340000 flags 00000007
[    2.838860] sunxi-mci 1c0f000.mmc: cmd 9(800001c9) arg 12340000 ie 
0x0000bbc6 len 0
[    2.847075] #sunxi_mmc_irq#  REG_IDST=0,REG_MISTA=4
[    2.851872] sunxi-mci 1c0f000.mmc: irq: rq df0ade00 mi 00000004 idi 00000000
[    2.858969] #sunxi_mmc_irq# DMA done
[    2.862624] sunxi-mci 1c0f000.mmc: req done, resp 400e0032 5b590000 3a477f80 
0a40000b
[    2.870503] mmc0: req done (CMD9): 0: 400e0032 5b590000 3a477f80 0a40000b
[    2.877390] mmc0: starting CMD7 arg 12340000 flags 00000015
[    2.883015] sunxi-mci 1c0f000.mmc: cmd 7(80000147) arg 12340000 ie 
0x0000bbc6 len 0
[    2.891029] #sunxi_mmc_irq#  REG_IDST=0,REG_MISTA=4
[    2.895825] sunxi-mci 1c0f000.mmc: irq: rq df0ade18 mi 00000004 idi 00000000
[    2.902923] #sunxi_mmc_irq# DMA done
[    2.906576] sunxi-mci 1c0f000.mmc: req done, resp 00000700 00000000 00000000 
00000000
[    2.914456] mmc0: req done (CMD7): 0: 00000700 00000000 00000000 00000000
[    2.921337] mmc0: starting CMD55 arg 12340000 flags 00000095
[    2.927028] sunxi-mci 1c0f000.mmc: cmd 55(80000177) arg 12340000 ie 
0x0000bbc6 len 0
[    2.935157] #sunxi_mmc_irq#  REG_IDST=0,REG_MISTA=4
[    2.939953] sunxi-mci 1c0f000.mmc: irq: rq df0add30 mi 00000004 idi 00000000
[    2.947052] #sunxi_mmc_irq# DMA done
[    2.950706] sunxi-mci 1c0f000.mmc: req done, resp 00000920 00000000 00000000 
00000000
[    2.958585] mmc0: req done (CMD55): 0: 00000920 00000000 00000000 00000000
[    2.965553] mmc0: starting CMD51 arg 00000000 flags 000000b5
[    2.971257] mmc0:     blksz 8 blocks 1 flags 00000200 tsac 100 ms nsac 0
[    2.978005] #sunxi_mmc_request# data is not null!
[    2.982786] #sunxi_mmc_init_idma_des:#  dma_address=5d8aa600
[    2.988507] sunxi-mci 1c0f000.mmc: cmd 51(80002373) arg 0 ie 0x0000bbca len 8
[    2.996583] #sunxi_mmc_irq#  REG_IDST=a000,REG_MISTA=808
[    3.001821] sunxi-mci 1c0f000.mmc: irq: rq df0addc4 mi 00000808 idi 0000a000
[    3.008910] #sunxi_mmc_irq# Don't wait for dma on error!!
[    3.014395] sunxi-mci 1c0f000.mmc: smc 0 err, cmd 51, RD FE !!
[    3.020277] sunxi-mci 1c0f000.mmc: req done, resp 00000000 00000000 00000000 
00000000
[    3.028155] sunxi-mci 1c0f000.mmc: data error, sending stop command
[    3.035267] sunxi-mci 1c0f000.mmc: send stop command failed
[    3.040762] mmc0: req done (CMD51): -110: 00000000 00000000 00000000 00000000
[    3.047954] mmc0:     0 bytes transferred: -110
[    3.052568] mmc0: error -110 whilst initialising SD card
[    3.057927] mmc0: clock 400000Hz busmode 1 powermode 2 cs 0 Vdd 21 width 0 
timing 0
[    3.065660] sunxi-mci 1c0f000.mmc: ios->clock: 400000
[    3.070763] sunxi-mci 1c0f000.mmc: clk already 400000, rounded 400000
[    3.132345] mmc0: starting CMD1 arg 00000000 flags 000000e1
[    3.137850] sunxi-mci 1c0f000.mmc: cmd 1(80000041) arg 0 ie 0x0000bbc6 len 0
[    3.145768] #sunxi_mmc_irq#  REG_IDST=0,REG_MISTA=104
[    3.150749] sunxi-mci 1c0f000.mmc: irq: rq df0ade50 mi 00000104 idi 00000000
[    3.157836] #sunxi_mmc_irq# Don't wait for dma on error!!
[    3.163325] sunxi-mci 1c0f000.mmc: smc 0 err, cmd 1, RTO !!
[    3.168947] sunxi-mci 1c0f000.mmc: req done, resp 00000000 00000000 00000000 
00000000
[    3.176822] mmc0: req done (CMD1): -110: 00000000 00000000 00000000 00000000
[    3.183952] mmc0: clock 0Hz busmode 1 powermode 0 cs 0 Vdd 0 width 0 timing 0
[    3.191141] sunxi-mci 1c0f000.mmc: power off!
[    4.188617] mmc0: mmc_rescan_try_freq: trying to init card at 400000 Hz
[    4.195160] mmc0: clock 0Hz busmode 2 powermode 1 cs 0 Vdd 21 width 0 timing 0
[    4.202461] #sunxi_mmc_irq#  REG_IDST=0,REG_MISTA=0
[    4.207370] sunxi-mci 1c0f000.mmc: irq: rq   (null) mi 00000000 idi 00000000
[    4.214500] sunxi-mci 1c0f000.mmc: power on!
[    4.238591] mmc0: clock 400000Hz busmode 2 powermode 2 cs 0 Vdd 21 width 0 
timing 0
[    4.246168] sunxi-mci 1c0f000.mmc: ios->clock: 400000
[    4.251296] sunxi-mci 1c0f000.mmc: clk already 400000, rounded 400000
[    4.328556] mmc0: starting CMD52 arg 00000c00 flags 00000195
[    4.334137] sunxi-mci 1c0f000.mmc: cmd 52(80000174) arg c00 ie 0x0000bbc6 
len 0
[   13.848599] clk: Not disabling unused clocks
[   13.856737] Freeing unused kernel memory: 2856K (c0930000 - c0bfa000)
/bin/ash: can't access tty; job control turned off
/ # 



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.