LINUX LITE 7.2 FINAL RELEASED - SEE RELEASE ANNOUNCEMENTS SECTION FOR DETAILS


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Permissions error mounting USB drive
#1
Hi, all,

Sorry for the embarrassing opening statement as I have worked in IT support for many years...

...but I failed to note the exact error at the time it occurred...

I know.  I know.

Mounting a Kingston DataTraveller G4 16Gb USB stick it appeared to mount, but on attempting to copy a .tar.gz archive from my HD reported a permissions error.  The drive had worked yesterday in initial testing.

I had had this problem before when trying out Ubuntu-Unity, but thought it might either be a bug in that distro's file handler (Nautilus?) or else something happening after I tried using a different USB stick first (which also didn't work properly).

The Kingston USB drive was sold as compatible with Linux by my local computer store, who also couldn't resolve the problem.

The syslog file reports the following (the subsequent corruption was possibly due to me physically removing the drive after cancelling the copy attempt in Thunar, at which point it disappeared from the list of attached drives).  Syslog below my sign-off.

Any help will be greatly appreciated as this is (again) blocking my ability to backup data.

Thanks,
Ian

Syslog:-

Oct  8 09:27:34 linux01 kernel: [ 8535.489440] usb 1-1: new high-speed USB device number 6 using xhci_hcd
Oct  8 09:27:34 linux01 kernel: [ 8535.684014] usb 1-1: New USB device found, idVendor=0951, idProduct=1666
Oct  8 09:27:34 linux01 kernel: [ 8535.684023] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Oct  8 09:27:34 linux01 kernel: [ 8535.684029] usb 1-1: Product: DataTraveler 3.0
Oct  8 09:27:34 linux01 kernel: [ 8535.684033] usb 1-1: Manufacturer: Kingston
Oct  8 09:27:34 linux01 kernel: [ 8535.684037] usb 1-1: SerialNumber: 002618A369C4F051F844241D
Oct  8 09:27:34 linux01 kernel: [ 8535.684461] usb 1-1: ep 0x81 - rounding interval to 128 microframes, ep desc says 255 microframes
Oct  8 09:27:34 linux01 kernel: [ 8535.684475] usb 1-1: ep 0x2 - rounding interval to 128 microframes, ep desc says 255 microframes
Oct  8 09:27:34 linux01 mtp-probe: checking bus 1, device 6: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-1"
Oct  8 09:27:34 linux01 mtp-probe: bus: 1, device: 6 was not an MTP device
Oct  8 09:27:34 linux01 kernel: [ 8535.859141] usb-storage 1-1:1.0: USB Mass Storage device detected
Oct  8 09:27:34 linux01 kernel: [ 8535.859571] scsi host2: usb-storage 1-1:1.0
Oct  8 09:27:34 linux01 kernel: [ 8535.859908] usbcore: registered new interface driver usb-storage
Oct  8 09:27:34 linux01 kernel: [ 8535.875492] usbcore: registered new interface driver uas
Oct  8 09:27:35 linux01 kernel: [ 8536.859817] scsi 2:0:0:0: Direct-Access    Kingston DataTraveler 3.0      PQ: 0 ANSI: 6
Oct  8 09:27:35 linux01 kernel: [ 8536.861126] sd 2:0:0:0: Attached scsi generic sg2 type 0
Oct  8 09:27:35 linux01 kernel: [ 8536.865632] sd 2:0:0:0: [sdb] 30218842 512-byte logical blocks: (15.5 GB/14.4 GiB)
Oct  8 09:27:35 linux01 kernel: [ 8536.866422] sd 2:0:0:0: [sdb] Write Protect is off
Oct  8 09:27:35 linux01 kernel: [ 8536.866426] sd 2:0:0:0: [sdb] Mode Sense: 4f 00 00 00
Oct  8 09:27:35 linux01 kernel: [ 8536.866609] sd 2:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
Oct  8 09:27:35 linux01 kernel: [ 8536.871307]  sdb: sdb1
Oct  8 09:27:35 linux01 kernel: [ 8536.872337] sd 2:0:0:0: [sdb] Attached SCSI removable disk
Oct  8 09:27:37 linux01 udisksd[1989]: Mounted /dev/sdb1 at /media/ian/E07F-B980 on behalf of uid 1000
Oct  8 09:27:52 linux01 ntpd[1334]: error resolving pool 2.ubuntu.pool.ntp.org: Temporary failure in name resolution (-3)
Oct  8 09:27:54 linux01 ntpd[1334]: error resolving pool 3.ubuntu.pool.ntp.org: Temporary failure in name resolution (-3)
Oct  8 09:28:01 linux01 kernel: [ 8562.580003] usb 1-1: USB disconnect, device number 6
Oct  8 09:28:01 linux01 kernel: [ 8562.587390] sd 2:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
Oct  8 09:28:01 linux01 kernel: [ 8562.587415] sd 2:0:0:0: [sdb] tag#0 CDB: Write(10) 2a 00 00 00 b7 9f 00 00 f0 00
Oct  8 09:28:01 linux01 kernel: [ 8562.587430] blk_update_request: I/O error, dev sdb, sector 47007
Oct  8 09:28:01 linux01 kernel: [ 8562.588836] sd 2:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
Oct  8 09:28:01 linux01 kernel: [ 8562.588839] sd 2:0:0:0: [sdb] tag#0 CDB: Write(10) 2a 00 00 00 b8 8f 00 00 f0 00
Oct  8 09:28:01 linux01 kernel: [ 8562.588841] blk_update_request: I/O error, dev sdb, sector 47247
Oct  8 09:28:01 linux01 kernel: [ 8562.694863] FAT-fs (sdb1): Directory bread(block 32768) failed
Oct  8 09:28:01 linux01 kernel: [ 8562.695050] FAT-fs (sdb1): Directory bread(block 32768) failed
Oct  8 09:28:01 linux01 kernel: [ 8562.695109] FAT-fs (sdb1): Directory bread(block 32768) failed
Oct  8 09:28:01 linux01 kernel: [ 8562.695124] FAT-fs (sdb1): Directory bread(block 32768) failed
Oct  8 09:28:01 linux01 kernel: [ 8562.695134] FAT-fs (sdb1): Directory bread(block 32768) failed
Oct  8 09:28:01 linux01 kernel: [ 8562.695204] FAT-fs (sdb1): FAT read failed (blocknr 3739)
Oct  8 09:28:01 linux01 kernel: [ 8562.695608] FAT-fs (sdb1): Directory bread(block 32768) failed
Oct  8 09:28:01 linux01 kernel: [ 8562.695613] FAT-fs (sdb1): Directory bread(block 32769) failed
Oct  8 09:28:01 linux01 kernel: [ 8562.695628] FAT-fs (sdb1): Directory bread(block 32768) failed
Oct  8 09:28:01 linux01 kernel: [ 8562.695630] FAT-fs (sdb1): Directory bread(block 32769) failed
Oct  8 09:28:01 linux01 kernel: [ 8562.696776] FAT-fs (sdb1): Directory bread(block 32768) failed
Oct  8 09:28:01 linux01 udisksd[1989]: Cleaning up mount point /media/ian/E07F-B980 (device 8:17 no longer exist)
Oct  8 09:28:02 linux01 kernel: [ 8562.955420] FAT-fs (sdb1): unable to read boot sector to mark fs as dirty
Oct  8 09:28:02 linux01 kernel: [ 8562.955438] FAT-fs (sdb1): bread failed in fat_clusters_flush
Oct  8 09:28:15 linux01 ntpd[1334]: error resolving pool ntp.ubuntu.com: Temporary failure in name resolution (-3)
Oct  8 09:28:27 linux01 ntpd[1334]: error resolving pool 1.ubuntu.pool.ntp.org: Temporary failure in name resolution (-3)
Oct  8 09:28:31 linux01 ntpd[1334]: error resolving pool 0.ubuntu.pool.ntp.org: Temporary failure in name resolution (-3)
Oct  8 09:28:59 linux01 ntpd[1334]: error resolving pool 2.ubuntu.pool.ntp.org: Temporary failure in name resolution (-3)
Oct  8 09:29:00 linux01 ntpd[1334]: error resolving pool 3.ubuntu.pool.ntp.org: Temporary failure in name resolution (-3)
Oct  8 09:29:06 linux01 kernel: [ 8627.762404] usb 1-1: new high-speed USB device number 7 using xhci_hcd
Oct  8 09:29:07 linux01 kernel: [ 8627.957457] usb 1-1: New USB device found, idVendor=0951, idProduct=1666
Oct  8 09:29:07 linux01 kernel: [ 8627.957470] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Oct  8 09:29:07 linux01 kernel: [ 8627.957478] usb 1-1: Product: DataTraveler 3.0
Oct  8 09:29:07 linux01 kernel: [ 8627.957485] usb 1-1: Manufacturer: Kingston
Oct  8 09:29:07 linux01 kernel: [ 8627.957490] usb 1-1: SerialNumber: 002618A369C4F051F844241D
Oct  8 09:29:07 linux01 kernel: [ 8627.958006] usb 1-1: ep 0x81 - rounding interval to 128 microframes, ep desc says 255 microframes
Oct  8 09:29:07 linux01 kernel: [ 8627.958024] usb 1-1: ep 0x2 - rounding interval to 128 microframes, ep desc says 255 microframes
Oct  8 09:29:07 linux01 kernel: [ 8627.963844] usb-storage 1-1:1.0: USB Mass Storage device detected
Oct  8 09:29:07 linux01 kernel: [ 8627.964170] scsi host3: usb-storage 1-1:1.0
Oct  8 09:29:07 linux01 mtp-probe: checking bus 1, device 7: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-1"
Oct  8 09:29:07 linux01 mtp-probe: bus: 1, device: 7 was not an MTP device
Oct  8 09:29:08 linux01 kernel: [ 8628.963555] scsi 3:0:0:0: Direct-Access    Kingston DataTraveler 3.0      PQ: 0 ANSI: 6
Oct  8 09:29:08 linux01 kernel: [ 8628.964947] sd 3:0:0:0: Attached scsi generic sg2 type 0
Oct  8 09:29:08 linux01 kernel: [ 8628.965518] sd 3:0:0:0: [sdb] 30218842 512-byte logical blocks: (15.5 GB/14.4 GiB)
Oct  8 09:29:08 linux01 kernel: [ 8628.965726] sd 3:0:0:0: [sdb] Write Protect is off
Oct  8 09:29:08 linux01 kernel: [ 8628.965733] sd 3:0:0:0: [sdb] Mode Sense: 4f 00 00 00
Oct  8 09:29:08 linux01 kernel: [ 8628.965913] sd 3:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
Oct  8 09:29:08 linux01 kernel: [ 8628.975822]  sdb: sdb1
Oct  8 09:29:08 linux01 kernel: [ 8628.977236] sd 3:0:0:0: [sdb] Attached SCSI removable disk
Oct  8 09:29:13 linux01 udisksd[1989]: Mounted /dev/sdb1 at /media/ian/E07F-B980 on behalf of uid 1000
Oct  8 09:29:13 linux01 kernel: [ 8634.220410] FAT-fs (sdb1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.


Don't worry about artificial intelligence.  Worry about natural stupidity.  Smile
Reply
#2
Two updates:-

1.  The USB stick permissions from right-clicking the desktop icon that appears read (now anyway):-

Owner: root (root)
Access: Read & Write
Group: root
Access: None
Others: None

Which is why I'm guessing gparted run from the menu is not offering any formatting options.

Unfortunately, I don't know how to sudo run gparted from the terminal; or being new to linux still how to even change the permissions in the terminal back to me.

2.  I can burn to DVD on the laptop, so I am at least able to backup that way for now (and they verified from SHA-256 after burn).  If that finalized the DVD then that downgrades the urgency of this for me for now.
Don't worry about artificial intelligence.  Worry about natural stupidity.  Smile
Reply
#3
I hope no-one minds me adding my own "replies", but I figure this will be helpful for someone else down the line...

So I have managed to change the permission back to myself (thanks to another thread here) in the terminal:-

sudo chown -R ian: /media/ian/E07F-B980/

But I still don't know how to format it to FAT32 again in gparted, as the option is still greyed out.
Don't worry about artificial intelligence.  Worry about natural stupidity.  Smile
Reply
#4
Have you tried Menu, Settings, Disks? The Help Manual has a section on formatting disks too.
Reply
#5
Quote:Have you tried Menu, Settings, Disks? The Help Manual has a section on formatting disks too.

Thanks, Jerry.

I'll give that a go in a moment.  Below my sign-off is the output of a second attempt.

In brief:
Formatted USB stick (slow version) in Windows 10 to default FAT32 (8kb block) format.
Rebooted LL laptop.
Connected to LL laptop.
Checked permissions.
Managed to copy two small files, but large file gets part-way and errors: ""Error splicing file.  Input/output error.  Do you want to skip it?""
USB stick vanishes from Thunar view and desktop.
Disconnected and reconnected USB stick.
Checked permissions - which were unchanged (below).
Deleted 0 byte version of long file present on USB stick.
Retried copy and paste, with same error part-way.

Log for first attempt from connecting USB to it disappearing detailed below after signature.
Ian

Owner:  ian (ian)
Access: Read & Write
Group: ian
Access: Read only
Others: Read only

Oct  8 12:32:46 linux01 kernel: [  133.998923] usb 1-1: new high-speed USB device number 6 using xhci_hcd
Oct  8 12:32:46 linux01 kernel: [  134.192955] usb 1-1: New USB device found, idVendor=0951, idProduct=1666
Oct  8 12:32:46 linux01 kernel: [  134.192963] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Oct  8 12:32:46 linux01 kernel: [  134.192967] usb 1-1: Product: DataTraveler 3.0
Oct  8 12:32:46 linux01 kernel: [  134.192971] usb 1-1: Manufacturer: Kingston
Oct  8 12:32:46 linux01 kernel: [  134.192974] usb 1-1: SerialNumber: 002618A369C4F051F844241D
Oct  8 12:32:46 linux01 kernel: [  134.193230] usb 1-1: ep 0x81 - rounding interval to 128 microframes, ep desc says 255 microframes
Oct  8 12:32:46 linux01 kernel: [  134.193239] usb 1-1: ep 0x2 - rounding interval to 128 microframes, ep desc says 255 microframes
Oct  8 12:32:46 linux01 mtp-probe: checking bus 1, device 6: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-1"
Oct  8 12:32:46 linux01 mtp-probe: bus: 1, device: 6 was not an MTP device
Oct  8 12:32:46 linux01 kernel: [  134.309823] usb-storage 1-1:1.0: USB Mass Storage device detected
Oct  8 12:32:46 linux01 kernel: [  134.309976] scsi host2: usb-storage 1-1:1.0
Oct  8 12:32:46 linux01 kernel: [  134.310220] usbcore: registered new interface driver usb-storage
Oct  8 12:32:46 linux01 kernel: [  134.322576] usbcore: registered new interface driver uas
Oct  8 12:32:47 linux01 kernel: [  135.308467] scsi 2:0:0:0: Direct-Access    Kingston DataTraveler 3.0      PQ: 0 ANSI: 6
Oct  8 12:32:47 linux01 kernel: [  135.309859] sd 2:0:0:0: Attached scsi generic sg2 type 0
Oct  8 12:32:47 linux01 kernel: [  135.315061] sd 2:0:0:0: [sdb] 30218842 512-byte logical blocks: (15.5 GB/14.4 GiB)
Oct  8 12:32:47 linux01 kernel: [  135.315330] sd 2:0:0:0: [sdb] Write Protect is off
Oct  8 12:32:47 linux01 kernel: [  135.315345] sd 2:0:0:0: [sdb] Mode Sense: 4f 00 00 00
Oct  8 12:32:47 linux01 kernel: [  135.315658] sd 2:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
Oct  8 12:32:47 linux01 kernel: [  135.318484]  sdb: sdb1
Oct  8 12:32:47 linux01 kernel: [  135.319702] sd 2:0:0:0: [sdb] Attached SCSI removable disk
Oct  8 12:32:52 linux01 udisksd[1979]: Mounted /dev/sdb1 at /media/ian/E493-9642 on behalf of uid 1000
Oct  8 12:32:53 linux01 wpa_supplicant[1279]: wlp2s0: Failed to initiate sched scan

Copied two small files (295b and 703.9kB), then copied 387.1Mb of 469.9 Mb before "Error splicing file.  Input/output error.  Do you want to skip it?"

Oct  8 12:33:19 linux01 systemd[1]: Stopping User Manager for UID 108...
Oct  8 12:33:19 linux01 systemd[1500]: Reached target Shutdown.
Oct  8 12:33:19 linux01 systemd[1500]: Stopped target Default.
Oct  8 12:33:19 linux01 systemd[1500]: Starting Exit the Session...
Oct  8 12:33:19 linux01 systemd[1500]: Stopped target Basic System.
Oct  8 12:33:19 linux01 systemd[1500]: Stopped target Timers.
Oct  8 12:33:19 linux01 systemd[1500]: Stopped target Sockets.
Oct  8 12:33:19 linux01 systemd[1500]: Stopped target Paths.
Oct  8 12:33:19 linux01 systemd[1500]: Received SIGRTMIN+24 from PID 2258 (kill).
Oct  8 12:33:19 linux01 systemd[1]: Stopped User Manager for UID 108.
Oct  8 12:33:19 linux01 systemd[1]: Removed slice User Slice of lightdm.
Oct  8 12:33:26 linux01 ntpd[1352]: error resolving pool 0.ubuntu.pool.ntp.org: Temporary failure in name resolution (-3)
Oct  8 12:33:27 linux01 ntpd[1352]: error resolving pool 2.ubuntu.pool.ntp.org: Temporary failure in name resolution (-3)
Oct  8 12:33:29 linux01 ntpd[1352]: error resolving pool 1.ubuntu.pool.ntp.org: Temporary failure in name resolution (-3)
Oct  8 12:33:34 linux01 ntpd[1352]: error resolving pool ntp.ubuntu.com: Temporary failure in name resolution (-3)
Oct  8 12:33:34 linux01 ntpd[1352]: error resolving pool 3.ubuntu.pool.ntp.org: Temporary failure in name resolution (-3)
Oct  8 12:33:48 linux01 wpa_supplicant[1279]: wlp2s0: Failed to initiate sched scan
Oct  8 12:34:30 linux01 ntpd[1352]: error resolving pool 0.ubuntu.pool.ntp.org: Temporary failure in name resolution (-3)
Oct  8 12:34:34 linux01 ntpd[1352]: error resolving pool 2.ubuntu.pool.ntp.org: Temporary failure in name resolution (-3)
Oct  8 12:34:36 linux01 ntpd[1352]: error resolving pool 1.ubuntu.pool.ntp.org: Temporary failure in name resolution (-3)
Oct  8 12:34:41 linux01 ntpd[1352]: error resolving pool ntp.ubuntu.com: Temporary failure in name resolution (-3)
Oct  8 12:34:41 linux01 ntpd[1352]: error resolving pool 3.ubuntu.pool.ntp.org: Temporary failure in name resolution (-3)
Oct  8 12:34:49 linux01 wpa_supplicant[1279]: wlp2s0: Failed to initiate sched scan
Oct  8 12:34:59 linux01 kernel: [  266.988624] usb 1-1: USB disconnect, device number 6
Oct  8 12:34:59 linux01 kernel: [  266.993379] sd 2:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
Oct  8 12:34:59 linux01 kernel: [  266.993394] sd 2:0:0:0: [sdb] tag#0 CDB: Write(10) 2a 00 00 01 2f df 00 00 f0 00
Oct  8 12:34:59 linux01 kernel: [  266.993400] blk_update_request: I/O error, dev sdb, sector 77791
Oct  8 12:34:59 linux01 kernel: [  266.996090] sd 2:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
Oct  8 12:34:59 linux01 kernel: [  266.996101] sd 2:0:0:0: [sdb] tag#0 CDB: Write(10) 2a 00 00 01 30 cf 00 00 f0 00
Oct  8 12:34:59 linux01 kernel: [  266.996107] blk_update_request: I/O error, dev sdb, sector 78031
Oct  8 12:34:59 linux01 udisksd[1979]: Cleaning up mount point /media/ian/E493-9642 (device 8:17 no longer exist)
Oct  8 12:34:59 linux01 kernel: [  267.149194] FAT-fs (sdb1): FAT read failed (blocknr 3662)
Oct  8 12:34:59 linux01 kernel: [  267.149198] ------------[ cut here ]------------
Oct  8 12:34:59 linux01 kernel: [  267.149204] WARNING: CPU: 0 PID: 2279 at /build/linux-Pcn0xK/linux-4.4.0/fs/fs-writeback.c:2113 __mark_inode_dirty+0x293/0x380()
Oct  8 12:34:59 linux01 kernel: [  267.149205] bdi-block not registered
Oct  8 12:34:59 linux01 kernel: [  267.149206] Modules linked in: uas usb_storage rfcomm bnep uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_core v4l2_common videodev media arc4 iwlmvm snd_soc_skl snd_soc_skl_ipc snd_hda_ext_core intel_rapl mac80211 snd_soc_sst_ipc x86_pkg_temp_thermal intel_powerclamp snd_soc_sst_dsp coretemp snd_soc_core kvm_intel snd_compress ac97_bus snd_pcm_dmaengine dw_dmac_core snd_hda_codec_hdmi kvm snd_hda_codec_realtek snd_hda_codec_generic btusb btrtl snd_hda_intel snd_hda_codec iwlwifi snd_hda_core snd_hwdep irqbypass cfg80211 snd_pcm snd_seq_midi snd_seq_midi_event snd_rawmidi snd_seq snd_seq_device mei_me rtsx_pci_ms snd_timer memstick hci_uart snd mei soundcore btbcm btqca shpchp btintel joydev input_leds serio_raw bluetooth intel_lpss_acpi intel_lpss mac_hid acpi_pad ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 xt_hl ip6t_rt nf_conntrack_ipv6 nf_defrag_ipv6 ipt_REJECT nf_reject_ipv4 nf_log_ipv4 nf_log_common xt_LOG xt_limit xt_tcpudp xt_addrtype nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack ip6table_filter ip6_tables nf_conntrack_netbios_ns nf_conntrack_broadcast nf_nat_ftp nf_nat nf_conntrack_ftp parport_pc ppdev nf_conntrack iptable_filter ip_tables x_tables lp parport autofs4 btrfs xor raid6_pq drbg ansi_cprng algif_skcipher af_alg dm_crypt hid_generic usbhid dm_mirror dm_region_hash dm_log rtsx_pci_sdmmc crct10dif_pclmul i915_bpo crc32_pclmul ghash_clmulni_intel aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd intel_ips i2c_algo_bit drm_kms_helper syscopyarea sysfillrect psmouse sysimgblt fb_sys_fops drm r8169 ahci rtsx_pci mii libahci wmi pinctrl_sunrisepoint video pinctrl_intel i2c_hid hid fjes
Oct  8 12:34:59 linux01 kernel: [  267.149274] CPU: 0 PID: 2279 Comm: pool Not tainted 4.4.0-97-generic #120-Ubuntu
Oct  8 12:34:59 linux01 kernel: [  267.149276] Hardware name: Notebook                        W94_95_97JU/W94_95_97JU, BIOS 5.11 03/30/2016
Oct  8 12:34:59 linux01 kernel: [  267.149277]  0000000000000286 b20a51e4f7c60e17 ffff8800641bf770 ffffffff813fabe3
Oct  8 12:34:59 linux01 kernel: [  267.149279]  ffff8800641bf7b8 ffffffff81ce12e0 ffff8800641bf7a8 ffffffff810812e2
Oct  8 12:34:59 linux01 kernel: [  267.149281]  0000000000000000 ffff88015c463050 ffff880159cec348 ffff880159cec3d0
Oct  8 12:34:59 linux01 kernel: [  267.149283] Call Trace:
Oct  8 12:34:59 linux01 kernel: [  267.149287]  [<ffffffff813fabe3>] dump_stack+0x63/0x90
Oct  8 12:34:59 linux01 kernel: [  267.149290]  [<ffffffff810812e2>] warn_slowpath_common+0x82/0xc0
Oct  8 12:34:59 linux01 kernel: [  267.149292]  [<ffffffff8108137c>] warn_slowpath_fmt+0x5c/0x80
Oct  8 12:34:59 linux01 kernel: [  267.149294]  [<ffffffff8123e5f3>] ? locked_inode_to_wb_and_lock_list+0x53/0x100
Oct  8 12:34:59 linux01 kernel: [  267.149296]  [<ffffffff8123f093>] __mark_inode_dirty+0x293/0x380
Oct  8 12:34:59 linux01 kernel: [  267.149300]  [<ffffffff8130553e>] mark_fsinfo_dirty+0x2e/0x30
Oct  8 12:34:59 linux01 kernel: [  267.149302]  [<ffffffff81306307>] fat_alloc_clusters+0x517/0x5c0
Oct  8 12:34:59 linux01 kernel: [  267.149305]  [<ffffffff811ee5ea>] ? kmem_cache_alloc+0x1ca/0x1f0
Oct  8 12:34:59 linux01 kernel: [  267.149307]  [<ffffffff81247731>] ? alloc_buffer_head+0x21/0x60
Oct  8 12:34:59 linux01 kernel: [  267.149309]  [<ffffffff8130773c>] fat_get_block+0x18c/0x200
Oct  8 12:34:59 linux01 kernel: [  267.149311]  [<ffffffff8124965f>] __block_write_begin+0x16f/0x480
Oct  8 12:34:59 linux01 kernel: [  267.149313]  [<ffffffff813075b0>] ? fat_detach+0xd0/0xd0
Oct  8 12:34:59 linux01 kernel: [  267.149316]  [<ffffffff813075b0>] ? fat_detach+0xd0/0xd0
Oct  8 12:34:59 linux01 kernel: [  267.149317]  [<ffffffff812499b6>] block_write_begin+0x46/0x80
Oct  8 12:34:59 linux01 kernel: [  267.149319]  [<ffffffff81249c9b>] cont_write_begin+0x2ab/0x3c0
Oct  8 12:34:59 linux01 kernel: [  267.149321]  [<ffffffff813075b0>] ? fat_detach+0xd0/0xd0
Oct  8 12:34:59 linux01 kernel: [  267.149324]  [<ffffffff81308b54>] fat_write_begin+0x44/0x80
Oct  8 12:34:59 linux01 kernel: [  267.149326]  [<ffffffff813075b0>] ? fat_detach+0xd0/0xd0
Oct  8 12:34:59 linux01 kernel: [  267.149328]  [<ffffffff8118f6ee>] generic_perform_write+0xce/0x1c0
Oct  8 12:34:59 linux01 kernel: [  267.149330]  [<ffffffff81191422>] __generic_file_write_iter+0x1a2/0x1e0
Oct  8 12:34:59 linux01 kernel: [  267.149331]  [<ffffffff81191545>] generic_file_write_iter+0xe5/0x1e0
Oct  8 12:34:59 linux01 kernel: [  267.149334]  [<ffffffff8120f82b>] new_sync_write+0x9b/0xe0
Oct  8 12:34:59 linux01 kernel: [  267.149336]  [<ffffffff8120f896>] __vfs_write+0x26/0x40
Oct  8 12:34:59 linux01 kernel: [  267.149338]  [<ffffffff8120fc2f>] __kernel_write+0x4f/0xf0
Oct  8 12:34:59 linux01 kernel: [  267.149341]  [<ffffffff81241f00>] ? user_page_pipe_buf_steal+0x30/0x30
Oct  8 12:34:59 linux01 kernel: [  267.149343]  [<ffffffff81241f72>] write_pipe_buf+0x72/0xa0
Oct  8 12:34:59 linux01 kernel: [  267.149345]  [<ffffffff8124266e>] __splice_from_pipe+0xfe/0x170
Oct  8 12:34:59 linux01 kernel: [  267.149347]  [<ffffffff81241f00>] ? user_page_pipe_buf_steal+0x30/0x30
Oct  8 12:34:59 linux01 kernel: [  267.149349]  [<ffffffff81243a4e>] splice_from_pipe+0x5e/0x90
Oct  8 12:34:59 linux01 kernel: [  267.149351]  [<ffffffff81243ab9>] default_file_splice_write+0x19/0x30
Oct  8 12:34:59 linux01 kernel: [  267.149354]  [<ffffffff81244049>] SyS_splice+0x329/0x790
Oct  8 12:34:59 linux01 kernel: [  267.149356]  [<ffffffff81103e51>] ? SyS_futex+0x81/0x180
Oct  8 12:34:59 linux01 kernel: [  267.149360]  [<ffffffff818437f2>] entry_SYSCALL_64_fastpath+0x16/0x71
Oct  8 12:34:59 linux01 kernel: [  267.149406] ---[ end trace d7b302c2b2a64c0a ]---
Oct  8 12:34:59 linux01 kernel: [  267.149424] ------------[ cut here ]------------
Oct  8 12:34:59 linux01 kernel: [  267.149427] WARNING: CPU: 0 PID: 2279 at /build/linux-Pcn0xK/linux-4.4.0/fs/fs-writeback.c:2113 __mark_inode_dirty+0x293/0x380()
Oct  8 12:34:59 linux01 kernel: [  267.149428] bdi-block not registered
Oct  8 12:34:59 linux01 kernel: [  267.149429] Modules linked in: uas usb_storage rfcomm bnep uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_core v4l2_common videodev media arc4 iwlmvm snd_soc_skl snd_soc_skl_ipc snd_hda_ext_core intel_rapl mac80211 snd_soc_sst_ipc x86_pkg_temp_thermal intel_powerclamp snd_soc_sst_dsp coretemp snd_soc_core kvm_intel snd_compress ac97_bus snd_pcm_dmaengine dw_dmac_core snd_hda_codec_hdmi kvm snd_hda_codec_realtek snd_hda_codec_generic btusb btrtl snd_hda_intel snd_hda_codec iwlwifi snd_hda_core snd_hwdep irqbypass cfg80211 snd_pcm snd_seq_midi snd_seq_midi_event snd_rawmidi snd_seq snd_seq_device mei_me rtsx_pci_ms snd_timer memstick hci_uart snd mei soundcore btbcm btqca shpchp btintel joydev input_leds serio_raw bluetooth intel_lpss_acpi intel_lpss mac_hid acpi_pad ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 xt_hl ip6t_rt nf_conntrack_ipv6 nf_defrag_ipv6 ipt_REJECT nf_reject_ipv4 nf_log_ipv4 nf_log_common xt_LOG xt_limit xt_tcpudp xt_addrtype nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack ip6table_filter ip6_tables nf_conntrack_netbios_ns nf_conntrack_broadcast nf_nat_ftp nf_nat nf_conntrack_ftp parport_pc ppdev nf_conntrack iptable_filter ip_tables x_tables lp parport autofs4 btrfs xor raid6_pq drbg ansi_cprng algif_skcipher af_alg dm_crypt hid_generic usbhid dm_mirror dm_region_hash dm_log rtsx_pci_sdmmc crct10dif_pclmul i915_bpo crc32_pclmul ghash_clmulni_intel aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd intel_ips i2c_algo_bit drm_kms_helper syscopyarea sysfillrect psmouse sysimgblt fb_sys_fops drm r8169 ahci rtsx_pci mii libahci wmi pinctrl_sunrisepoint video pinctrl_intel i2c_hid hid fjes
Oct  8 12:34:59 linux01 kernel: [  267.149515] CPU: 0 PID: 2279 Comm: pool Tainted: G        W      4.4.0-97-generic #120-Ubuntu
Oct  8 12:34:59 linux01 kernel: [  267.149517] Hardware name: Notebook                        W94_95_97JU/W94_95_97JU, BIOS 5.11 03/30/2016
Oct  8 12:34:59 linux01 kernel: [  267.149518]  0000000000000286 b20a51e4f7c60e17 ffff8800641bfa20 ffffffff813fabe3
Oct  8 12:34:59 linux01 kernel: [  267.149521]  ffff8800641bfa68 ffffffff81ce12e0 ffff8800641bfa58 ffffffff810812e2
Oct  8 12:34:59 linux01 kernel: [  267.149523]  0000000000000000 ffff88015c463050 ffff88014e3f4608 ffff88014e3f4690
Oct  8 12:34:59 linux01 kernel: [  267.149525] Call Trace:
Oct  8 12:34:59 linux01 kernel: [  267.149529]  [<ffffffff813fabe3>] dump_stack+0x63/0x90
Oct  8 12:34:59 linux01 kernel: [  267.149533]  [<ffffffff810812e2>] warn_slowpath_common+0x82/0xc0
Oct  8 12:34:59 linux01 kernel: [  267.149535]  [<ffffffff8108137c>] warn_slowpath_fmt+0x5c/0x80
Oct  8 12:34:59 linux01 kernel: [  267.149539]  [<ffffffff8123e5f3>] ? locked_inode_to_wb_and_lock_list+0x53/0x100
Oct  8 12:34:59 linux01 kernel: [  267.149542]  [<ffffffff8123f093>] __mark_inode_dirty+0x293/0x380
Oct  8 12:34:59 linux01 kernel: [  267.149546]  [<ffffffff813068b3>] fat_truncate_blocks+0x103/0x380
Oct  8 12:34:59 linux01 kernel: [  267.149550]  [<ffffffff811c0704>] ? unmap_mapping_range+0x74/0x130
Oct  8 12:34:59 linux01 kernel: [  267.149554]  [<ffffffff813089bb>] fat_write_failed.isra.13+0x2b/0x30
Oct  8 12:34:59 linux01 kernel: [  267.149557]  [<ffffffff81308b74>] fat_write_begin+0x64/0x80
Oct  8 12:34:59 linux01 kernel: [  267.149560]  [<ffffffff813075b0>] ? fat_detach+0xd0/0xd0
Oct  8 12:34:59 linux01 kernel: [  267.149565]  [<ffffffff8118f6ee>] generic_perform_write+0xce/0x1c0
Oct  8 12:34:59 linux01 kernel: [  267.149568]  [<ffffffff81191422>] __generic_file_write_iter+0x1a2/0x1e0
Oct  8 12:34:59 linux01 kernel: [  267.149571]  [<ffffffff81191545>] generic_file_write_iter+0xe5/0x1e0
Oct  8 12:34:59 linux01 kernel: [  267.149577]  [<ffffffff8120f82b>] new_sync_write+0x9b/0xe0
Oct  8 12:34:59 linux01 kernel: [  267.149580]  [<ffffffff8120f896>] __vfs_write+0x26/0x40
Oct  8 12:34:59 linux01 kernel: [  267.149583]  [<ffffffff8120fc2f>] __kernel_write+0x4f/0xf0
Oct  8 12:34:59 linux01 kernel: [  267.149585]  [<ffffffff81241f00>] ? user_page_pipe_buf_steal+0x30/0x30
Oct  8 12:34:59 linux01 kernel: [  267.149588]  [<ffffffff81241f72>] write_pipe_buf+0x72/0xa0
Oct  8 12:34:59 linux01 kernel: [  267.149590]  [<ffffffff8124266e>] __splice_from_pipe+0xfe/0x170
Oct  8 12:34:59 linux01 kernel: [  267.149593]  [<ffffffff81241f00>] ? user_page_pipe_buf_steal+0x30/0x30
Oct  8 12:34:59 linux01 kernel: [  267.149596]  [<ffffffff81243a4e>] splice_from_pipe+0x5e/0x90
Oct  8 12:34:59 linux01 kernel: [  267.149599]  [<ffffffff81243ab9>] default_file_splice_write+0x19/0x30
Oct  8 12:34:59 linux01 kernel: [  267.149601]  [<ffffffff81244049>] SyS_splice+0x329/0x790
Oct  8 12:34:59 linux01 kernel: [  267.149605]  [<ffffffff81103e51>] ? SyS_futex+0x81/0x180
Oct  8 12:34:59 linux01 kernel: [  267.149609]  [<ffffffff818437f2>] entry_SYSCALL_64_fastpath+0x16/0x71
Oct  8 12:34:59 linux01 kernel: [  267.149611] ---[ end trace d7b302c2b2a64c0b ]---
Oct  8 12:34:59 linux01 kernel: [  267.149662] FAT-fs (sdb1): FAT read failed (blocknr 3290)
Oct  8 12:34:59 linux01 kernel: [  267.149670] FAT-fs (sdb1): unable to read inode block for updating (i_pos 524298)
Oct  8 12:34:59 linux01 kernel: [  267.383565] FAT-fs (sdb1): unable to read boot sector to mark fs as dirty
Oct  8 12:34:59 linux01 kernel: [  267.383571] FAT-fs (sdb1): bread failed in fat_clusters_flush
Oct  8 12:35:37 linux01 ntpd[1352]: error resolving pool 0.ubuntu.pool.ntp.org: Temporary failure in name resolution (-3)
Oct  8 12:35:40 linux01 ntpd[1352]: error resolving pool 2.ubuntu.pool.ntp.org: Temporary failure in name resolution (-3)
Oct  8 12:35:42 linux01 ntpd[1352]: error resolving pool 1.ubuntu.pool.ntp.org: Temporary failure in name resolution (-3)
Oct  8 12:35:46 linux01 ntpd[1352]: error resolving pool ntp.ubuntu.com: Temporary failure in name resolution (-3)
Oct  8 12:35:46 linux01 ntpd[1352]: error resolving pool 3.ubuntu.pool.ntp.org: Temporary failure in name resolution (-3)
Oct  8 12:35:52 linux01 wpa_supplicant[1279]: wlp2s0: Failed to initiate sched scan
Oct  8 12:36:42 linux01 ntpd[1352]: error resolving pool 0.ubuntu.pool.ntp.org: Temporary failure in name resolution (-3)
Oct  8 12:36:45 linux01 ntpd[1352]: error resolving pool 2.ubuntu.pool.ntp.org: Temporary failure in name resolution (-3)
Oct  8 12:36:46 linux01 ntpd[1352]: error resolving pool 1.ubuntu.pool.ntp.org: Temporary failure in name resolution (-3)
Oct  8 12:36:53 linux01 ntpd[1352]: error resolving pool ntp.ubuntu.com: Temporary failure in name resolution (-3)
Oct  8 12:36:53 linux01 ntpd[1352]: error resolving pool 3.ubuntu.pool.ntp.org: Temporary failure in name resolution (-3)
Oct  8 12:36:55 linux01 wpa_supplicant[1279]: wlp2s0: Failed to initiate sched scan

USB stick disappears from file manager (Thunar) view and desktop.
Don't worry about artificial intelligence.  Worry about natural stupidity.  Smile
Reply
#6
Also:-

Menu/Settings/Disk
Connected USB stick
Clicked tools icon and selected benchmark disk.
Benchmark errored, but error message disappeared before I could note it down!  (Was different to the earlier error message.)
Cannot retry as disk and benchmark windows no longer responding.

Will try rebooting laptop at this point.
Don't worry about artificial intelligence.  Worry about natural stupidity.  Smile
Reply
#7
OK, error message was just hidden behind the benchmarking window, which closed OK once I cancelled the error message.

Menu/Settings/Disk benchmarking failed after very short time with error:

Error writing 10485760 bytes at offset 309428224: Input/output error (g-io-error-quark, 0)
Don't worry about artificial intelligence.  Worry about natural stupidity.  Smile
Reply
#8
OK.

Again connected USB stick.
Loaded Menu/Settings/Disks.
Selected to quick format using default settings.
USB disappeared from Thunar view and desktop, so waited a minute and manually disconnected and reconnected USB stick.
Checked permissions, which right-clicking desktop icon showed as same as when formatted in Win 10.
The two small files copied.
But when copying the large file, it gets part way and now errors "Failed to open directory 'KINGSTON'.  Error opening directory '/media/ian/KINGSTON': Permission denied." [KINGSTON was the label I applied this time when formatting as above.]
Drive again disappears (dismounted?)
Manually disconnected and reconnected.
Checked permissions by right-clicking desktop icon, which are unchanged:

Owner: ian (ian)
Access: Read & Write
Group: ian
Access: Read only
Others: Read only.

This last error round is familiar from when it was failing in Ubuntu/Unity, where the file manager was reported permission errors; but these may not be identical in this case.
Don't worry about artificial intelligence.  Worry about natural stupidity.  Smile
Reply
#9
OK.

Booted up 7 year-old entirely different manufacturer/model laptop with essentially the same build of LL, which is my test unit.

Copied data from DVD backup made to this unit (also verifying the SHA256 hashes).

Connected the USB stick.
Again, formatted it using the default options in Menu/Settings/Disks.

This time, the USB stick did not disappear from the Thunar view and desktop.

However, permissions were set to root, so changed in terminal by:

sudo chown -R ian: /media/ian/KINGSTON/

Verified that the permissions appeared identical from right-click on desktop USB icon, which they were.

Copied files from this HD to USB stick without error (this time - we'll see if this continues; before I have had the USB sticks work for a bit and then not, but haven't tested on this laptop before).

Verified that the SHA256 hashes were correct.

So (touch wood), I have a work-around for myself and - should this recur - for anyone else with a second PC/laptop of different spec... subject to this bug not recurring on the test laptop also.  If it does, I'll update in this post.

Meanwhile, though, I'm no closer to understanding what is going on on my main LL laptop.
Don't worry about artificial intelligence.  Worry about natural stupidity.  Smile
Reply
#10
Think Linux: simplicity.

1) What are you copying?
2) What Linux software are you using (not the OS) to accomplish the copying?
3) What do you want the data copied to the USB to do or be?

Be specific about these three questions and we can advise you further. Block offset errors suggest the wrong disk format for what you are trying to do. Probably should have run fsck manually after the unplug as well. Other than that I cannot advise you without knowing the answer to the three questions above.

TC
All opinions expressed and all advice given by Trinidad Cruz on this forum are his responsibility alone and do not necessarily reflect the views or methods of the developers of Linux Lite. He is a citizen of the United States where it is acceptable to occasionally be uninformed and inept as long as you pay your taxes.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)