"Religion is an insult to human dignity. With or without it you would have good people doing good things and evil people doing evil things. But for good people to do evil things, that takes religion." - Steven Weinberg
Je usb geval wordt als da1 herkent, elke partitie die daar op zit wordt dan
1e partitie da1s1
2e partitie da1s2
ect.
Veni, Vidi, Et je n'en crois pas mes yeux! (ik kwam, ik zag, en ik geloofde mijn ogen niet!) - J. Caesar (Asterix en de gladiatoren) | Nu vernieuwd met toegevoegde lazyness.
1
2
3
4
5
| umass0: vendor 0x1005 USB Flash Drive, rev 2.00/1.00, addr 2 da0 at umass-sim0 bus 0 target 0 lun 0 da0: <USB Flash Drive 1.06> Removable Direct Access SCSI-0 device da0: 1.000MB/s transfers da0: 1MB (4093 512 byte sectors: 64H 32S/T 1C) |
En soms wat rare sync errors:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
| umass0: vendor 0x1005 USB Flash Drive, rev 2.00/1.00, addr 2 umass0: Residue incorrect, was 219, should've been 0 umass0: Residue incorrect, was 219, should've been 0 umass0: Residue incorrect, was 219, should've been 0 umass0: Residue incorrect, was 219, should've been 0 umass0: Residue incorrect, was 219, should've been 0 da0 at umass-sim0 bus 0 target 0 lun 0 da0: <USB Flash Drive 1.06> Removable Direct Access SCSI-0 device da0: 1.000MB/s transfers da0: 1MB (4093 512 byte sectors: 64H 32S/T 1C) umass0: Residue incorrect, was 18, should've been 0 umass0: Phase Error, residue = 0 (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0 umass0: Residue incorrect, was 18, should've been 0 umass0: Phase Error, residue = 0 (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0 |
Heb bij het eerste code-blok de sync errors weggelaten
[ Voor 4% gewijzigd door 0xDEADBEEF op 18-03-2004 18:50 ]
"Religion is an insult to human dignity. With or without it you would have good people doing good things and evil people doing evil things. But for good people to do evil things, that takes religion." - Steven Weinberg
"I'd rather have a bottle in front of me than a frontal lobotomy."
1
| mount -t msdos /dev/da0s1 /mnt/usb |
~40 Sec timeout
1
2
3
4
5
6
7
8
9
10
| umass0: Phase Error, residue = 0 (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0 umass0: Residue incorrect, was 18, should've been 0 stardust# mount -t msdos /dev/da0s1 /mnt/usb msdosfs: /dev/da0s1: Device busy umass0: Phase Error, residue = 0 (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0 umass0: Residue incorrect, was 18, should've been 0 |
Het is me eerder wel één keer gelukt en dat was ook de enige keer tot nu toe
"Religion is an insult to human dignity. With or without it you would have good people doing good things and evil people doing evil things. But for good people to do evil things, that takes religion." - Steven Weinberg
"Religion is an insult to human dignity. With or without it you would have good people doing good things and evil people doing evil things. But for good people to do evil things, that takes religion." - Steven Weinberg
(alhoewel je van een eerste partitie ook zou verwachten dat ie in de eerste slice zit)
probeer eens
mount -t msdosfs /dev/da0 /mnt om te zien wat ie doet.
Every failure offers you a new opportunity! | Lokatie database|GoT - Notepad
xychix schreef op 22 maart 2004 @ 17:17:
doe eens mount -t msdosfs /dev/da0 /mnt om te zien wat ie doet.
1
2
| mount -t msdosfs /dev/da0 /mnt/usb mount: /dev/da0: Input/output error |
"Religion is an insult to human dignity. With or without it you would have good people doing good things and evil people doing evil things. But for good people to do evil things, that takes religion." - Steven Weinberg
Als je dit in je FreeBSD 5.x ( 5.2.1) kernelconfig verwerkt:
1
2
3
4
5
6
7
8
| device da # Direct Access (disks) device ohci # OHCI PCI->USB interface device pass # Passthrough device (direct SCSI access) device scbus # SCSI bus (required for SCSI) device ugen # Generic device uhci # UHCI PCI->USB interface device umass # Disks/Mass storage - Requires scbus and da device usb # USB Bus (required) |
En eventueel
1
2
| makeoptions NO_MODULES=yes options SCSI_DELAY=15000 #Delay (in ms) before probing SCSI |
Dan is dit, afhankelijk van je hardware, zo ongeveer de output:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
| Aug 23 20:35:22 kernel: umass0: vendor 0x1005 USB Flash Drive, rev 2.00/1.00, addr 2 Aug 23 20:35:22 kernel: umass0:0:0:-1: Attached to scbus0 Aug 23 20:35:22 kernel: pass0 at umass-sim0 bus 0 target 0 lun 0 Aug 23 20:35:22 kernel: pass0: <USB Flash Drive 1.06> Removable Direct Access SCSI-0 device Aug 23 20:35:22 kernel: pass0: Serial Number Aug 23 20:35:22 kernel: pass0: 1.000MB/s transfers Aug 23 20:35:22 kernel: GEOM: create disk da0 dp=0xc1df7050 Aug 23 20:35:22 kernel: GEOM: new disk da0 Aug 23 20:35:23 kernel: da0 at umass-sim0 bus 0 target 0 lun 0 Aug 23 20:35:23 kernel: da0: <USB Flash Drive 1.06> Removable Direct Access SCSI-0 device Aug 23 20:35:23 kernel: da0: Serial Number Aug 23 20:35:23 kernel: da0: 1.000MB/s transfers Aug 23 20:35:23 kernel: da0: 1MB (4093 512 byte sectors: 64H 32S/T 1C) Aug 23 20:35:23 kernel: pass1 at umass-sim0 bus 0 target 0 lun 1 Aug 23 20:35:23 kernel: pass1: <USB Flash Drive 1.06> Removable Direct Access SCSI-0 device Aug 23 20:35:23 kernel: pass1: Serial Number Aug 23 20:35:23 kernel: pass1: 1.000MB/s transfers Aug 23 20:35:23 kernel: GEOM: create disk da1 dp=0xc1de0050 Aug 23 20:35:23 kernel: da1 at umass-sim0 bus 0 target 0 lun 1 Aug 23 20:35:23 kernel: da1: <USB Flash Drive 1.06> Removable Direct Access SCSI-0 device Aug 23 20:35:23 kernel: da1: Serial Number Aug 23 20:35:23 kernel: da1: 1.000MB/s transfers Aug 23 20:35:23 kernel: da1: 122MB (249856 512 byte sectors: 64H 32S/T 122C) Aug 23 20:35:23 kernel: [0] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0 Aug 23 20:35:23 kernel: [1] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0 Aug 23 20:35:23 kernel: [2] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0 Aug 23 20:35:23 kernel: [3] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0 Aug 23 20:35:23 kernel: GEOM: new disk da1 Aug 23 20:35:23 kernel: [0] f:00 typ:11 s(CHS):0/1/1 e(CHS):1023/3/61 s:61 l:249795 Aug 23 20:35:23 kernel: [1] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0 Aug 23 20:35:23 kernel: [2] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0 Aug 23 20:35:23 kernel: [3] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0 Aug 23 20:35:23 kernel: GEOM: Configure da1s1, start 31232 length 127895040 end 127926271 |
"Religion is an insult to human dignity. With or without it you would have good people doing good things and evil people doing evil things. But for good people to do evil things, that takes religion." - Steven Weinberg
{02:31:10} (splinkie): ik hoor net van iemand dat ze nu met een fietsband moest naaien omdat ze geen condooms meer kon betalen || {02:34:44} (Asjemenou): beter met een lange tijd met goodyear dan een korte tijd met firestone en in de problemen komen
Verwijderd
1
| mount_msdosfs /dev/da0s1 /mnt |
Ik heb daarvoor niets aan de standaard kernel config veranderd. Het werkte gewoon.
Hierboven in de thread was ook iemand die noemde:
1
| mount -t msdos /dev/da0s1 /mnt |
Dit zou denk ik ook wel moeten werken. Heb je dat al geprobeerd? Uit deze thread kan ik dat namelijk niet aflezen. Wel zie ik dat je mount -t msdos /dev/da0 /mnt hebt geprobeerd.
1
| mount_msdosfs /dev/da1s1 /mnt/usbstick |
[ Voor 3% gewijzigd door 0xDEADBEEF op 24-08-2004 11:43 ]
"Religion is an insult to human dignity. With or without it you would have good people doing good things and evil people doing evil things. But for good people to do evil things, that takes religion." - Steven Weinberg