[Forum] cf-kort og cf-kortlæser

From: Claus Ladekjær Wilson <clw@get2net.dk>
Date: Sun Jun 02 2002 - 22:16:29 CEST

Hej aalug!
Er der nogen, der har et par ideer til, hvordan jeg læser mit compact-flash
kort i min usb-kortlæser. Der ser ud til, at systemet mangler en
partitionstabel. Kan jeg definere den et sted?
(Kortet blev formateret af et hp315c kamera)

I did a rmmod and a insmod usb-storage. This leads to something useable:
unknown partition table. Also the address on the scsi-device. As you see I
have here a 8Mb CF-Sandisk Card.

*********************************
Jun 2 22:00:00 clauswilson kernel: usb.c: deregistering driver usb-storage
Jun 2 22:00:00 clauswilson kernel: scsi : 1 host left.
Jun 2 22:00:08 clauswilson kernel: Initializing USB Mass Storage driver...
Jun 2 22:00:08 clauswilson kernel: usb.c: registered new driver usb-storage
Jun 2 22:00:08 clauswilson kernel: usb-uhci.c: interrupt, status 2, frame#
1885Jun 2 22:00:08 clauswilson kernel: scsi1 : SCSI emulation for USB Mass
Storage
devices
Jun 2 22:00:08 clauswilson kernel: Vendor: SanDisk Model: ImageMate II
 Rev: 1.30
Jun 2 22:00:08 clauswilson kernel: Type: Direct-Access
 ANSI SCSI revision: 02
Jun 2 22:00:08 clauswilson kernel: Attached scsi removable disk sda at
scsi1, channel 0, id 0, lun 0
Jun 2 22:00:08 clauswilson kernel: SCSI device sda: 15681 512-byte hdwr
sectors (8 MB)
Jun 2 22:00:08 clauswilson kernel: sda: Write Protect is off
Jun 2 22:00:08 clauswilson kernel: /dev/scsi/host1/bus0/target0/lun0:
unknown
partition table
Jun 2 22:00:08 clauswilson kernel: USB Mass Storage support registered.
[root@clauswilson claus]# cd /mnt/sandisk/
bash: cd: /mnt/sandisk/: Input/output error
**********************************

This is something different. Here there is no SanDisk Medium in the reader
when I mount it. Still same problem: no partition table.

***********************************
Jun 2 22:00:42 clauswilson kernel: FAT: freeing iocharset=iso8859-1
Jun 2 22:04:39 clauswilson kernel: usb.c: deregistering driver usb-storage
Jun 2 22:04:39 clauswilson kernel: scsi : 1 host left.
Jun 2 22:04:44 clauswilson kernel: Initializing USB Mass Storage driver...
Jun 2 22:04:44 clauswilson kernel: usb.c: registered new driver usb-storage
Jun 2 22:04:44 clauswilson kernel: usb-uhci.c: interrupt, status 2, frame#
865
Jun 2 22:04:44 clauswilson kernel: scsi1 : SCSI emulation for USB Mass
Storage
devices
Jun 2 22:04:44 clauswilson kernel: Vendor: SanDisk Model: ImageMate II
 Rev: 1.30
Jun 2 22:04:44 clauswilson kernel: Type: Direct-Access
 ANSI SCSI revision: 02
Jun 2 22:04:44 clauswilson kernel: Attached scsi removable disk sda at
scsi1, channel 0, id 0, lun 0
Jun 2 22:04:44 clauswilson kernel: sda : READ CAPACITY failed.
Jun 2 22:04:44 clauswilson kernel: sda : status = 1, message = 00, host = 0,
driver = 08
Jun 2 22:04:44 clauswilson kernel: Current sd00:00: sense key Not Ready
Jun 2 22:04:44 clauswilson kernel: Additional sense indicates Medium not
present
Jun 2 22:04:44 clauswilson kernel: sda : block size assumed to be 512 bytes,
disk size 1GB.
Jun 2 22:04:44 clauswilson kernel: sda: test WP failed, assume Write Enabled
Jun 2 22:04:44 clauswilson kernel: /dev/scsi/host1/bus0/target0/lun0: I/O
error: dev 08:00, sector 0
Jun 2 22:04:44 clauswilson kernel: I/O error: dev 08:00, sector 0
Jun 2 22:04:44 clauswilson kernel: unable to read partition table
Jun 2 22:04:44 clauswilson kernel: USB Mass Storage support registered.
*******************************************

Ran Talbott wrote:

> On Fri, 31 May 2002 15:03:55 -0700, Claus Ladekjær Wilson wrote:
>
>> How could I access my sanDisk media again?
>
> As root, do an lsmod to see if usb-storage is installed. If it is, I'm
> out of ideas, except to suggest that maybe a bug was introduced in
> kernel 2.4.18.
>
> If it's not installed, do a modprobe usb-storage, connect the reader,
> do a tail -20 /var/log/messages. You should see some informational
> messages about a new device being connected, an address being assigned,
> and one saying something like "SCSI emulation for USB Mass Storage
> devices".
>
> If that gets the reader working, you can do some configuration file
> tweaking to make sure the driver is always loaded. But I haven't
> gotten around to learning how, so you'll need to get that answer
> elsewhere.
>
> Ran

-- 
Hilsen / Greetings
Claus Ladekjær Wilson
Kirkedammen 19, 2.th
8000 Århus C
tlf. 86112234
mail: clw@get2net.dk
***running Linux Mandrake 8.2 kernel 2.4.18
Received on Sun Jun 02 22:16:38 2002

This archive was generated by hypermail 2.1.8 : Tue Jul 19 2005 - 16:03:48 CEST