vine-users ML アーカイブ



[vine-users:053908] USB SD-Card

  • From: Koyama <mlac@xxxxxxxxxxxx>
  • Subject: [vine-users:053908] USB SD-Card
  • Date: Wed, 2 Oct 2002 14:29:44 +0900
いつも参考にさせて頂いております。k7-koyamaです。

Panasonic の USB SDカードリーダーのマウントがうまく行かないので質問
させて頂きます。


##ハードウエア環境
IBM Thinkpad i1620 (ノートPCです)
CD-Rドライブ (SCSI のエミュレーションで利用しています) 
/etc/lilo.conf に appned="hdc=ide-scsi" を記入

USB マウス  
EtherNet Card (Planex のもので、カードバスに接続して利用)

Vine2.5 をインストールして利用しております。




##調査した事
vine-users の [87119] Panasonic USB SD Card Readerの認識がkernel2.4.xにて不安定
を読んで

/etc/usbmgr/usbmgr.conf に  以下を追加記入
### Flash-card(MMC/SD) reader
# Panasonic BN-SDCAAE
vendor 0x04da product 0x1b00 module scsi_mod , sd_mod , usb-storage

その後、 root になって
update_usbdb -f /etc/usbmgr/usbmgr.conf を実行


##  症状
mount -t vfat /dev/sda1 /mnt/sd 
mount -t vfat /dev/sdb1 /mnt/sd

これらの両方を試しましたが、いずれもシェルからプロンプトが
戻ってこず、フリーズしたままになってしまいました。


カードリーダーそのものをVineで利用するのが不可能なのか、
それとも、設定方法が誤っているのか判断できないため、質問させて頂きました。

以下に、dmesg , cat /proc/ などの結果を追記いたします。
長くなってスミマセン。



以下が dmesg の結果です。

Linux version 2.4.18-0vl3 (sagami@xxxxxxxxxxxxxxxxxxx) (gcc version 2.95.3 20010315 (release)) #1 Thu Mar 7 18:23:04 JST 2002
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009f800 (usable)
 BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000dd000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000000bff0000 (usable)
 BIOS-e820: 000000000bff0000 - 000000000bffec00 (ACPI data)
 BIOS-e820: 000000000bffec00 - 000000000c000000 (ACPI NVS)
 BIOS-e820: 00000000fff80000 - 0000000100000000 (reserved)
On node 0 totalpages: 49136
zone(0): 4096 pages.
zone(1): 45040 pages.
zone(2): 0 pages.
Kernel command line: auto BOOT_IMAGE=linux ro root=308 BOOT_FILE=/boot/vmlinuz-2.4.18-0vl3 apm=on hdc=ide-scsi
ide_setup: hdc=ide-scsi
Initializing CPU#0
Detected 369.863 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 416.97 BogoMIPS
Memory: 190752k/196544k available (1360k kernel code, 5404k reserved, 451k data, 216k init, 0k highmem)
Dentry-cache hash table entries: 32768 (order: 6, 262144 bytes)
Inode-cache hash table entries: 16384 (order: 5, 131072 bytes)
Mount-cache hash table entries: 4096 (order: 3, 32768 bytes)
Buffer-cache hash table entries: 8192 (order: 3, 32768 bytes)
Page-cache hash table entries: 65536 (order: 6, 262144 bytes)
CPU: Before vendor init, caps: 0383f9ff 00000000 00000000, vendor = 0
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 256K
CPU: After vendor init, caps: 0383f9ff 00000000 00000000 00000000
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU:     After generic, caps: 0383f9ff 00000000 00000000 00000000
CPU:             Common caps: 0383f9ff 00000000 00000000 00000000
CPU: Intel Pentium III (Coppermine) stepping 06
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.40 (20010327) Richard Gooch (rgooch@xxxxxxxxxxxxx)
mtrr: detected mtrr type: Intel
PCI: PCI BIOS revision 2.10 entry at 0xfd94f, last bus=7
PCI: Using configuration type 1
PCI: Probing PCI hardware (bus 00)
Unknown bridge resource 2: assuming transparent
PCI: Discovered primary peer bus 08 [IRQ]
PCI: Using IRQ router PIIX [8086/7110] at 00:07.0
Limiting direct PCI/PCI transfers.
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
IBM machine detected. Enabling interrupts during APM calls.
apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16)
Starting kswapd
VFS: Diskquotas version dquot_6.4.0 initialized
Journalled Block Device driver loaded
pty: 256 Unix98 ptys configured
Non-volatile memory driver v1.1
block: 128 slots per queue, batch=32
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
PIIX4: IDE controller on PCI bus 00 dev 39
PIIX4: chipset revision 1
PIIX4: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0x1800-0x1807, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0x1808-0x180f, BIOS settings: hdc:DMA, hdd:pio
hda: IBM-DJSA-220, ATA DISK drive
hdc: UJDA310, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
blk: queue c0330bc0, I/O limit 4095Mb (mask 0xffffffff)
hda: 39070080 sectors (20004 MB) w/1874KiB Cache, CHS=2584/240/63, UDMA(33)
ide-floppy driver 0.97.sv
Partition check:
 hda: hda1 hda2 < hda5 hda6 hda7 hda8 hda9 >
Floppy drive(s): fd0 is 1.44M
FDC 0 is a National Semiconductor PC87306
loop: loaded (max 8 devices)
bond0 registered without MII link monitoring, in bonding mode.
Equalizer1996: $Revision: 1.2.1 $ $Date: 1996/09/22 13:52:00 $ Simon Janes (simon@xxxxxxx)
Universal TUN/TAP device driver 1.4 (C)1999-2001 Maxim Krasnyansky
ide-floppy driver 0.97.sv
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
mice: PS/2 mouse device common for all mice
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 1024 buckets, 8Kbytes
TCP: Hash tables configured (established 16384 bind 16384)
Linux IP multicast router 0.06 plus PIM-SM
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 216k freed
Real Time Clock Driver v1.10e
Adding Swap: 196520k swap-space (priority -1)
cs4281: version v1.30.32 time 18:35:55 Mar  7 2002
PCI: Found IRQ 11 for device 00:0b.0
PCI: Sharing IRQ 11 with 00:08.0
PCI: Sharing IRQ 11 with 01:00.0
cs4281: Subsystem vendor/id (1014:0183) IRQ 11
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27


//*********ここでCDーRを認識*******************************//
SCSI subsystem driver Revision: 1.00
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
  Vendor: MATSHITA  Model: UJDA310           Rev: 3.53
  Type:   CD-ROM                             ANSI SCSI revision: 02
usb.c: registered new driver hiddev
usb.c: registered new driver hid
hid-core.c: v1.8 Andreas Gal, Vojtech Pavlik <vojtech@xxxxxxx>
hid-core.c: USB HID support drivers
uhci.c: USB Universal Host Controller Interface driver v1.1
PCI: Found IRQ 11 for device 00:07.2
uhci.c: USB UHCI at I/O 0x1820, IRQ 11
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
hub.c: USB new device connect on bus1/1, assigned device number 2
hub.c: USB hub found
hub.c: 2 ports detected
hub.c: USB new device connect on bus1/1/1, assigned device number 3
usb.c: USB device 3 (vend/prod 0x4da/0x1b00) is not claimed by any active driver.

//********ここでUSBカードリーダーを認識**************************//
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
scsi1 : SCSI emulation for USB Mass Storage devices
  Vendor: 04DA      Model: 1B00              Rev: 0010
  Type:   Direct-Access                      ANSI SCSI revision: 02
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 3
USB Mass Storage support registered.
hub.c: USB new device connect on bus1/1/2, assigned device number 4


input0: USB HID v1.00 Mouse [ELECOM ELECOM USB mouse with wheel] on usb1:4.0
usb.c: registered new driver usb_mouse
usbmouse.c: v1.6:USB HID Boot Protocol mouse driver
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI ISAPNP enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
parport0: PC-style at 0x3bc [PCSPP,TRISTATE]
ip_conntrack (1535 buckets, 12280 max)
Linux Kernel Card Services 3.1.22
  options:  [pci] [cardbus] [pm]
PCI: Found IRQ 11 for device 00:08.0
PCI: Sharing IRQ 11 with 00:0b.0
PCI: Sharing IRQ 11 with 01:00.0
PCI: Found IRQ 11 for device 00:08.1
Yenta IRQ list 06b8, PCI irq11
Socket status: 30000410
Yenta IRQ list 06b8, PCI irq11
Socket status: 30000006
cs: IO port probe 0x0c00-0x0cff: clean.
cs: IO port probe 0x0100-0x04ff: excluding 0x3b8-0x3df 0x4d0-0x4d7
cs: IO port probe 0x0a00-0x0aff: clean.
cs: memory probe 0xa0000000-0xa0ffffff: clean.
eth0: NE2000 (DL10022 rev 05): io 0x300, irq 3, hw_addr 00:90:CC:12:D8:E7
eth0: found link beat
eth0: autonegotiation complete: 100baseT-FD selected
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
sr0: scsi3-mmc drive: 20x/20x writer cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.12



# cat /proc/scsi/scsi の結果
Attached devices: 
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: MATSHITA Model: UJDA310          Rev: 3.53
  Type:   CD-ROM                           ANSI SCSI revision: 02
Host: scsi1 Channel: 00 Id: 00 Lun: 00
  Vendor: 04DA     Model: 1B00             Rev: 0010
  Type:   Direct-Access                    ANSI SCSI revision: 02


# cat /proc/pci の結果
PCI devices found:
  Bus  0, device   0, function  0:
    Host bridge: Intel Corp. 440BX/ZX - 82443BX/ZX Host bridge (rev 3).
      Master Capable.  Latency=64.  
      Prefetchable 32 bit memory at 0xf8000000 [0xfbffffff].
  Bus  0, device   1, function  0:
    PCI bridge: Intel Corp. 440BX/ZX - 82443BX/ZX AGP bridge (rev 3).
      Master Capable.  Latency=128.  Min Gnt=140.
  Bus  0, device   7, function  0:
    Bridge: Intel Corp. 82371AB PIIX4 ISA (rev 2).
  Bus  0, device   7, function  1:
    IDE interface: Intel Corp. 82371AB PIIX4 IDE (rev 1).
      Master Capable.  Latency=64.  
      I/O at 0x1800 [0x180f].
  Bus  0, device   7, function  2:
    USB Controller: Intel Corp. 82371AB PIIX4 USB (rev 1).
      IRQ 11.
      Master Capable.  Latency=64.  
      I/O at 0x1820 [0x183f].
  Bus  0, device   7, function  3:
    Bridge: Intel Corp. 82371AB PIIX4 ACPI (rev 3).
      IRQ 9.
  Bus  0, device   8, function  0:
    CardBus bridge: Ricoh Co Ltd RL5c478 (rev 160).
      IRQ 11.
      Master Capable.  Latency=168.  Min Gnt=128.Max Lat=5.
      Non-prefetchable 32 bit memory at 0x50000000 [0x50000fff].
  Bus  0, device   8, function  1:
    CardBus bridge: Ricoh Co Ltd RL5c478 (#2) (rev 160).
      IRQ 11.
      Master Capable.  Latency=168.  Min Gnt=128.Max Lat=5.
      Non-prefetchable 32 bit memory at 0x50100000 [0x50100fff].
  Bus  0, device   8, function  2:
    FireWire (IEEE 1394): PCI device 1180:0522 (Ricoh Co Ltd) (rev 0).
      IRQ 11.
      Master Capable.  Latency=64.  Min Gnt=2.Max Lat=4.
      Non-prefetchable 32 bit memory at 0xf4011000 [0xf40117ff].
  Bus  0, device  10, function  0:
    Communication controller: Lucent Microelectronics WinModem 56k (rev 1).
      IRQ 11.
      Master Capable.  No bursts.  Min Gnt=252.Max Lat=14.
      Non-prefetchable 32 bit memory at 0xf4011800 [0xf40118ff].
      I/O at 0x1810 [0x1817].
      I/O at 0x2000 [0x20ff].
  Bus  0, device  11, function  0:
    Multimedia audio controller: Cirrus Logic Crystal CS4281 PCI Audio (rev 1).
      IRQ 11.
      Master Capable.  Latency=64.  Min Gnt=4.Max Lat=24.
      Non-prefetchable 32 bit memory at 0xf4010000 [0xf4010fff].
      Non-prefetchable 32 bit memory at 0xf4000000 [0xf400ffff].
  Bus  1, device   0, function  0:
    VGA compatible controller: ATI Technologies Inc Rage Mobility P/M AGP 2x (rev 100).
      IRQ 11.
      Master Capable.  Latency=66.  Min Gnt=8.
      Non-prefetchable 32 bit memory at 0xf5000000 [0xf5ffffff].
      I/O at 0x3000 [0x30ff].
      Non-prefetchable 32 bit memory at 0xf4100000 [0xf4100fff].