Hi Misc,
I keep getting the following error, when trying to mount a 2GB Sony
Memory Stick Pro Duo (MSX-M2GN) in my Sony T7 digital camera:
nike:fred /home/fred> sudo mount /mnt/t7
mount_msdos: /dev/sd1i on /mnt/t7: Inappropriate file type or format
Can anyone help me debug this issue?
It mounts fine when I use a 256Mb Sony Memory Stick Pro Duo. This is on
a 3.9 box dmesg follows at the end, I've also included fdisk and
disklabel output, any clue sticks would be greatly appreciated...
thanks
Fred
nike:fred /home/fred> grep t7 /etc/fstab
/dev/sd1i /mnt/t7 msdos rw,noauto,nodev,nosuid 0 0
nike:fred /home/fred> tail /var/log/messages
Jun 15 18:00:01 nike newsyslog[31685]: logfile turned over
Jun 15 18:00:01 nike syslogd: restart
Jun 15 21:00:01 nike syslogd: restart
Jun 15 21:12:23 nike /bsd: umass0 at uhub2 port 1 configuration 1
interface 0
Jun 15 21:12:23 nike /bsd:
Jun 15 21:12:23 nike /bsd: umass0: Sony Sony DSC, rev 2.00/5.00, addr 2
Jun 15 21:12:23 nike /bsd: umass0: using UFI over CBI
Jun 15 21:12:23 nike /bsd: scsibus3 at umass0: 2 targets
Jun 15 21:12:23 nike /bsd: sd1 at scsibus3 targ 1 lun 0: <Sony, Sony
DSC, 6.00> SCSI0 0/direct removable
Jun 15 21:12:23 nike /bsd: sd1: 1980MB, 1980 cyl, 64 head, 32 sec, 512
bytes/sec, 4055040 sec total
nike:fred /home/fred> fdisk sd1
fdisk: sysctl(machdep.bios.diskinfo): Device not configured
Disk: sd1 geometry: 1980/64/32 [4055040 Sectors]
Offset: 0 Signature: 0xAA55
Starting Ending LBA Info:
#: id C H S - C H S [ start: size ]
------------------------------------------------------------------------
*0: 06 0 7 32 - 1979 56 1 [ 255: 4054530 ] DOS > 32MB
1: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused
2: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused
3: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused
nike:fred /home/fred> disklabel sd1
disklabel: warning, DOS partition table with no valid OpenBSD partition
# /dev/rsd1c:
type: SCSI
disk: SCSI disk
label: Sony DSC
flags:
bytes/sector: 512
sectors/track: 32
tracks/cylinder: 64
sectors/cylinder: 2048
cylinders: 1980
total sectors: 4055040
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0 # microseconds
track-to-track seek: 0 # microseconds
drivedata: 0
16 partitions:
# size offset fstype [fsize bsize cpg]
c: 4055040 0 unused 0 0 # Cyl 0
- 1979
i: 4054530 255 MSDOS # Cyl
0*- 1979*
dmesg follows:
OpenBSD 3.9 (GENERIC) #617: Thu Mar 2 02:26:48 MST 2006
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: AMD Duron(TM) ("AuthenticAMD" 686-class, 64KB L2 cache) 1.31 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
cpu0: AMD Powernow: TS
real mem = 804872192 (786008K)
avail mem = 727040000 (710000K)
using 4278 buffers containing 40345600 bytes (39400K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(85) BIOS, date 10/29/02, BIOS32 rev. 0 @ 0xf17b0
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
apm0: flags 30102 dobusy 0 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xf0000/0x1e62
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf1d90/208 (11 entries)
pcibios0: PCI Interrupt Router at 000:17:0 ("VIA VT82C586 ISA" rev 0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc0000/0xc000 0xcc000/0x1800 0xd0000/0x800
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "VIA VT8366 PCI" rev 0x00
ppb0 at pci0 dev 1 function 0 "VIA VT8366 AGP" rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "ATI Radeon VE QY" rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
cmpci0 at pci0 dev 5 function 0 "C-Media Electronics CMI8738/C3DX Audio"
rev 0x10: irq 10
audio0 at cmpci0
"Texas Instruments TSB43AB21 FireWire" rev 0x00 at pci0 dev 7 function 0
not configured
uhci0 at pci0 dev 9 function 0 "VIA VT83C572 USB" rev 0x50: irq 5
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: VIA UHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 9 function 1 "VIA VT83C572 USB" rev 0x50: irq 11
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: VIA UHCI root hub, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 9 function 2 "VIA VT6202 USB" rev 0x51: irq 10
usb2 at ehci0: USB revision 2.0
uhub2 at usb2
uhub2: VIA EHCI root hub, rev 2.00/1.00, addr 1
uhub2: 4 ports with 4 removable, self powered
fxp0 at pci0 dev 12 function 0 "Intel 8255x" rev 0x0c, i82550: irq 5,
address 00:02:b3:cb:23:3d
inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 4
ral0 at pci0 dev 13 function 0 "Ralink RT2560" rev 0x01: irq 11, address
00:0e:2e:51:b2:f1
ral0: MAC/BBP RT2560 (rev 0x04), RF RT2525
puc0 at pci0 dev 14 function 0 "NetMos 2S1P" rev 0x01: com, com, lpt
pccom3 at puc0 port 0 irq 10: ns16550a, 16 byte fifo
pccom4 at puc0 port 1 irq 10: ns16550a, 16 byte fifo
lpt3 at puc0 port 2: interrupting at irq 10
ahc0 at pci0 dev 15 function 0 "Adaptec AHA-2940U" rev 0x00: irq 12
scsibus0 at ahc0: 16 targets
cd0 at scsibus0 targ 0 lun 0: <YAMAHA, CRW8424S, 1.0d> SCSI2 5/cdrom
removable
bktr0 at pci0 dev 16 function 0 "Brooktree BT878" rev 0x02: irq 5
bktr0: Warning - Unknown AVerMedia Tuner Make 2 Format 13
bktr0: AVer Media TV/FM, Philips NTSC tuner.
"Brooktree BT878 Audio" rev 0x02 at pci0 dev 16 function 1 not configured
viapm0 at pci0 dev 17 function 0 "VIA VT8233A ISA" rev 0x00
iic0 at viapm0
"unknown" at iic0 addr 0x18 not configured
asbtm0 at iic0 addr 0x2d
pciide0 at pci0 dev 17 function 1 "VIA VT82C571 IDE" rev 0x06: ATA133,
channel 0 configured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: <MAXTOR 6L020J1>
wd0: 16-sector PIO, LBA, 19595MB, 40132503 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 6
atapiscsi0 at pciide0 channel 1 drive 0
scsibus1 at atapiscsi0: 2 targets
cd1 at scsibus1 targ 0 lun 0: <PIONEER, DVD-ROM DVD-120S, 1.01> SCSI0
5/cdrom removable
atapiscsi1 at pciide0 channel 1 drive 1
scsibus2 at atapiscsi1: 2 targets
sd0 at scsibus2 targ 0 lun 0: <IOMEGA, ZIP 100, 13.A> SCSI0 0/direct
removable
sd0: drive offline
cd1(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 4
sd0(pciide0:1:1): using PIO mode 0
uhci2 at pci0 dev 17 function 2 "VIA VT83C572 USB" rev 0x23: irq 6
usb3 at uhci2: USB revision 1.0
uhub3 at usb3
uhub3: VIA UHCI root hub, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
uhci3 at pci0 dev 17 function 3 "VIA VT83C572 USB" rev 0x23: irq 6
usb4 at uhci3: USB revision 1.0
uhub4 at usb4
uhub4: VIA UHCI root hub, rev 1.00/1.00, addr 1
uhub4: 2 ports with 2 removable, self powered
isa0 at mainbus0
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
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
biomask ff65 netmask ff65 ttymask ffe7
pctr: user-level cycle counter enabled
mtrr: Pentium Pro MTRR support
uhidev0 at uhub0 port 2 configuration 1 interface 0
uhidev0: Microsoft Microsoft Wheel Mouse Optical\M-., rev 1.10/1.21,
addr 2, iclass 3/1
ums0 at uhidev0: 3 buttons and Z dir.
wsmouse0 at ums0 mux 0
dkcsum: wd0 matches BIOS drive 0x80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302