Date: Thu, 26 Sep 2013 08:31:36 -0400 From: Randall Stewart <rrs@lakerest.net> To: Fabien Thomas <fabient@freebsd.org> Cc: freebsd-arm@freebsd.org Subject: Re: FreeBSD 9.2 ARM dma bug Message-ID: <85242180-A39F-49BB-B726-752D2F8F9B1F@lakerest.net> In-Reply-To: <8B549CBC-A933-460B-8EB7-DD6019757492@freebsd.org> References: <7BA67ED8-2F3C-4B9F-8816-2D294A973CAF@freebsd.org> <8B549CBC-A933-460B-8EB7-DD6019757492@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Fabien: Hmm, I am not sure whats different but I have a DreamPlug with a kirkwood and I have it up now without an issue. Of course I am using Head not 9.2 You might want to take a look at the changes in the arm/mv directory between head and 9.2 and see if there is anything you can back-port (if you don't want to run head/10.0) R On Sep 26, 2013, at 4:39 AM, Fabien Thomas wrote: > Hi, >=20 > I've been trying to boot a recent FreeBSD 9.2 on kirkwood but it seems = that dma code is broken. > Is there a known problem on this? >=20 > I've found that r251874 seems to introduce the problem. >=20 > Fabien >=20 >=20 > Failed boot (the error message is about number of segment but in fact = the dma subsystem return EFBIG): >=20 > Copyright (c) 1992-2013 The FreeBSD Project. > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, = 1994 > The Regents of the University of California. All rights = reserved. > FreeBSD is a registered trademark of The FreeBSD Foundation. > FreeBSD 9.1-STABLE #23 r251874+3a840b9-dirty: Wed Sep 11 12:21:33 CEST = 2013 > = fabient@refbench:/home/fabient/obj/arm.arm/data/usr/home/fabient/fabient-f= reebsd/sys/X10 arm > gcc version 4.2.1 20070831 patched [FreeBSD] > WARNING: WITNESS option enabled, expect reduced performance. > WARNING: DIAGNOSTIC option enabled, expect reduced performance. > CPU: Feroceon 88FR131 rev 1 (Marvell core) > DC enabled IC enabled WB enabled EABT branch prediction enabled > 16KB/32B 4-way Instruction cache > 16KB/32B 4-way write-back-locking-C Data cache > real memory =3D 536870912 (512 MB) > avail memory =3D 516317184 (492 MB) > SOC: Marvell 88F6281 rev A1, TClock 200MHz > simplebus0: <Flattened device tree simple bus> on fdtbus0 > ic0: <Marvell Integrated Interrupt Controller> mem = 0xf1020200-0xf102023b on simplebus0 > timer0: <Marvell CPU Timer> mem 0xf1020300-0xf102032f irq 1 on = simplebus0 > Event timer "CPUTimer0" frequency 200000000 Hz quality 1000 > Timecounter "CPUTimer1" frequency 200000000 Hz quality 1000 > gpio0: <Marvell Integrated GPIO Controller> mem 0xf1010100-0xf101011f = irq 35,36,37,38,39,40,41 on simplebus0 > device_attach: gpio0 attach returned 6 > gpio0: <Marvell Integrated GPIO Controller> on simplebus0 > simplebus0: no default resources for rid =3D 0, type =3D 3 > gpio0: could not allocate resources > device_attach: gpio0 attach returned 6 > rtc0: <Marvell Integrated RTC> mem 0xf1010300-0xf1010307 on simplebus0 > twsi0: <Marvell Integrated I2C Bus Controller> mem = 0xf1011000-0xf101101f irq 43 on simplebus0 > iicbus0: <Philips I2C bus> on twsi0 > iic0: <I2C generic I/O> on iicbus0 > iicbus0: <unknown card> at addr 0 > mge0: <Marvell Gigabit Ethernet controller> mem 0xf1072000-0xf1073fff = irq 12,13,14,11,46 on simplebus0 > panic: wrong number of segments, should be 1 > KDB: enter: panic > [ thread pid 0 tid 100000 ] > Stopped at $d: ldrb r15, [r15, r15, ror r15]! >=20 > db> bt > Tracing pid 0 tid 100000 td 0xc0cab420 > kdb_enter() at kdb_enter+0x14 > scp=3D0xc0a0cebc rlv=3D0xc09dc73c (panic+0x128) > rsp=3D0xc0f32b2c rfp=3D0xc0f32b40 > r5=3D0xc0cba8cc r4=3D0x00000100 > panic() at panic+0x18 > scp=3D0xc09dc62c rlv=3D0xc0bc7914 ($d) > rsp=3D0xc0f32b54 rfp=3D0xc0f32b60 > mge_get_dma_addr() at mge_get_dma_addr+0x18 > scp=3D0xc0bc7908 rlv=3D0xc0a094ec (bus_dmamap_load+0x100) > rsp=3D0xc0f32b64 rfp=3D0xc0f32bc4 > bus_dmamap_load() at bus_dmamap_load+0x10 > scp=3D0xc0a093fc rlv=3D0xc0bc8fe8 (mge_alloc_desc_dma+0x7c) > rsp=3D0xc0f32bc8 rfp=3D0xc0f32c24 > r10=3D0x00000100 r9=3D0x00001000 > r8=3D0x00000000 r7=3D0x00000000 r6=3D0xc3853000 r5=3D0x000000ff > r4=3D0xc38544cc > mge_alloc_desc_dma() at mge_alloc_desc_dma+0x10 > scp=3D0xc0bc8f7c rlv=3D0xc0bc9528 (mge_attach+0x284) > rsp=3D0xc0f32c28 rfp=3D0xc0f32cac > _______________________________________________ > freebsd-arm@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" >=20 ------------------------------ Randall Stewart 803-317-4952 (cell)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?85242180-A39F-49BB-B726-752D2F8F9B1F>