Hi I have a cowon systems, iaudio M3L mp3 player, which works as a mass usb
device in openbsd.
I peridically sync my music to it using this script:
#!/bin/ksh
echo "Mounting Player"
mount /dev/sd0i /mnt/usb
# Check that this is actually my Ogg PLayer
if (test -e /mnt/usb/OGG) then
echo "Player Found"
else
echo "Er.... sd0 isnt your Ogg player you fool..."
exit
fi
echo "Syncing Tracks"
rsync -r -v --ignore-existing /mnt/raid/OGG /mnt/usb
rsync -r -v --ignore-existing /mnt/raid/SPOKEN_OGG /mnt/usb
echo "Unmounting Player"
umount /mnt/usb
echo "Done!"
This has worked for a year or so. This morning I ran it and noticed that it
was syncing an album that should already exist on the player. I then went to
check the folder in question out.
# cd
Meshuggah-Nothing/
# ls
ls: .: No such file or directory
# cd ..
# find Meshuggah-Nothing/
Meshuggah-Nothing/
Meshuggah-Nothing/Bx?a*k?n.wq?
Meshuggah-Nothing/u=?Q?0tR.?f}
Meshuggah-Nothing/b"aHL(r),b.e<?
Meshuggah-Nothing/0a-XL*?O.ggS
Meshuggah-Nothing/S(c)>3^?Dw?.?OX
Meshuggah-Nothing/Qk.&?
Meshuggah-Nothing/?<SG?0I#.#20
Meshuggah-Nothing/&h?)[EMAIL PROTECTED]<
Meshuggah-Nothing/]????\^.u?
Meshuggah-Nothing/n:?:vM8o.?"?
Meshuggah-Nothing/?????4t~.9r(r)
Meshuggah-Nothing/?z+aEs??.L?/
Meshuggah-Nothing/[EMAIL PROTECTED]
Meshuggah-Nothing/=D?HV??G.Bt;
Meshuggah-Nothing/Meshuggah-3-Perpetual_Black_Second.ogg
Meshuggah-Nothing/!PQg?Rr?.!:?
Meshuggah-Nothing/<t?Bw^Bx.x5~
Meshuggah-Nothing/Fvfc`??Z.8??
Meshuggah-Nothing/%3?#${?G.SH^?
Meshuggah-Nothing/~~?qz??7.?\/
Meshuggah-Nothing/B`SP??#4.A?X
Meshuggah-Nothing/C^?:9Q3e.?}g
---------SNIP
I then booted windows and ran scandisk and defrag on the filesystem. Nothing
changed.
Any Ideas?
OpenBSD 3.8-stable (ESQUE) #0: Wed Nov 2 17:26:35 GMT 2005
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/ESQUE
cpu0: AMD Athlon(tm) XP 1800+ ("AuthenticAMD" 686-class, 256KB L2 cache)
1.50 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,S
SE
cpu0: AMD Powernow: FID
real mem = 234463232 (228968K)
avail mem = 206643200 (201800K)
using 2887 buffers containing 11825152 bytes (11548K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(00) BIOS, date 08/07/03, BIOS32 rev. 0 @ 0xfdae0
apm0 at bios0: Power Management spec V1.2
apm0: AC on, no battery
apm0: flags 30102 dobusy 0 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xf0000/0x10000
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf78f0/144 (7 entries)
pcibios0: PCI Interrupt Router at 000:02:0 ("SIS 85C503 System" rev 0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc0000/0xc000 0xcc000/0x2800 0xce800/0x8000!
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "SIS 740 PCI" rev 0x01
ppb0 at pci0 dev 1 function 0 "SIS 86C201 AGP" rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "SIS 650 VGA" rev 0x00: aperture at
0xc0000000, size 0x400000
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
pcib0 at pci0 dev 2 function 0 "SIS 85C503 System" rev 0x25
pciide0 at pci0 dev 2 function 5 "SIS 5513 EIDE" rev 0x00: 740: DMA, channel
0 wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: <Maxtor 2F040L0>
wd0: 16-sector PIO, LBA, 39205MB, 80293248 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <, COMBO-52X16C, 2.00> SCSI0 5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
"SIS 7013 Modem" rev 0xa0 at pci0 dev 2 function 6 not configured
ohci0 at pci0 dev 3 function 0 "SIS 5597/5598 USB" rev 0x0f: irq 12, version
1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: SIS OHCI root hub, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
ohci1 at pci0 dev 3 function 1 "SIS 5597/5598 USB" rev 0x0f: irq 5, version
1.0, legacy support
usb1 at ohci1: USB revision 1.0
uhub1 at usb1
uhub1: SIS OHCI root hub, rev 1.00/1.00, addr 1
uhub1: 3 ports with 3 removable, self powered
ehci0 at pci0 dev 3 function 3 "SIS 7002 USB" rev 0x00: irq 12
usb2 at ehci0: USB revision 2.0
uhub2 at usb2
uhub2: SIS EHCI root hub, rev 2.00/1.00, addr 1
uhub2: 6 ports with 6 removable, self powered
sis0 at pci0 dev 4 function 0 "SIS 900 10/100BaseTX" rev 0x90: irq 5,
address 00:0a:e6:de:6a:45
ukphy0 at sis0 phy 1: Generic IEEE 802.3u media interface
ukphy0: OUI 0x004063, model 0x0032, rev. 5
pciide1 at pci0 dev 9 function 0 "Promise PDC20269" rev 0x02: DMA, channel 0
configured to native-PCI, channel 1 configured to native-PCI
pciide1: using irq 5 for native-PCI interrupt
wd4 at pciide1 channel 0 drive 0: <Maxtor 2F040L0>
wd4: 16-sector PIO, LBA, 39205MB, 80293248 sectors
wd4(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 6
wd6 at pciide1 channel 1 drive 0: <WDC WD400EB-00CPF0>
wd6: 16-sector PIO, LBA, 38166MB, 78165360 sectors
wd6(pciide1:1:0): using PIO mode 4, Ultra-DMA mode 5
cmpci0 at pci0 dev 11 function 0 "C-Media Electronics CMI8738/C3DX Audio"
rev 0x10: irq 11
audio0 at cmpci0
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
sysbeep0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
it0 at isa0 port 0x290/8: IT87
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
biomask f76d netmask f76d ttymask f7ef
pctr: user-level cycle counter enabled
mtrr: Pentium Pro MTRR support
Kernelized RAIDframe activated
cd0(atapiscsi0:0:0): Check Condition (error 0x70) on opcode 0x43
SENSE KEY: Illegal Request
ASC/ASCQ: Illegal Field in CDB
cd0(atapiscsi0:0:0): Check Condition (error 0x70) on opcode 0x28
SENSE KEY: Illegal Request
ASC/ASCQ: Logical Block Address Out of Range
raid0 (root): (RAID Level 1) total number of sectors is 78165120 (38166 MB)
dkcsum: wd0 matches BIOS drive 0x80
dkcsum: wd4 matches BIOS drive 0x81
dkcsum: wd6 matches BIOS drive 0x82
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302
uhidev0 at uhub1 port 3 configuration 1 interface 0
uhidev0: Logitech USB Mouse, rev 1.10/4.10, addr 2, iclass 3/1
ums0 at uhidev0: 3 buttons and Z dir.
wsmouse0 at ums0 mux 0
umass0 at uhub2 port 5 configuration 2 interface 0
umass0: Cowon Systems, Inc. iAUDIO M3 Digital Audio Player, rev 2.00/1.00,
addr 2
umass0: using SCSI over Bulk-Only
scsibus1 at umass0: 2 targets
sd0 at scsibus1 targ 1 lun 0: <TOSHIBA, MK2004GAL, JC10> SCSI0 0/direct
fixed
sd0: 19073MB, 16383 cyl, 63 head, 16 sec, 512 bytes/sec, 39063024 sec total
Best Regards
Edd