1 |
Dnia pi±tek, 17 wrze¶nia 2004 21:00, Zbyszek napisa³: |
2 |
> Po pierwsze musisz mieæ w j±drze lub jako modu³ obs³ugê USB, |
3 |
> usb_storage, sd_mod. Gdy masz te modu³y za³adowane, to po pod³±czeniu |
4 |
> dysku do portu USB wydajesz polecenie "dmesg" z konsoli. |
5 |
> |
6 |
> Je¶li wypisze, ¿e znalaz³ napêd scsi, to znaczy, ¿e urz±dzenie zosta³o |
7 |
> wykryte. Sprawdzasz, pod jakim urz±dzeniem /dev/sdx jest ten dysk i |
8 |
> wtedy normalnie go podmontowujesz do systemu plików. |
9 |
|
10 |
Dzieki za odpowiedz! |
11 |
|
12 |
czy musze miec to wkompilowane koniecznie jako moduly? |
13 |
|
14 |
Hmm zdje sie ze "dmesg" wypisuje ze znalazl dysk: |
15 |
|
16 |
scsi2 : SCSI emulation for USB Mass Storage devices |
17 |
Vendor: Model: USB BAR Rev: 1.89 |
18 |
Type: Direct-Access ANSI SCSI revision: 02 |
19 |
SCSI device sda: 255744 512-byte hdwr sectors (131 MB) |
20 |
sda: assuming Write Enabled |
21 |
sda: assuming drive cache: write through |
22 |
/dev/scsi/host2/bus0/target0/lun0: p1 |
23 |
Attached scsi removable disk sda at scsi2, channel 0, id 0, lun 0 |
24 |
Attached scsi generic sg0 at scsi2, channel 0, id 0, lun 0, type 0 |
25 |
USB Mass Storage device found at 2 |
26 |
SCSI error : <2 0 0 0> return code = 0x10070000 |
27 |
end_request: I/O error, dev sda, sector 0 |
28 |
FAT: unable to read boot sector |
29 |
SCSI error : <2 0 0 0> return code = 0x10070000 |
30 |
end_request: I/O error, dev sda, sector 32 |
31 |
FAT: unable to read boot sector |
32 |
|
33 |
Po wloznieu dysku w /dev/ pojawiaja sie "sda" "sda1" i "sg0" |
34 |
zadnego z tych urzadzen mount nie chce jednak podmountowac :P |
35 |
|
36 |
bash-2.05b# mount /dev/sg0 /mnt/flash/ |
37 |
mount: /dev/sg0 is not a block device |
38 |
bash-2.05b# mount /dev/sda1 /mnt/flash/ |
39 |
mount: /dev/sda1: can't read superblock |
40 |
bash-2.05b# mount /dev/sda /mnt/flash/ |
41 |
mount: /dev/sda: can't read superblock |
42 |
|
43 |
w czym wiec problem ?? |
44 |
|
45 |
Poza tym jes cos jeszcze: |
46 |
"dmesg" wypisue jeszcze cus takiego: |
47 |
|
48 |
sector 8 |
49 |
Buffer I/O error on device hdc, logical block 2 |
50 |
hdc: command error: status=0x51 { DriveReady SeekComplete Error } |
51 |
hdc: command error: error=0x51 |
52 |
end_request: I/O error, dev hdc, sector 12 |
53 |
Buffer I/O error on device hdc, logical block 3 |
54 |
hdc: command error: status=0x51 { DriveReady SeekComplete Error } |
55 |
hdc: command error: error=0x51 |
56 |
end_request: I/O error, dev hdc, sector 16 |
57 |
Buffer I/O error on device hdc, logical block 4 |
58 |
hdc: command error: status=0x51 { DriveReady SeekComplete Error } |
59 |
hdc: command error: error=0x51 |
60 |
end_request: I/O error, dev hdc, sector 20 |
61 |
Buffer I/O error on device hdc, logical block 5 |
62 |
hdc: command error: status=0x51 { DriveReady SeekComplete Error } |
63 |
hdc: command error: error=0x51 |
64 |
end_request: I/O error, dev hdc, sector 24 |
65 |
Buffer I/O error on device hdc, logical block 6 |
66 |
hdc: command error: status=0x51 { DriveReady SeekComplete Error } |
67 |
hdc: command error: error=0x51 |
68 |
end_request: I/O error, dev hdc, sector 28 |
69 |
|
70 |
i tak dalej jeszcze ze 30 takich pozycji - kolejen bloki i sektory.. - co to |
71 |
jest? |
72 |
|
73 |
-- |
74 |
/Piotr Kowalczyk |
75 |
|
76 |
|
77 |
|
78 |
-- |
79 |
gentoo-user-pl@g.o mailing list |