Mailinglist Archive: opensuse (4547 mails)

< Previous Next >
Re: [SLE] Re: More on mounting cf cards / cameras / stability of konq 3.2.2
  • From: Patrick Shanahan <paka@xxxxxxxxxxxxxxx>
  • Date: Wed, 12 May 2004 08:56:49 -0500
  • Message-id: <20040512135649.GA22254@xxxxxxxxxxxxxxx>
* Fergus Wilde <fwilde@xxxxxxxxxxxxxxx> [05-12-04 08:46]:
> On Wednesday 12 May 2004 11:52, you wrote:
> > Sorry if that subject line appears to be mashing things together, they may
> > be related.
>
>
> Another reply to own thread - sorry - I just think USB experts might spot why
> 8.2 and 9.0 can mount this compact flash disk so that one can actually read
> data off it either in a reader or in a camera, and why 9.1 can do neither.
>
> For the benefit of those who may not have enjoyed previous elements of the
> thread, in essence the mounting process gets as far as providing a location
> like:
>
> file:/media/usb-storage-odd-NIKON-NIKONDSCD70:0:0:0p1
>
> But then won't actually let you read the disk, and locks Konqueror 3.2.2 so
> that it has to be destroyed.
>
> Here's a transcript of 9.1 struggling to mount the camera, twice:
>
> May 12 08:53:00 pc02 kernel: usb 1-1: new full speed USB device using address
> 2
> May 12 08:53:00 pc02 kernel: usb 1-1: Product: NIKON DSC D70
> May 12 08:53:00 pc02 kernel: usb 1-1: Manufacturer: NIKON
> May 12 08:53:01 pc02 /etc/hotplug/usb.agent[3481]: need a device for this
> command
> May 12 08:53:02 pc02 kernel: Initializing USB Mass Storage driver...
> May 12 08:53:02 pc02 kernel: scsi0 : SCSI emulation for USB Mass Storage
> devices
> May 12 08:53:02 pc02 kernel: Vendor: NIKON Model: D70 Rev:
> 1.01
> May 12 08:53:02 pc02 kernel: Type: Direct-Access ANSI
> SCSI revision: 02
> May 12 08:53:03 pc02 kernel: SCSI device sda: 501761 512-byte hdwr sectors
> (257 MB)
> May 12 08:53:03 pc02 kernel: sda: assuming Write Enabled
> May 12 08:53:03 pc02 kernel: sda: assuming drive cache: write through
> May 12 08:53:03 pc02 /etc/hotplug/block.agent[3559]: try 1 while waiting for /
> block/sda's bus_id 0:0:0:0
> May 12 08:53:03 pc02 kernel: sda:end_request: I/O error, dev sda, sector
> 501760
> May 12 08:53:03 pc02 kernel: Buffer I/O error on device sda, logical block
> 501760
> May 12 08:53:03 pc02 kernel: end_request: I/O error, dev sda, sector 501760
> May 12 08:53:03 pc02 kernel: Buffer I/O error on device sda, logical block
> 501760
> May 12 08:53:03 pc02 kernel: sda1
> May 12 08:53:03 pc02 kernel: Attached scsi removable disk sda at scsi0,
> channel 0, id 0, lun 0
> May 12 08:53:03 pc02 kernel: USB Mass Storage device found at 2
> May 12 08:53:03 pc02 kernel: drivers/usb/core/usb.c: registered new driver
> usb-storage
> May 12 08:53:03 pc02 kernel: USB Mass Storage support registered.
> May 12 08:53:04 pc02 kernel: Attached scsi generic sg0 at scsi0, channel 0, id
> 0, lun 0, type 0
> May 12 08:53:04 pc02 /etc/hotplug/block.agent[3581]: new block device /block/
> sda/sda1
> May 12 08:53:04 pc02 /etc/hotplug/block.agent[3559]: waiting for /var/lock/
> block.agent.lock, process 3581 holds it
> May 12 08:53:06 pc02 kernel: end_request: I/O error, dev sda, sector 0
> May 12 08:53:22 pc02 /etc/hotplug/block.agent[3581]: mount by-path/
> usb-storage-odd-NIKON-NIKONDSCD70:0:0:0p1
> May 12 08:53:23 pc02 /etc/hotplug/block.agent[3559]: new block device /block/
> sda
> May 12 08:53:37 pc02 kernel: usb 1-1: sg_complete, unlink --> -19
> May 12 08:53:37 pc02 last message repeated 11 times
> May 12 08:56:19 pc02 su: (to root) fergus on /dev/pts/41
> May 12 08:56:19 pc02 su: pam_unix2: session started for user root, service su
> May 12 08:59:00 pc02 /USR/SBIN/CRON[5150]: (root) CMD ( rm -f /var/spool/cron/
> lastrun/cron.hourly)
> May 12 08:59:11 pc02 kernel: usb 1-1: USB disconnect, address 2
>
>
> We have anther go:
>
> May 12 09:06:05 pc02 kernel: usb 1-1: new full speed USB device using address
> 2
> May 12 09:06:05 pc02 kernel: usb 1-1: Product: NIKON DSC D70
> May 12 09:06:05 pc02 kernel: usb 1-1: Manufacturer: NIKON
> May 12 09:06:05 pc02 /etc/hotplug/usb.agent[3455]: need a device for this
> command
> May 12 09:06:12 pc02 kernel: Initializing USB Mass Storage driver...
> May 12 09:06:12 pc02 kernel: scsi0 : SCSI emulation for USB Mass Storage
> devices
> May 12 09:06:12 pc02 kernel: Vendor: NIKON Model: D70 Rev:
> 1.01
> May 12 09:06:12 pc02 kernel: Type: Direct-Access ANSI
> SCSI revision: 02
> May 12 09:06:12 pc02 kernel: SCSI device sda: 501761 512-byte hdwr sectors
> (257 MB)
> May 12 09:06:12 pc02 kernel: sda: assuming Write Enabled
> May 12 09:06:12 pc02 kernel: sda: assuming drive cache: write through
> May 12 09:06:12 pc02 /etc/hotplug/block.agent[3547]: try 1 while waiting for /
> block/sda's bus_id 0:0:0:0
> May 12 09:06:12 pc02 kernel: sda:end_request: I/O error, dev sda, sector
> 501760
> May 12 09:06:12 pc02 kernel: Buffer I/O error on device sda, logical block
> 501760
> May 12 09:06:12 pc02 kernel: end_request: I/O error, dev sda, sector 501760
> May 12 09:06:12 pc02 kernel: Buffer I/O error on device sda, logical block
> 501760
> May 12 09:06:12 pc02 kernel: sda1
> May 12 09:06:12 pc02 kernel: Attached scsi removable disk sda at scsi0,
> channel 0, id 0, lun 0
> May 12 09:06:12 pc02 kernel: USB Mass Storage device found at 2
> May 12 09:06:12 pc02 kernel: drivers/usb/core/usb.c: registered new driver
> usb-storage
> May 12 09:06:12 pc02 kernel: USB Mass Storage support registered.
> May 12 09:06:13 pc02 kernel: Attached scsi generic sg0 at scsi0, channel 0, id
> 0, lun 0, type 0
> May 12 09:06:13 pc02 /etc/hotplug/block.agent[3569]: new block device /block/
> sda/sda1
> May 12 09:06:14 pc02 /etc/hotplug/block.agent[3547]: waiting for /var/lock/
> block.agent.lock, process 3569 holds it
> May 12 09:06:16 pc02 kernel: end_request: I/O error, dev sda, sector 0
> May 12 09:06:31 pc02 /etc/hotplug/block.agent[3569]: mount by-path/
> usb-storage-odd-NIKON-NIKONDSCD70:0:0:0p1
> May 12 09:06:31 pc02 /etc/hotplug/block.agent[3547]: new block device /block/
> sda
> May 12 09:06:47 pc02 kernel: end_request: I/O error, dev sda, sector 0
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 0
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 1
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 2
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 3
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 4
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 5
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 6
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 7
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 8
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 9
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 10
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 11
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 12
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 13
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 14
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 15
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 16
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 17
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 18
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 19
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 20
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 21
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 22
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 23
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 24
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 25
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 26
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 27
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 28
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 29
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 30
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 31
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 32
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 33
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 34
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 35
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 36
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 37
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 38
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 39
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 40
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 41
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 42
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 43
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 44
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 45
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 46
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 47
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 48
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 49
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 50
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 51
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 52
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 53
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 54
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 55
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 56
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 57
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 58
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 59
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 60
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 61
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 62
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 63
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 64
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 65
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 66
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 67
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 68
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 69
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 70
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 71
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 72
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 73
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 74
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 75
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 76
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 77
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 78
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 79
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 80
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 81
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 82
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 83
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 84
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 85
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 86
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 87
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 88
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 89
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 90
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 91
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 92
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 93
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 94
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 95
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 96
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 97
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 98
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 99
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 100
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 101
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 102
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 103
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 104
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 105
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 106
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 107
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 108
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 109
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 110
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 111
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 112
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 113
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 114
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 115
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 116
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 117
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 118
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 119
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 120
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 121
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 122
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 123
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 124
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 125
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 126
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 127
> May 12 09:06:47 pc02 kernel: end_request: I/O error, dev sda, sector 0
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 0
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 1
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 2
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 3
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 4
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 5
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 6
> May 12 09:06:47 pc02 kernel: Buffer I/O error on device sda, logical block 7
> May 12 09:06:48 pc02 kernel: usb 1-1: sg_complete, unlink --> -19
> May 12 09:06:48 pc02 kernel: usb 1-1: sg_complete, unlink --> -19
>
>
>
> >
> > I've now tried to get a cf card to mount using a usb card reader on two 9.1
> > machines, fully patched including kernel patches, and upgraded to kde
> > 3.2.2. I've also tried to get both to recognise a camera attached by USB,
> > which works fine under 8.2 and 9.0.
> >
> > Rather like Art Fore's problems with a firewire hd, I get a 'cant enter
> > folder' message, or sometimes no message at all. Though at least ARt seems
> > to be able to get to part of his disk. SuSEplugger can see the cf disk as
> > a disk in at least some cases, and sometimes a Konq window opens. The
> > camera gets assigned a directory like:
> >
> > file:/media/usb-storage-odd-NIKON-NIKONDSCD70:0:0:0p1
> >
> > but you can't change into it or list it. The konqueror window dies after a
> > while and has to be closed down. I've had the same with trying to launch
> > things like the bbc radio listen-on-line service, which again worked fine
> > in 8.2 and 9.0. I'm also reading huge load averages on one of the machines
> > during, though not necessarily due to, this business - loads like 8.5. But
> > top only shows one or two running processes that don't seem to account for
> > that sort of load, and are typically X and top itself.
> >
> > For a lark, I tried booting the machine with the camera plugged in and
> > switched on, but this produced a grub error message and the box wouldn't
> > boot. It also seems to rather defeat the point of USB if one has to reboot
> > - not that things worked then either.
> >
> > I think something is quite odd in the new mounting system, but don't know
> > where to try to fix things. I can't say I think much of the 'My computer'
> > window, much as it may be trying to make windows users feel at home, at my
> > end it just seemed to obscure the device names. I'd be very grateful if
> > people could report success or failure with cf cards and cameras under 9.1,
> > perhaps to me rather than the list, and then I'll summarise if there's
> > enough traffic to warrant it.
>


You might try:

as root make a directory under /media ie: mkdir /media/sda1
as root do: /sbin/rchotplug restart
plugin the chip
as root: mount -t vfat /dev/sda1 /media/sda1

then try to access the directory /media/sda1

report results
--
Patrick Shanahan Registered Linux User #207535
http://wahoo.no-ip.org @ http://counter.li.org
HOG # US1244711

< Previous Next >
Follow Ups