From: Piotrek <impessa@gazeta.pl>
To: gentoo-user-pl@lists.gentoo.org
Subject: Re: [gentoo-user-pl] dysk usb
Date: Fri, 17 Sep 2004 23:33:37 +0000 [thread overview]
Message-ID: <200409172333.37278.impessa@gazeta.pl> (raw)
In-Reply-To: <20040917210017.GA27452@k7.lan.home>
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
next prev parent reply other threads:[~2004-09-17 21:33 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-17 22:45 [gentoo-user-pl] dysk usb Piotrek
2004-09-17 21:00 ` Zbyszek
2004-09-17 23:33 ` Piotrek [this message]
2004-09-17 21:59 ` Dariusz Dwornikowski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200409172333.37278.impessa@gazeta.pl \
--to=impessa@gazeta.pl \
--cc=gentoo-user-pl@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox