Date: Fri, 20 Dec 2013 13:18:42 +0200 From: clutton <clutton@zoho.com> To: John-Mark Gurney <jmg@funkthat.com> Cc: freebsd-stable <freebsd-stable@freebsd.org> Subject: Re: Remove all legacy ATA code parts, Thu Apr 4, 7c2b81b0e97e507aa2b3b3fac77056edcdf18669 Message-ID: <1387538322.8658.31.camel@eva02.mbsd> In-Reply-To: <20131219190707.GU99167@funkthat.com> References: <1387186669.2370.7.camel@eva02.mbsd> <CAJ-VmomeLGR6M4EvQSrX9JS37Hw79yCgZYSdEHzZkSVk-4_ZyA@mail.gmail.com> <1387228548.1944.15.camel@eva02.mbsd> <20131219190707.GU99167@funkthat.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <clutton@zoho.com> 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: <RF5C476 PCI-CardBus Bridge> mem 0xf8100000-0xf8100fff irq 16 at device 0.0 on pci21 cardbus0: <CardBus bus> 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: <unknown card> (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: <Intel ATA controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x1830-0x183f at device 31.1 on pci0 ata0: <ATA channel> at channel 0 on atapci0 ata1: <ATA channel> at channel 1 on atapci0 kldunload atacard && dmesg: ata0: detached ata1: detached atapci0: detached pci0: <mass storage, ATA> at device 31.1 (no driver attached) Any ideas?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1387538322.8658.31.camel>