linx 2.4.18mdk a USB mass storage [dlhe]?
Ernest Beinrohr
Ernest na Beinrohr.sk
Úterý Červen 4 09:20:26 CEST 2002
Zdravim, snad mi pomozete. Kupil som si digifotak s podporou USB mass
storage. Myslel som ze to predsa nemoze byt problem, ale ups. Pripojim
ho a zapnem, loadnu sa spravne moduly [vypis 1 dmesg je dole], ked vsak
idem spravit mount tak to robi dve veci. Bud mi zamrzne konzola uz pri
pisami mount /dev/scsi/host1/bus0/target0/lun0[TAB], alebo sa v tom
adresari normalne zjavia dva subory _generic_ a _disk_. Ked skusam
namountovat subor _disk_ dostavam hlasku "No media found" aj ked je to
block device. Fdisk na tom subore nefunguje [vypis 2]. Ked ho iba
zapnem, vypisy z .proc su OK [vypis 3]. Pri zamrznuti konzoly dostavam
[vypis 4].
PS: mandrake 8.2, 2.4.18-6mdk, celeron 1G
------------ [vypis 1] --------------------------
#>dmesg
hub.c: USB new device connect on bus1/2, assigned device number 9
usb.c: USB device 9 (vend/prod 0x686/0x400a) is not claimed by any
active driver.
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
scsi1 : SCSI emulation for USB Mass Storage devices
Vendor: MINOLTA Model: DIMAGE CAMERA Rev: 1.00
Type: Direct-Access ANSI SCSI revision: 02
Attached scsi removable disk sda at scsi1, channel 0, id 0, lun 0
SCSI device sda: 500128 512-byte hdwr sectors (256 MB)
sda: Write Protect is off
/dev/scsi/host1/bus0/target0/lun0: p1
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 9
USB Mass Storage support registered.
-------------------------------------------------
------------ [vypis 2] --------------------------
#>dmesg
Device not ready. Make sure there is a disc in the drive.
Device 08:00 not ready.
I/O error: dev 08:00, sector 0
Device 08:00 not ready.
I/O error: dev 08:00, sector 4
Device not ready. Make sure there is a disc in the drive.
Device not ready. Make sure there is a disc in the drive.
sda : READ CAPACITY failed.
sda : status = 1, message = 00, host = 0, driver = 08
Info fld=0xa00 (nonstd), Current sd00:00: sense key Not Ready
sda : block size assumed to be 512 bytes, disk size 1GB.
/dev/scsi/host1/bus0/target0/lun0: I/O error: dev 08:00, sector 0
I/O error: dev 08:00, sector 2
I/O error: dev 08:00, sector 0
unable to read partition table
------------------------------------------------------------
------------ [vypis 3] --------------------------
#> cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 03 Lun: 00
Vendor: YAMAHA Model: CRW8824S Rev: 1.00
Type: CD-ROM ANSI SCSI revision: 02
Host: scsi1 Channel: 00 Id: 00 Lun: 00
Vendor: MINOLTA Model: DIMAGE CAMERA Rev: 1.00
Type: Direct-Access ANSI SCSI revision: 02
#>cat /proc/scsi/usb-storage-0/1
Host scsi1: usb-storage
Vendor: Unknown
Product: DIMAGE CAMERA
Serial Number: None
Protocol: Transparent SCSI
Transport: Bulk
GUID: 0686400a0000000000000000
Attached: Yes
------------------------------------------------
------------ [vypis 4] --------------------------
#> dmesg
Device not ready. Make sure there is a disc in the drive.
VFS: Disk change detected on device 08:01
sda : READ CAPACITY failed.
sda : status = 1, message = 00, host = 0, driver = 08
Info fld=0xa00 (nonstd), Current sd00:00: sense key Not Ready
sda : block size assumed to be 512 bytes, disk size 1GB.
/dev/scsi/host1/bus0/target0/lun0: I/O error: dev 08:00, sector 0
I/O error: dev 08:00, sector 2
I/O error: dev 08:00, sector 0
Unable to handle kernel paging request at virtual address 204f2f8d
printing eip:
c0160783
*pde = 00000000
Oops: 0000
CPU: 0
EIP: 0010:[<c0160783>] Not tainted
EFLAGS: 00010202
eax: c50047e0 ebx: 204f2f49 ecx: 00000000 edx: c50047e0
esi: cd17d300 edi: c418eaa0 ebp: c2587be0 esp: d0d81f28
ds: 0018 es: 0018 ss: 0018
Process ls (pid: 9328, stackpage=d0d81000)
Stack: cd17d300 c0160c16 c418eaa0 c0265a40 00000000 cd17d300 cd17d380
cd17d36c
c2587be0 c0141690 c2587be0 d0d81fa0 c0141b90 c2587be0 fffffff7
00000003
bfffefb8 c0141d3f c2587be0 c0141b90 d0d81fa0 00000730 c1506360
41ed0007
Call Trace: [<c0160c16>] [<c0141690>] [<c0141b90>] [<c0141d3f>] [<c0141b90>]
[<c0130001>] [<c0106f23>]
Code: 66 8b 43 44 25 00 f0 00 00 66 3d 00 60 75 0d f6 43 10 04 74
--------------------------------------------------
--
Ernest Beinrohr, OERNii
eAdmin @ AxonPro.sk, http://www.AxonPro.sk
+421-2-62410360, +421-905-241903
HomePage: http://www.oernii.sk
Další informace o konferenci Linux