USB copy and WB progress bar

This forum is for all AmigaOne 500, Sam440 and Sam460 specific issues.
Gebrochen
Posts: 5
Joined: Wed Oct 19, 2011 11:46 am

USB copy and WB progress bar

Post by Gebrochen »

My USB problem is not just on my system, (SAM440EP with no expansions added)

Thomas from AmiBoing experiences similar, but can overide it by using the ports in the back, and a friend on his A1 has issues also,

Any file larger than 3mb generally seems to stay on 0% copied, and the only way to fix this issue is to use the shell command to copy 700 mb or more files across to portable HDD or USB keys.

Even then sometimes it will come up with Disk Error in device USB0 Results Uncertain. Proceed at your own risk. At which point need to restart my system via the Power Button.

After which Theres a long wait, whereby I need to unplug and replug the Portable HDD USB back into a rear port, before proceeding to copy more large files again. It gets better it does not matter weather its a HDD or USB key here either.

As mentioned, I also tested my rear ports, while placing my kybd and mouse to the front ports, still no go, it seems the only way for me to copy anything is to use shell.

Hyperion better fix this for the new users, who are definately going to only use GUI and no command line interfaces.

(Side NOTE:)
BTW, while im at it, thank you Hyperion for continuously supporting and developing Amiga Operating System and expanding the new gen hardware it will and can run on.

Cheers
User avatar
Hypex
Beta Tester
Beta Tester
Posts: 647
Joined: Mon Dec 20, 2010 2:23 pm
Location: Vic. Australia.

Re: USB copy and WB progress bar

Post by Hypex »

Perhaps give some more detail about your setup. Such as where your keyboard and mouse are plugged in. And the port your USB drives are plugged in. And if the issue still occurs with a USB hub attached. A USB 1.x hub will cancel out any USB2 driver issues should they occur.

Also, if the shell is fine, what other software also works? Have you tested apps like DirOpus or AmiDisk? That would be easier than CLI.

If the problem is limited to the Workbench, then perhaps try disabling items run in WBStartup, to see if any may be causing conflict.

And the best way of isolating the problem is to install a fresh copy of AmigaOS4 Update 3 onto a spare partition and see if the problem still occurs. If so then it would be AmigaOS at fault.

You could also check Utilities/LogViewer for any USB issues. Though a copy might not show up. And also try and see if the Snoopy program can find any problems while you attempt to copy. :-)
User avatar
mechanic
Posts: 510
Joined: Sat Jun 25, 2011 9:22 pm

Re: USB copy and WB progress bar

Post by mechanic »

Gebrochen wrote:My USB problem is not just on my system, (SAM440EP with no expansions added)
I was testing USB transfers for another thread in this forum and have
no problems transfering a 1.4GB single file to/from USB/DVD/HD in all
combinations using front or rear ports.

Sam440ep
OS4.1up3
Using WB only, (after selecting 'show all' to have an icon).

Could you remove all devices except Kbd&Mouse, reboot, and then plug-in only
the device your trying to transfer to. At that point copy your usb.log and
paste it here ?
A-Eon A1X1000 ATI HD6850, Creative SB1570 PCIe, RTL8139 net PCI.
User avatar
mechanic
Posts: 510
Joined: Sat Jun 25, 2011 9:22 pm

Re: USB copy and WB progress bar

Post by mechanic »

Here is a edited USB log. It contains only the right side entries.
Hidden Text - Click to Show :
****USBCtrl start. In S:Startup-sequence****

I: | USB System Software Task started
I: | Starting HCDs...
E: | fkt: 0x5FF8AA00 = Level -1
E: | fkt: 0x5FF8AAA0 = Level 0
E: | fkt: 0x5FF8AB40 = Level -1
E: | fkt: 0x5FF8ABE0 = Level 0
E: | fkt: 0x5FF8AC80 = Level -1
E: | fkt: 0x5FF8AD20 = Level 0
I: | ...HCDs started.
I: | Fkt 0x5FF8AAA0 is {Vendor: 0x0000, Product: 0x0000, Class: 09.00}
I: | Fkt 0x5FF8ABE0 is {Vendor: 0x0000, Product: 0x0000, Class: 09.00}
I: | Fkt 0x5FF8AD20 is {Vendor: 0x0000, Product: 0x0000, Class: 09.00}
I: | Fkt 0x5FF8AAA0 initialized
I: | Fkt 0x5FF8ABE0 initialized
I: | Fkt 0x5FF8AD20 initialized
I: | Hub "Rear Roothub (ohci.usbhcd/0)" has TT thinktime of 8 full speed bittimes and protocol 0
I: | Hub "Front Roothub (ohci.usbhcd/1)" has TT thinktime of 8 full speed bittimes and protocol 0
I: | Hub "Rear Roothub (ehci.usbhcd/0)" has TT thinktime of 8 full speed bittimes and protocol 0
I: | All ports are empty
I: | All ports are empty
I: EHCI | Device at port 2 is a lowspeed device. Giving up ownership.
I: | All ports are empty
I: | Initial USB Attachment Phase terminated
I: | Device found on port 2 of hub "Rear Roothub (ohci.usbhcd/0)".
I: | Device at port 2 of hub "Rear Roothub (ohci.usbhcd/0)" is low-speed.
E: | fkt: 0x5FDA4010 = Level 1
I: | Device on hub port 2 successfully added.
I: | Fkt 0x5FDA4010 is {Vendor: 0x04F3, Product: 0x01A4, Class: 00.00}
I: | Fkt 0x5FDA4010 initialized
I: | USB System Software Process started.
I: | Reading FD descriptors...
I: | ...FD infos read
**** The BOOT M&K will now be preempted to make them inactive****
I: | Weak FD "bootkeyboard.usbfd" for Ifc 0x5FE51C10 is being preempted.
I: | Weak FD "bootmouse.usbfd" for Ifc 0x5FE51C90 is being preempted.
**** No more bootmouse/bootkeyboard****
I: | Starting HCDs...
I: | ...HCDs started.
I: | Initial USB Attachment Phase terminated
I: | USB stack fullbooted
****Waiting for next event ****
****Now inserting memory stick ****
I: | Device found on port 4 of hub "Rear Roothub (ehci.usbhcd/0)".
I: | Device at port 4 of hub "Rear Roothub (ehci.usbhcd/0)" is high-speed.
E: | fkt: 0x5e134d40 = Level 1
I: | Device on hub port 4 successfully added.
I: EHCI | Port 3 is not in reset state.
I: | Fkt 0x5E134D40 is {Vendor: 0x0781, Product: 0x5150, Class: 00.00}
I: | Fkt 0x5E134D40 initialized
I: Massstorage | Lun 0 has device type 0x00 (Direct access) and is removable
****End memory stick ****
****Now plugging in external 3 1/2 HD ****
I: | Device found on port 2 of hub "Rear Roothub (ehci.usbhcd/0)".
I: | Device at port 2 of hub "Rear Roothub (ehci.usbhcd/0)" is high-speed.
E: | fkt: 0x5e134f20 = Level 1
I: | Device on hub port 2 successfully added.
I: EHCI | Port 1 is not in reset state.
I: | Fkt 0x5E134F20 is {Vendor: 0x152D, Product: 0x2338, Class: 00.00}
I: | Fkt 0x5E134F20 initialized
I: Massstorage | Lun 0 has device type 0x00 (Direct access) and is not removable
****End 3 1/2 HD bootup ****
****USB Mem stick removed****
****4 port USB powered HUB attached ****

I: | Detaching. Function removed from hub port 4
****Notice the 'detaching' took place after a different device was plugged in ****

I: | Device found on port 4 of hub "Rear Roothub (ehci.usbhcd/0)".
I: EHCI | Device at port 3 is a fullspeed device. Giving up ownership.
I: | Port 4 of hub "Rear Roothub (ehci.usbhcd/0)" reset timed out
W:| Resetting hub port 4 and trying again
I: | Reset request for port 4 failed (error -23)
E: | Resetting port 4 of hub "Rear Roothub (ehci.usbhcd/0)" failed. Device adding aborted
**** Dropping to next slower speed****
I: | Device found on port 2 of hub "Front Roothub (ohci.usbhcd/1)".
I: | Device at port 2 of hub "Front Roothub (ohci.usbhcd/1)" is full-speed.
****The external hub is not ehci****
E: | fkt: 0x5db4ade0 = Level 1
I: | Device on hub port 2 successfully added.
I: | Fkt 0x5DB4ADE0 is {Vendor: 0x04CC, Product: 0x1122, Class: 09.00}
I: | Fkt 0x5DB4ADE0 initialized
I: | Hub "" has TT thinktime of 8 full speed bittimes and protocol 0
I: HUB | All ports are empty
****Memory stick into external hub****
I: | Device found on port 4 of hub "".
I: | Device at port 4 of hub "" is full-speed.
****Same memory stick, this time using full-speed instead of High-speed
****due to external hub not having ehci chip****
E: | fkt: 0x5db4aca0 = Level 2
I: | Device on hub port 4 successfully added.
I: | Fkt 0x5DB4ACA0 is {Vendor: 0x0781, Product: 0x5150, Class: 00.00}
I: | Fkt 0x5DB4ACA0 initialized
I: Massstorage | Lun 0 has device type 0x00 (Direct access) and is removable
****Will now remove stick from external hub****
I: | Detaching. Function removed from hub port 4
****Stick removed****
****Will now remove external hub****
I: HUB | Status Change Pipe error -35
I: HUB | Status Change Pipe error -35
I: HUB | Status Change Pipe error -35
I: HUB | Status Change Pipe error -35
I: HUB | Detaching Function removed from hub port 2
****End hub remove****
****Now plugging in Mem stick into different port****
I: | Device found on port 1 of hub "Rear Roothub (ehci.usbhcd/0)".
I: | Device at port 1 of hub "Rear Roothub (ehci.usbhcd/0)" is high-speed.
E: | fkt: 0x5db4a8e0 = Level 1
I: | Device on hub port 1 successfully added.
I: EHCI | Port 0 is not in reset state.
I: | Fkt 0x5DB4A8E0 is {Vendor: 0x0781, Product: 0x5150, Class: 00.00}
I: | Fkt 0x5DB4A8E0 initialized
I: Massstorage | Lun 0 has device type 0x00 (Direct access) and is removable
**** Mem stick is now ehci high-speed again****
****Moving wireless M & K to different port****
I: HID Server | Interrupt req. returned -35***This message repeated 39 times in log****
I: | Interrupt req. returned -35 (2)
I: | Interrupt req. returned -35 (39)
I: | Detaching. Function removed from hub port 2
****End M & K remove****
****Start M & K insert****

I: EHCI | Device at port 3 is a lowspeed device. Giving up ownership.
I: | Device found on port 2 of hub "Front Roothub (ohci.usbhcd/1)".
I: | Device at port 2 of hub "Front Roothub (ohci.usbhcd/1)" is low-speed.
E: | fkt: 0x5fe12010 = Level 1
I: | Device on hub port 2 successfully added.
I: | Fkt 0x5FE12010 is {Vendor: 0x04F3, Product: 0x01A4, Class: 00.00}
I: | Fkt 0x5FE12010 initialized

****END****

**** The 'Detaching. Function removed' log entry is not saved to usb.log
**** until the next USB event occurs.**** (bug ?)
A-Eon A1X1000 ATI HD6850, Creative SB1570 PCIe, RTL8139 net PCI.
User avatar
Hypex
Beta Tester
Beta Tester
Posts: 647
Joined: Mon Dec 20, 2010 2:23 pm
Location: Vic. Australia.

Re: USB copy and WB progress bar

Post by Hypex »

mechanic wrote:Here is a edited USB log. It contains only the right side entries.
What do you mean by thay? And what were you doing in this log?

I see no update to this issue so it looks like the progres bar hasn't moved. ;-)
User avatar
mechanic
Posts: 510
Joined: Sat Jun 25, 2011 9:22 pm

Re: USB copy and WB progress bar

Post by mechanic »

Hypex wrote:
What do you mean by thay? And what were you doing in this log?

I see no update to this issue so it looks like the progres bar hasn't moved. ;-)
I edited the log to remove some non essential info and added some '****'
notes as to what is going on as devices are inserted and removed from USB.

I asked for a copy of his log to maybe see if there was a USB problem.

Perhaps the problem is already solved.
A-Eon A1X1000 ATI HD6850, Creative SB1570 PCIe, RTL8139 net PCI.
User avatar
Hypex
Beta Tester
Beta Tester
Posts: 647
Joined: Mon Dec 20, 2010 2:23 pm
Location: Vic. Australia.

Re: USB copy and WB progress bar

Post by Hypex »

mechanic wrote:I edited the log to remove some non essential info
Okay I see,
mechanic wrote:I asked for a copy of his log to maybe see if there was a USB problem.
And a result from disabling swap also.
mechanic wrote:Perhaps the problem is already solved.
No it's still ongoing. It's just moved int the other Update 3 issue thread. But it should have stayed here.
User avatar
Hypex
Beta Tester
Beta Tester
Posts: 647
Joined: Mon Dec 20, 2010 2:23 pm
Location: Vic. Australia.

Re: USB copy and WB progress bar

Post by Hypex »

Okay we tried disabling swap. A t first it lookedl ike it worked when I copied a large file over. About 750MB. Then I cold rebooted to be sure swap was disabled and tried to copy a directory with a few same size AVI files onto a USB key. It started, but then stalled, and the light was stuck on the USB key. That didn't look good. It looked like OS4 had crashed the USB key if such a thing were possible.

So doesn't look like swap was the problem. Keep searching I guess.
User avatar
mechanic
Posts: 510
Joined: Sat Jun 25, 2011 9:22 pm

Re: USB copy and WB progress bar

Post by mechanic »

Hypex wrote: So doesn't look like swap was the problem. Keep searching I guess.
I'm at a loss :?

Er.....Just some info here.

I use FAT12 or 16 for all my USB mem keys. Had some problems with 32 but don't recall
exactly what they were. I also do the format using Linux, Gparted or Fdisk.

??????
A-Eon A1X1000 ATI HD6850, Creative SB1570 PCIe, RTL8139 net PCI.
User avatar
Hypex
Beta Tester
Beta Tester
Posts: 647
Joined: Mon Dec 20, 2010 2:23 pm
Location: Vic. Australia.

Re: USB copy and WB progress bar

Post by Hypex »

mechanic wrote:I'm at a loss
Sorry I was referring to a post you made in another Sam thread:
http://forum.hyperion-entertainment.biz ... t=10#p7442

Where you suggested to disable swap. So I tested this on his machine and it made no change.
Post Reply