From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on sa.int.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.2.4 X-Yandex-Spam: 1 X-Yandex-Front: smtp10 X-Yandex-TimeMark: 1220260520 X-MsgDayCount: 3 X-Comment: RFC 2476 MSA function at smtp10.yandex.ru logged sender identity as: vova1971 Date: Mon, 1 Sep 2008 13:15:18 +0400 From: =?UTF-8?B?0JLQu9Cw0LTQuNC80LjRgCDQk9GD0YHQtdCy?= To: community@lists.altlinux.org Message-ID: <20080901131518.6377986b@book.gusev.ru> In-Reply-To: <200808311207.31762.mak@rsmu.ru> References: <20080830222953.5635b9aa@book.gusev.ru> <20080831000208.6265fc7d@book.gusev.ru> <20080831114758.096756c2@book.gusev.ru> <200808311207.31762.mak@rsmu.ru> X-Mailer: Claws Mail 3.4.0cvs10 (GTK+ 2.12.11; i586-alt-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Subject: Re: [Comm] =?utf-8?b?U0QvTU1DLdC60LDRgNGC0L7Rh9C60Lgg0LzQvtC90YLQuNGA?= =?utf-8?b?0YPRjtGC0YHRjyDRgtC+0LvRjNC60L4g0L3QsCDRh9GC0LXQvdC40LUu?= X-BeenThere: community@lists.altlinux.org X-Mailman-Version: 2.1.10b3 Precedence: list Reply-To: ALT Linux Community general discussions List-Id: ALT Linux Community general discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Sep 2008 09:15:35 -0000 Archived-At: List-Archive: List-Post: > > > > > Вопрос - что сделать сейчас, чтобы автоматом включалась > > > > > запись для SD/MMC карт, и почему это не сделано в > > > > > дистрибутиве по умолчанию? > > > > А у меня всё работает. И через USB'шный noname и через > > > > встроенный в ноут на SDHCI. Что я делаю не так? > > А куда посмотреть, чтобы прояснить этот момент? В предустановки hal? > > dmesg, /var/log/messages, /proc/mounts? Выводы с машины, где не работает (ALD 4.0.1), будут позднее. Ниже привожу выводы логов с моего ноута с Branch 4.1, где все работает. Также не работает на win2k, но работает в winXP.. (это к слову) dmesg (подключение usb card reader/writer): usb 1-2.1: New USB device found, idVendor=058f, idProduct=6362 usb 1-2.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 usb 1-2.1: Product: Mass Storage Device usb 1-2.1: Manufacturer: Generic usb 1-2.1: SerialNumber: 058F312D81B usb-storage: device found at 9 usb-storage: waiting for device to settle before scanning scsi 2:0:0:0: Direct-Access Generic USB SD Reader 1.00 PQ: 0 ANSI: 0 sd 2:0:0:0: [sda] Attached SCSI removable disk sd 2:0:0:0: Attached scsi generic sg0 type 0 scsi 2:0:0:1: Direct-Access Generic USB CF Reader 1.01 PQ: 0 ANSI: 0 sd 2:0:0:1: [sdb] Attached SCSI removable disk sd 2:0:0:1: Attached scsi generic sg1 type 0 scsi 2:0:0:2: Direct-Access Generic USB SM Reader 1.02 PQ: 0 ANSI: 0 sd 2:0:0:2: [sdc] Attached SCSI removable disk sd 2:0:0:2: Attached scsi generic sg2 type 0 scsi 2:0:0:3: Direct-Access Generic USB MS Reader 1.03 PQ: 0 ANSI: 0 sd 2:0:0:3: [sdd] Attached SCSI removable disk sd 2:0:0:3: Attached scsi generic sg3 type 0 usb-storage: device scan complete После подключения (но до монтирования) sd-карточки добавилось следующее: sd 2:0:0:0: [sda] 1950720 512-byte hardware sectors (999 MB) sd 2:0:0:0: [sda] Write Protect is off sd 2:0:0:0: [sda] Mode Sense: 03 00 00 00 sd 2:0:0:0: [sda] Assuming drive cache: write through sd 2:0:0:0: [sda] 1950720 512-byte hardware sectors (999 MB) sd 2:0:0:0: [sda] Write Protect is off sd 2:0:0:0: [sda] Mode Sense: 03 00 00 00 sd 2:0:0:0: [sda] Assuming drive cache: write through sda: sda1 [vova@book /]$ cat /proc/mounts rootfs / rootfs rw 0 0 /dev/disk/by-uuid/b5596679-0fad-46e2-9a39-cee254b6193f / ext3 rw,errors=continue,data=ordered 0 0 /proc /proc proc rw 0 0 sysfs /sys sysfs rw 0 0 udev /dev tmpfs rw,size=5120k,mode=755 0 0 devpts /dev/pts devpts rw,nosuid,noexec,gid=5,mode=620 0 0 shmfs /dev/shm tmpfs rw 0 0 tmpfs /tmp tmpfs rw,nosuid 0 0 /dev/hda8 /home ext3 rw,nosuid,errors=continue,data=ordered 0 0 /dev/hda6 /usr ext3 rw,nodev,noatime,errors=continue,data=ordered 0 0 /dev/hda7 /var ext3 rw,nosuid,errors=continue,data=ordered 0 0 После монтирования карточки (из pcmanfm): [vova@book /]$ cat /proc/mounts rootfs / rootfs rw 0 0 /dev/disk/by-uuid/b5596679-0fad-46e2-9a39-cee254b6193f / ext3 rw,errors=continue,data=ordered 0 0 /proc /proc proc rw 0 0 sysfs /sys sysfs rw 0 0 udev /dev tmpfs rw,size=5120k,mode=755 0 0 devpts /dev/pts devpts rw,nosuid,noexec,gid=5,mode=620 0 0 shmfs /dev/shm tmpfs rw 0 0 tmpfs /tmp tmpfs rw,nosuid 0 0 /dev/hda8 /home ext3 rw,nosuid,errors=continue,data=ordered 0 0 /dev/hda6 /usr ext3 rw,nodev,noatime,errors=continue,data=ordered 0 0 /dev/hda7 /var ext3 rw,nosuid,errors=continue,data=ordered 0 0 /dev/sda1 /media/disk vfat rw,nosuid,nodev,uid=500,fmask=0077,dmask=0077,codepage=cp866,iocharset=utf8,shortname=mixed,utf8 0 0 [root@book ~]# fdisk -l Disk /dev/hda: 20.0 GB, 20003880960 bytes 255 heads, 63 sectors/track, 2432 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0xf0d52c9f Device Boot Start End Blocks Id System /dev/hda1 1 98 787153+ 82 Linux swap / Solaris /dev/hda4 99 2432 18747855 5 Extended /dev/hda5 99 229 1052226 83 Linux /dev/hda6 230 624 3172806 83 Linux /dev/hda7 625 755 1052226 83 Linux /dev/hda8 756 2342 12747546 83 Linux /dev/hda9 * 2343 2432 722893+ 83 Linux Disk /dev/sda: 998 MB, 998768640 bytes 20 heads, 51 sectors/track, 1912 cylinders Units = cylinders of 1020 * 512 = 522240 bytes Disk identifier: 0x00000000 Device Boot Start End Blocks Id System /dev/sda1 1 1913 975328+ 6 FAT16 Тут fat16, там vfat.. Вот кусок messages от момента подключения card-reader/writer до монтирования карты: Sep 1 13:01:30 book kernel: usb 1-2.1: new full speed USB device using uhci_hcd and address 9 Sep 1 13:01:30 book kernel: usb 1-2.1: configuration #1 chosen from 1 choice Sep 1 13:01:30 book kernel: scsi2 : SCSI emulation for USB Mass Storage devices Sep 1 13:01:30 book kernel: usb 1-2.1: New USB device found, idVendor=058f, idProduct=6362 Sep 1 13:01:30 book kernel: usb 1-2.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 Sep 1 13:01:30 book kernel: usb 1-2.1: Product: Mass Storage Device Sep 1 13:01:30 book kernel: usb 1-2.1: Manufacturer: Generic Sep 1 13:01:30 book kernel: usb 1-2.1: SerialNumber: 058F312D81B Sep 1 13:01:32 book kernel: scsi 2:0:0:0: Direct-Access Generic USB SD Reader 1.00 PQ: 0 ANSI: 0 Sep 1 13:01:32 book kernel: sd 2:0:0:0: [sda] Attached SCSI removable disk Sep 1 13:01:32 book kernel: sd 2:0:0:0: Attached scsi generic sg0 type 0 Sep 1 13:01:32 book kernel: scsi 2:0:0:1: Direct-Access Generic USB CF Reader 1.01 PQ: 0 ANSI: 0 Sep 1 13:01:32 book kernel: sd 2:0:0:1: [sdb] Attached SCSI removable disk Sep 1 13:01:32 book kernel: sd 2:0:0:1: Attached scsi generic sg1 type 0 Sep 1 13:01:32 book kernel: scsi 2:0:0:2: Direct-Access Generic USB SM Reader 1.02 PQ: 0 ANSI: 0 Sep 1 13:01:32 book kernel: sd 2:0:0:2: [sdc] Attached SCSI removable disk Sep 1 13:01:32 book kernel: sd 2:0:0:2: Attached scsi generic sg2 type 0 Sep 1 13:01:32 book kernel: scsi 2:0:0:3: Direct-Access Generic USB MS Reader 1.03 PQ: 0 ANSI: 0 Sep 1 13:01:32 book kernel: sd 2:0:0:3: [sdd] Attached SCSI removable disk Sep 1 13:01:32 book kernel: sd 2:0:0:3: Attached scsi generic sg3 type 0 Sep 1 13:03:54 book kernel: sd 2:0:0:0: [sda] 1950720 512-byte hardware sectors (999 MB) Sep 1 13:03:54 book kernel: sd 2:0:0:0: [sda] Write Protect is off Sep 1 13:03:54 book kernel: sd 2:0:0:0: [sda] Assuming drive cache: write through Sep 1 13:03:54 book kernel: sd 2:0:0:0: [sda] 1950720 512-byte hardware sectors (999 MB) Sep 1 13:03:54 book kernel: sd 2:0:0:0: [sda] Write Protect is off Sep 1 13:03:54 book kernel: sd 2:0:0:0: [sda] Assuming drive cache: write through Sep 1 13:03:54 book kernel: sda: sda1 Sep 1 13:05:57 book kernel: FAT: utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive! Sep 1 13:05:57 book hald: mounted /dev/sda1 on behalf of uid 500 Позже сравним с ALD 4.0.1 -- С уважением, Владимир Гусев