In my daily logwatch E-Mail I have just noticed the following:-
WARNING: Kernel Errors Present EXT2-fs (sdd): error: can't find an e ...: 1 Time(s) EXT3-fs (sdd): error: can't find ext3 ...: 1 Time(s) ... ... ... usb 2-1.1: device descriptor read/64, error -32 ...: 4 Time(s)
This possibly explains why the USB flash drive that was /dev/sdd failed to automount. It can be mounted without problems manually using a straightforward mount command.
Can anyone explain what I need to do to fix it? The flash drive has a FAT16 file system on it as is normal I think.
On Thu, Mar 08, 2012 at 09:24:26AM +0000, Chris Green wrote:
In my daily logwatch E-Mail I have just noticed the following:-
WARNING: Kernel Errors Present EXT2-fs (sdd): error: can't find an e ...: 1 Time(s) EXT3-fs (sdd): error: can't find ext3 ...: 1 Time(s) ... ... ... usb 2-1.1: device descriptor read/64, error -32 ...: 4 Time(s)
This possibly explains why the USB flash drive that was /dev/sdd failed to automount. It can be mounted without problems manually using a straightforward mount command.
Can anyone explain what I need to do to fix it? The flash drive has a FAT16 file system on it as is normal I think.
To add a little more information here is the sequence in syslog at the end of the sequence when the USB drive is plugged in:-
Mar 7 18:36:19 chris kernel: [90286.452209] sd 8:0:0:0: [sdd] Assuming drive cache: write through Mar 7 18:36:19 chris kernel: [90286.625267] sdd: sdd1 Mar 7 18:36:19 chris kernel: [90286.627559] sd 8:0:0:0: [sdd] No Caching mode page present Mar 7 18:36:19 chris kernel: [90286.627562] sd 8:0:0:0: [sdd] Assuming drive cache: write through Mar 7 18:36:19 chris kernel: [90286.627564] sd 8:0:0:0: [sdd] Attached SCSI removable disk Mar 7 18:37:59 chris kernel: [90386.509844] EXT3-fs (sdd): error: can't find ext3 filesystem on dev sdd. Mar 7 18:37:59 chris kernel: [90386.536201] EXT2-fs (sdd): error: can't find an ext2 filesystem on dev sdd. Mar 7 18:37:59 chris kernel: [90386.580300] EXT4-fs (sdd): VFS: Can't find ext4 filesystem
... and that's it, nothing more happens and the drive doesn't get automounted.
I guess the "Kernel Errors" message from logwatch is just telling me that it looked for EXT3, then EXT2 and didn't find them. It does the same for EXT4 but since the word 'error' isn't in syslog then logwatch doesn't report it.
Looking further I realise too that the 'errors' only happen if/when the USB drive is plugged in at system boot time.
So, they're not really errors and probably not related to my "why don't USB drives automount" problem.
The same USB drive works perfectly (i.e. automounts) in another xubuntu 11.10 system.
[Snip]
Mar 7 18:36:19 chris kernel: [90286.627562] sd 8:0:0:0: [sdd] Assuming drive cache: write through Mar 7 18:36:19 chris kernel: [90286.627564] sd 8:0:0:0: [sdd] Attached SCSI removable disk Mar 7 18:37:59 chris kernel: [90386.509844] EXT3-fs (sdd): error: can't find ext3 filesystem on dev sdd. Mar 7 18:37:59 chris kernel: [90386.536201] EXT2-fs (sdd): error: can't find an ext2 filesystem on dev sdd. Mar 7 18:37:59 chris kernel: [90386.580300] EXT4-fs (sdd): VFS: Can't find ext4 filesystem
[Snip]
The same USB drive works perfectly (i.e. automounts) in another xubuntu 11.10 system.
What log entries do you get on the working system?
-- ATB, Karl.
On Fri, Mar 09, 2012 at 07:05:30AM +0000, Karl Foley wrote:
[Snip]
Mar 7 18:36:19 chris kernel: [90286.627562] sd 8:0:0:0: [sdd] Assuming drive cache: write through Mar 7 18:36:19 chris kernel: [90286.627564] sd 8:0:0:0: [sdd] Attached SCSI removable disk Mar 7 18:37:59 chris kernel: [90386.509844] EXT3-fs (sdd): error: can't find ext3 filesystem on dev sdd. Mar 7 18:37:59 chris kernel: [90386.536201] EXT2-fs (sdd): error: can't find an ext2 filesystem on dev sdd. Mar 7 18:37:59 chris kernel: [90386.580300] EXT4-fs (sdd): VFS: Can't find ext4 filesystem
[Snip]
The same USB drive works perfectly (i.e. automounts) in another xubuntu 11.10 system.
What log entries do you get on the working system?
Exactly the same up as far as the error messages, then no errors but the USB stick automounts:-
Mar 8 09:35:37 acer-aspire kernel: [52988.621621] sd 3:0:0:0: [sdb] Assuming drive cache: write through Mar 8 09:35:37 acer-aspire kernel: [52988.621635] sd 3:0:0:0: [sdb] Attached SCSI removable disk [followed by nothing for several minutes, USB has mounted]
On 09/03/12 12:10, Chris Green wrote:
On Fri, Mar 09, 2012 at 07:05:30AM +0000, Karl Foley wrote:
[Snip] Mar 7 18:36:19 chris kernel: [90286.627562] sd 8:0:0:0: [sdd] Assuming drive cache: write through Mar 7 18:36:19 chris kernel: [90286.627564] sd 8:0:0:0: [sdd] Attached SCSI removable disk Mar 7 18:37:59 chris kernel: [90386.509844] EXT3-fs (sdd): error: can't find ext3 filesystem on dev sdd. Mar 7 18:37:59 chris kernel: [90386.536201] EXT2-fs (sdd): error: can't find an ext2 filesystem on dev sdd. Mar 7 18:37:59 chris kernel: [90386.580300] EXT4-fs (sdd): VFS: Can't find ext4 filesystem [Snip] The same USB drive works perfectly (i.e. automounts) in another xubuntu 11.10 system.
Just out of interest are the system id partition flags set correctly ? Doesn't explain why you don't get the problem elsewhere but it can cause problems with automount.
Does this happen with "any" USB stick or usb removable media (card readers/USB drives etc)
On Sun, Mar 11, 2012 at 11:32:09AM +0000, Wayne Stallwood wrote:
On 09/03/12 12:10, Chris Green wrote:
On Fri, Mar 09, 2012 at 07:05:30AM +0000, Karl Foley wrote:
[Snip]
Mar 7 18:36:19 chris kernel: [90286.627562] sd 8:0:0:0: [sdd] Assuming drive cache: write through Mar 7 18:36:19 chris kernel: [90286.627564] sd 8:0:0:0: [sdd] Attached SCSI removable disk Mar 7 18:37:59 chris kernel: [90386.509844] EXT3-fs (sdd): error: can't find ext3 filesystem on dev sdd. Mar 7 18:37:59 chris kernel: [90386.536201] EXT2-fs (sdd): error: can't find an ext2 filesystem on dev sdd. Mar 7 18:37:59 chris kernel: [90386.580300] EXT4-fs (sdd): VFS: Can't find ext4 filesystem
[Snip]
The same USB drive works perfectly (i.e. automounts) in another xubuntu 11.10 system.
Just out of interest are the system id partition flags set correctly ? Doesn't explain why you don't get the problem elsewhere but it can cause problems with automount.
What do you mean by "system id partition flags"? If you mean the partition ID values shown by (for example) fdisk then they look fairly OK to me:-
Disk /dev/sda: 250.1 GB, 250059350016 bytes 255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00008b67
Device Boot Start End Blocks Id System /dev/sda1 * 2048 472031231 236014592 83 Linux /dev/sda2 472033278 488396799 8181761 5 Extended /dev/sda5 472033280 488396799 8181760 82 Linux swap / Solaris
Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes 255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0xf24a2de7
Device Boot Start End Blocks Id System /dev/sdb1 63 1953520064 976760001 83 Linux
Disk /dev/sdc: 1000.2 GB, 1000204886016 bytes 81 heads, 63 sectors/track, 382818 cylinders, total 1953525168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x4e451e03
Device Boot Start End Blocks Id System /dev/sdc1 2048 1953525167 976761560 83 Linux
Does this happen with "any" USB stick or usb removable media (card readers/USB drives etc)
Yes, or at least I haven't found anything that automounts since the problem showed itself.
CDs/DVDs don't automount either, the drive spins up and does all the usual actions but nothing appears anywhere.