From owner-freebsd-stable@FreeBSD.ORG Fri Dec 20 11:19:27 2013 Return-Path: Delivered-To: freebsd-stable@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 8FE13D9D for ; Fri, 20 Dec 2013 11:19:27 +0000 (UTC) Received: from sender1.zohomail.com (sender1.zohomail.com [72.5.230.95]) by mx1.freebsd.org (Postfix) with ESMTP id 7162118C9 for ; Fri, 20 Dec 2013 11:19:27 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=zapps768; d=zoho.com; h=subject:from:to:cc:in-reply-to:references:content-type:date:message-id:mime-version; b=hcFsUZ6P6BREbB7Da0WAlj3PA3/PAKp2ZH0iTdnDE0UNE029tsttieJ5ozHI0ATx1HlaEPeu+3pZ CDs2g1g/3K7RiEdjB3KTCBd8KyPlaTmreid8VbkRasnYzvM+innT Received: from [192.168.11.5] (213.111.120.236 [213.111.120.236]) by mx.zohomail.com with SMTPS id 1387538333961427.499560713086; Fri, 20 Dec 2013 03:18:53 -0800 (PST) Subject: Re: Remove all legacy ATA code parts, Thu Apr 4, 7c2b81b0e97e507aa2b3b3fac77056edcdf18669 From: clutton To: John-Mark Gurney In-Reply-To: <20131219190707.GU99167@funkthat.com> References: <1387186669.2370.7.camel@eva02.mbsd> <1387228548.1944.15.camel@eva02.mbsd> <20131219190707.GU99167@funkthat.com> Content-Type: text/plain; charset="UTF-8" Date: Fri, 20 Dec 2013 13:18:42 +0200 Message-ID: <1387538322.8658.31.camel@eva02.mbsd> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: quoted-printable X-ZohoMail: Ss SS_10 UW UB ZCF-710TPL UW UB SGR3_1_26113_98 X-ZohoMail-Owner: <1387538322.8658.31.camel@eva02.mbsd>+zmo_0_ X-ZohoMail-Sender: 213.111.120.236 X-Zoho-Virus-Status: 2 Cc: freebsd-stable X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Dec 2013 11:19:27 -0000 On Thu, 2013-12-19 at 11:07 -0800, John-Mark Gurney wrote: > clutton wrote this message on Mon, Dec 16, 2013 at 23:15 +0200: > > On Mon, 2013-12-16 at 11:34 -0800, Adrian Chadd wrote: > > > On 16 December 2013 01:37, clutton wrote: > > > > Hi list. > > > > > > > > The commit message says: > > > > > > > > =C2=ABRemove all legacy ATA code parts, not used since options ATA_= CAM > > > > enabled in most kernels before FreeBSD 9.0. Remove such modules an= d > > > > respective kernel options: atadisk, ataraid, atapicd, atapifd, atap= ist, > > > > atapicam. Remove the atacontrol utility and some man pages. Remov= e > > > > useless now options ATA_CAM.=C2=BB > > > > > > > > Question: How am I suppose to use my PC Card HDD now? > > > > I used to use atadisk for this purpose before. > > >=20 > > > As long as it supports LBA, I think you'll be okay. > > >=20 > > > I noticed the CHS support is not quite .. correct. :( > >=20 > > Could you be more specific? I have a toshiba 2Gb pccard hdd. > > Of course it should support LBA! > > It doesn't appear as a device without the atadisk. > >=20 > > I used to mount this device from devd with those parameters >=20 > It should show up as a ada disk now... >=20 > If it isn't, please post a pciconf -lv and /var/run/dmesg.boot. >=20 > Thanks. So, it doesn't. I can see only my ssd as a ada disk. The device http://www.ebay.com/itm/TOSHIBA-5-GB-PC-CARD-HARD-DRIVE-TYPE-2-PCMCIA-/1112= 39699206?pt=3DUS_External_Hard_Disk_Drives&hash=3Ditem19e6671b06 http://www.ebay.com/itm/Toshiba-MK-2001MPL-2-GB-Internal-4200-RPM-HDD1212-H= ard-Drive-CASE-/301028910096?pt=3DUK_Computing_HardDrives_RL&hash=3Ditem461= 6b8a410 dmesg during boot: cbb0: mem 0xf8100000-0xf8100fff irq 16 at device 0.0 on pci21 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 the dmesg after insertion (sysctl hw.cbb.debug=3D1): cbb0: card inserted: event=3D0x00000000, state=3D30000810 cbb_pcic_socket_enable: cbb0: cbb_power: 3V pccard0: (manufacturer=3D0x0098, product=3D0x0000, function_type=3D4) at function 0 pccard0: CIS info: TOSHIBA, MK2001MPL=20 lspci: cbb0@pci0:21:0:0: class=3D0x060700 card=3D0x20c617aa chip=3D0x0476118= 0 rev=3D0xba hdr=3D0x02 vendor =3D 'Ricoh Co Ltd' device =3D 'RL5c476 II' class =3D bridge=20 subclass =3D PCI-CardBus I used to use sysctl hw.cbb.start_32_io=3D0x4000 systcl hw.cbb.start_memory=3D0xf4800000 kldload ataacard kldload atadisk Now: kldload atacard && dmesg: atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x1830-0x183f at device 31.1 on pci0 ata0: at channel 0 on atapci0 ata1: at channel 1 on atapci0 kldunload atacard && dmesg: ata0: detached ata1: detached atapci0: detached pci0: at device 31.1 (no driver attached) Any ideas?