Hi,
I just bought an usb-stick/mp3-player (Medion pro2 (MD40838), 256MB).
This is (summarized, I put a lot of detailed info below) what happens when I
try to use it with my SuSE8.1 box:
When I plug it into my hub, it's obviously recognized as a mass-storage device
and I can mount it using the following fstab-entry
/dev/sda /media/mp3player auto rw,noauto,user,sync 0 0
or directly (as root) with:
mount -t vfat /dev/sda /media/mp3player
Doing so will let me copy mp3-files to the stick and after cleanly unmounting
and removing it I can listen to the files on the player. Fine.
Now comes the strange part (besides the mount-command above, which I don't
understand, because I should mount one of the four partitions and not the
whole disc, right?):
When I plug the stick into the hub again, wait for the affirmative beep from
my box and then unplug it, all the files are gone (the player shows "no
files" on it's display). This happens _without_ mounting it, just plug in &
plug out! If I mount it, it'll be empty, too - of course.
If I recorded sth. using the built-in voice-recorder or put sth. on the stick
using a windoze box, it'll stay on the stick. Meaning those are the only
files I ever get to see (using linux) on the stick after mounting it, all
files added by the linux box vanish.
I have no clue what's happenin' here or what I could do about it. I added all
the details I could think of below, if you need any more information to point
me in the right direction, I will happily provide it.
And yes, I read the thread "Packard Bell Audio Key w/ Linux *and* W98". I
think his hardware is the predecessor of mine, but mine won't even work using
"only" linux (see above).
At the end of the thread he is advised to reformat the stick with more than
one partition. I thought about reformating mine with one (or more) partitions
because of the strange messages "fdisk -l" gives me (see below), but I'm not
sure if I can just do that using fdisk. Is that save? Could I wreck the
player?
thanx for any hints on how to continue,
Johannes
PS: My system is a standard SuSE8.1, standard meaning: as it installs
automatically without tweaks.
##### detailed info below #####
This is logged in /var/log/messages when I plug in the device:
==============================================================
Feb 7 21:44:31 cuddle kernel: hub.c: USB new device connect on bus1/2/1,
assigned device number 8
Feb 7 21:44:31 cuddle kernel: WARNING: USB Mass Storage data integrity not
assured
Feb 7 21:44:31 cuddle kernel: USB Mass Storage device found at 8
Feb 7 21:44:33 cuddle kernel: sd_init_onedisk (0,0), sda 08:00
Feb 7 21:44:33 cuddle kernel: SCSI device sda: 505856 512-byte hdwr sectors
(259 MB)
Feb 7 21:44:33 cuddle kernel: sda: Write Protect is off
Feb 7 21:44:33 cuddle kernel: sda: sda1 sda2 sda3 sda4
Feb 7 21:44:34 cuddle /etc/hotplug/usb.agent[2002]: Can't ignore signal CHLD,
forcing to default.
==============================================================
The relevant section of /proc/bus/usb/devices shows:
==============================================================
T: Bus=01 Lev=02 Prnt=02 Port=00 Cnt=01 Dev#= 9 Spd=12 MxCh= 0
D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=066f ProdID=8000 Rev=10.00
S: Manufacturer=<USB MF>
S: Product=<USB PRODUCT>
S: SerialNumber=??A?C?4?7?012345
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=100mA
I: If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=04(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
==============================================================
-> The Vendor ID resolves to SigmaTel, Inc.
fdisk shows 4 partitions on /dev/sda:
==============================================================
# fdisk -l /dev/sda
Disk /dev/sda: 8 heads, 62 sectors, 1019 cylinders
Units = cylinders of 496 * 512 bytes
Device Boot Start End Blocks Id System
/dev/sda1 ? 3870869 4968525 272218546+ 20 Unknown
Partition 1 has different physical/logical beginnings (non-Linux?):
phys=(356, 97, 46) logical=(3870868, 6, 59)
Partition 1 has different physical/logical endings:
phys=(357, 116, 40) logical=(4968524, 2, 23)
Partition 1 does not end on cylinder boundary:
phys=(357, 116, 40) should be (357, 7, 62)
/dev/sda2 ? 2681823 3768469 269488144 6b Unknown
Partition 2 has different physical/logical beginnings (non-Linux?):
phys=(288, 110, 57) logical=(2681822, 7, 57)
Partition 2 has different physical/logical endings:
phys=(269, 101, 57) logical=(3768468, 5, 52)
Partition 2 does not end on cylinder boundary:
phys=(269, 101, 57) should be (269, 7, 62)
/dev/sda3 ? 1086673 3905953 699181456 53 OnTrack DM6 Aux3
Partition 3 has different physical/logical beginnings (non-Linux?):
phys=(345, 32, 19) logical=(1086672, 1, 18)
Partition 3 has different physical/logical endings:
phys=(324, 77, 19) logical=(3905952, 1, 49)
Partition 3 does not end on cylinder boundary:
phys=(324, 77, 19) should be (324, 7, 62)
/dev/sda4 * 2811750 2811793 10668+ 49 Unknown
Partition 4 has different physical/logical beginnings (non-Linux?):
phys=(87, 1, 0) logical=(2811749, 2, 36)
Partition 4 has different physical/logical endings:
phys=(335, 78, 2) logical=(2811792, 2, 44)
Partition 4 does not end on cylinder boundary:
phys=(335, 78, 2) should be (335, 7, 62)
Partition table entries are not in disk order
==============================================================
But I can't mount any of those:
==============================================================
# mount -t vfat /dev/sda1 /media/mp3player
mount: wrong fs type, bad option, bad superblock on /dev/sda1,
or too many mounted file systems
==============================================================
The same happens for /dev/sda2, /dev/sda3, /dev/sda4.
This is what is logged to /var/log/messages at each try:
==============================================================
Feb 7 21:49:29 cuddle kernel: usb-uhci.c: interrupt, status 2, frame# 168
Feb 7 21:49:29 cuddle kernel: I/O error: dev 08:01, sector 0
Feb 7 21:49:29 cuddle kernel: FAT: unable to read boot sector
==============================================================
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users