Re: Linux on Hyper-V 1) cd006086fa5d ata_piix: defer disks to the Hyper-V drivers by default 2) db63a4c8115a libata: add a host flag to ignore detected ATA device FW: use hv_storvsc instead of ata_pii

2012-06-04 Thread Victor Miasnikov

Hi!

VVMHyper-V admins need _worked_ Linux v3.4.X / v3.3.X / v3.2.X
VVM   
VVMPlease, _fix_ errors related use hv_storvsc instead of ata_piix to
VVMhandle the IDE disks devices ( but not for the CD-ROM)


K.Y.S.  {
Clearly I cannot tell you anything about this that you don't know!
Looking at the rules for stable tree patches,
this patch does not satisfy the requirement that the patch fix a bug
since we are changing the behavior here of the ata driver to accommodate 
Hyper-V.
I don't know how much flexibility you have here for taking patches that improve
the general usability of Linux in different environments.
All I can say is that It will be nice to have this patch in previous stable 
releases.
}

This is _real_ bug

{ P.S.
 Dear K.Y., please read _again_ my letter
Sent: Monday, April 02, 2012 1:46 PM
}


Lots of things would be nice,
but as this doesn't meet the stable_kernel_rules.txt rules, sorry, I can't take 
them.


IMHO, patches does meet the stable_kernel_rules.txt rules by _all_ criterias 
. . .

See info correlated with rules:
==
Rules on what kind of patches are accepted, and which ones are not, into the
-stable tree:

{
- It must be obviously correct and tested.

Tested ( but, in early implementaition): Ubuntu 12.04 + OpenSUSE

}

{

- It cannot be bigger than 100 lines, with context.


79 lines
+
47 lines
}

{
- It must fix only one thing.

Yes

}

{

- It must fix a real bug that bothers people (not a, This could be a
  problem... type thing).


Is real bug: see URLs in my e-mails about problem
+ see tranlate from Russian language issue described by Maksim Kramarenko:
http://lists.debian.org/debian-russian/2012/01/msg00324.html
==

. . .

At the conclusion of the system through the halt or when sending a signal 
shutdown by ACPI to power down the console
fell errors:
http://www.k-max.name/wp-content/uploads/2012/01/hyper-v.png

Errors do not interfere with work, but sneaking suspicion about future problems 
with the hard drive ...

 . . .

in general, the source of the problem as follows:
After [VVM: turn On in kernel source]  Hyper-V modules [compile and start use], a hard disk was determined as 2 with the 
same UUID.


. . .

Here are screenshots of what is happening:
connected to a drive:
http://www.k-max.name/wp-content/uploads/2012/01/hdd-e1327750214479.png
it is defined as a 2:
http://www.k-max.name/wp-content/uploads/2012/01/2hdd.png
Naturally, the same UUID:
http://www.k-max.name/wp-content/uploads/2012/01/blkid.png
That's what tells us the directory / dev:
http://www.k-max.name/wp-content/uploads/2012/01/uuid.png

==


}

{
- It must fix a problem that causes a build error (but not for things
  marked CONFIG_BROKEN), an oops, a hang, data corruption, a real
  security issue, or some oh, that's not good issue.  In short, something
  critical.
- New device IDs and quirks are also accepted.

not related this patch

}

{
- No theoretical race condition issues, unless an explanation of how the
  race can be exploited is also provided.
- It cannot contain any trivial fixes in it (spelling changes,
  whitespace cleanups, etc).

No theoretical , no trivial

}

- It must follow the Documentation/SubmittingPatches rules.

Prepare patches -- this job duty of Microsoft employee

- It or an equivalent fix must already exist in Linus' tree (upstream).

Yes

==


Best regards, Victor Miasnikov
Blog:  http://vvm.blog.tut.by/


--
To unsubscribe from this list: send the line unsubscribe stable in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


RE: Linux on Hyper-V 1) cd006086fa5d ata_piix: defer disks to the Hyper-V drivers by default 2) db63a4c8115a libata: add a host flag to ignore detected ATA device FW: use hv_storvsc instead of ata_pii

2012-06-04 Thread KY Srinivasan


 -Original Message-
 From: Victor Miasnikov [mailto:v...@tut.by]
 Sent: Monday, June 04, 2012 8:33 AM
 To: Greg KH; KY Srinivasan
 Cc: stable@vger.kernel.org; Jonathan Nieder; linux-ker...@vger.kernel.org;
 Mike Sterling
 Subject: Re: Linux on Hyper-V 1) cd006086fa5d ata_piix: defer disks to the 
 Hyper-
 V drivers by default 2) db63a4c8115a libata: add a host flag to ignore 
 detected
 ATA device FW: use hv_storvsc instead of ata_piix to handle the IDE disks 
 devices
 ( but not for the ...
 
 Hi!
 
 VVMHyper-V admins need _worked_ Linux v3.4.X / v3.3.X / v3.2.X

Victor, what distro are you using. I can help you with the ata patch on 
specific set of distros of interest. 
If the system that you are interested loads the ata_piix module, we can solve 
the issue on hand using
modprobe rules rather than a patch against the ata driver. Let me know.

Regards,

K. Y 
 



--
To unsubscribe from this list: send the line unsubscribe stable in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: Linux on Hyper-V 1) cd006086fa5d ata_piix: defer disks to the Hyper-V drivers by default 2) db63a4c8115a libata: add a host flag to ignore detected ATA device FW: use hv_storvsc instead of ata_pii

2012-06-04 Thread Victor Miasnikov

Hi!


VVMHyper-V admins need _worked_ Linux v3.4.X / v3.3.X / v3.2.X
I can help you with the ata patch on specific set of distros of interest. 
If the system that you are interested loads the ata_piix module, 
we can solve the issue on hand using modprobe rules rather than a patch against the ata driver.


K.Y.:  Youre _theory_ ( about can solve the issue on hand using modprobe 
rules) is wrong for:
-- OpenSUSE
-- Ubuntu
-- Debian

Why You think, what theory can solve problem in other case?

How about LiveCD ? 



But patch against the ata driver -- solve problem 100% / 100%


Best regards, Victor Miasnikov
Blog:  http://vvm.blog.tut.by/

P.S.

Victor, what distro are you using. 
Let me know.


But Hyper-V admins need result  -- if You can fix _all_ what need by modprobe 
rules -- fix issue in:


Kernel:
3.5  -- done
3.4.latest
3.3.latest
3.2.latest

Distro:
 -- Arch Linux
 -- Chacra
 -- _all_ LiveCD
 -- Gentoo
 -- Debian
 -- Fedora


--
To unsubscribe from this list: send the line unsubscribe stable in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


RE: Linux on Hyper-V 1) cd006086fa5d ata_piix: defer disks to the Hyper-V drivers by default 2) db63a4c8115a libata: add a host flag to ignore detected ATA device FW: use hv_storvsc instead of ata_pii

2012-06-04 Thread KY Srinivasan


 -Original Message-
 From: Victor Miasnikov [mailto:v...@tut.by]
 Sent: Monday, June 04, 2012 10:15 AM
 To: KY Srinivasan; Greg KH
 Cc: stable@vger.kernel.org; Jonathan Nieder; linux-ker...@vger.kernel.org;
 Mike Sterling
 Subject: Re: Linux on Hyper-V 1) cd006086fa5d ata_piix: defer disks to the 
 Hyper-
 V drivers by default 2) db63a4c8115a libata: add a host flag to ignore 
 detected
 ATA device FW: use hv_storvsc instead of ata_piix to handle the IDE disks 
 devices
 ( but not for the ...
 
 Hi!
 
  VVMHyper-V admins need _worked_ Linux v3.4.X / v3.3.X / v3.2.X
 I can help you with the ata patch on specific set of distros of interest.
 If the system that you are interested loads the ata_piix module,
 we can solve the issue on hand using modprobe rules rather than a patch
 against the ata driver.
 
  K.Y.:  Youre _theory_ ( about can solve the issue on hand using modprobe
 rules) is wrong for:

As I said,  if the ata_piix driver is a loadable module, we can solve the issue
with modprobe rules. If it is not a loadable module we cannot obviously solve
the problem with modprobe rules and we will need the ata patch.

Regards,

K. Y 


--
To unsubscribe from this list: send the line unsubscribe stable in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: Linux on Hyper-V 1) cd006086fa5d ata_piix: defer disks to the Hyper-V drivers by default 2) db63a4c8115a libata: add a host flag to ignore detected ATA device FW: use hv_storvsc instead of ata_pii

2012-06-04 Thread Victor Miasnikov

Hi!


 VVMHyper-V admins need _worked_ Linux v3.4.X / v3.3.X / v3.2.X
I can help you with the ata patch on specific set of distros of interest.
If the system that you are interested loads the ata_piix module,
we can solve the issue on hand using modprobe rules rather than a patch
against the ata driver.

 K.Y.:  Youre _theory_ ( about can solve the issue on hand using modprobe
rules) is wrong for:


As I said,  if the ata_piix driver is a loadable module, 
we can solve the issue with modprobe rules. 
If it is not a loadable module we cannot obviously 
solve the problem with modprobe rules

and we will need the ata patch.


Nothing new: 
  -- the ata patch is need, if we want worked 100% / 100% Linux on Hyper-V

  -- solve the problem with modprobe rules very often not worked solution (  
i.e. if the ata_piix driver  . . . )

Total: 


{
 cd006086fa5d ata_piix: defer disks to the Hyper-V drivers by default

and its prerequisite

 db63a4c8115a libata: add a host flag to ignore detected ATA devices
}
need be backported from

3.5 


to

3.4.latest
3.3.latest
3.2.latest



Best regards, Victor Miasnikov
Blog:  http://vvm.blog.tut.by/ 


P.S.

As I said,  if the ata_piix driver is a loadable module, 
we can solve the issue with modprobe rules. 


We can test Youre theory:

- Original Message - 
From: Victor Miasnikov

To: KY Srinivasan
Sent: Monday, June 04, 2012 6:50 PM

 . . .

with use only  modprobe rules prepare binary patch ( .xDelta)  for 
Linux_Distib__Kernel_3.2_

  . . .

Goal: work in Hyper-V guest as ( ( Linux_Distib__Kernel_3.1_.iso ) + worked 
mouse ) ) in LiveCD and after install

--


--
To unsubscribe from this list: send the line unsubscribe stable in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: Linux on Hyper-V 1) cd006086fa5d ata_piix: defer disks to the Hyper-V drivers by default 2) db63a4c8115a libata: add a host flag to ignore detected ATA device FW: use hv_storvsc instead of ata_pii

2012-06-01 Thread Greg KH
On Tue, May 29, 2012 at 09:34:23AM +0300, Victor Miasnikov wrote:
 Hi!
 
 
 And it's too late for 3.4.1, as that is already out for review.
 
 Ok: Please, backport to 3.4.2
 
 { P.S.
 And to 3.3.x and to 3.2.x  i.e. to all actual version after 3.1
 
 }
 
 use hv_storvsc instead of ata_piix to handle the IDE disks devices ( but 
 not for the CD-ROM)
 VVM Please, backport to 3.4.2-stable all related this:
  ...Ugly MSFT Hyper-V workaround in ata_piix
  ata_piix: defer disks to the Hyper-V drivers...
 
 I do not understand, what exactly are the git commit ids that you wish
 to see applied to the stable tree?
 
 Sorry:
 
 1)
 db63a4c8115a0bb904496e1cdd3e7488e68b0d06
 2)
 cd006086fa5d91414d8ff9ff2b78fbb593878e3c
 
 {
 Jonathan Nieder think:
 
  cd006086fa5d ata_piix: defer disks to the Hyper-V drivers by default
 
 and its prerequisite
 
  db63a4c8115a libata: add a host flag to ignore detected ATA devices

Sorry, but I don't see how this meets the rules for the stable trees, do
you?  If so, please show me how.

thanks,

greg k-h
--
To unsubscribe from this list: send the line unsubscribe stable in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: Linux on Hyper-V 1) cd006086fa5d ata_piix: defer disks to the Hyper-V drivers by default 2) db63a4c8115a libata: add a host flag to ignore detected ATA device FW: use hv_storvsc instead of ata_pii

2012-06-01 Thread Victor Miasnikov

Hi!


 cd006086fa5d ata_piix: defer disks to the Hyper-V drivers by default
and its prerequisite
 db63a4c8115a libata: add a host flag to ignore detected ATA devices



Sorry, but I don't see how this meets the rules for the stable trees, do you?  
If so, please show me how.


About how  -- ask K.Y. Srinivasan

Hyper-V admins need _worked_ Linux v3.4.X / v3.3.X / v3.2.X

Please, _fix_ errors related use hv_storvsc instead of ata_piix to handle the IDE disks devices ( but not for the 
CD-ROM)



Thanks
Best regards, Victor Miasnikov
Blog:  http://vvm.blog.tut.by/ 


--
To unsubscribe from this list: send the line unsubscribe stable in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: Linux on Hyper-V 1) cd006086fa5d ata_piix: defer disks to the Hyper-V drivers by default 2) db63a4c8115a libata: add a host flag to ignore detected ATA device FW: use hv_storvsc instead of ata_pii

2012-06-01 Thread Greg KH
On Fri, Jun 01, 2012 at 07:17:33PM +0300, Victor Miasnikov wrote:
 Hi!
 
  cd006086fa5d ata_piix: defer disks to the Hyper-V drivers by default
 and its prerequisite
  db63a4c8115a libata: add a host flag to ignore detected ATA devices
 
 Sorry, but I don't see how this meets the rules for the stable trees, do 
 you?  If so, please show me how.
 
 About how  -- ask K.Y. Srinivasan
 
 Hyper-V admins need _worked_ Linux v3.4.X / v3.3.X / v3.2.X
 
 Please, _fix_ errors related use hv_storvsc instead of ata_piix to
 handle the IDE disks devices ( but not for the CD-ROM)

Ok, I'll wait for KY to explain this.

greg k-h
--
To unsubscribe from this list: send the line unsubscribe stable in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


RE: Linux on Hyper-V 1) cd006086fa5d ata_piix: defer disks to the Hyper-V drivers by default 2) db63a4c8115a libata: add a host flag to ignore detected ATA device FW: use hv_storvsc instead of ata_pii

2012-06-01 Thread KY Srinivasan


 -Original Message-
 From: Greg KH [mailto:gre...@linuxfoundation.org]
 Sent: Friday, June 01, 2012 12:26 PM
 To: Victor Miasnikov
 Cc: stable@vger.kernel.org; Jonathan Nieder; linux-ker...@vger.kernel.org; KY
 Srinivasan
 Subject: Re: Linux on Hyper-V 1) cd006086fa5d ata_piix: defer disks to the 
 Hyper-
 V drivers by default 2) db63a4c8115a libata: add a host flag to ignore 
 detected
 ATA device FW: use hv_storvsc instead of ata_piix to handle the IDE disks 
 devices
 ( but not for the ...
 
 On Fri, Jun 01, 2012 at 07:17:33PM +0300, Victor Miasnikov wrote:
  Hi!
 
   cd006086fa5d ata_piix: defer disks to the Hyper-V drivers by default
  and its prerequisite
   db63a4c8115a libata: add a host flag to ignore detected ATA devices
 
  Sorry, but I don't see how this meets the rules for the stable trees, do 
  you?  If
 so, please show me how.
 
  About how  -- ask K.Y. Srinivasan
 
  Hyper-V admins need _worked_ Linux v3.4.X / v3.3.X / v3.2.X
 
  Please, _fix_ errors related use hv_storvsc instead of ata_piix to
  handle the IDE disks devices ( but not for the CD-ROM)
 
 Ok, I'll wait for KY to explain this.

Greg,

Clearly I cannot tell you anything about this that you don't know! Looking at 
the 
rules for stable tree patches, this patch does not satisfy the requirement that
the patch fix a bug since we are changing the behavior here of the ata driver to
accommodate Hyper-V. I don't know how much flexibility you have here for
taking patches that improve the general usability of Linux in different
environments. All I can say is that It will be nice to have this patch in 
previous stable 
releases.

Regards,

K. Y



--
To unsubscribe from this list: send the line unsubscribe stable in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: Linux on Hyper-V 1) cd006086fa5d ata_piix: defer disks to the Hyper-V drivers by default 2) db63a4c8115a libata: add a host flag to ignore detected ATA device FW: use hv_storvsc instead of ata_pii

2012-06-01 Thread Greg KH
On Fri, Jun 01, 2012 at 07:23:00PM +, KY Srinivasan wrote:
 
 
  -Original Message-
  From: Greg KH [mailto:gre...@linuxfoundation.org]
  Sent: Friday, June 01, 2012 12:26 PM
  To: Victor Miasnikov
  Cc: stable@vger.kernel.org; Jonathan Nieder; linux-ker...@vger.kernel.org; 
  KY
  Srinivasan
  Subject: Re: Linux on Hyper-V 1) cd006086fa5d ata_piix: defer disks to the 
  Hyper-
  V drivers by default 2) db63a4c8115a libata: add a host flag to ignore 
  detected
  ATA device FW: use hv_storvsc instead of ata_piix to handle the IDE disks 
  devices
  ( but not for the ...
  
  On Fri, Jun 01, 2012 at 07:17:33PM +0300, Victor Miasnikov wrote:
   Hi!
  
cd006086fa5d ata_piix: defer disks to the Hyper-V drivers by default
   and its prerequisite
db63a4c8115a libata: add a host flag to ignore detected ATA devices
  
   Sorry, but I don't see how this meets the rules for the stable trees, do 
   you?  If
  so, please show me how.
  
   About how  -- ask K.Y. Srinivasan
  
   Hyper-V admins need _worked_ Linux v3.4.X / v3.3.X / v3.2.X
  
   Please, _fix_ errors related use hv_storvsc instead of ata_piix to
   handle the IDE disks devices ( but not for the CD-ROM)
  
  Ok, I'll wait for KY to explain this.
 
 Greg,
 
 Clearly I cannot tell you anything about this that you don't know! Looking at 
 the 
 rules for stable tree patches, this patch does not satisfy the requirement 
 that
 the patch fix a bug since we are changing the behavior here of the ata driver 
 to
 accommodate Hyper-V. I don't know how much flexibility you have here for
 taking patches that improve the general usability of Linux in different
 environments. All I can say is that It will be nice to have this patch in 
 previous stable 
 releases.

Lots of things would be nice, but as this doesn't meet the
stable_kernel_rules.txt rules, sorry, I can't take them.

greg k-h
--
To unsubscribe from this list: send the line unsubscribe stable in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html