Date: Wed, 17 Mar 2010 19:16:09 +0100 From: Olivier Smedts <olivier@gid0.org> To: Bruce Cran <bruce@cran.org.uk> Cc: freebsd-hackers@freebsd.org, Mohacsi Janos <mohacsi@niif.hu> Subject: Re: ATA 4K sector issues Message-ID: <367b2c981003171116v16aac3bds4758b997045306b7@mail.gmail.com> In-Reply-To: <201003171810.14087.bruce@cran.org.uk> References: <alpine.BSF.2.00.1003171114280.74067@mignon.ki.iif.hu> <201003171810.14087.bruce@cran.org.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
2010/3/17 Bruce Cran <bruce@cran.org.uk>: > On Wednesday 17 March 2010 10:16:16 Mohacsi Janos wrote: >> Dear FreeBSD hackers, >> =A0 =A0 =A0 What is the situation with ATA 4K dirves in FreeBSD? Are the= re any >> support for them in fdisk or disklabel? > > # mdconfig -a -f ddfile -S 4096 > md0 > # fdisk /dev/md0 > fdisk: could not detect sector size > # mdconfig -d -u 0 > # mdconfig -a -f ddfile -S 1024 > md0 > # fdisk /dev/md0 > ******* Working on device /dev/md0 ******* > parameters extracted from in-core disklabel are: > cylinders=3D130 heads=3D255 sectors/track=3D63 (16065 blks/cyl) > > parameters to be used for BIOS calculations are: > cylinders=3D130 heads=3D255 sectors/track=3D63 (16065 blks/cyl) > > fdisk: invalid fdisk partition table found > fdisk: /boot/mbr: length must be a multiple of sector size > > So it seems there's still work to do to get fdisk working, but I can't tr= y > gpart since I don't have a real disk. Why not on geom_md ? # mdconfig -a -f ddfile -S 4096 # gpart create -s gpt md0 # gpart list md0 Geom name: md0 fwheads: 32 fwsectors: 1 last: 25594 first: 6 entries: 128 scheme: GPT Consumers: 1. Name: md0 Mediasize: 104857600 (100M) Sectorsize: 4096 Mode: r0w0e0 Same results with MBR scheme. > > -- > Bruce Cran > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org= " > --=20 Olivier Smedts _ ASCII ribbon campaign ( ) e-mail: olivier@gid0.org - against HTML email & vCards X www: http://www.gid0.org - against proprietary attachments / \ "Il y a seulement 10 sortes de gens dans le monde : ceux qui comprennent le binaire, et ceux qui ne le comprennent pas."
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?367b2c981003171116v16aac3bds4758b997045306b7>