ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Alexander <shurikx1@mail.ru>
To: community@lists.altlinux.org
Subject: [Comm] проблема с чтением флешки
Date: Fri, 8 Aug 2008 22:16:10 +0400
Message-ID: <20080808221610.7924c145@skeo.skeo> (raw)

Здравствуйте!

Подключил с помощью кард-ридера SD-карточку Patriot 2ГБ. Пытаюсь просмотреть
через gthumb фотки с отдыха - читает только часть. При копировании с карты
на диск пишет
В  tail -f /var/log/all.log пишет:

Aug  8 21:52:46 kernel: attempt to access beyond end of device
Aug  8 21:52:46 kernel: sdc: rw=0, want=2237127, limit=1992704

При этом на ноутбуке все читается нормально. Пробовал другую карту подключать -
то же самое. Как можно исправить?


Дополнительная информация:
# uname -r
2.6.25-std-pae-alt7
Сизиф обновлял несколько раз - не помогло :((

в /etc/fstab такие опции монтирования:
/dev/sdc1       /mnt/flash3     subfs
fs=vfat,iocharset=koi8-r,auto,umask=0,sync,quiet,noexec,user,nodev,nosuid,sync 0 0

# lsmod|grep hci
ohci_hcd               31108  0 
ehci_hcd               40844  0 
ssb                    43908  1 ohci_hcd
usbcore               151024  7 usb_storage,libusual,cxacru,usbatm,ohci_hcd,ehci_hcd 

# lsmod|grep usb
usb_storage            76736  1 
libusual               23208  1 usb_storage
usbatm                 23552  2 cxacru
atm                    47540  4 br2684,usbatm
usbcore               151024  7 usb_storage,libusual,cxacru,usbatm,ohci_hcd,ehci_hcd
scsi_mod 	      155052  4 sg,usb_storage,libata,sd_mod

При подключении кард-ридера в /var/log/all.log писалось:
Aug  8 21:51:15 skeo kernel: usb 1-4: new high speed USB device using ehci_hcd and address 4
Aug  8 21:51:15 skeo kernel: usb 1-4: configuration #1 chosen from 1 choice
Aug  8 21:51:15 skeo kernel: scsi3 : SCSI emulation for USB Mass Storage devices
Aug  8 21:51:15 skeo kernel: usb 1-4: New USB device found, idVendor=0aec, idProduct=3260
Aug  8 21:51:15 skeo kernel: usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Aug  8 21:51:15 skeo kernel: usb 1-4: Product: USB Storage Device
Aug  8 21:51:15 skeo kernel: usb 1-4: Manufacturer: Generic 
Aug  8 21:51:15 skeo kernel: usb 1-4: SerialNumber: 0AEC326000001A000
Aug  8 21:51:15 skeo kernel: usb-storage: device found at 4
Aug  8 21:51:15 skeo kernel: usb-storage: waiting for device to settle before scanning
Aug  8 21:51:16 skeo kernel: scsi 3:0:0:0: Direct-Access     Generic  USB Storage-CFC  I19A PQ: 0 ANSI: 0 CCS
Aug  8 21:51:16 skeo kernel: sd 3:0:0:0: [sdb] Attached SCSI removable disk
Aug  8 21:51:16 skeo kernel: sd 3:0:0:0: Attached scsi generic sg1 type 0
Aug  8 21:51:16 skeo kernel: scsi 3:0:0:1: Direct-Access     Generic  USB Storage-SDC  I19A PQ: 0 ANSI: 0 CCS
Aug  8 21:51:16 skeo kernel: sd 3:0:0:1: [sdc] 1992704 512-byte hardware sectors (1020 MB)
Aug  8 21:51:16 skeo kernel: sd 3:0:0:1: [sdc] Write Protect is off
Aug  8 21:51:16 skeo kernel: sd 3:0:0:1: [sdc] Mode Sense: 03 00 00 00
Aug  8 21:51:16 skeo kernel: sd 3:0:0:1: [sdc] Assuming drive cache: write through
Aug  8 21:51:16 skeo kernel: sd 3:0:0:1: [sdc] 1992704 512-byte hardware sectors (1020 MB)
Aug  8 21:51:16 skeo kernel: sd 3:0:0:1: [sdc] Write Protect is off
Aug  8 21:51:16 skeo kernel: sd 3:0:0:1: [sdc] Mode Sense: 03 00 00 00
Aug  8 21:51:16 skeo kernel: sd 3:0:0:1: [sdc] Assuming drive cache: write through
Aug  8 21:51:16 skeo kernel:  sdc: sdc1
Aug  8 21:51:16 skeo kernel:  sdc: p1 exceeds device capacity
Aug  8 21:51:16 skeo kernel: sd 3:0:0:1: [sdc] Attached SCSI removable disk
Aug  8 21:51:16 skeo kernel: sd 3:0:0:1: Attached scsi generic sg2 type 0
Aug  8 21:51:16 skeo kernel: scsi 3:0:0:2: Direct-Access     Generic  USB Storage-SMC  I19A PQ: 0 ANSI: 0 CCS
Aug  8 21:51:16 skeo kernel: sd 3:0:0:2: [sdd] Attached SCSI removable disk
Aug  8 21:51:16 skeo kernel: sd 3:0:0:2: Attached scsi generic sg3 type 0
Aug  8 21:51:16 skeo kernel: scsi 3:0:0:3: Direct-Access     Generic  USB Storage-MSC  I19A PQ: 0 ANSI: 0 CCS
Aug  8 21:51:16 skeo kernel: sd 3:0:0:3: [sde] Attached SCSI removable disk
Aug  8 21:51:16 skeo kernel: sd 3:0:0:3: Attached scsi generic sg4 type 0
Aug  8 21:51:16 skeo kernel: usb-storage: device scan complete
Aug  8 21:51:16 skeo kernel: attempt to access beyond end of device
Aug  8 21:51:16 skeo kernel: sdc: rw=0, want=3983480, limit=1992704
Aug  8 21:51:16 skeo kernel: Buffer I/O error on device sdc1, logical block 3983232
Aug  8 21:51:17 skeo kernel: attempt to access beyond end of device
и последние 3 строчки повторяются много-много раз.

-- 
С уважением, Александр.


             reply	other threads:[~2008-08-08 18:16 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-08 18:16 Alexander [this message]
2008-08-08 18:23 ` Andrey Rahmatullin
2008-08-08 19:38   ` Alexander
2008-08-08 21:03     ` Sergey Vlasov
2008-08-11  7:02       ` Yury Aliaev
2008-08-08 18:24 ` Denis Nazarov
2008-08-09 19:32   ` Alexander

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=20080808221610.7924c145@skeo.skeo \
    --to=shurikx1@mail.ru \
    --cc=community@lists.altlinux.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

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git