Re: Switch from legacy ata(4) to CAM-based ATA

2011-05-06 Thread Alexander Motin
Sergey Kandaurov wrote: > On 6 May 2011 12:33, Alexander Motin wrote: >> Sergey Kandaurov wrote: >>> XENHVM uses it's own naming scheme and can name disks as daN or adN, >>> depending on virtual block device id. atapci0/ata0/ata1 devices still >>> present >>> there (such as in Bruce Cran's dmesg)

Re: Switch from legacy ata(4) to CAM-based ATA

2011-05-06 Thread Sergey Kandaurov
On 6 May 2011 12:33, Alexander Motin wrote: > Sergey Kandaurov wrote: >> XENHVM uses it's own naming scheme and can name disks as daN or adN, >> depending on virtual block device id. atapci0/ata0/ata1 devices still present >> there (such as in Bruce Cran's dmesg), but no any disks attached from it

Re: Switch from legacy ata(4) to CAM-based ATA

2011-05-06 Thread Alexander Motin
Sergey Kandaurov wrote: > XENHVM uses it's own naming scheme and can name disks as daN or adN, > depending on virtual block device id. atapci0/ata0/ata1 devices still present > there (such as in Bruce Cran's dmesg), but no any disks attached from it: > instead, all of them hung from device/vbd/N. >

Re: Switch from legacy ata(4) to CAM-based ATA

2011-05-05 Thread Sergey Kandaurov
2011/4/20 Alexander Motin : > Hi. > > With 9.0 release approaching quickly, I believe it the best time now to > manage migration from legacy ata(4) ATA to the new CAM-based one. New > ATA code present in the tree for more then a year now, used by many > people and proved it's superior functionality

Re: Old ATA disk names emulation [Was: Switch from legacy ata(4) to CAM-based ATA]

2011-04-26 Thread Alexander Motin
Arnaud Lacombe wrote: > Hi, > > 2011/4/25 Alexander Motin : >> Kostik Belousov wrote: >>> On Mon, Apr 25, 2011 at 03:26:02PM +0300, Alexander Motin wrote: Andrey V. Elsukov wrote: > On 25.04.2011 14:23, Alexander Motin wrote: >> What will not work: >> - old device names won't be

Re: Old ATA disk names emulation [Was: Switch from legacy ata(4) to CAM-based ATA]

2011-04-26 Thread Arnaud Lacombe
Hi, 2011/4/25 Alexander Motin : > Kostik Belousov wrote: >> On Mon, Apr 25, 2011 at 03:26:02PM +0300, Alexander Motin wrote: >>> Andrey V. Elsukov wrote: On 25.04.2011 14:23, Alexander Motin wrote: > What will not work: >  - old device names won't be seen inside GEOM, so users who har

Re: Old ATA disk names emulation [Was: Switch from legacy ata(4) to CAM-based ATA]

2011-04-25 Thread Alexander Motin
Kostik Belousov wrote: > [Cc: list trimmed] > > On Mon, Apr 25, 2011 at 05:38:11PM +0300, Alexander Motin wrote: >> Kostik Belousov wrote: >>> On Mon, Apr 25, 2011 at 03:26:02PM +0300, Alexander Motin wrote: Andrey V. Elsukov wrote: > On 25.04.2011 14:23, Alexander Motin wrote: >> Wha

Re: Old ATA disk names emulation [Was: Switch from legacy ata(4) to CAM-based ATA]

2011-04-25 Thread Kostik Belousov
[Cc: list trimmed] On Mon, Apr 25, 2011 at 05:38:11PM +0300, Alexander Motin wrote: > Kostik Belousov wrote: > > On Mon, Apr 25, 2011 at 03:26:02PM +0300, Alexander Motin wrote: > >> Andrey V. Elsukov wrote: > >>> On 25.04.2011 14:23, Alexander Motin wrote: > What will not work: > - old

Re: Old ATA disk names emulation [Was: Switch from legacy ata(4) to CAM-based ATA]

2011-04-25 Thread Alexander Motin
Kostik Belousov wrote: > On Mon, Apr 25, 2011 at 03:26:02PM +0300, Alexander Motin wrote: >> Andrey V. Elsukov wrote: >>> On 25.04.2011 14:23, Alexander Motin wrote: What will not work: - old device names won't be seen inside GEOM, so users who hardcoded provider names in gmirror/gs

Re: Old ATA disk names emulation [Was: Switch from legacy ata(4) to CAM-based ATA]

2011-04-25 Thread Kostik Belousov
On Mon, Apr 25, 2011 at 03:26:02PM +0300, Alexander Motin wrote: > Andrey V. Elsukov wrote: > > On 25.04.2011 14:23, Alexander Motin wrote: > >> What will not work: > >> - old device names won't be seen inside GEOM, so users who hardcoded > >> provider names in gmirror/gstripe/... metadata (not th

Re: Old ATA disk names emulation [Was: Switch from legacy ata(4) to CAM-based ATA]

2011-04-25 Thread Alexander Motin
Marius Strobl wrote: > On Mon, Apr 25, 2011 at 01:23:37PM +0300, Alexander Motin wrote: >> I've implemented following patch to keep basic compatibility for the >> migrating users. I don't like such hacky things, but at least I tried to >> make it less invasive. >> >> The idea: >> - New xpt_path_le

Re: Switch from legacy ata(4) to CAM-based ATA

2011-04-25 Thread Anton Yuzhaninov
On Wed, 20 Apr 2011 12:57:47 +0300, Alexander Motin wrote: AM> If somebody has any problems with new ATA stack, please repeat your AM> tests with latest HEAD code and contact me if problem is still there. AM> Next three weeks before BSDCan I am going to dedicate to fixing possibly AM> remaining iss

Re: Old ATA disk names emulation [Was: Switch from legacy ata(4) to CAM-based ATA]

2011-04-25 Thread Alexander Motin
Andrey V. Elsukov wrote: > On 25.04.2011 14:23, Alexander Motin wrote: >> What will not work: >> - old device names won't be seen inside GEOM, so users who hardcoded >> provider names in gmirror/gstripe/... metadata (not the default >> behavior) are still in trouble. >> - patch mimics ATA_STATIC_

Re: Old ATA disk names emulation [Was: Switch from legacy ata(4) to CAM-based ATA]

2011-04-25 Thread Marius Strobl
On Mon, Apr 25, 2011 at 01:23:37PM +0300, Alexander Motin wrote: > Hi. > > I've implemented following patch to keep basic compatibility for the > migrating users. I don't like such hacky things, but at least I tried to > make it less invasive. > > The idea: > - New xpt_path_legacy_ata_id() funct

Re: Old ATA disk names emulation [Was: Switch from legacy ata(4) to CAM-based ATA]

2011-04-25 Thread Andrey V. Elsukov
On 25.04.2011 14:23, Alexander Motin wrote: > What will not work: > - old device names won't be seen inside GEOM, so users who hardcoded > provider names in gmirror/gstripe/... metadata (not the default > behavior) are still in trouble. > - patch mimics ATA_STATIC_ID behavior, if user had custom

Old ATA disk names emulation [Was: Switch from legacy ata(4) to CAM-based ATA]

2011-04-25 Thread Alexander Motin
Hi. I've implemented following patch to keep basic compatibility for the migrating users. I don't like such hacky things, but at least I tried to make it less invasive. The idea: - New xpt_path_legacy_ata_id() function in CAM tries to predict bus unit number and then device unit number for speci

Re: Switch from legacy ata(4) to CAM-based ATA

2011-04-24 Thread Arnaud Lacombe
Hi, On Thu, Apr 21, 2011 at 3:51 AM, Bjoern A. Zeeb wrote: > [...] > > I agree that we need to catch up with something but we should have done so a > year ago. > > a) we MUST HAVE a transition scheme if we cam-base ATA by default. Something > that converts things automatically to whatever?  Tha

Re: Switch from legacy ata(4) to CAM-based ATA

2011-04-24 Thread Arnaud Lacombe
Hi, On Sun, Apr 24, 2011 at 5:04 AM, Alexander Motin wrote: > Patch committed. Welcome to the new world! :) > What transition plan do you provide ? Drop in single-user-mode and fix /etc/fstab ? Forbid anybody without ATA_CAM in their 8.x config to be able to switch between 8 and 9 ? Thanks, - A

Re: Switch from legacy ata(4) to CAM-based ATA

2011-04-24 Thread Adam Vande More
On Sun, Apr 24, 2011 at 1:54 PM, Scott Long wrote: > Indeed, there's nothing wrong with preserving access to the system details > for the use of administration, troubleshooting, and even mere geeky > knowledge. This isn't about taking power away from the superusers, it's > about making the syste

Re: Switch from legacy ata(4) to CAM-based ATA

2011-04-24 Thread Scott Long
On Apr 23, 2011, at 10:36 AM, sth...@nethelp.no wrote: >> In other words, "ada" isn't the problem here, it's that we all still think >> in terms of the 1980's when systems didn't autoconfigure and device names >> were important hints to system functionality. That time has thankfully >> passed,

Re: Switch from legacy ata(4) to CAM-based ATA

2011-04-24 Thread Alexander Motin
On 21.04.2011 13:26, Alexander Motin wrote: Marius Strobl wrote: On Wed, Apr 20, 2011 at 12:57:47PM +0300, Alexander Motin wrote: With 9.0 release approaching quickly, I believe it the best time now to manage migration from legacy ata(4) ATA to the new CAM-based one. New ATA code present in the

Re: Switch from legacy ata(4) to CAM-based ATA

2011-04-23 Thread sthaug
> In other words, "ada" isn't the problem here, it's that we all still think in > terms of the 1980's when systems didn't autoconfigure and device names were > important hints to system functionality. That time has thankfully passed, > and it's time for us to catch up. If this is important for

Re: Devices numbering [Was Re: Switch from legacy ata(4) to CAM-based ATA]

2011-04-21 Thread Daniel Eischen
On Thu, 21 Apr 2011, Arnaud Lacombe wrote: Hi, On Thu, Apr 21, 2011 at 1:31 PM, Garrett Cooper wrote: Although this may not be a list of fixable issues, here are some observations (in part with the new geom raid infrastructure): 1. Channels are no longer fixed of course because ata uses cam

Re: Devices numbering [Was Re: Switch from legacy ata(4) to CAM-based ATA]

2011-04-21 Thread Garrett Cooper
On Apr 21, 2011, at 10:48 AM, Arnaud Lacombe wrote: > Hi, > > On Thu, Apr 21, 2011 at 1:31 PM, Garrett Cooper wrote: >> Although this may not be a list of fixable issues, here are some >> observations (in part with the new geom raid infrastructure): >> 1. Channels are no longer fixed of course

Re: Switch from legacy ata(4) to CAM-based ATA

2011-04-21 Thread Marius Strobl
On Thu, Apr 21, 2011 at 01:26:25PM +0300, Alexander Motin wrote: > Marius Strobl wrote: > > On Wed, Apr 20, 2011 at 12:57:47PM +0300, Alexander Motin wrote: > >> With 9.0 release approaching quickly, I believe it the best time now to > >> manage migration from legacy ata(4) ATA to the new CAM-based

Re: Switch from legacy ata(4) to CAM-based ATA

2011-04-21 Thread Kevin Oberman
> Date: Thu, 21 Apr 2011 01:37:14 -0400 > From: Arnaud Lacombe > Sender: owner-freebsd-curr...@freebsd.org > > Hi, > > On Wed, Apr 20, 2011 at 10:26 PM, Benjamin Kaduk wrote: > > On Wed, 20 Apr 2011, Arnaud Lacombe wrote: > > > >> Hi, > >> > >> On Wed, Apr 20, 2011 at 9:17 PM, Warren Block wro

Re: Switch from legacy ata(4) to CAM-based ATA

2011-04-21 Thread Lev Serebryakov
Hello, Warren. You wrote 21 апреля 2011 г., 3:01:59: > Not sure I understand the question. I have a little article called > FreeBSD Labeled Filesystems: > http://www.wonkity.com/~wblock/docs/html/labels.html This article says nothing about what should I do when gmirror tastes after glabel (and

Re: Switch from legacy ata(4) to CAM-based ATA

2011-04-21 Thread Lev Serebryakov
Hello, Ted. You wrote 21 апреля 2011 г., 20:18:15: >> When I first saw this on linux my gut reaction was "e, >> different." But now that I've worked with it a bit, I really like >> it. Doing this by default in 9.0 would be a really useful step >> forward, and would allow greater innovation dow

Devices numbering [Was Re: Switch from legacy ata(4) to CAM-based ATA]

2011-04-21 Thread Arnaud Lacombe
Hi, On Thu, Apr 21, 2011 at 1:31 PM, Garrett Cooper wrote: > Although this may not be a list of fixable issues, here are some observations > (in part with the new geom raid infrastructure): > 1. Channels are no longer fixed of course because ata uses cam now, and I > believe that device numberi

Re: Switch from legacy ata(4) to CAM-based ATA

2011-04-21 Thread Garrett Cooper
On Apr 20, 2011, at 2:57 AM, Alexander Motin wrote: > Hi. > > With 9.0 release approaching quickly, I believe it the best time now to > manage migration from legacy ata(4) ATA to the new CAM-based one. New > ATA code present in the tree for more then a year now, used by many > people and proved

Re: Switch from legacy ata(4) to CAM-based ATA

2011-04-21 Thread George Kontostanos
I also think that labeling disks & partitions should be the default approach on new installations. I wonder why the new bsdinstaller does not adopt this policy yet. It is practical, easy and saves a lot of hassles when it comes to disk replacements. On Thu, Apr 21, 2011 at 7:18 PM, Ted Faber wrot

Re: Switch from legacy ata(4) to CAM-based ATA

2011-04-21 Thread Freddie Cash
On Thu, Apr 21, 2011 at 9:18 AM, Ted Faber wrote: > I seem to recall some flakiness with mounting labelled gmirrors.  Anyone > know if that's been resolved? Purely anecdotal, but we've been using gmirror on top of glabel since FreeBSD 7.0. First on CompactFlash disks using CF-to-IDE adapters (at

Re: Switch from legacy ata(4) to CAM-based ATA

2011-04-21 Thread Ted Faber
On Wed, Apr 20, 2011 at 03:35:38PM -0700, Doug Barton wrote: > On 04/20/2011 15:18, Scott Long wrote: > >I agree with what Alexander is saying, but I'd like to take it a step > >further. We should all be using [...] mount-by-label > > +1 > > When I first saw this on linux my gut reaction was "e

Re: Switch from legacy ata(4) to CAM-based ATA

2011-04-21 Thread Nathan Whitehorn
On 04/21/11 02:51, Bjoern A. Zeeb wrote: On Apr 20, 2011, at 10:18 PM, Scott Long wrote: On Apr 20, 2011, at 2:50 PM, Alexander Motin wrote: Ulrich Spörlein wrote: [...] b) FYI: labels and stacked geoms do not work well together as you can never detach providers cleanly then, which basical

Re: Switch from legacy ata(4) to CAM-based ATA

2011-04-21 Thread Daniel Braniss
> Daniel Braniss wrote: > >> Bruce Cran wrote: > >>> On Wed, 20 Apr 2011 12:57:47 +0300 > >>> Alexander Motin wrote: > >>> > If somebody has any problems with new ATA stack, please repeat your > tests with latest HEAD code and contact me if problem is still there. > Next three weeks

Re: Switch from legacy ata(4) to CAM-based ATA

2011-04-21 Thread Graham Todd
On 04/20/2011 05:57, Alexander Motin wrote: Hi. With 9.0 release approaching quickly, I believe it the best time now to manage migration from legacy ata(4) ATA to the new CAM-based one. New ATA code present in the tree for more then a year now, used by many people and proved it's superior functi

Re: Switch from legacy ata(4) to CAM-based ATA

2011-04-21 Thread George Kontostanos
My mistake! Everything back to normal thanks and very nice work. On Thu, Apr 21, 2011 at 3:41 PM, Alexander Motin wrote: > George Kontostanos wrote: > > First patch seemed to work fine. > > > > Second however, > > It was unrelated breakage related to WiFi MIMO support. Already fixed. > > -- > Al

Re: Switch from legacy ata(4) to CAM-based ATA

2011-04-21 Thread Alexander Motin
George Kontostanos wrote: > First patch seemed to work fine. > > Second however, It was unrelated breakage related to WiFi MIMO support. Already fixed. -- Alexander Motin ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/li

Re: Switch from legacy ata(4) to CAM-based ATA

2011-04-21 Thread George Kontostanos
First patch seemed to work fine. Second however, ===> mwl (all) cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/sys/GENERIC/opt_global.h -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --

Re: Switch from legacy ata(4) to CAM-based ATA

2011-04-21 Thread Kostik Belousov
On Wed, Apr 20, 2011 at 04:35:58PM -0700, Matthew Jacob wrote: > > > On Wed, 20 Apr 2011, Scott Long wrote: > >... > > > >I agree with what Alexander is saying, but I'd like to take it a step > >further. We should all be using either mount-by-label, or be working to > >introduce generic device

Re: Switch from legacy ata(4) to CAM-based ATA

2011-04-21 Thread Alexander Motin
Daniel Braniss wrote: >> Bruce Cran wrote: >>> On Wed, 20 Apr 2011 12:57:47 +0300 >>> Alexander Motin wrote: >>> If somebody has any problems with new ATA stack, please repeat your tests with latest HEAD code and contact me if problem is still there. Next three weeks before BSDCan I

Re: Switch from legacy ata(4) to CAM-based ATA

2011-04-21 Thread Alexander Motin
Marius Strobl wrote: > On Wed, Apr 20, 2011 at 12:57:47PM +0300, Alexander Motin wrote: >> With 9.0 release approaching quickly, I believe it the best time now to >> manage migration from legacy ata(4) ATA to the new CAM-based one. New >> ATA code present in the tree for more then a year now, used

Re: Switch from legacy ata(4) to CAM-based ATA

2011-04-21 Thread Bruce Cran
On Thu, 21 Apr 2011 07:51:56 + "Bjoern A. Zeeb" wrote: > a) we MUST HAVE a transition scheme if we cam-base ATA by default. > Something that converts things automatically to whatever? That's not > been done in more than one year. It's not acceptable to update, > reboot and not find the root

Re: Switch from legacy ata(4) to CAM-based ATA

2011-04-21 Thread Bjoern A. Zeeb
On Apr 20, 2011, at 10:18 PM, Scott Long wrote: > On Apr 20, 2011, at 2:50 PM, Alexander Motin wrote: >> Ulrich Spörlein wrote: >>> Can we then please get the "ad" device prefix back? I seem to remember >>> that when they were introduced they were thought to be a temporary thing >>> ... >>> >>> U

Re: Switch from legacy ata(4) to CAM-based ATA

2011-04-20 Thread Arnaud Lacombe
Hi, On Wed, Apr 20, 2011 at 10:26 PM, Benjamin Kaduk wrote: > On Wed, 20 Apr 2011, Arnaud Lacombe wrote: > >> Hi, >> >> On Wed, Apr 20, 2011 at 9:17 PM, Warren Block wrote: >>> >>> On Wed, 20 Apr 2011, Arnaud Lacombe wrote: >>> On Wed, Apr 20, 2011 at 6:38 PM, Garrett Cooper wrote: >>

Re: Switch from legacy ata(4) to CAM-based ATA

2011-04-20 Thread J. Hellenthal
On Wed, Apr 20, 2011 at 10:30:33PM -0400, Mehmet Erol Sanliturk wrote: >On Wed, Apr 20, 2011 at 6:18 PM, Scott Long wrote: > >> On Apr 20, 2011, at 2:50 PM, Alexander Motin wrote: >> > Ulrich Spörlein wrote: >> >> Can we then please get the "ad" device prefix back? I seem to remember >> >> that wh

Re: Switch from legacy ata(4) to CAM-based ATA

2011-04-20 Thread Mehmet Erol Sanliturk
On Wed, Apr 20, 2011 at 7:01 PM, Warren Block wrote: > On Wed, 20 Apr 2011, Doug Barton wrote: > > On 04/20/2011 15:18, Scott Long wrote: >> >>> I agree with what Alexander is saying, but I'd like to take it a step >>> further. We should all be using [...] mount-by-label >>> >> >> +1 >> >> When

Re: Switch from legacy ata(4) to CAM-based ATA

2011-04-20 Thread Mehmet Erol Sanliturk
On Wed, Apr 20, 2011 at 6:35 PM, Doug Barton wrote: > On 04/20/2011 15:18, Scott Long wrote: > >> I agree with what Alexander is saying, but I'd like to take it a step >> further. We should all be using [...] mount-by-label >> > > +1 > > When I first saw this on linux my gut reaction was "e,

Re: Switch from legacy ata(4) to CAM-based ATA

2011-04-20 Thread Mehmet Erol Sanliturk
On Wed, Apr 20, 2011 at 6:18 PM, Scott Long wrote: > On Apr 20, 2011, at 2:50 PM, Alexander Motin wrote: > > Ulrich Spörlein wrote: > >> Can we then please get the "ad" device prefix back? I seem to remember > >> that when they were introduced they were thought to be a temporary thing > >> ... >

Re: Switch from legacy ata(4) to CAM-based ATA

2011-04-20 Thread Benjamin Kaduk
On Wed, 20 Apr 2011, Arnaud Lacombe wrote: Hi, On Wed, Apr 20, 2011 at 9:17 PM, Warren Block wrote: On Wed, 20 Apr 2011, Arnaud Lacombe wrote: On Wed, Apr 20, 2011 at 6:38 PM, Garrett Cooper wrote: On Wed, Apr 20, 2011 at 3:35 PM, Doug Barton wrote: glabel create /dev/ Just tested t

Re: Switch from legacy ata(4) to CAM-based ATA

2011-04-20 Thread Arnaud Lacombe
Hi, On Wed, Apr 20, 2011 at 9:17 PM, Warren Block wrote: > On Wed, 20 Apr 2011, Arnaud Lacombe wrote: > >> On Wed, Apr 20, 2011 at 6:38 PM, Garrett Cooper >> wrote: >>> >>> On Wed, Apr 20, 2011 at 3:35 PM, Doug Barton wrote: >>> >>> glabel create /dev/ >> >> Just tested that with a kernel from

Re: Switch from legacy ata(4) to CAM-based ATA

2011-04-20 Thread Warren Block
On Wed, 20 Apr 2011, Arnaud Lacombe wrote: On Wed, Apr 20, 2011 at 6:38 PM, Garrett Cooper wrote: On Wed, Apr 20, 2011 at 3:35 PM, Doug Barton wrote: glabel create /dev/ Just tested that with a kernel from HEAD and a 8.x userland. This does not seem to survive a reboot. No, "create" make

Re: Switch from legacy ata(4) to CAM-based ATA

2011-04-20 Thread Warren Block
On Wed, 20 Apr 2011, Doug Barton wrote: On 04/20/2011 16:01, Warren Block wrote: Not sure I understand the question. I have a little article called FreeBSD Labeled Filesystems: http://www.wonkity.com/~wblock/docs/html/labels.html That's a good article, but it highlights what seem to be some

Re: Switch from legacy ata(4) to CAM-based ATA

2011-04-20 Thread Arnaud Lacombe
Hi, On Wed, Apr 20, 2011 at 6:38 PM, Garrett Cooper wrote: > On Wed, Apr 20, 2011 at 3:35 PM, Doug Barton wrote: >> On 04/20/2011 15:18, Scott Long wrote: >>> >>> I agree with what Alexander is saying, but I'd like to take it a step >>> further.  We should all be using [...] mount-by-label >> >>

Re: Switch from legacy ata(4) to CAM-based ATA

2011-04-20 Thread Doug Barton
On 04/20/2011 16:01, Warren Block wrote: Not sure I understand the question. I have a little article called FreeBSD Labeled Filesystems: http://www.wonkity.com/~wblock/docs/html/labels.html That's a good article, but it highlights what seem to be some deficiencies in the various implementatio

Re: Switch from legacy ata(4) to CAM-based ATA

2011-04-20 Thread Garrett Cooper
On Wed, Apr 20, 2011 at 4:37 PM, Matthew Jacob wrote: > >>> now that I've worked with it a bit, I really like it. Doing this by >>> default >>> in 9.0 would be a really useful step forward, and would allow greater >>> innovation down the road. >>> >>> Is there a handy tutorial somewhere for making

Re: Switch from legacy ata(4) to CAM-based ATA

2011-04-20 Thread Matthew Jacob
now that I've worked with it a bit, I really like it. Doing this by default in 9.0 would be a really useful step forward, and would allow greater innovation down the road. Is there a handy tutorial somewhere for making this change in FreeBSD? Or is it even possible to do in a rational way? gl

Re: Switch from legacy ata(4) to CAM-based ATA

2011-04-20 Thread Matthew Jacob
On Wed, 20 Apr 2011, Scott Long wrote: ... I agree with what Alexander is saying, but I'd like to take it a step further. We should all be using either mount-by-label, or be working to introduce generic device names to GEOM. Right now, device names are an implementation detail that have n

Re: Switch from legacy ata(4) to CAM-based ATA

2011-04-20 Thread Warren Block
On Wed, 20 Apr 2011, Doug Barton wrote: On 04/20/2011 15:18, Scott Long wrote: I agree with what Alexander is saying, but I'd like to take it a step further. We should all be using [...] mount-by-label +1 When I first saw this on linux my gut reaction was "e, different." But now that I

Re: Switch from legacy ata(4) to CAM-based ATA

2011-04-20 Thread Garrett Cooper
On Wed, Apr 20, 2011 at 3:35 PM, Doug Barton wrote: > On 04/20/2011 15:18, Scott Long wrote: >> >> I agree with what Alexander is saying, but I'd like to take it a step >> further.  We should all be using [...] mount-by-label > > +1 > > When I first saw this on linux my gut reaction was "e, di

Re: Switch from legacy ata(4) to CAM-based ATA

2011-04-20 Thread Doug Barton
On 04/20/2011 15:18, Scott Long wrote: I agree with what Alexander is saying, but I'd like to take it a step further. We should all be using [...] mount-by-label +1 When I first saw this on linux my gut reaction was "e, different." But now that I've worked with it a bit, I really like i

Re: Switch from legacy ata(4) to CAM-based ATA

2011-04-20 Thread Scott Long
On Apr 20, 2011, at 2:50 PM, Alexander Motin wrote: > Ulrich Spörlein wrote: >> Can we then please get the "ad" device prefix back? I seem to remember >> that when they were introduced they were thought to be a temporary thing >> ... >> >> Unless both stacks can run in parallel, I don't see a prob

Re: Switch from legacy ata(4) to CAM-based ATA

2011-04-20 Thread Bruce Cran
On Thu, 21 Apr 2011 00:17:44 +0300 Alexander Motin wrote: > 2 Bruce: Looking on XEN sources, it seems that the only place how it > differs missing and present disk is the device signature. ata(4) at > this moment doesn't checks signature if it is not ATAPI and READY bit > is set. Attached patch s

Re: Switch from legacy ata(4) to CAM-based ATA

2011-04-20 Thread Bruce Cran
On Wed, 20 Apr 2011 21:54:52 +0300 Alexander Motin wrote: > Could you show me verbose dmesg with > legacy ATA to make sure? Same time I'll try to think what can we do > about it. You're right - with the verbose dmesg with ata(4) there are lines: unknown: FAILURE - ATA_IDENTIFY timed out LBA=0

Re: Switch from legacy ata(4) to CAM-based ATA

2011-04-20 Thread Alexander Motin
Alexander Motin wrote: > Bruce Cran wrote: >> On Wed, 20 Apr 2011 15:21:48 +0300 >> Alexander Motin wrote: >> >>> Verbose dmesg from the fresh system would be appreciated. >> I've put a verbose dmesg at >> http://www.cran.org.uk/~brucec/freebsd/dmesg.verbose_20110420.txt > > Thank you. I've compa

Re: Switch from legacy ata(4) to CAM-based ATA

2011-04-20 Thread Marius Strobl
On Wed, Apr 20, 2011 at 12:57:47PM +0300, Alexander Motin wrote: > Hi. > > With 9.0 release approaching quickly, I believe it the best time now to > manage migration from legacy ata(4) ATA to the new CAM-based one. New > ATA code present in the tree for more then a year now, used by many > people

Re: Switch from legacy ata(4) to CAM-based ATA

2011-04-20 Thread Alexander Motin
Ulrich Spörlein wrote: > Can we then please get the "ad" device prefix back? I seem to remember > that when they were introduced they were thought to be a temporary thing > ... > > Unless both stacks can run in parallel, I don't see a problem with > having them both show up as /dev/ad0, etc. Peopl

Re: Switch from legacy ata(4) to CAM-based ATA

2011-04-20 Thread Ulrich Spörlein
On Wed, 20.04.2011 at 12:57:47 +0300, Alexander Motin wrote: > Hi. > > With 9.0 release approaching quickly, I believe it the best time now to > manage migration from legacy ata(4) ATA to the new CAM-based one. New > ATA code present in the tree for more then a year now, used by many > people and

Re: Switch from legacy ata(4) to CAM-based ATA

2011-04-20 Thread Alexander Motin
Bruce Cran wrote: > On Wed, 20 Apr 2011 15:21:48 +0300 > Alexander Motin wrote: > >> Verbose dmesg from the fresh system would be appreciated. > > I've put a verbose dmesg at > http://www.cran.org.uk/~brucec/freebsd/dmesg.verbose_20110420.txt Thank you. I've compared your and Daniel dmesgs, and

Re: Switch from legacy ata(4) to CAM-based ATA

2011-04-20 Thread Bruce Cran
On Wed, 20 Apr 2011 15:21:48 +0300 Alexander Motin wrote: > Verbose dmesg from the fresh system would be appreciated. I've put a verbose dmesg at http://www.cran.org.uk/~brucec/freebsd/dmesg.verbose_20110420.txt -- Bruce Cran ___ freebsd-current@free

Re: Switch from legacy ata(4) to CAM-based ATA

2011-04-20 Thread Daniel Braniss
> Bruce Cran wrote: > > On Wed, 20 Apr 2011 12:57:47 +0300 > > Alexander Motin wrote: > > > >> If somebody has any problems with new ATA stack, please repeat your > >> tests with latest HEAD code and contact me if problem is still there. > >> Next three weeks before BSDCan I am going to dedicate

Re: Switch from legacy ata(4) to CAM-based ATA

2011-04-20 Thread Matthew Jacob
Yes, I believe that now is the time to do this. ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Re: Switch from legacy ata(4) to CAM-based ATA

2011-04-20 Thread Alexander Motin
Bruce Cran wrote: > On Wed, 20 Apr 2011 12:57:47 +0300 > Alexander Motin wrote: > >> If somebody has any problems with new ATA stack, please repeat your >> tests with latest HEAD code and contact me if problem is still there. >> Next three weeks before BSDCan I am going to dedicate to fixing >> p

Re: Switch from legacy ata(4) to CAM-based ATA

2011-04-20 Thread Bruce Cran
On Wed, 20 Apr 2011 12:57:47 +0300 Alexander Motin wrote: > If somebody has any problems with new ATA stack, please repeat your > tests with latest HEAD code and contact me if problem is still there. > Next three weeks before BSDCan I am going to dedicate to fixing > possibly remaining issues. I

Switch from legacy ata(4) to CAM-based ATA

2011-04-20 Thread Alexander Motin
Hi. With 9.0 release approaching quickly, I believe it the best time now to manage migration from legacy ata(4) ATA to the new CAM-based one. New ATA code present in the tree for more then a year now, used by many people and proved it's superior functionality and reliability. The only major issue