[Bug 1860917] Re: uas_eh_abort_handler uas-tag inflight OUT

2020-02-27 Thread geole0
Hello
The incident is always present with the most recent ubuntu version.


a@a:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu Focal Fossa (development branch)"
a@a:~$ 
a@a:~$ 
a@a:~$ sudo apt update
Atteint :1 http://fr.archive.ubuntu.com/ubuntu focal InRelease  
  
Atteint :2 http://fr.archive.ubuntu.com/ubuntu focal-updates InRelease
Atteint :3 http://security.ubuntu.com/ubuntu focal-security InRelease
Atteint :4 http://fr.archive.ubuntu.com/ubuntu focal-backports InRelease
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances   
Lecture des informations d'état... Fait
Tous les paquets sont à jour.
a@a:~$

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1860917

Title:
   uas_eh_abort_handler  uas-tag  inflight OUT

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/e2fsprogs/+bug/1860917/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1860917] Re: uas_eh_abort_handler uas-tag inflight OUT

2020-02-27 Thread geole0
** Attachment added: "Trace of execution"
   
https://bugs.launchpad.net/ubuntu/+source/e2fsprogs/+bug/1860917/+attachment/5331562/+files/Bug1857914-102-176-8192Mo-SDB10bis.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1860917

Title:
   uas_eh_abort_handler  uas-tag  inflight OUT

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/e2fsprogs/+bug/1860917/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1860917] Re: uas_eh_abort_handler uas-tag inflight OUT

2020-02-02 Thread geole0
Hello.
Thank you for your involvement in this problem.
My goal is to make ubuntu better.
I accidentally encountered this incident in a real context.
I knew that changing partition size is risky and impossible with a partition in 
use. That's why I duplicated it on an external disk.
I found that the problem was reproducible.
As the partition size was around 300 GiB, this took a long time.
I managed to make a 40 GB test game. I was then able to reproduce the incident 
on 12 partitions.

I think I eliminated the material cause by doing the tests
- Badblocks with a partition making up the entire disk.
- Writing single sectors on approximately 95% of the disk space then re-reading 
with control of what is read is indeed what is expected.
- Impossible to reproduce the incident if using the ext3 format
- Impossible to reproduce the incident in the same session. A boot or a 
disconnection must take place for each incident.
- Unable to carry out the incident in version 18.04.03

My diagnosis is that there is a functioning problem in the hard drive 
application link when the UAS driver is used.
I worked as much as possible to reduce the size of the partition so that the 
execution times were acceptable.
Now, I cause the incident systematically with an 8 GB partition. I do not know 
how to do less despite all the possible tests.

I find it important to diagnose the problem to avoid that the future version 
20.04 also have this behavior.
I don't know if it's in the UAS module, the resize2fs module or maybe the mount 
module.


You will find attached a file containing the mode of realization of the 
incident with
1)  a script making 250 files of 30 Mio.

2) a script formatting the partition and transferring the files then
deleting the first files. it seems to me that this is the key element in
the making of the incident.

3) A script doing the size reduction.

Another file contained resulted from an execution.
I was able to do the incidents with the following quantities of files:
 250 - 150
 250 - 125
 200 - 125

176 - 102

I cannot produce the incident with the couple  174-100.
This seems to me to be a problem of volumetry that UAS treats badly.

I remain available to put the trace options that you will advise me.

I am ready to open a new problem with the mount module and the UAS module 
because there is not the same function as in version 18.04.3 for the management 
of logical partitions which are not in the same order as the physical structure.
The UAS module is now automatically disabled. It's probably better this way.


I use google translation to answer you

Thanks.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1860917

Title:
   uas_eh_abort_handler  uas-tag  inflight OUT

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/e2fsprogs/+bug/1860917/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1860917] Re: uas_eh_abort_handler uas-tag inflight OUT

2020-02-02 Thread geole0
ATTENTION
This error is new. and it is because  of use of logical device not un good 
order!!!
Feb 02 10:59:19 a systemd[1315]: mnt-USBsdb3.mount: Succeeded.
Feb 02 10:59:39 a kernel: blk_update_request: I/O error, dev sdb, sector 0 op 
0x1:(WRITE) flags 0x800 phys_seg 0 prio class 0
Feb 02 10:59:39 a kernel: blk_update_request: I/O error, dev sdb, sector 0 op 
0x1:(WRITE) flags 0x800 phys_seg 0 prio class 0
Feb 02 10:59:39 a kernel: blk_update_request: I/O error, dev sdb, sector 0 op 
0x1:(WRITE) flags 0x800 phys_seg 0 prio class 0
Feb 02 10:59:39 a kernel: blk_update_request: I/O error, dev sdb, sector 0 op 
0x1:(WRITE) flags 0x800 phys_seg 0 prio class 0
Feb 02 10:59:57 a kernel: usb 4-2: new SuperSpeed Gen 1 USB device number 3 
using xhci_hcd

** Attachment added: "Trace of  one execution"
   
https://bugs.launchpad.net/ubuntu/+source/e2fsprogs/+bug/1860917/+attachment/5324760/+files/Bug1857914-102-176-8192Mo.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1860917

Title:
   uas_eh_abort_handler  uas-tag  inflight OUT

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/e2fsprogs/+bug/1860917/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1860917] Re: uas_eh_abort_handler uas-tag inflight OUT

2020-02-02 Thread geole0
** Attachment added: "File contains three scripts to make the bug"
   
https://bugs.launchpad.net/ubuntu/+source/e2fsprogs/+bug/1860917/+attachment/5324759/+files/BUG13.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1860917

Title:
   uas_eh_abort_handler  uas-tag  inflight OUT

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/e2fsprogs/+bug/1860917/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1860917] Re: uas_eh_abort_handler uas-tag inflight OUT

2020-01-29 Thread Theodore Ts'o
janv. 26 13:30:12 a kernel: sd 6:0:0:0: [sdb] tag#16
uas_eh_abort_handler 0 uas-tag 17 inflight: OUT

UAS is "USB Attached SCSI", and this error indicates some kind of
hardware issue (maybe a loose cable connector?).

If you can't replicate the failure, it might be because it's a one-off
hardware problem.

One thing I would suggest is running e2fsck -f after shrinking the file
system using resize2fs.   If there is any corruption that you can see
when using resize2fs with shrinking, preferably with a fixed HDD or SSD
which is known to be good (USB cable instability is a nightmare and I
generally don't recommend people to use USB attached storage on laptops
because laptops tend to move, and USB cables getting jostled is a really
common problem).

So from a problem isolation perspective, it's really helpful to try to
isolate variables.   So if you can try to isolate the problem using a
image file stored on a fixed storage device, and then try shrinking the
file system on the image, so we don't have to worry about gpart bugs,
hardware bugs, etc., that is really helpful.And if you use e2fsck to
make sure the file system is consistent, as opposed to waiting for the
kernel to trip on the file corruption, that would be also very helpful.

If you are paying $$$ to Canonical, then there will be much more likely
to be Ubuntu support engineers will do this sort of fault determination
procedure.  As an upstream developer for e2fsprogs, however, I'm really
not going to get involved until you can give me a reproducible test case
that doesn't require your specific hardware --- hence the request to see
if you can reproduce the problem using an image file without using
hardware and partitions.

If this is really dependent on which partition is involved, then this
might be a gpart bug.   And no one (and certainly Canonical!) is paying
me to try to debug gpart.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1860917

Title:
   uas_eh_abort_handler  uas-tag  inflight OUT

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/e2fsprogs/+bug/1860917/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1860917] Re: uas_eh_abort_handler uas-tag inflight OUT

2020-01-29 Thread geole0
** Attachment added: "Bug  with only SDB2 partition"
   
https://bugs.launchpad.net/ubuntu/+source/e2fsprogs/+bug/1860917/+attachment/5323763/+files/Bug1857914-sdb2.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1860917

Title:
   uas_eh_abort_handler  uas-tag  inflight OUT

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/e2fsprogs/+bug/1860917/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1860917] Re: uas_eh_abort_handler uas-tag inflight OUT

2020-01-29 Thread geole0
** Attachment added: "Bug with  SDB6 only"
   
https://bugs.launchpad.net/ubuntu/+source/e2fsprogs/+bug/1860917/+attachment/5323755/+files/Bug1857914-sdb6.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1860917

Title:
   uas_eh_abort_handler  uas-tag  inflight OUT

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/e2fsprogs/+bug/1860917/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1860917] Re: uas_eh_abort_handler uas-tag inflight OUT

2020-01-29 Thread geole0
** Attachment added: "Bug with only SDB5 partition"
   
https://bugs.launchpad.net/ubuntu/+source/e2fsprogs/+bug/1860917/+attachment/5323754/+files/Bug1857914-sdb5.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1860917

Title:
   uas_eh_abort_handler  uas-tag  inflight OUT

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/e2fsprogs/+bug/1860917/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1860917] Re: uas_eh_abort_handler uas-tag inflight OUT

2020-01-29 Thread geole0
Hello.
When I decide to reduce the size of a partition stored in an external drive and 
formatted in EXT4 after booting with ubuntu 19.10, this partition is destroyed. 
it seems abnormal to me.

This is systematic for the twelve partitions   and twelve boots in the
prepared context.

If several partitions are reduced in the same passage, only the first in
the list is destroyed. The others are well treated!

Failure does not occur if another external drive is used.

The incident does not occur if the partition is formatted in EXT3 or if
the size reduction is done with ubuntu 18.04.3

Some results will be provided as an attachment

Here is the script used.


export LC_ALL=POSIX
Size=35957760k
Debug="-d 60"
Trace=Bug1857914-ThreePartitions.txt
date>$Trace
for Part  in  sdb1 sdb6 sdb7  ;do
sudo umount /dev/$Part
echo "check file system on /dev/$Part for 
errors with command sudo e2fsck -f -y -v  /dev/$Part >>$TRACE" >>$Trace
sudo e2fsck -f -y -v  /dev/$Part 2>>$Trace >>$Trace
echo " shrink for /dev/$Part with command 
sudo resize2fs $Debug -p /dev/$Part $Size >>$Trace" >>$Trace
sudo resize2fs $Debug -p /dev/$Part  $Size 2>>$Trace >>$Trace
echo "check file system on /dev/$Part for 
errors with command sudo e2fsck   -f -n -v  /dev/$Part >>$TRACE" >>$Trace
sudo e2fsck -f -n -v  /dev/$Part 2>>$Trace  >>$Trace
echo "check for erreur on UAS  module with 
command journalctl -b | egrep  "resize2fs|uas_eh_abort_handler" >>$TRACE" 
>>$Trace
done
journalctl -b  | grep -E  "resize2fs|CDB|uas_eh_abort_handler|I/O error|sdb" 
>>$Trace
date>>$Trace
cat $Trace



** Attachment added: "An execution with three partitions"
   
https://bugs.launchpad.net/ubuntu/+source/e2fsprogs/+bug/1860917/+attachment/5323753/+files/Bug1857914-ThreePartitions.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1860917

Title:
   uas_eh_abort_handler  uas-tag  inflight OUT

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/e2fsprogs/+bug/1860917/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1860917] Re: uas_eh_abort_handler uas-tag inflight OUT

2020-01-29 Thread geole0
** Package changed: ubuntu => e2fsprogs (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1860917

Title:
   uas_eh_abort_handler  uas-tag  inflight OUT

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/e2fsprogs/+bug/1860917/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1860917] Re: uas_eh_abort_handler uas-tag inflight OUT

2020-01-26 Thread Ubuntu Foundations Team Bug Bot
Thank you for taking the time to report this bug and helping to make
Ubuntu better.  It seems that your bug report is not filed about a
specific source package though, rather it is just filed against Ubuntu
in general.  It is important that bug reports be filed about source
packages so that people interested in the package can find the bugs
about it.  You can find some hints about determining what package your
bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage.
You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit
https://bugs.launchpad.net/ubuntu/+bug/1860917/+editstatus and add the
package name in the text box next to the word Package.

[This is an automated message.  I apologize if it reached you
inappropriately; please just reply to this message indicating so.]

** Tags added: bot-comment

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1860917

Title:
   uas_eh_abort_handler  uas-tag  inflight OUT

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/1860917/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs