On Thu, May 9, 2013 at 12:30 AM, Robert <[email protected]> wrote: > On Mit, 2013-05-08 at 15:40 +0000, Ming Lei wrote: >> On Wed, May 8, 2013 at 10:12 PM, Robert <[email protected]> wrote: >> > On Mit, 2013-05-08 at 12:25 +0000, Ming Lei wrote: >> >> From the usbmon in correct case, there is no any ATA commands >> >> at all. I am not sure where these commands are from(user space >> >> or kernel?) in the failure case. >> > >> > I suspect it's strictly kernel - I didn't even mount the drive. Mounting >> > is definitely possible (the drive works fine), but I wanted to show the >> > minimal difference. >> >> No, in fact, the scsi layer(sd, kernel) has already read the 4 sectors from >> the device successfully, then one inquiry command and some RAW ATA >> commands are sent to device, and the disk starts to behave badly. It is >> very possible that these commands are sent from userspace when the scsi >> disk device shows up and udevd got the notification. And these commands >> aren't sent to the device absolutely on precise. >> >> Looks some utilities(smartctl, hdparm) may do that. > > I used no smartctl or hdparm. It is possible that udevd may have sent > something. > >> > >> >> Could you install the upstream 3.9.0 kernel images on 12.04 to >> >> see if the HDD can work well? >> > >> > Sorry, not possible (production machine). I also don't see what would it >> > bring, as the machine with 13.04 that shows the errors was working fine >> > with 12.04. >> >> Sorry to see that, but you already installed 3.9.0 upstream kernel on >> raring(13.04), >> right? I am wondering there is any difference to install 3.9.0 kernel on >> 12.04. > > Yes, I sent you the usbmon and dmesg for the patched 3.9.0 on raring. > The 12.04 machine is a production server, so I'd rather not play around > with it. I used it just to make sure the removable disk is working OK. > > I still don't understand what information you hope to get from that: I > assure you that the test machine worked OK with precise and stopped > working with raring.
If the ATA commands are from user-space in raring, 3.9.0 or raring kernel will work well in precise release. That is what I want to know, :-) Thanks, -- Ming Lei -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1176355 Title: Can't access USB external disk To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1176355/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
