USB Creator

Post your bugs here.
User avatar
ilu
Posts: 2424
Joined: 09 Oct 2013 12:45

USB Creator

Postby ilu » 14 Jul 2017 21:54

It seems that USB creator 0.4 doesn't feel comfortable with the new SolydXK ISO names. Roughly translated error message: " The name of the distribution can't be deducted from the ISO name."
I know there are more urgent things to do now, I'm posting this only to not forget it.

Edit: It seems that USB Creator doesn't recognise any Solydxk ISO file names ... 0.3.9 as well - strange. I'll check again at home.

User avatar
Arjen Balfoort
Site Admin
Posts: 9223
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: USB Creator

Postby Arjen Balfoort » 15 Jul 2017 06:18

Strange, because I'm creating a bootable USB now with the USB Creator with SolydK-9 host and SolydK-9 ISO.


SolydXK needs you!
Development | Testing | Translations

User avatar
ilu
Posts: 2424
Joined: 09 Oct 2013 12:45

Re: USB Creator

Postby ilu » 11 Sep 2017 20:16

I've gotten back to testing this on my SolydX Jessie. See screenshot. The file ends up on the stick and there is a grub entry for it. It did not boot on a laptop but boots now on a desktop. So maybe the error message is completely unwarranted?
This is the terminal output, which doesn't tell me anthing.

Code: Select all

usb-creator
========== Device Info of: /dev/sdf ==========
Drive name: /org/freedesktop/UDisks2/drives/Lexar_USB_Flash_Drive_AAE3FC3JCLURE27T
FS Type: 
Mount point: 
Total size: 15642624.0
Free size: 15642624.0
ConnectionBus: usb
Removable: True
=======================================
========== Device Info of: /dev/sdf1 ==========
Drive name: /org/freedesktop/UDisks2/drives/Lexar_USB_Flash_Drive_AAE3FC3JCLURE27T
FS Type: vfat
Mount point: /media/root/MULTIUSB
Total size: 15626320.0
Free size: 5255960.0
ConnectionBus: usb
Removable: True
=======================================
Create list store eval string: Gtk.ListStore(bool, GdkPixbuf.Pixbuf, str, str, int, int)
Create column names: ['Column 0', 'Column 1', 'Column 2', 'Column 3']
Create column: Gtk.TreeViewColumn("Column 0", Gtk.CellRendererToggle(), active=0)
Column added: Column 0
Create column: Gtk.TreeViewColumn("Column 1", Gtk.CellRendererPixbuf(), pixbuf=1)
Column added: Column 1
Create column: Gtk.TreeViewColumn("Column 2", Gtk.CellRendererText(), text=2, weight=4, size=5)
Column added: Column 2
Create column: Gtk.TreeViewColumn("Column 3", Gtk.CellRendererText(), text=3, weight=4, size=5)
Column added: Column 3
('Executing:', 'usb-creator -d /dev/sdf -i "/home/xxx/Downloads/solydx_9_64_201709.iso" -s')
===========================================================
===============>>>>> Log session start <<<<<===============
===========================================================
Unmounted /dev/sdf1.
Mount /dev/sdf
Mounted /dev/sdf1 at /media/root/MULTIUSB.
„/media/root/MULTIUSB/solydx_9_64_201709.iso“ wurde entfernt
>> ISOSIZE=1602496 | FREESIZE=6858456
Rsync /home/xxx/Downloads/solydx_9_64_201709.iso to device...
rsync -a --info=progress2 --modify-window=2 "/home/xxx/Downloads/solydx_9_64_201709.iso" "/media/root/MULTIUSB/"
  1,640,955,904 100%    8.87MB/s    0:02:56 (xfr#1, to-chk=0/1)kB left to copy: 1439280                     
Rsync finished
Create Grub menu for /media/root/MULTIUSB/solydx_9_64_201709.iso
Family/distro of solydx_9_64_201709.iso = debian/solyd
Create Grub menu for /media/root/MULTIUSB/solydx64_201707.iso
Family/distro of solydx64_201707.iso = debian/solyd
Create Grub menu for /media/root/MULTIUSB/lmde-2-201503-cinnamon-64bit.iso
Family/distro of lmde-2-201503-cinnamon-64bit.iso = debian/lmde
Create Grub menu for /media/root/MULTIUSB/solydx_8_64_201601.iso
Family/distro of solydx_8_64_201601.iso = debian/solyd
Create Grub menu for /media/root/MULTIUSB/antiX-15-V_x64-full.iso
Family/distro of antiX-15-V_x64-full.iso = debian/antix
Create Grub menu for /media/root/MULTIUSB/MX-15_x64.iso
Family/distro of MX-15_x64.iso = /
Could not guess distribution from ISO name: MX-15_x64.iso.
========== Device Info of: /dev/sdf ==========
Drive name: /org/freedesktop/UDisks2/drives/Lexar_USB_Flash_Drive_AAE3FC3JCLURE27T
FS Type: 
Mount point: 
Total size: 15642624.0
Free size: 15642624.0
ConnectionBus: usb
Removable: True
=======================================
========== Device Info of: /dev/sdf1 ==========
Drive name: /org/freedesktop/UDisks2/drives/Lexar_USB_Flash_Drive_AAE3FC3JCLURE27T
FS Type: vfat
Mount point: /media/root/MULTIUSB
Total size: 15626320.0
Free size: 5255960.0
ConnectionBus: usb
Removable: True
=======================================
Create list store eval string: Gtk.ListStore(bool, GdkPixbuf.Pixbuf, str, str, int, int)
Create column names: ['Column 0', 'Column 1', 'Column 2', 'Column 3']
Create column: Gtk.TreeViewColumn("Column 0", Gtk.CellRendererToggle(), active=0)
Column added: Column 0
Create column: Gtk.TreeViewColumn("Column 1", Gtk.CellRendererPixbuf(), pixbuf=1)
Column added: Column 1
Create column: Gtk.TreeViewColumn("Column 2", Gtk.CellRendererText(), text=2, weight=4, size=5)
Column added: Column 2
Create column: Gtk.TreeViewColumn("Column 3", Gtk.CellRendererText(), text=3, weight=4, size=5)
Column added: Column 3
Create list store eval string: Gtk.ListStore(bool, GdkPixbuf.Pixbuf, str, str, int, int)
Create column names: ['Column 0', 'Column 1', 'Column 2', 'Column 3']
Create column: Gtk.TreeViewColumn("Column 0", Gtk.CellRendererToggle(), active=0)
Column added: Column 0
Create column: Gtk.TreeViewColumn("Column 1", Gtk.CellRendererPixbuf(), pixbuf=1)
Column added: Column 1
Create column: Gtk.TreeViewColumn("Column 2", Gtk.CellRendererText(), text=2, weight=4, size=5)
Column added: Column 2
Create column: Gtk.TreeViewColumn("Column 3", Gtk.CellRendererText(), text=3, weight=4, size=5)
Column added: Column 3
Create list store eval string: Gtk.ListStore(bool, GdkPixbuf.Pixbuf, str, str, int, int)
Create column names: ['Column 0', 'Column 1', 'Column 2', 'Column 3']
Create column: Gtk.TreeViewColumn("Column 0", Gtk.CellRendererToggle(), active=0)
Column added: Column 0
Create column: Gtk.TreeViewColumn("Column 1", Gtk.CellRendererPixbuf(), pixbuf=1)
Column added: Column 1
Create column: Gtk.TreeViewColumn("Column 2", Gtk.CellRendererText(), text=2, weight=4, size=5)
Column added: Column 2
Create column: Gtk.TreeViewColumn("Column 3", Gtk.CellRendererText(), text=3, weight=4, size=5)
Column added: Column 3
kB left to copy: 24                     
USB-Creator - 11.09.2017.png

User avatar
Arjen Balfoort
Site Admin
Posts: 9223
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: USB Creator

Postby Arjen Balfoort » 12 Sep 2017 05:53

If it boots, it's good but I'll take a look at it when I have some time.


SolydXK needs you!
Development | Testing | Translations

User avatar
Arjen Balfoort
Site Admin
Posts: 9223
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: USB Creator

Postby Arjen Balfoort » 14 Sep 2017 11:36

It seems that MX was not in the Debian family as defined in /usr/bin/usb-creator
I've uploaded a new version to testing: http://repository.solydxk.nl/pool/testi ... b-creator/

Can you check it out?


SolydXK needs you!
Development | Testing | Translations

User avatar
ilu
Posts: 2424
Joined: 09 Oct 2013 12:45

Re: USB Creator

Postby ilu » 24 Jun 2019 18:51

I'm sticking to this thread for USB creator bug reports. I know its not top priority but I need to drop the debugging info somewhere.

Edit: I think the problems are mostly due to not correctly unmounting. Problems I noticed:

Deleting an ISO works ok, but if I close the window after delete, the pen drive doesn't get unmounted and if I start again without unmounting things fail. Maybe there should be a button for "finish".

Manually unmounting, remove the pen drive, stick it in again and start up USB creator - it copies the ISO and hangs:

Code: Select all

usb-creator
========== Device Info of: /dev/sdj1 ==========
Drive name: /org/freedesktop/UDisks2/drives/Lexar_USB_Flash_Drive_AAE3FC3JCLURE27T
FS Type: vfat
Mount point:
Total size: 15641600.0
Free size: 0
Ejectable: True
Removable: True
=======================================
========== Device Info of: /dev/sdj ==========
Drive name: /org/freedesktop/UDisks2/drives/Lexar_USB_Flash_Drive_AAE3FC3JCLURE27T
FS Type:
Mount point:
Total size: 15642624.0
Free size: 15642624.0
Ejectable: True
Removable: True
=======================================
Create list store eval string: Gtk.ListStore(bool, GdkPixbuf.Pixbuf, str, str, int, int)
Create column names: ['Column 0', 'Column 1', 'Column 2', 'Column 3']
Create column: Gtk.TreeViewColumn("Column 0", Gtk.CellRendererToggle(), active=0)
Column added: Column 0
Create column: Gtk.TreeViewColumn("Column 1", Gtk.CellRendererPixbuf(), pixbuf=1)
Column added: Column 1
Create column: Gtk.TreeViewColumn("Column 2", Gtk.CellRendererText(), text=2, weight=4, size=5)
Column added: Column 2
Create column: Gtk.TreeViewColumn("Column 3", Gtk.CellRendererText(), text=3, weight=4, size=5)
Column added: Column 3
('Executing:', 'usb-creator -d /dev/sdj -i "/home/.../Downloads/solydx_10_64_201906.iso"')
===========================================================
===============>>>>> Log session start <<<<<===============
===========================================================
Unmounted /dev/sdj1.
Mounted /dev/sdj1 at /media/root/MULTIUSB.
>> ISOSIZE=1777136 | FREESIZE=8732352
Copy /home/.../Downloads/solydx_10_64_201906.iso to /media/root/MULTIUSB
So exit the window, unmount manually - doesn't work although system popup says it unmounted successfully. Error if I try to manually mount:

Code: Select all

Error mounting /dev/sdj1 at /media/.../MULTIUSB1: Command-line `mount -t "vfat" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000,shortname=mixed,utf8=1,showexec,flush" "/dev/sdj1" "/media/.../MULTIUSB1"' exited with non-zero exit status 32: mount: no medium found on /dev/sdj1

awk: Fatal: Die Datei „/sys/block/sdj/stat“ kann nicht zum Lesen geöffnet werden (Datei oder Verzeichnis nicht gefunden)
Whereever the awk terminal output came from ...
Remove the pen drive anyway, put it in again and repair:

Code: Select all

usb-creator
========== Device Info of: /dev/sdj1 ==========
Drive name: /org/freedesktop/UDisks2/drives/Lexar_USB_Flash_Drive_AAE3FC3JCLURE27T
FS Type: vfat
Mount point:
Total size: 15641600.0
Free size: 0
Ejectable: True
Removable: True
=======================================
========== Device Info of: /dev/sdj ==========
Drive name: /org/freedesktop/UDisks2/drives/Lexar_USB_Flash_Drive_AAE3FC3JCLURE27T
FS Type:
Mount point:
Total size: 15642624.0
Free size: 15642624.0
Ejectable: True
Removable: True
=======================================
Create list store eval string: Gtk.ListStore(bool, GdkPixbuf.Pixbuf, str, str, int, int)
Create column names: ['Column 0', 'Column 1', 'Column 2', 'Column 3']
Create column: Gtk.TreeViewColumn("Column 0", Gtk.CellRendererToggle(), active=0)
Column added: Column 0
Create column: Gtk.TreeViewColumn("Column 1", Gtk.CellRendererPixbuf(), pixbuf=1)
Column added: Column 1
Create column: Gtk.TreeViewColumn("Column 2", Gtk.CellRendererText(), text=2, weight=4, size=5)
Column added: Column 2
Create column: Gtk.TreeViewColumn("Column 3", Gtk.CellRendererText(), text=3, weight=4, size=5)
Column added: Column 3
('Executing:', 'usb-creator -d /dev/sdj -r -b -g')
===========================================================
===============>>>>> Log session start <<<<<===============
===========================================================
Unmounted /dev/sdj1.
and hangs again. Although I've managed to succeed on this step before.

Code: Select all

journalctl | grep -C 5 sdj
Jun 24 21:11:03  polkitd(authority=local)[1013]: Operator of unix-session:2 successfully authenticated as unix-user:... to gain ONE-SHOT authorization for action com.solydxk.pkexec.usb-creator for unix-process:2900:10250 [/bin/bash /usr/bin/usb-creator] (owned by unix-user:...)
Jun 24 21:11:03  pkexec[2903]: pam_unix(polkit-1:session): session opened for user root by (uid=1000)
Jun 24 21:11:03  pkexec[2903]: ...: Executing command [USER=root] [TTY=/dev/pts/0] [CWD=/home/...] [COMMAND=/usr/bin/usb-creator-pkexec]
Jun 24 21:11:03  kernel: FAT-fs (sdj1): utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
Jun 24 21:11:03  kernel: FAT-fs (sdj1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
Jun 24 21:11:03  udisksd[2700]: Mounted /dev/sdj1 at /media/root/MULTIUSB on behalf of uid 0
Jun 24 21:11:23  udisksd[2700]: Cleaning up mount point /media/root/MULTIUSB (device 8:145 is not mounted)
Jun 24 21:11:23  udisksd[2700]: Unmounted /dev/sdj1 on behalf of uid 0
Jun 24 21:11:23  kernel: FAT-fs (sdj1): utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
Jun 24 21:11:23  udisksd[2700]: Mounted /dev/sdj1 at /media/root/MULTIUSB on behalf of uid 0
Jun 24 21:11:23  kernel: FAT-fs (sdj1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
Jun 24 21:12:38  polkitd(authority=local)[1013]: Operator of unix-session:2 successfully authenticated as unix-user:... to gain TEMPORARY authorization for action org.freedesktop.udisks2.filesystem-unmount-others for system-bus-name::1.44 [/usr/lib/gvfs/gvfs-udisks2-volume-monitor] (owned by unix-user:...)
Jun 24 21:12:38  udisksd[2700]: Cleaning up mount point /media/root/MULTIUSB (device 8:145 is not mounted)
Jun 24 21:12:38  udisksd[2700]: Unmounted /dev/sdj1 on behalf of uid 1000
Jun 24 21:12:54  dbus-daemon[1631]: Activating service name='org.gnome.GConf'
Jun 24 21:12:54  dbus-daemon[1631]: Successfully activated service 'org.gnome.GConf'
Jun 24 21:14:53  kernel: usb 2-4: USB disconnect, device number 4
Jun 24 21:14:57  kernel: usb 2-4: new high-speed USB device number 5 using ehci-pci
Jun 24 21:14:57  kernel: usb 2-4: New USB device found, idVendor=05dc, idProduct=a833, bcdDevice=11.00
--
Jun 24 21:14:57  org.xfce.FileManager[1631]: thunar-volman: Nicht unterstützter USB-Gerätetyp "usb".
Jun 24 21:14:57  org.xfce.FileManager[1631]: thunar-volman: Nicht unterstützter USB-Gerätetyp "usb-storage".
Jun 24 21:14:57  colord-sane[3364]: io/hpmud/pp.c 627: unable to read device-id ret=-1
Jun 24 21:14:58  kernel: scsi 10:0:0:0: Direct-Access     Lexar    USB Flash Drive  1100 PQ: 0 ANSI: 6
Jun 24 21:14:58  kernel: sd 10:0:0:0: Attached scsi generic sg10 type 0
Jun 24 21:14:58  kernel: sd 10:0:0:0: [sdj] 31285248 512-byte logical blocks: (16.0 GB/14.9 GiB)
Jun 24 21:14:58  kernel: sd 10:0:0:0: [sdj] Write Protect is off
Jun 24 21:14:58  kernel: sd 10:0:0:0: [sdj] Mode Sense: 22 00 00 00
Jun 24 21:14:58  kernel: sd 10:0:0:0: [sdj] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
Jun 24 21:14:58  kernel:  sdj: sdj1
Jun 24 21:14:58  kernel: sd 10:0:0:0: [sdj] Attached SCSI removable disk
Jun 24 21:14:58  org.xfce.FileManager[1631]: thunar-volman: Unbekannter Blockgerätetyp "disk".
Jun 24 21:15:01  CRON[3433]: pam_unix(cron:session): session opened for user root by (uid=0)
Jun 24 21:15:01  CRON[3437]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
Jun 24 21:15:01  CRON[3433]: pam_unix(cron:session): session closed for user root
Jun 24 21:15:02  colord-sane[3410]: io/hpmud/pp.c 627: unable to read device-id ret=-1
Jun 24 21:15:59  minissdpd[1657]: 19 new devices added
Jun 24 21:16:10  polkitd(authority=local)[1013]: Operator of unix-session:2 successfully authenticated as unix-user:... to gain ONE-SHOT authorization for action com.solydxk.pkexec.usb-creator for unix-process:3445:40927 [/bin/bash /usr/bin/usb-creator] (owned by unix-user:...)
Jun 24 21:16:10  pkexec[3448]: pam_unix(polkit-1:session): session opened for user root by (uid=1000)
Jun 24 21:16:10  pkexec[3448]: ...: Executing command [USER=root] [TTY=/dev/pts/0] [CWD=/home/...] [COMMAND=/usr/bin/usb-creator-pkexec]
Jun 24 21:16:11  kernel: FAT-fs (sdj1): utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
Jun 24 21:16:11  kernel: FAT-fs (sdj1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
Jun 24 21:16:11  udisksd[2700]: Mounted /dev/sdj1 at /media/root/MULTIUSB on behalf of uid 0
Jun 24 21:16:14  dbus[934]: [system] Activating via systemd: service name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service'
Jun 24 21:16:14  systemd[1]: Starting Hostname Service...
Jun 24 21:16:14  dbus[934]: [system] Successfully activated service 'org.freedesktop.hostname1'
Jun 24 21:16:14  systemd[1]: Started Hostname Service.
Jun 24 21:16:26  udisksd[2700]: Cleaning up mount point /media/root/MULTIUSB (device 8:145 is not mounted)
Jun 24 21:16:26  udisksd[2700]: Unmounted /dev/sdj1 on behalf of uid 0
Jun 24 21:16:26  kernel: FAT-fs (sdj1): utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
Jun 24 21:16:26  kernel: FAT-fs (sdj1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
Jun 24 21:16:26  udisksd[2700]: Mounted /dev/sdj1 at /media/root/MULTIUSB on behalf of uid 0
Jun 24 21:17:01  CRON[3779]: pam_unix(cron:session): session opened for user root by (uid=0)
Jun 24 21:17:01  CRON[3783]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Jun 24 21:17:01  CRON[3779]: pam_unix(cron:session): session closed for user root
Jun 24 21:18:00  minissdpd[1657]: 24 new devices added
Jun 24 21:19:09  polkitd(authority=local)[1013]: Operator of unix-session:2 successfully authenticated as unix-user:... to gain TEMPORARY authorization for action org.freedesktop.udisks2.filesystem-unmount-others for system-bus-name::1.44 [/usr/lib/gvfs/gvfs-udisks2-volume-monitor] (owned by unix-user:...)
Jun 24 21:19:09  gvfs-udisks2-volume-monitor[2696]: lsof(1) did not exit normally
Jun 24 21:19:12  gvfs-udisks2-volume-monitor[2696]: lsof(1) did not exit normally
Jun 24 21:19:14  gvfs-udisks2-volume-monitor[2696]: lsof(1) did not exit normally
Jun 24 21:19:15  udisksd[2700]: Cleaning up mount point /media/root/MULTIUSB (device 8:145 is not mounted)
Jun 24 21:19:15  udisksd[2700]: Unmounted /dev/sdj1 on behalf of uid 1000
Jun 24 21:19:16  kernel: sd 10:0:0:0: [sdj] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
Jun 24 21:19:16  kernel: sd 10:0:0:0: [sdj] tag#0 Sense Key : Not Ready [current]
Jun 24 21:19:16  kernel: sd 10:0:0:0: [sdj] tag#0 Add. Sense: Medium not present
Jun 24 21:19:16  kernel: sd 10:0:0:0: [sdj] tag#0 CDB: Write(10) 2a 00 00 f0 d0 5a 00 00 20 00
Jun 24 21:19:16  kernel: print_req_error: I/O error, dev sdj, sector 15781978 flags 801
Jun 24 21:19:16  kernel: sd 10:0:0:0: [sdj] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
Jun 24 21:19:16  kernel: sd 10:0:0:0: [sdj] tag#0 Sense Key : Not Ready [current]
Jun 24 21:19:16  kernel: sd 10:0:0:0: [sdj] tag#0 Add. Sense: Medium not present
Jun 24 21:19:16  kernel: sd 10:0:0:0: [sdj] tag#0 CDB: Write(10) 2a 00 00 f0 d0 7a 00 00 58 00
Jun 24 21:19:16  kernel: print_req_error: I/O error, dev sdj, sector 15782010 flags 100001
Jun 24 21:19:16  kernel: sd 10:0:0:0: [sdj] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
Jun 24 21:19:16  kernel: sd 10:0:0:0: [sdj] tag#0 Sense Key : Not Ready [current]
Jun 24 21:19:16  kernel: sd 10:0:0:0: [sdj] tag#0 Add. Sense: Medium not present
Jun 24 21:19:16  kernel: sd 10:0:0:0: [sdj] tag#0 CDB: Write(10) 2a 00 00 f0 d0 d2 00 00 20 00
Jun 24 21:19:16  kernel: print_req_error: I/O error, dev sdj, sector 15782098 flags 801
Jun 24 21:19:16  kernel: sd 10:0:0:0: [sdj] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
Jun 24 21:19:16  kernel: sd 10:0:0:0: [sdj] tag#0 Sense Key : Not Ready [current]
Jun 24 21:19:16  kernel: sd 10:0:0:0: [sdj] tag#0 Add. Sense: Medium not present
Jun 24 21:19:16  kernel: sd 10:0:0:0: [sdj] tag#0 CDB: Write(10) 2a 00 00 f0 d0 f2 00 00 58 00
Jun 24 21:19:16  kernel: print_req_error: I/O error, dev sdj, sector 15782130 flags 100001
Jun 24 21:19:16  kernel: sd 10:0:0:0: [sdj] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
Jun 24 21:19:16  kernel: sd 10:0:0:0: [sdj] tag#0 Sense Key : Not Ready [current]
Jun 24 21:19:16  kernel: sd 10:0:0:0: [sdj] tag#0 Add. Sense: Medium not present
Jun 24 21:19:16  kernel: sd 10:0:0:0: [sdj] tag#0 CDB: Write(10) 2a 00 00 f0 d1 4a 00 00 20 00
Jun 24 21:19:16  kernel: print_req_error: I/O error, dev sdj, sector 15782218 flags 801
Jun 24 21:19:16  kernel: sd 10:0:0:0: [sdj] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
Jun 24 21:19:16  kernel: sd 10:0:0:0: [sdj] tag#0 Sense Key : Not Ready [current]
Jun 24 21:19:16  kernel: sd 10:0:0:0: [sdj] tag#0 Add. Sense: Medium not present
Jun 24 21:19:16  kernel: sd 10:0:0:0: [sdj] tag#0 CDB: Write(10) 2a 00 00 f0 d1 6a 00 00 58 00
Jun 24 21:19:16  kernel: print_req_error: I/O error, dev sdj, sector 15782250 flags 100001
Jun 24 21:19:16  kernel: sd 10:0:0:0: [sdj] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
Jun 24 21:19:16  kernel: sd 10:0:0:0: [sdj] tag#0 Sense Key : Not Ready [current]
Jun 24 21:19:16  kernel: sd 10:0:0:0: [sdj] tag#0 Add. Sense: Medium not present
Jun 24 21:19:16  kernel: sd 10:0:0:0: [sdj] tag#0 CDB: Write(10) 2a 00 00 f0 d1 c2 00 00 20 00
Jun 24 21:19:16  kernel: print_req_error: I/O error, dev sdj, sector 15782338 flags 801
Jun 24 21:19:16  kernel: print_req_error: I/O error, dev sdj, sector 15782370 flags 100001
Jun 24 21:19:16  kernel: print_req_error: I/O error, dev sdj, sector 15782458 flags 4801
Jun 24 21:19:16  kernel: print_req_error: I/O error, dev sdj, sector 15782698 flags 801
Jun 24 21:19:21  kernel: print_req_error: 3078 callbacks suppressed
Jun 24 21:19:21  kernel: print_req_error: I/O error, dev sdj, sector 17536746 flags 104001
Jun 24 21:19:21  kernel: print_req_error: I/O error, dev sdj, sector 17536986 flags 100001
Jun 24 21:19:21  kernel: print_req_error: I/O error, dev sdj, sector 17537074 flags 801
Jun 24 21:19:21  kernel: print_req_error: I/O error, dev sdj, sector 17537106 flags 104001
Jun 24 21:19:21  kernel: print_req_error: I/O error, dev sdj, sector 17537346 flags 100001
Jun 24 21:19:21  kernel: print_req_error: I/O error, dev sdj, sector 17537434 flags 801
Jun 24 21:19:21  kernel: print_req_error: I/O error, dev sdj, sector 17537466 flags 104001
Jun 24 21:19:21  kernel: print_req_error: I/O error, dev sdj, sector 17537706 flags 100001
Jun 24 21:19:21  kernel: print_req_error: I/O error, dev sdj, sector 17537794 flags 801
Jun 24 21:19:21  kernel: print_req_error: I/O error, dev sdj, sector 17537826 flags 104001
Jun 24 21:19:26  kernel: print_req_error: 2514 callbacks suppressed
Jun 24 21:19:26  kernel: print_req_error: I/O error, dev sdj, sector 17912882 flags 104001
Jun 24 21:19:26  kernel: print_req_error: I/O error, dev sdj, sector 17913002 flags 100001
Jun 24 21:19:26  kernel: print_req_error: I/O error, dev sdj, sector 17913242 flags 801
Jun 24 21:19:26  kernel: print_req_error: I/O error, dev sdj, sector 17913362 flags 4801
Jun 24 21:19:26  kernel: print_req_error: I/O error, dev sdj, sector 17913602 flags 801
Jun 24 21:19:26  kernel: print_req_error: I/O error, dev sdj, sector 17913730 flags 104001
Jun 24 21:19:26  kernel: print_req_error: I/O error, dev sdj, sector 17913250 flags 100001
Jun 24 21:19:26  kernel: print_req_error: I/O error, dev sdj, sector 17913970 flags 104001
Jun 24 21:19:26  kernel: print_req_error: I/O error, dev sdj, sector 17914210 flags 100001
Jun 24 21:19:26  kernel: print_req_error: I/O error, dev sdj, sector 17914274 flags 801
Jun 24 21:21:21  kernel: usb 2-4: USB disconnect, device number 5
Jun 24 21:21:25  colord-sane[4816]: io/hpmud/pp.c 627: unable to read device-id ret=-1
Jun 24 21:21:28  kernel: usb 2-4: new high-speed USB device number 6 using ehci-pci
Jun 24 21:21:28  kernel: usb 2-4: New USB device found, idVendor=05dc, idProduct=a833, bcdDevice=11.00
Jun 24 21:21:28  kernel: usb 2-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
--
Jun 24 21:21:28  mtp-probe[4855]: bus: 2, device: 6 was not an MTP device
Jun 24 21:21:28  org.xfce.FileManager[1631]: thunar-volman: Nicht unterstützter USB-Gerätetyp "usb".
Jun 24 21:21:28  org.xfce.FileManager[1631]: thunar-volman: Nicht unterstützter USB-Gerätetyp "usb-storage".
Jun 24 21:21:29  kernel: scsi 10:0:0:0: Direct-Access     Lexar    USB Flash Drive  1100 PQ: 0 ANSI: 6
Jun 24 21:21:29  kernel: sd 10:0:0:0: Attached scsi generic sg10 type 0
Jun 24 21:21:29  kernel: sd 10:0:0:0: [sdj] 31285248 512-byte logical blocks: (16.0 GB/14.9 GiB)
Jun 24 21:21:30  kernel: sd 10:0:0:0: [sdj] Write Protect is off
Jun 24 21:21:30  kernel: sd 10:0:0:0: [sdj] Mode Sense: 22 00 00 00
Jun 24 21:21:30  kernel: sd 10:0:0:0: [sdj] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
Jun 24 21:21:30  kernel:  sdj: sdj1
Jun 24 21:21:30  kernel: sd 10:0:0:0: [sdj] Attached SCSI removable disk
Jun 24 21:21:30  org.xfce.FileManager[1631]: thunar-volman: Unbekannter Blockgerätetyp "disk".
Jun 24 21:21:33  colord-sane[4868]: io/hpmud/pp.c 627: unable to read device-id ret=-1
Jun 24 21:22:58  polkitd(authority=local)[1013]: Operator of unix-session:2 successfully authenticated as unix-user:... to gain ONE-SHOT authorization for action com.solydxk.pkexec.usb-creator for unix-process:5074:81837 [/bin/bash /usr/bin/usb-creator] (owned by unix-user:...)
Jun 24 21:22:58  pkexec[5077]: pam_unix(polkit-1:session): session opened for user root by (uid=1000)
Jun 24 21:22:58  pkexec[5077]: ...: Executing command [USER=root] [TTY=/dev/pts/0] [CWD=/home/...] [COMMAND=/usr/bin/usb-creator-pkexec]
Jun 24 21:22:59  kernel: FAT-fs (sdj1): utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
Jun 24 21:22:59  kernel: FAT-fs (sdj1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
Jun 24 21:22:59  udisksd[2700]: Mounted /dev/sdj1 at /media/root/MULTIUSB on behalf of uid 0
Jun 24 21:23:06  udisksd[2700]: Cleaning up mount point /media/root/MULTIUSB (device 8:145 is not mounted)
Jun 24 21:23:06  udisksd[2700]: Unmounted /dev/sdj1 on behalf of uid 0
Jun 24 21:24:26  systemd[1]: Starting Cleanup of Temporary Directories...
Jun 24 21:24:26  systemd[1]: Started Cleanup of Temporary Directories.
Jun 24 21:25:01  CRON[5871]: pam_unix(cron:session): session opened for user root by (uid=0)
Jun 24 21:25:01  CRON[5875]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
Jun 24 21:25:01  CRON[5871]: pam_unix(cron:session): session closed for user root
After manually mounting and unmounting stuff gets written on the device.

User avatar
Arjen Balfoort
Site Admin
Posts: 9223
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: USB Creator

Postby Arjen Balfoort » 24 Jun 2019 19:02

I have built the usb-creator script from the ground up.
Unfortunately I have trouble to get some ISOs to boot and it might be the grub.cfg file.

As long as there is a loopback.cfg in the ISO, there is no problem. The problem is that distibutions tend to have different names for the same thing (vmlinuz and intird), place them at different locations and have custom boot parameters.

This is impossible to test all for just one person. So, if I have a version worthwhile for testing I will upload it to our testing repository and I will post back to let you know.


SolydXK needs you!
Development | Testing | Translations

User avatar
ilu
Posts: 2424
Joined: 09 Oct 2013 12:45

Re: USB Creator

Postby ilu » 24 Jun 2019 19:25

I edited my previous post because I was not finished with testing. I really think mount issues (and the USB bus hanging up) are at laest partly the source of the problems.

Ok, I was too hasty to stop the repair function, Repair took about 10 min. A working progress bar for the repair funktion would be really useful. Or a warning that every operation will take reeeaaally long. Also unmounting the medium before closing the window.

I'm confident that the pen drive will be working allright like it allways did after successful repair. So I think the old script generally works, there's just a glitch after copying is finished - maybe we are also too quick to give up? - and there's the mount/unmount problem.

User avatar
Arjen Balfoort
Site Admin
Posts: 9223
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: USB Creator

Postby Arjen Balfoort » 24 Jun 2019 19:48

I have simplified the process because some features caused a lot of problems: formatting and repair. I leave that to the software better suited for the task.


SolydXK needs you!
Development | Testing | Translations

User avatar
Arjen Balfoort
Site Admin
Posts: 9223
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: USB Creator

Postby Arjen Balfoort » 24 Jun 2019 21:31

I have uploaded usb-creator for testing: https://repository.solydxk.com/pool/tes ... b-creator/

I've tested these successfully:
* SolydX and SolydK
* Debian Live
* Manjaro
* Linux Mint
* Elementary
* Slackware
* Solus OS
* Ubuntu
* Zorin
* Gentoo

But I can't get these to boot:
* ArchLinux
* Fedora
* MX Linux
* OpenSuse
* Puppy
* Mageia

It has something to do with this part in grub.cfg:

Code: Select all

search --file --no-floppy --set $theme
#search --fs-uuid --no-floppy --set [UUID]
probe -u $root --set=rootuuid
set imgdevpath="/dev/disk/by-uuid/$rootuuid"
export root imgdevpath rootuuid
Fedora is especially verbose and tells me that root does not exist or not set.

I've tried with setting it through UUID:

Code: Select all

search --fs-uuid --no-floppy --set [partition-uuid]
but that didn't make a difference.


SolydXK needs you!
Development | Testing | Translations

User avatar
Arjen Balfoort
Site Admin
Posts: 9223
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: USB Creator

Postby Arjen Balfoort » 25 Jun 2019 18:51

Updated usb-creator in testing: https://repository.solydxk.com/pool/tes ... b-creator/

I keep a list of tested distros in Github: https://github.com/SolydXK/usb-creator


SolydXK needs you!
Development | Testing | Translations

User avatar
Arjen Balfoort
Site Admin
Posts: 9223
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: USB Creator

Postby Arjen Balfoort » 26 Jun 2019 15:48

I've uploaded a new testing version.

It is not needed anymore to have the distro name in the ISO file name. USB Creator checks the ISO label against a list. Puppy is an exception: it doesn't have "puppy" in its ISO label and you'll have to manually select puppy in the drop down menu.

Puppy is now bootable (it needs to be unpacked, booting from ISO is not possible).

I've been trying these, but after many attempts I still couldn't get them to boot:

* Fedora Workstation Live (start Gnome but than stays blanc)
* Mageia (only splash)
* Alpine (tried unpacking, still nothing)
* FreeBSD (too complicated)
* ReactOS (not linux, don't know what to do with it)

I've uploaded the source to Github and I've updated Transifex for the translations.


SolydXK needs you!
Development | Testing | Translations

User avatar
Arjen Balfoort
Site Admin
Posts: 9223
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: USB Creator

Postby Arjen Balfoort » 28 Jun 2019 17:09

I've uploaded the new usb-creator to the main repositories (solydxk-9 and solydxk-10).


SolydXK needs you!
Development | Testing | Translations

User avatar
troypulk
Posts: 155
Joined: 20 Jul 2014 22:43
Location: Washington State, USA

Re: USB Creator

Postby troypulk » 28 Jun 2019 18:28

I just tried to run the 0.6.7 version in
Linux solydx 4.19.0-5-amd64 #1 SMP Debian 4.19.37-5 (2019-06-19) SolydX EE 10
I received this error:

Code: Select all

sudo /usr/bin/usb-creator
[sudo] password for troypulk: 
/usr/lib/usb-creator/main.py:56: PyGIDeprecationWarning: Since version 3.11, calling threads_init is no longer needed. See: https://wiki.gnome.org/PyGObject/Threading
  GObject.threads_init()
Traceback (most recent call last):
  File "/usr/lib/usb-creator/main.py", line 58, in <module>
    USBCreator()
  File "/usr/lib/usb-creator/usbcreator.py", line 109, in __init__
    self.log = Logger(self.log_file, addLogTime=False, maxSizeKB=5120)
  File "/usr/lib/usb-creator/logger.py", line 47, in __init__
    logging.basicConfig(filename=self.logPath, level=self.defaultLevel, format=formatStr, datefmt=dateFmtStr)
  File "/usr/lib/python3.7/logging/__init__.py", line 1900, in basicConfig
    h = FileHandler(filename, mode)
  File "/usr/lib/python3.7/logging/__init__.py", line 1092, in __init__
    StreamHandler.__init__(self, self._open())
  File "/usr/lib/python3.7/logging/__init__.py", line 1121, in _open
    return open(self.baseFilename, self.mode, encoding=self.encoding)
FileNotFoundError: [Errno 2] No such file or directory: '/home/troypulk/.usb-creator/usb-creator.log'
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/usb-creator/main.py", line 23, in uncaught_excepthook
    from types import BuiltinFunctionType, ClassType, ModuleType, TypeType
ImportError: cannot import name 'ClassType' from 'types' (/usr/lib/python3.7/types.py)

Original exception was:
Traceback (most recent call last):
  File "/usr/lib/usb-creator/main.py", line 58, in <module>
    USBCreator()
  File "/usr/lib/usb-creator/usbcreator.py", line 109, in __init__
    self.log = Logger(self.log_file, addLogTime=False, maxSizeKB=5120)
  File "/usr/lib/usb-creator/logger.py", line 47, in __init__
    logging.basicConfig(filename=self.logPath, level=self.defaultLevel, format=formatStr, datefmt=dateFmtStr)
  File "/usr/lib/python3.7/logging/__init__.py", line 1900, in basicConfig
    h = FileHandler(filename, mode)
  File "/usr/lib/python3.7/logging/__init__.py", line 1092, in __init__
    StreamHandler.__init__(self, self._open())
  File "/usr/lib/python3.7/logging/__init__.py", line 1121, in _open
    return open(self.baseFilename, self.mode, encoding=self.encoding)
FileNotFoundError: [Errno 2] No such file or directory: '/home/troypulk/.usb-creator/usb-creator.log'

User avatar
Arjen Balfoort
Site Admin
Posts: 9223
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: USB Creator

Postby Arjen Balfoort » 28 Jun 2019 20:57

Just do a "apt sync" again for version 0.6.8


SolydXK needs you!
Development | Testing | Translations

User avatar
troypulk
Posts: 155
Joined: 20 Jul 2014 22:43
Location: Washington State, USA

Re: USB Creator

Postby troypulk » 29 Jun 2019 06:20

It opens now I'll test it later.

One thing though, in the lower right corner I can tell it's the help icon when you click it it tries to open Firefox as root but doesn't work yet, it says:

Code: Select all

('Executing:', 'xdg-open "/usr/lib/usb-creator/../../share/usb-creator/html/en/help.html"')
Running Firefox as root in a regular user's session is not supported.  ($XAUTHORITY is /home/troypulk/.Xauthority which is owned by troypulk.)
Is there another way to open this link.

Also clicking the icon to open usb creator in the Applications menu and Whisker menu does not open it.

User avatar
Arjen Balfoort
Site Admin
Posts: 9223
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: USB Creator

Postby Arjen Balfoort » 29 Jun 2019 08:47

This must be a remnant of the old usb-creator. The new one is not started with root permissions.

Check if you have this file: /usr/share/polkit-1/actions/com.solydxk.pkexec.usb-creator.policy
It shouldn't be there.

The new one is: /usr/share/polkit-1/actions/com.solydxk.pkexec.usb-creator.grub-install.policy
Different name, different function.


SolydXK needs you!
Development | Testing | Translations

User avatar
troypulk
Posts: 155
Joined: 20 Jul 2014 22:43
Location: Washington State, USA

Re: USB Creator

Postby troypulk » 29 Jun 2019 18:53

That's interesting because I have the second file you listed and the program will not run with out root:

I'll do a purge and reinstall to see if that fixes it.

Code: Select all

$ /usr/bin/usb-creator
/usr/lib/usb-creator/main.py:56: PyGIDeprecationWarning: Since version 3.11, calling threads_init is no longer needed. See: https://wiki.gnome.org/PyGObject/Threading
  GObject.threads_init()
Traceback (most recent call last):
  File "/usr/lib/usb-creator/main.py", line 58, in <module>
    USBCreator()
  File "/usr/lib/usb-creator/usbcreator.py", line 112, in __init__
    self.log = Logger(self.log_file, addLogTime=False, maxSizeKB=5120)
  File "/usr/lib/usb-creator/logger.py", line 47, in __init__
    logging.basicConfig(filename=self.logPath, level=self.defaultLevel, format=formatStr, datefmt=dateFmtStr)
  File "/usr/lib/python3.7/logging/__init__.py", line 1900, in basicConfig
    h = FileHandler(filename, mode)
  File "/usr/lib/python3.7/logging/__init__.py", line 1092, in __init__
    StreamHandler.__init__(self, self._open())
  File "/usr/lib/python3.7/logging/__init__.py", line 1121, in _open
    return open(self.baseFilename, self.mode, encoding=self.encoding)
PermissionError: [Errno 13] Permission denied: '/home/troypulk/.usb-creator/usb-creator.log'
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/usb-creator/main.py", line 23, in uncaught_excepthook
    from types import BuiltinFunctionType, ClassType, ModuleType, TypeType
ImportError: cannot import name 'ClassType' from 'types' (/usr/lib/python3.7/types.py)

Original exception was:
Traceback (most recent call last):
  File "/usr/lib/usb-creator/main.py", line 58, in <module>
    USBCreator()
  File "/usr/lib/usb-creator/usbcreator.py", line 112, in __init__
    self.log = Logger(self.log_file, addLogTime=False, maxSizeKB=5120)
  File "/usr/lib/usb-creator/logger.py", line 47, in __init__
    logging.basicConfig(filename=self.logPath, level=self.defaultLevel, format=formatStr, datefmt=dateFmtStr)
  File "/usr/lib/python3.7/logging/__init__.py", line 1900, in basicConfig
    h = FileHandler(filename, mode)
  File "/usr/lib/python3.7/logging/__init__.py", line 1092, in __init__
    StreamHandler.__init__(self, self._open())
  File "/usr/lib/python3.7/logging/__init__.py", line 1121, in _open
    return open(self.baseFilename, self.mode, encoding=self.encoding)
PermissionError: [Errno 13] Permission denied: '/home/troypulk/.usb-creator/usb-creator.log'
EDIT:

Purged all files and reinstalled, starts with our root and the help icon opens a web browser to look at the help html.

I'll test it later.

User avatar
ilu
Posts: 2424
Joined: 09 Oct 2013 12:45

Re: USB Creator

Postby ilu » 29 Jun 2019 19:14

Can the new USB Creator work with sticks created by the old version? Any risk for existing data on the pen drive?

User avatar
Arjen Balfoort
Site Admin
Posts: 9223
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: USB Creator

Postby Arjen Balfoort » 30 Jun 2019 09:15

ilu wrote:
29 Jun 2019 19:14
Can the new USB Creator work with sticks created by the old version? Any risk for existing data on the pen drive?
I've never tested that, but in theory it only writes to the boot directory. It should even leave the current grub.cfg configuration, only adding the menuentry configuration for the new ISO or removing the menuentry for the ISO you removed.

I'd backup grub.cfg to be sure.


SolydXK needs you!
Development | Testing | Translations


Return to “Bug Control”

Who is online

Users browsing this forum: No registered users and 1 guest