* Re: [gentoo-user-pl] dysk usb
2004-09-17 22:45 [gentoo-user-pl] dysk usb Piotrek
@ 2004-09-17 21:00 ` Zbyszek
2004-09-17 23:33 ` Piotrek
0 siblings, 1 reply; 4+ messages in thread
From: Zbyszek @ 2004-09-17 21:00 UTC (permalink / raw
To: gentoo-user-pl
[-- Attachment #1: Type: text/plain, Size: 1147 bytes --]
On Fri, Sep 17, 2004 at 10:45:58PM +0000, Piotrek wrote:
> Witam!
> W jaki sposob uzyskac dostep do dusku USB - najlepiej pod KDE.
> Dysk na pewno wykrywa, bo pali sie dioda (i migocze) :D
> w urzadzeniach wylistowanych pod "centrum informacyjnym" w KDE dysk widzi
> nawet jako konretny model. NIe wiem jednak jak sie do niego dostac...
Po pierwsze musisz mieć w jądrze lub jako moduł obsługę USB,
usb_storage, sd_mod. Gdy masz te moduły załadowane, to po podłączeniu
dysku do portu USB wydajesz polecenie "dmesg" z konsoli.
Jeśli wypisze, że znalazł napęd scsi, to znaczy, że urządzenie zostało
wykryte. Sprawdzasz, pod jakim urządzeniem /dev/sdx jest ten dysk i
wtedy normalnie go podmontowujesz do systemu plików.
--
______ _ |
|__ / |__ _ _ ___ _______| | __ | -> E-Mail: zt_k@wp.pl <-
/ /| '_ \| | | / __|_ / _ \ |/ / | -> <-
/ /_| |_) | |_| \__ \/ / __/ < | -> LinuxRegisteredUser: 346785 <-
/____|_.__/ \__, |___/___\___|_|\_\ | -> GPG: 0x8CED5008 @ pgp.mit.edu <-
|___/ |
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user-pl] dysk usb
2004-09-17 23:33 ` Piotrek
@ 2004-09-17 21:59 ` Dariusz Dwornikowski
0 siblings, 0 replies; 4+ messages in thread
From: Dariusz Dwornikowski @ 2004-09-17 21:59 UTC (permalink / raw
To: gentoo-user-pl
[-- Attachment #1: Type: text/plain, Size: 2830 bytes --]
Dnia sobota 18 września 2004 01:33, Piotrek napisał:
> scsi2 : SCSI emulation for USB Mass Storage devices
> Vendor: Model: USB BAR Rev: 1.89
> Type: Direct-Access ANSI SCSI revision: 02
> SCSI device sda: 255744 512-byte hdwr sectors (131 MB)
> sda: assuming Write Enabled
> sda: assuming drive cache: write through
> /dev/scsi/host2/bus0/target0/lun0: p1
> Attached scsi removable disk sda at scsi2, channel 0, id 0, lun 0
> Attached scsi generic sg0 at scsi2, channel 0, id 0, lun 0, type 0
> USB Mass Storage device found at 2
> SCSI error : <2 0 0 0> return code = 0x10070000
> end_request: I/O error, dev sda, sector 0
> FAT: unable to read boot sector
> SCSI error : <2 0 0 0> return code = 0x10070000
> end_request: I/O error, dev sda, sector 32
> FAT: unable to read boot sector
>
> Po wloznieu dysku w /dev/ pojawiaja sie "sda" "sda1" i "sg0"
> zadnego z tych urzadzen mount nie chce jednak podmountowac :P
>
> bash-2.05b# mount /dev/sg0 /mnt/flash/
> mount: /dev/sg0 is not a block device
> bash-2.05b# mount /dev/sda1 /mnt/flash/
> mount: /dev/sda1: can't read superblock
> bash-2.05b# mount /dev/sda /mnt/flash/
> mount: /dev/sda: can't read superblock
>
> w czym wiec problem ??
>
> Poza tym jes cos jeszcze:
> "dmesg" wypisue jeszcze cus takiego:
>
> sector 8
> Buffer I/O error on device hdc, logical block 2
> hdc: command error: status=0x51 { DriveReady SeekComplete Error }
> hdc: command error: error=0x51
> end_request: I/O error, dev hdc, sector 12
> Buffer I/O error on device hdc, logical block 3
> hdc: command error: status=0x51 { DriveReady SeekComplete Error }
> hdc: command error: error=0x51
> end_request: I/O error, dev hdc, sector 16
> Buffer I/O error on device hdc, logical block 4
> hdc: command error: status=0x51 { DriveReady SeekComplete Error }
> hdc: command error: error=0x51
> end_request: I/O error, dev hdc, sector 20
> Buffer I/O error on device hdc, logical block 5
> hdc: command error: status=0x51 { DriveReady SeekComplete Error }
> hdc: command error: error=0x51
> end_request: I/O error, dev hdc, sector 24
> Buffer I/O error on device hdc, logical block 6
> hdc: command error: status=0x51 { DriveReady SeekComplete Error }
> hdc: command error: error=0x51
> end_request: I/O error, dev hdc, sector 28
>
> i tak dalej jeszcze ze 30 takich pozycji - kolejen bloki i sektory.. - co
> to jest?
w jadrze jest opcja co to naprawia ale kurde .. jak sie nazywala
a juz wiem USE mULit node by default w sekcji block devices...
a ja pena montuje na sda1
--
*Dariusz 'tdi' Dwornikowski | Gentoo Linux | PP
*JID:tdi@chrome.pl gg: 2266034 | #linux.com.pl@freenode
*www.tdi.pozman.pl | linux.com.pl/forum |
*Fingerprint:43E21CC46DAFD2F754E91547D59B39F56AAA4B5F
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* [gentoo-user-pl] dysk usb
@ 2004-09-17 22:45 Piotrek
2004-09-17 21:00 ` Zbyszek
0 siblings, 1 reply; 4+ messages in thread
From: Piotrek @ 2004-09-17 22:45 UTC (permalink / raw
To: gentoo-user-pl
Witam!
W jaki sposob uzyskac dostep do dusku USB - najlepiej pod KDE.
Dysk na pewno wykrywa, bo pali sie dioda (i migocze) :D
w urzadzeniach wylistowanych pod "centrum informacyjnym" w KDE dysk widzi
nawet jako konretny model. NIe wiem jednak jak sie do niego dostac...
--
/Piotr Kowalczyk
--
gentoo-user-pl@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user-pl] dysk usb
2004-09-17 21:00 ` Zbyszek
@ 2004-09-17 23:33 ` Piotrek
2004-09-17 21:59 ` Dariusz Dwornikowski
0 siblings, 1 reply; 4+ messages in thread
From: Piotrek @ 2004-09-17 23:33 UTC (permalink / raw
To: gentoo-user-pl
Dnia piątek, 17 września 2004 21:00, Zbyszek napisał:
> Po pierwsze musisz mieć w jądrze lub jako moduł obsługę USB,
> usb_storage, sd_mod. Gdy masz te moduły załadowane, to po podłączeniu
> dysku do portu USB wydajesz polecenie "dmesg" z konsoli.
>
> Jeśli wypisze, że znalazł napęd scsi, to znaczy, że urządzenie zostało
> wykryte. Sprawdzasz, pod jakim urządzeniem /dev/sdx jest ten dysk i
> wtedy normalnie go podmontowujesz do systemu plików.
Dzieki za odpowiedz!
czy musze miec to wkompilowane koniecznie jako moduly?
Hmm zdje sie ze "dmesg" wypisuje ze znalazl dysk:
scsi2 : SCSI emulation for USB Mass Storage devices
Vendor: Model: USB BAR Rev: 1.89
Type: Direct-Access ANSI SCSI revision: 02
SCSI device sda: 255744 512-byte hdwr sectors (131 MB)
sda: assuming Write Enabled
sda: assuming drive cache: write through
/dev/scsi/host2/bus0/target0/lun0: p1
Attached scsi removable disk sda at scsi2, channel 0, id 0, lun 0
Attached scsi generic sg0 at scsi2, channel 0, id 0, lun 0, type 0
USB Mass Storage device found at 2
SCSI error : <2 0 0 0> return code = 0x10070000
end_request: I/O error, dev sda, sector 0
FAT: unable to read boot sector
SCSI error : <2 0 0 0> return code = 0x10070000
end_request: I/O error, dev sda, sector 32
FAT: unable to read boot sector
Po wloznieu dysku w /dev/ pojawiaja sie "sda" "sda1" i "sg0"
zadnego z tych urzadzen mount nie chce jednak podmountowac :P
bash-2.05b# mount /dev/sg0 /mnt/flash/
mount: /dev/sg0 is not a block device
bash-2.05b# mount /dev/sda1 /mnt/flash/
mount: /dev/sda1: can't read superblock
bash-2.05b# mount /dev/sda /mnt/flash/
mount: /dev/sda: can't read superblock
w czym wiec problem ??
Poza tym jes cos jeszcze:
"dmesg" wypisue jeszcze cus takiego:
sector 8
Buffer I/O error on device hdc, logical block 2
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x51
end_request: I/O error, dev hdc, sector 12
Buffer I/O error on device hdc, logical block 3
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x51
end_request: I/O error, dev hdc, sector 16
Buffer I/O error on device hdc, logical block 4
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x51
end_request: I/O error, dev hdc, sector 20
Buffer I/O error on device hdc, logical block 5
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x51
end_request: I/O error, dev hdc, sector 24
Buffer I/O error on device hdc, logical block 6
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x51
end_request: I/O error, dev hdc, sector 28
i tak dalej jeszcze ze 30 takich pozycji - kolejen bloki i sektory.. - co to
jest?
--
/Piotr Kowalczyk
--
gentoo-user-pl@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-09-17 21:56 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-17 22:45 [gentoo-user-pl] dysk usb Piotrek
2004-09-17 21:00 ` Zbyszek
2004-09-17 23:33 ` Piotrek
2004-09-17 21:59 ` Dariusz Dwornikowski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox