Код: Выделить всё
# kldstat
Id Refs Address Size Name
1 48 0x83400000 e07a18 kernel
2 1 0x84208000 4618 nullfs.ko
3 1 0x8420d000 19521c zfs.ko
4 2 0x843a3000 4050 opensolaris.ko
5 1 0x843a8000 2ac28 snd_hda.ko
6 2 0x843d3000 578f8 sound.ko
7 1 0x8442b000 a82a60 nvidia.ko
8 1 0x84eae000 4be0 cuse4bsd.ko
9 3 0x90e39000 30000 vboxdrv.ko
10 1 0x9049a000 6000 vboxnetadp.ko
11 1 0x904a5000 5000 vboxnetflt.ko
12 1 0x909ae000 3000 linux_v4l2wrapper.ko
13 1 0x90e6a000 e000 fuse.ko
14 1 0x97954000 2000 rtc.ko
15 1 0x92067000 7000 sdhci.ko
16 1 0x923f9000 9000 mmc.ko
17 1 0x92390000 4000 mmcsd.ko
Код: Выделить всё
#sudo usbconfig -d 1.2 reset
#dmesg
umass0: <Generic Mass Storage Device, class 0/0, rev 2.00/1.00, addr 2> on usbus1
da0 at umass-sim0 bus 0 scbus2 target 0 lun 0
da0: <Generic Storage Device 0.00> Removable Direct Access SCSI-2 device
da0: 40.000MB/s transfers
da0: 7594MB (15552512 512 byte sectors: 255H 63S/T 968C)
# ls /dev/da*
/dev/da0 /dev/da0s1
#sudo mount_msdosfs /dev/da0s1 /mnt/flash
mount_msdosfs: /dev/da0s1: Invalid argument
#sudo mount_msdosfs /dev/da0 /mnt/flash
mount_msdosfs: /dev/da0: Invalid argument
# sudo fdisk /dev/da0
******* Working on device /dev/da0 *******
parameters extracted from in-core disklabel are:
cylinders=3900 heads=255 sectors/track=63 (16065 blks/cyl)
Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=3900 heads=255 sectors/track=63 (16065 blks/cyl)
fdisk: invalid fdisk partition table found
Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
start 63, size 62653437 (30592 Meg), flag 80 (active)
beg: cyl 0/ head 1/ sector 1;
end: cyl 827/ head 254/ sector 63
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>
Код: Выделить всё
#sudo usbconfig -d 1.2 reset
#dmesg
umass0: <Generic Mass Storage Device, class 0/0, rev 2.00/1.00, addr 2> on usbus1
da0 at umass-sim0 bus 0 scbus2 target 0 lun 0
da0: <Generic Storage Device 0.00> Removable Direct Access SCSI-2 device
da0: 40.000MB/s transfers
da0: 7594MB (15552512 512 byte sectors: 255H 63S/T 968C)
#sudo fdisk /dev/da0
******* Working on device /dev/da0 *******
parameters extracted from in-core disklabel are:
cylinders=968 heads=255 sectors/track=63 (16065 blks/cyl)
parameters to be used for BIOS calculations are:
cylinders=968 heads=255 sectors/track=63 (16065 blks/cyl)
Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 11 (0x0b),(DOS or Windows 95 with 32 bit FAT)
start 8192, size 15544320 (7590 Meg), flag 0
beg: cyl 0/ head 130/ sector 3;
end: cyl 968/ head 25/ sector 17
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>
microSD и MMC монтирует, проблема только с SDHC