Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Nov 2013 17:04:44 -0700
From:      Ian Lepore <ian@FreeBSD.org>
To:        =?iso-8859-2?Q?=A3ukasz?= Jakub Siemiradzki <lukasz@siemiradzcy.pl>
Cc:        freebsd-arm@FreeBSD.org
Subject:   Re: E-sata drive not detected on  Kirkwood 88F6281 SoC (Sheevaplug) on FreeBSD 10/BETA3
Message-ID:  <1384301084.31172.354.camel@revolution.hippie.lan>
In-Reply-To: <52828332.8070603@siemiradzcy.pl>
References:  <52828332.8070603@siemiradzcy.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
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
> <Verbatim STORE N GO 1.00>         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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1384301084.31172.354.camel>