From owner-freebsd-arm@FreeBSD.ORG Wed Nov 13 00:04:49 2013 Return-Path: Delivered-To: freebsd-arm@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 76BDDB34 for ; Wed, 13 Nov 2013 00:04:49 +0000 (UTC) Received: from mho-02-ewr.mailhop.org (mho-02-ewr.mailhop.org [204.13.248.72]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 3B33822FD for ; Wed, 13 Nov 2013 00:04:48 +0000 (UTC) Received: from c-24-8-230-52.hsd1.co.comcast.net ([24.8.230.52] helo=damnhippie.dyndns.org) by mho-02-ewr.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1VgNwt-0003ZJ-NZ; Wed, 13 Nov 2013 00:04:47 +0000 Received: from [172.22.42.240] (revolution.hippie.lan [172.22.42.240]) by damnhippie.dyndns.org (8.14.3/8.14.3) with ESMTP id rAD04itl071338; Tue, 12 Nov 2013 17:04:44 -0700 (MST) (envelope-from ian@FreeBSD.org) X-Mail-Handler: Dyn Standard SMTP by Dyn X-Originating-IP: 24.8.230.52 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX19M6dFcDeCIcjpcer6D8LT5 Subject: Re: E-sata drive not detected on Kirkwood 88F6281 SoC (Sheevaplug) on FreeBSD 10/BETA3 From: Ian Lepore To: =?iso-8859-2?Q?=A3ukasz?= Jakub Siemiradzki In-Reply-To: <52828332.8070603@siemiradzcy.pl> References: <52828332.8070603@siemiradzcy.pl> Content-Type: text/plain; charset="iso-8859-2" Date: Tue, 12 Nov 2013 17:04:44 -0700 Message-ID: <1384301084.31172.354.camel@revolution.hippie.lan> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by damnhippie.dyndns.org id rAD04itl071338 Cc: freebsd-arm@FreeBSD.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Nov 2013 00:04:49 -0000 On Tue, 2013-11-12 at 20:36 +0100, =A3ukasz Jakub Siemiradzki wrote: > Hello group! > I hope you could help me with the problem I'm trying to solve. I'm=20 > having a problem with e-sata drive on FreeBSD 10/BETA3 on Kirkwood=20 > 88F6281 SoC (aka Sheevaplug) - it is not detected during boot. > It was working fine for FreeBSD 8.2. I know that there were (at least)=20 > two important changes for ATA stack which may be the reason, that this=20 > changes on 20110424 and on 20130404. > However my understanding was that compiling into the kernel mvs and ada= =20 > will fix the problem. > As I understand from the manpage mvs should also support my controller:= =20 > 88F6281 SoC, but I cannot see it: > # camcontrol devlist > at scbus0 target 0 lun 0 (pass0,da0) > Would you be able to suggest me what else I can check? >=20 > Below my kernel config: >=20 > # > # Custom kernel for Marvell SheevaPlug devices. > # > # $FreeBSD: stable/10/sys/arm/conf/SHEEVAPLUG 253845 2013-07-31 17:21:1= 8Z obrien $ > # >=20 > ident SHEEVAPLUG > include "../mv/kirkwood/std.db88f6xxx" >=20 > options SOC_MV_KIRKWOOD > makeoptions MODULES_OVERRIDE=3D"" >=20 > #makeoptions DEBUG=3D-g #Build kernel with gdb(1) debug symbols > makeoptions WERROR=3D"-Werror" >=20 > options SCHED_4BSD #4BSD scheduler > options INET #InterNETworking > options INET6 #IPv6 communications protocols > options FFS #Berkeley Fast Filesystem > options NANDFS #NAND Filesystem > options NFSCL #New Network Filesystem Client > options NFSLOCKD #Network Lock Manager > #options NFS_ROOT #NFS usable as /, requires NFSCL > #options BOOTP > #options BOOTP_NFSROOT > #options BOOTP_NFSV3 > #options BOOTP_WIRED_TO=3Dmge0 >=20 > # Root fs on USB device > #options ROOTDEVNAME=3D\"ufs:/dev/da0a\" > #options ROOTDEVNAME=3D\"ufs:/dev/da1s1a\" > #options ROOTDEVNAME=3D\"ufs:/dev/da1p10\" > #options ROOTDEVNAME=3D\"ufs:/dev/ad2d2\" > options ROOTDEVNAME=3D\"nandfs:/dev/gnand0s.root\" >=20 >=20 > options SYSVSHM #SYSV-style shared memory > options SYSVMSG #SYSV-style message queues > options SYSVSEM #SYSV-style semaphores > options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensio= ns > options MUTEX_NOINLINE > options RWLOCK_NOINLINE > options NO_FFS_SNAPSHOT > options NO_SWAPPING >=20 > # Debugging > options ALT_BREAK_TO_DEBUGGER > options DDB > options KDB >=20 > # Pseudo devices > device random > device loop >=20 > # Serial ports > device uart >=20 > # Networking > device ether > device mge # Marvell Gigabit Ethernet controller > device mii > device e1000phy > device bpf > options HZ=3D1000 > options DEVICE_POLLING > device vlan >=20 > device cesa # Marvell security engine > device crypto > device cryptodev >=20 > # USB > options USB_DEBUG # enable debug msgs > device usb > device ehci > device umass > device scbus > device pass > device da >=20 > # NAND > device nand >=20 > # NAND sim > options ALQ > device nandsim >=20 > # Flattened Device Tree > options FDT > options FDT_DTB_STATIC > makeoptions FDT_DTS_FILE=3Dsheevaplug.dts >=20 > device md > device mvs > device ada >=20 > device pf > device pflog >=20 > options MSDOSFS > options GEOM_PART_GPT >=20 >=20 > Here is the full output of the boot sequence: >=20 > [snip] I think you need "device ahci" instead of "device ada". I use the eSata on my dreamplug, using stock kernel config, and it works great, so if adding ahci doesn't fix yours, look for other differences between your kernel config and arm/conf/DREAMPLUG-1001 -- Ian