Home  
Login
Username:

Password:

Remember me



Lost Password?

Register now!
Sections
Who's Online
25 user(s) are online (4 user(s) are browsing Forums)

Members: 0
Guests: 25

more...
Support us!
Recent OS4 Files
OS4Depot.net



« 1 (2) 3 4 »


Re: Memguard Hit when copying on USB key on AOS4.1U2.
Just can't stay away
Joined:
2006/12/9 10:44
From Lyon, France
Posts: 1182
@Mrodfr

Quote:
What the script copy ????


set source SYS:
set destination USB0:


It copies the whole SYS: partition to the USB key. Then it deletes everything and restart all over again, until you stop it with a Ctrl-D, Ctrl-C

_________________
Philippe 'Elwood' FERRUCCI
Sam460ex 1.10 Ghz
http://elwoodb.free.fr
   Report Go to top

Re: Memguard Hit when copying on USB key on AOS4.1U2.
Home away from home
Joined:
2007/9/11 11:31
From Russia
Posts: 3846
@ALL
So, first time i catch that bug too. I trying to copy right now 700mb file, and something on 70% i have Ellow alert, with words "Babble detected on USB unit 0. USB controller will be reset!" Then Disk Error ! window with words:
Bad read
Disk block 6,209,624
Error = 20
Device Error

Then retry or change make no sense, it always spawn that ellow window with words Babble detected, and device all the time recognized/unrecognized in loop.

The memguard on that mess say:
Quote:

MEMGUARD HIT - "UHCI Controller Task Unit 0" (6fe84250)
allocation of 65536 bytes by AllocVecTagList() failed
0: 7f6f4be4 6fe75da0 4b73bdbd 020a2bc8 00010000 6fe75e28 61b95358 64fe1040
8: 00010000 00000008 020a2bc8 0001001f 24f25348 03090003 0e010687 0e118c0a
16: 01bc0c0d 09080b4e 02080046 1410fcec f4ec3231 002fe432 f4c4ec11 61b2e398
24: b46015cf 1502015d 00000040 00000001 6fe66000 64fe1040 61b95358 00010000
----> 7f6f4be4 : "work:debug/memguard/MemGuard" segment 0005 offset 8bdc
----> 020a2bc8 : "kernel" segment 0001 offset 42bc4
----> 020a2bc8 : "kernel" segment 0001 offset 42bc4
----> 01bc0c0d : "petunia.library.kmod" segment 0000 offset 25749
----> 02080046 : "kernel" segment 0001 offset 20042
LR 0181c328 : "kernel" segment 0000 offset 1c324
CTR 7f6f4be4 : "work:debug/memguard/MemGuard" segment 0005 offset 8bdc

Stack backtrace:
----> 0181c328 : "kernel" segment 0000 offset 1c324
----> 01cbbd2c : "uhci.usbhcd" segment 0000 offset 59e8
----> 01cb977c : "uhci.usbhcd" segment 0000 offset 3438
----> 01cc0538 : "uhci.usbhcd" segment 0000 offset a1f4
----> 01cc06b8 : "uhci.usbhcd" segment 0000 offset a374
----> 01cbdfe4 : "uhci.usbhcd" segment 0000 offset 7ca0
----> 0181e4d8 : "kernel" segment 0000 offset 1e4d4

Disassembly:
0181c324: 4e800421 bctrl
0181c328: 80010084 lwz r0,132(r1)
0181c32c: 38210080 addi r1,r1,128
0181c330: 7c0803a6 mtlr r0
0181c334: 4e800020 blr


Hope that helps to fix this.

That all on my peg2 with aos4.1update2 + 4gb kingston stick formatted in FAT, copy to SFS0 (1.286) partition.

   Report Go to top

Re: Memguard Hit when copying on USB key on AOS4.1U2.
Home away from home
Joined:
2007/9/11 11:31
From Russia
Posts: 3846
@Rigo
First test was by dopus4, then after, i just do:
Quote:

7/0.KINGSTON:Quake2> copy Quake2.bin WORK:quake2.bin


And on 388mb of copy, i have again ellow error with the same words, and the MemGuard HIT again coming:
Quote:

MEMGUARD HIT - "UHCI Controller Task Unit 1" (6fe84310)
allocation of 65536 bytes by AllocVecTagList() failed
0: 7fb86be4 6fe25da0 08fc00b3 020a2bc8 00010000 6fe25e28 6ff5daf8 65a1d040
8: 00010000 00000008 020a2bc8 0001001f 35fc0159 00c1ff90 08fc00c8 ff9008fc
16: 00ceff90 08fc00d0 ffb708fc 00e0ffb7 08fc00fb ffb708fc 00ffffb7 650fe6f8
24: 6fe25ee0 00000004 00000040 00000001 6fe68000 65a1d040 6ff5daf8 00010000
----> 7fb86be4 : "work:debug/memguard/MemGuard" segment 0005 offset 8bdc
----> 020a2bc8 : "kernel" segment 0001 offset 42bc4
----> 020a2bc8 : "kernel" segment 0001 offset 42bc4
LR 0181c328 : "kernel" segment 0000 offset 1c324
CTR 7fb86be4 : "work:debug/memguard/MemGuard" segment 0005 offset 8bdc

Stack backtrace:
----> 0181c328 : "kernel" segment 0000 offset 1c324
----> 01cbbd2c : "uhci.usbhcd" segment 0000 offset 59e8
----> 01cb977c : "uhci.usbhcd" segment 0000 offset 3438
----> 01cc0538 : "uhci.usbhcd" segment 0000 offset a1f4
----> 01cc06b8 : "uhci.usbhcd" segment 0000 offset a374
----> 01cbdfe4 : "uhci.usbhcd" segment 0000 offset 7ca0
----> 0181e4d8 : "kernel" segment 0000 offset 1e4d4

Disassembly:
0181c324: 4e800421 bctrl
0181c328: 80010084 lwz r0,132(r1)
0181c32c: 38210080 addi r1,r1,128
0181c330: 7c0803a6 mtlr r0
0181c334: 4e800020 blr


And the same recognize/unrecognize in loop. That is was agan copy to SFS0. Will try right now copy to SFS2 and to JFS (to see, will it make sense or not).

   Report Go to top

Re: Memguard Hit when copying on USB key on AOS4.1U2.
Home away from home
Joined:
2007/9/11 11:31
From Russia
Posts: 3846
@rigo

I do clear reformat of my FAT32 stick, write here only quake2.bin. Then , put stick to the my peg2 , then do in shell copy quake2.bin work:quake2.bin (work are SFS2 1.286). And have absolutly the same error with Ellow window, with recognize/unrecognize in loops, and again, on the same 388mb of copy. And memguard HIT looks again the same. If it will make any sense, my version of CrossDOSFileSystem - 53.3

If you want, i can do any other tests which will help you out to found the problem.

   Report Go to top

Re: Memguard Hit when copying on USB key on AOS4.1U2.
Just popping in
Joined:
2007/5/1 11:59
Posts: 149
@kas1e

Quote:

kas1e wrote:
@Rigo
First test was by dopus4, then after, i just do:
Quote:

7/0.KINGSTON:Quake2> copy Quake2.bin WORK:quake2.bin


And on 388mb of copy, i have again ellow error with the same words, and the MemGuard HIT again coming:

snip

And the same recognize/unrecognize in loop. That is was agan copy to SFS0. Will try right now copy to SFS2 and to JFS (to see, will it make sense or not).


did you rebooted after that first Dopus4 copy attempt?

   Report Go to top

Re: Memguard Hit when copying on USB key on AOS4.1U2.
Home away from home
Joined:
2007/9/11 11:31
From Russia
Posts: 3846
@Framiga

Of course. And not one time, and not only soft, but also hard reset (still, not cold power off /power on). If that make sense, i can try after power off.

   Report Go to top

Re: Memguard Hit when copying on USB key on AOS4.1U2.
Quite a regular
Joined:
2008/10/14 18:36
From France
Posts: 647
@kas1e

Kas1e:

you are the best !!
you save my life !!
I'm not crazy !!
And you are able to reproduce and also with copy !!

the question rigo ask you is about the petunia:

- do you have 68k running at the same time ???


Aslo another question from me: (data on the key after the problem)

- do you have 6+3 files with too big size on FAT32 ???
- What are the result on SFS and JFS ???



I don't know what amiga will done without you


Edited by Mrodfr on 2010/7/25 17:30:56
_________________
A1200+Mediator+VooDoo3+060/50+96mo+IIYAMA 17"+CD,CDRW,ZIP SCSI-KIT
SAM440EP on Mapower 3000+AOS4.1

Amiga Docs Disk Preservation Project
   Report Go to top

Re: Memguard Hit when copying on USB key on AOS4.1U2.
Home away from home
Joined:
2007/9/11 11:31
From Russia
Posts: 3846
@Framiga
I test it after very cold power-off / power-on for now: the same problems, exactly on the same place of file, with exactly the same Ellow window, memguard HIT, and recognize/unrecognize in loop.

So, bug is cleary reproducable, and not because of dopus4 100% (i just not run it at all for now). Just power-on, newcli, copy from stick to parition, and only run OWB in which surf the net.

   Report Go to top

Re: Memguard Hit when copying on USB key on AOS4.1U2.
Just popping in
Joined:
2007/5/1 11:59
Posts: 149
@kas1e

Quote:

kas1e wrote:
@Framiga
I test it after very cold power-off / power-on for now: the same problems, exactly on the same place of file, with exactly the same Ellow window, memguard HIT, and recognize/unrecognize in loop.

So, bug is cleary reproducable, and not because of dopus4 100% (i just not run it at all for now). Just power-on, newcli, copy from stick to parition, and only run OWB in which surf the net.


sorry if i have asked about the reboot thing. (i was sure you did).

At least now you know thats not Dopus4 fault

   Report Go to top

Re: Memguard Hit when copying on USB key on AOS4.1U2.
Home away from home
Joined:
2007/9/11 11:31
From Russia
Posts: 3846
@Framiga

Now we need Rigo here, so maybe he can give for us some hints or debug versions of some stuff, which we can test and found exactly problem. Because even for now its imho not clear why it happenes. I just lucky can reproduce it on the same place, but looks like that i am only one for who it happenes at the same way and all the time.

   Report Go to top

Re: Memguard Hit when copying on USB key on AOS4.1U2.
Quite a regular
Joined:
2008/10/14 18:36
From France
Posts: 647
@kas1e

The main AOS4 USB programmer know now this thread and will try to reproduce the problem on his SAM as soon as possible.

kas1e, you are the more advanced on this problem. If you have more informations , ideas for another tests or where came the problem, please post here.

but the tests you have made help a lot because also with copy and also with sfs, FAT32 or Jxfs (I think).

thanks for your help, kas1e

_________________
A1200+Mediator+VooDoo3+060/50+96mo+IIYAMA 17"+CD,CDRW,ZIP SCSI-KIT
SAM440EP on Mapower 3000+AOS4.1

Amiga Docs Disk Preservation Project
   Report Go to top

Re: Memguard Hit when copying on USB key on AOS4.1U2.
Home away from home
Joined:
2007/9/11 11:31
From Russia
Posts: 3846
@Mrodfr

That all a bit strange, because back in times (when i have aos4.1 and aos4.1 update 1 if i remember right), i copy some PSX games to aos4 (for example Tekken3, which are 500mb of size), from the same stick, on the same partition. And everything was fine.

Maybe, problem happens only on some "sequences" of data. Like many 00 in file, or many other characters, and on some stage, it cause a bug .. But imho then it should cause just error on read/write, but there is just controller resets. Which make me think, that maybe usb driver itself, be resident in memory, fucked by some reasons by system itself ..

For testing purposes, i will create today/tommorow an empty file full of zeros about 500-600-700mb of size, and will try to copy it.

   Report Go to top

Re: Memguard Hit when copying on USB key on AOS4.1U2.
Quite a regular
Joined:
2008/10/14 18:36
From France
Posts: 647
@kas1e

some ideas/suggestions:

- could you make one of your previous tests (fat32 or sfs copy with dopus4 or copy itself) but without memguard running ????

as you have allways the problem, when the copy of your quake.bin arrive at 3xx mo, the USB driver should theorically just reset by itself. (It's just to remove the memguard program from the list).

- as you have allready make some copy without problems, do you have changed your USB hardware since ???


It's just another memguard only hit that not help at all to found the problem

_________________
A1200+Mediator+VooDoo3+060/50+96mo+IIYAMA 17"+CD,CDRW,ZIP SCSI-KIT
SAM440EP on Mapower 3000+AOS4.1

Amiga Docs Disk Preservation Project
   Report Go to top

Re: Memguard Hit when copying on USB key on AOS4.1U2.
Not too shy to talk
Joined:
2008/5/2 12:14
From Sweden
Posts: 419
I'll make a water tight test when I get home.

fh=Open("USB0:file.bin",MODE_NEWFILE);
while(Write(fh,buf,32768)==32768);
Close(fh);
printf("error: %d\n",IoErr());

This should fail randomly. Perhaps if ithe machine doesn't lockup I can get something from it. After any such failure, chkdsk E: on a PC usually complains about crosslinked files and stuff. chkdsk can fix it with /f. No need to reformat (so far).

My theory if that if a crosslink happens in a directory entry (or the FAT table?) we get garbage as filenames.

_________________
Software developer for Amiga OS3 and OS4.
Develops for OnyxSoft and the Amiga using E and C and occasionally C++
   Report Go to top

Re: Memguard Hit when copying on USB key on AOS4.1U2.
Quite a regular
Joined:
2008/10/14 18:36
From France
Posts: 647
@Deniil

Quote:

Deniil wrote:
I'll make a water tight test when I get home.

fh=Open("USB0:file.bin",MODE_NEWFILE);
while(Write(fh,buf,32768)==32768);
Close(fh);
printf("error: %d\n",IoErr());

This should fail randomly. Perhaps if ithe machine doesn't lockup I can get something from it. After any such failure, chkdsk E: on a PC usually complains about crosslinked files and stuff. chkdsk can fix it with /f. No need to reformat (so far).

My theory if that if a crosslink happens in a directory entry (or the FAT table?) we get garbage as filenames.


Interesting theory....

How can I check if I have crosslink (softlink ??) on my HD ?????

NOTE: I don't really know what is crosslink. Made with makelink ??? and how removing them ???

_________________
A1200+Mediator+VooDoo3+060/50+96mo+IIYAMA 17"+CD,CDRW,ZIP SCSI-KIT
SAM440EP on Mapower 3000+AOS4.1

Amiga Docs Disk Preservation Project
   Report Go to top

Re: Memguard Hit when copying on USB key on AOS4.1U2.
Home away from home
Joined:
2007/5/19 13:23
Posts: 2815
@Mrodfr
I believe a "crosslink" is two files sharing the same block(s), so one file incorrectly contains data from another file. You need a FAT disk-check utility to find & remove them; at least one of the fixed files will still be corrupted, but at least won't be prone to further corrupton. Windows has (IMHO) the best FAT disk-check utility, while AmigaOS may not even have one (and probably not very good even if it exists).

_________________
Author of the PortablE programming language.
I love using Amiga OS4.1 on my A1-X1000 & Sam440
Don't forget the official support forum for OS4!
   Report Go to top

Re: Memguard Hit when copying on USB key on AOS4.1U2.
Quite a regular
Joined:
2008/10/14 18:36
From France
Posts: 647
@ChrisH

We will let deniil make other comments because I think he has copied amiga datas to FAT32 medias untill crash and found crosslink errors on the FAT32.

where came the crosslink errors, something about amiga (softlink) or just a crossdosfilesystem error......

_________________
A1200+Mediator+VooDoo3+060/50+96mo+IIYAMA 17"+CD,CDRW,ZIP SCSI-KIT
SAM440EP on Mapower 3000+AOS4.1

Amiga Docs Disk Preservation Project
   Report Go to top

Re: Memguard Hit when copying on USB key on AOS4.1U2.
Quite a regular
Joined:
2006/12/2 0:35
From Sydney
Posts: 629
@Deniil

Quote:

My theory if that if a crosslink happens in a directory entry (or the FAT table?) we get garbage as filenames.


You are probably quite right. However, the fault has been fixed, and it wasn't anything to do with CrossDOS, so there's no point in chasing more evidence.

As for the Memguard "hit", it wasn't a fault, it was only a "failure" return value from an Exec call. What the calling program did with that return value, we don't know. Since no other fault was trapped, it probably took some successful recovery action.

_________________
cheers
tony
   Report Go to top

Re: Memguard Hit when copying on USB key on AOS4.1U2.
Quite a regular
Joined:
2008/10/14 18:36
From France
Posts: 647
@tonyw

Quote:

tonyw wrote:
You are probably quite right. However, the fault has been fixed, and it wasn't anything to do with CrossDOS, so there's no point in chasing more evidence.


Do you state, as maybe an AOS4 developper or tester, that the FAT32 destroyed datas who become 8+3 filename has been now complelely resolved ????


Quote:
As for the Memguard "hit", it wasn't a fault, it was only a "failure" return value from an Exec call. What the calling program did with that return value, we don't know. Since no other fault was trapped, it probably took some successful recovery action.


Could you explain more here also ???

I said that because the memguard hit stop the copy on the FAT32 medias and also reset the USB stack and the result is a FAT32 media datas problem or worse a 8+3 filename.

As the 2 problems are surely linked together, I really will be sure that all are resolved. That mean for us just wait another AOS4.1 update

Also a question:

the resolved version of this problem has been tested with FAT32, SFS, JXFS filesystem (as kas1e has been able to reproduce the problem on all filesystems).


Sorry for asking again like that but this problem is really really really dangerous and cause datas loss. I woul dlike to be 200% really sure that all the problems (8+3 filename and memguard hit) has been resolved.

_________________
A1200+Mediator+VooDoo3+060/50+96mo+IIYAMA 17"+CD,CDRW,ZIP SCSI-KIT
SAM440EP on Mapower 3000+AOS4.1

Amiga Docs Disk Preservation Project
   Report Go to top

Re: Memguard Hit when copying on USB key on AOS4.1U2.
Home away from home
Joined:
2007/9/11 11:31
From Russia
Posts: 3846
@tonyw
So, that bug about which we write here, was already fixed ?

   Report Go to top


« 1 (2) 3 4 »



[Advanced Search]


Powered by XOOPS 2.0 © 2001-2014 The XOOPS Project