Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
71 user(s) are online (41 user(s) are browsing Forums)

Members: 0
Guests: 71

more...

Headlines

 
  Register To Post  

« 1 (2)
Re: usb storage question
Just popping in
Just popping in


See User information
@Jack

Quote:

Just tried the 108, and it didn't work.

IMHO changing LowCyl will have zero effect with
CrossDOSFileSystem. With FAT95 or XFSD it should have an effect.

Quote:

BTW: mediatoolbox reports these physical values:
8000 cylinders, 16, sectors, 4 heads
And logical size:
64 blocks per cylinder
8000 cylinders...

The physical values from MTB are recomputed for backwards
compatibility. No serious filesystem uses them since years.
The "physical" values reported by usbdisk.device are
one head, one track per cylinder, one block per track,
512 bytes per block, and as much cylinders as blocks.
And these are not based on the "physical" values reported
by the USB medium, they are based on the reported logical
number of blocks only. There also exists a blocksize check,
FAT is only accepted with 512 bytes per block, HFS/ISO9660/
FFS/SFS etc is also accepted with other blocksizes.

Go to top
Re: usb storage question
Quite a regular
Quite a regular


See User information
@TetiSoft

Fat95 GRs on me (replaced the FileSystem with l:fat95 and tried autosearch mode).
Do I miss any compatibility settings?

What is XFSD?

Thanks,
Jack

Resized Image
"the expression, 'atonal music,' is most unfortunate--it is on a par with calling flying 'the art of not falling,' or swimming 'the art of not drowning.'. A. Schoenberg
Go to top
Re: usb storage question
Just can't stay away
Just can't stay away


See User information
Hi ]@Jack

Can I tell OS4 to mount the whole device? (like one can mount trackdisk.device, with propper block/whatever sizes/numbers, like telling Linux to mount /dev/sdb instead of /dev/sdb1).

FWW, anything linux does, it's 'affs' is using ADOS3 and OS4 is using ADOS7. I'm sure the arithmatic is different; Dos3<=>Dos7.

Go to top
Re: usb storage question
Just popping in
Just popping in


See User information
@Jack

Quote:

What is XFSD?

10.OS4:> version l:xfsd full
xfsd 2.17
(xfsd 2.17 (c) Jul 98 frans)

Search on Aminet for "XFS".
I have a partition left on my harddrive, back from the
old days, which contains some FAT partitions with a Win95
installation. I vaguely remember that it was tricky to
create the mountlists years ago because xfsd does not
understand MBR, the LowCyl values had to point to the
sector with the FAT bootcode. And the partition had to
be inside the 4GB limit. XFSD still works with OS4 here
and supports long file names. My mountlist for "PCD":

Quote:

/* IBMIDEDOS D: per XFS */
FileSystem = L:xfsd
Flags = 0
Device = scsi.device
Unit = 0
Surfaces = 1
BlocksPerTrack = 1
SectorSize = 512
LowCyl = 3186266 /* PCC mounten, genml, (highcyl-lowcyl+1)*surfaces*blockspertrack+lowcylPCC*/
HighCyl = 3590565 /* PCE -1 */
Reserved = 0
PreAlloc = 0
Interleave = 0
Buffers = 50
BufMemType = 0
StackSize = 16000
Priority = 10
GlobVec = -1
MaxTransfer = 0xFFFFFF
Mask = 0x7FFFFFFF
DosType = 0x58465344 /* 'XFSD' */
#

Go to top
Re: usb storage question
Home away from home
Home away from home


See User information
@TetiSoft

Quote:

IMHO changing LowCyl will have zero effect with
CrossDOSFileSystem. With FAT95 or XFSD it should have an effect.


Yes I have notices, this where annoying when things does not work as they are suppose to work, I tried mount few different partitions on my PC hard drive whit no success.

The disk contained a none standard partition table, because it contained 2 or 3 primary partitions, and then an extended whit few logical partitions whit in, Linux on some partitions and windows on others.

It nice if the old way mounting disks where supported some how, or if AmigaOS supported MBR format; that way don?t need spend hours wondering way things are the way they are.

(NutsAboutAmiga)

Basilisk II for AmigaOS4
AmigaInputAnywhere
Excalibur
and other tools and apps.
Go to top
Re: usb storage question
Quite a regular
Quite a regular


See User information
@TetiSoft

Hello I just noticed a strange thing : I'm unable to compile directly on my USB key.
In fact gcc seems to compile fine but when it's link time it complains about bad file format for the first *.o on the command line. Looking at the generated objects in FileX show that they are full of zeros...

Is it normal or known behaviour ?

Back to a quiet home... At last
Go to top
Re: usb storage question
Just popping in
Just popping in


See User information
@abalaban

This behaviour is not known yet, and unfortunately I dont
have reliable USB hardware which would allow trying to
reproduce it. Which filesystem was used?

Go to top
Re: usb storage question
Quite a regular
Quite a regular


See User information
@TetiSoft

It's a standard USB key used as it was when I unpacked it, i.e. not reformated so I assume it's FAT16.
I'm using an unfixed XE and except than that read/from from/to this key work reliably.

Anyone else who would be able to test that ?

Back to a quiet home... At last
Go to top
Re: usb storage question
Not too shy to talk
Not too shy to talk


See User information
@abalaban

I have copied the source of the OS4-Printerdriver example to my USB-Stick and the build ends with:
Quote:

compression.o: file not recognized: File format not recognized
make: *** [HP_DeskJet_880C] Error 1

No objectfile has a normal ELF-Header but a LOT 0s followed by junk.

More fun after the first make:
Quote:

2.Leer:HP_DeskJet_CMYK> make clean
rm compression.o data.o density.o dospecial.o init.o locale.o render.o sprintf.o transfer.o

Just deletes the #?.o files but if your next step is:
Quote:

2.Leer:HP_DeskJet_CMYK> make
ppc-amigaos-gcc -c -mcrt=clib2 -O2 -fomit-frame-pointer -fstrength-reduce -finline-functions -g -fno-builtin -DNDEBUG -mno-sdata -Wall -W -Wundef -Wshadow -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Waggregate-return -Wwrite-strings -I/SDK/include -o compression.o compression.c
make: *** No rule to make target `data.c', needed by `data.o'. Stop.

... the complete drawer is gone!?

EDIT:
Seems to be a bug in the FAT filesystem, no errors if the Stick uses FFS2.


Edited by ZeroG on 2007/10/11 18:21:46
Go to top
Re: usb storage question
Quite a regular
Quite a regular


See User information
@TetiSoft

Quote:

When the player doesnt contain important data and has
an option to format the medium in case he cant understand it,
I'd simply try to partition and format the medium from some
OS which knows how to create a valid MBR, e.g. Linux or Windows,
and not the builtin player firmware...


Ok, got some guts and repartitioned the Swimp3 drive (with fat16 as per manufacturer's recommendation).
Used linux for this (x86). Now fdisk doesn't wasrn about anything.
Plugged into A1 and it sees it (with either usb stack, final and july's).
Copied some files, relabeled the device, and it even plays the files afterwards
Huge thanks

Now the IRiver T10:

fdisk reports
aetpy:~> sudo fdisk /dev/sdb

Command (m for help): p

Disk /dev/sdb: 1045 MB, 1045430272 bytes
33 heads, 61 sectors/track, 1014 cylinders
Units = cylinders of 2013 * 512 = 1030656 bytes
Disk identifier: 0x6f20736b

usb.log:
I: [6FF6BEA0][hub.usbfd] | Hub port | Device found on hub port 2.
I: [6FF6BEA0][hub.usbfd] | Hub port | Device at port 2 is full-speed.
I: [6FF6BEA0][hub.usbfd] | Hub port | Device on hub port 2 succesfully added.
I: [6AFD8C90][USB Fkt Init] | Init Fkt | Fkt 0x6AEABCD0 is {Vendor: 0x0241, Product: 0x1310, Class: 00.00}
I: [6AFD8C90][USB Fkt Init] | Init Fkt | Fkt 0x6AEABCD0 initialized


I'm affraid partitioning it using mbr will prevent firmware reading it. Gone to try it anyway...
Edit:
Partitioning with MBR didn't help, the only setup the firmware accepts is as fat16 partition taking over the whole space (no MBR).
Anyway, freshly formatted (from linux) mbrless device still suffers from the same symptom.
Not even a blink in USBMassStorages commodity.

How do I manage to attach it to a usb device driver?

BTW: the product is reported as of same class as mbr-ed SWIMP3.

TIA
Jack


Edited by Jack on 2008/1/15 1:13:36
Edited by Jack on 2008/1/15 1:14:37
Edited by Jack on 2008/1/15 11:46:01
Resized Image
"the expression, 'atonal music,' is most unfortunate--it is on a par with calling flying 'the art of not falling,' or swimming 'the art of not drowning.'. A. Schoenberg
Go to top
Re: usb storage question
Quite a regular
Quite a regular


See User information
Bump...

Resized Image
"the expression, 'atonal music,' is most unfortunate--it is on a par with calling flying 'the art of not falling,' or swimming 'the art of not drowning.'. A. Schoenberg
Go to top
Re: usb storage question
Just can't stay away
Just can't stay away


See User information
Hi @ZeroG


... the complete drawer is gone!?

EDIT:
Seems to be a bug in the FAT filesystem, no errors if the Stick uses FFS2.


Really? I thought It was CrossDos...
I blowup my SanDisk at least once month. I went to send Rego, recently, a Crash Report for CopyStore and wasn't thinking -- I used drag & drop -- oops. I don't recommend using drag & drop anywhere with USB. Was it FAT, CrossDos, or the text interface?

Go to top
Re: usb storage question
Quite a regular
Quite a regular


See User information
TetiSoft, where art though? (bump)

Resized Image
"the expression, 'atonal music,' is most unfortunate--it is on a par with calling flying 'the art of not falling,' or swimming 'the art of not drowning.'. A. Schoenberg
Go to top
Re: usb storage question
Home away from home
Home away from home


See User information
@Jack

I tried something similar.

Just for the fun of it i wanted to do a complete build of
ScummVM on my ! GB stick, complete with checkout, linking,
building and running the exe from the stick.

I didn't even got the source code

6.PConKey:> svn co https://scummvm.svn.sourceforge.net/svnroot/scummvm scummvm
svn: REPORT request failed on '/svnroot/scummvm/!svn/vcc/default'
svn: REPORT of '/svnroot/scummvm/!svn/vcc/default': 400 Bad Request (https://scummvm.svn.sourceforge.net)

is everything i get to see, although this is a perfectly
valid command and works otherwise both on my HDs and in RAM:

I have CrossDOSFS installed, but i think i formatted it
inbetween, so i assume it's FAT32 i have on it.

Problem is i need the FAT fs to stay exchangable betweem
platforms.

I hope these glitches can be addressed someday

People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
Go to top
Re: usb storage question
Quite a regular
Quite a regular


See User information
@Raziel

At least your is recognized as a filesystem. Mine isn't. Except of couple regular lines in usb log, a info window when connecting the device there's nothing else.
The usb commodity doesn't see it. A least the other mp3player is recognized.
Anyway, if the problematic one will be working under AOS one day, it'll take ages to refill the whole 1GB with music using A1s builtin ub ports
Luckily for an ocassional file transfer I have a 1/2GB stick that works in AOS.

Jack

Resized Image
"the expression, 'atonal music,' is most unfortunate--it is on a par with calling flying 'the art of not falling,' or swimming 'the art of not drowning.'. A. Schoenberg
Go to top
Re: usb storage question
Home away from home
Home away from home


See User information
@Jack

Hmm, i know this behaviour from my HD's (plugged in through
an USB to IDE connector). As soon as they are formatted
under WinXP (NTFS, i think) they can't be seen. I HAVE to
format them with FAT32 at least.

People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
Go to top
Re: usb storage question
Quite a regular
Quite a regular


See User information
@Raziel

That's strictly f/s issue imho. Mine is formatted with fat16, no MBR, that's the only combination the firmware likes...
I guess I must wait to see if there's any future development with USB support...

Jack

Resized Image
"the expression, 'atonal music,' is most unfortunate--it is on a par with calling flying 'the art of not falling,' or swimming 'the art of not drowning.'. A. Schoenberg
Go to top

  Register To Post
« 1 (2)

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project