satelliteuser083 Posted January 25, 2008 Report Share Posted January 25, 2008 How can I determine the identification of a pcmcia-card in mva2008? I've tried "cardctl ident" but bash doesn't recognise the command. Thanks Quote Link to comment Share on other sites More sharing options...
tyme Posted January 25, 2008 Report Share Posted January 25, 2008 were you trying to run it as root or regular user? if regular user, chances are you need to be root to use that command. Quote Link to comment Share on other sites More sharing options...
satelliteuser083 Posted January 25, 2008 Author Report Share Posted January 25, 2008 (edited) were you trying to run it as root or regular user? if regular user, chances are you need to be root to use that command. Yes, I was running it as root. I seem to remember reading somewhere that pcmcia has changed on 2008, but don't know the details. Edited January 25, 2008 by satelliteuser083 Quote Link to comment Share on other sites More sharing options...
Greg2 Posted January 25, 2008 Report Share Posted January 25, 2008 Please see this post I posted for you. :) Quote Link to comment Share on other sites More sharing options...
satelliteuser083 Posted January 25, 2008 Author Report Share Posted January 25, 2008 (edited) Thanks, Greg (just knew that it was something like that ;) ). I got the following: [root@localhost ~]# pccardctl ident Socket 1: product info: "ARC", "ATA", "V2", "(C) ARCHOS S.A.1995-98 Fax +33 1 60 13 99 18" manfid: 0x5241, 0x0043 function: 4 (fixed disk) I assume that this info has to be transposed into an entry for some config-file or another. In 2005le this was called '/etc/pcmcia/config ' but it doesn't exist in 2008 (or 2006). Any further tips (filename and/or how to transpose) would be greatly appreciated. Many thanks. Edited January 26, 2008 by satelliteuser083 Quote Link to comment Share on other sites More sharing options...
satelliteuser083 Posted January 31, 2008 Author Report Share Posted January 31, 2008 (edited) I wouldn't mind getting to the bottom of this pcmcia problem. I've tried to read up a bit on udev but still a number of questions ;) . Before I proceed, could anyone tell me if it would it be correct to say that udev only allows a system to use consistent device names , but doesn't do the actual device-detection and/or driver-loading and/or device-mounting? And, if so, which process(es) is/are responsible for these actions, and where does the device-info come from? Thanks. Edited January 31, 2008 by satelliteuser083 Quote Link to comment Share on other sites More sharing options...
willie Posted January 31, 2008 Report Share Posted January 31, 2008 I'm running 2008 and there is a file called config.opts in /etc/pcmcia maybe is that the file. Quote Link to comment Share on other sites More sharing options...
Greg2 Posted January 31, 2008 Report Share Posted January 31, 2008 I wouldn't mind getting to the bottom of this pcmcia problem. Have you followed my instructions about using suspend, eject, insert, etc, or are you trying to make this work automatically? Quote Link to comment Share on other sites More sharing options...
satelliteuser083 Posted February 1, 2008 Author Report Share Posted February 1, 2008 (edited) Thanks, Willie , I've looked there but can't see anything which I recognise. And Greg, I tried the following: I removed the working card (Tosh) and inserted the non-working one (JMK), then did [root@localhost ~]# pccardctl ident Socket 0: product info: "TOSHIBA", "Wireless LAN Card", "Version 01.01", "" manfid: 0x0156, 0x0002 function: 6 (network) Socket 1: no product info available Socket 2: product info: "ARC", "ATA", "V2", "(C) ARCHOS S.A.1995-98 Fax +33 1 60 13 99 18" manfid: 0x5241, 0x0043 function: 4 (fixed disk) [root@localhost ~]# pccardctl suspend 2 [root@localhost ~]# pccardctl eject 2 At this point I did not remove the card, but did [root@localhost ~]# pccardctl ident Socket 0: ...... Socket 1: ...... Socket 2: no product info available Then (card still in) [root@localhost ~]# pccardctl insert 2 [root@localhost ~]# pccardctl resume 2 [root@localhost ~]# pccardctl ident Socket 0: ..... Socket 1: ..... Socket 2: product info: "ARC", "ATA", "V2", "(C) ARCHOS S.A.1995-98 Fax +33 1 60 13 99 18" manfid: 0x5241, 0x0043 function: 4 (fixed disk) Despite the card having been recognised, I was not able to mount it and KDiskFree doesn't have it in its list. I then did [root@localhost ~]# pccardctl suspend 2 [root@localhost ~]# pccardctl eject 2 Note: here I physically removed the card and reinserted it, then did [root@localhost ~]# pccardctl ident Socket 0: ..... Socket 1: ..... Socket 2: product info: "ARC", "ATA", "V2", "(C) ARCHOS S.A.1995-98 Fax +33 1 60 13 99 18" manfid: 0x5241, 0x0043 function: 4 (fixed disk) So it looks (to me, anyway ;) ) as though your command-suggestions are working as expected and the system is capable of identifying the card (via hotplug?) but then doesn't know what to with it/which driver to load. Does that sound reasonable? Edited February 1, 2008 by satelliteuser083 Quote Link to comment Share on other sites More sharing options...
Greg2 Posted February 1, 2008 Report Share Posted February 1, 2008 After you've done 'pccardctl insert 2'; 'pccardctl resume 2', what does dmesg show you? Would you post the relevant lines of your dmesg? Quote Link to comment Share on other sites More sharing options...
satelliteuser083 Posted February 1, 2008 Author Report Share Posted February 1, 2008 Following "pccardctl insert 2" the relevant part of dmesg was pccard: PCMCIA card inserted into slot 2 pcmcia: registering new device pcmcia2.0 Probing IDE interface ide2... hde: probing with STATUS(0x50) instead of ALTSTATUS(0x0a) hde: TOSHIBA MK6015MAP, ATA DISK drive hdf: probing with STATUS(0x50) instead of ALTSTATUS(0x0a) hdf: probing with STATUS(0x51) instead of ALTSTATUS(0x0a) ide2 at 0xd1f0-0xd1f7,0xd3f6 on irq 3 hde: max request size: 128KiB and following "pccardctl resume 2" there was no additional output. Quote Link to comment Share on other sites More sharing options...
Greg2 Posted February 1, 2008 Report Share Posted February 1, 2008 It's trying to mount it as hde or hdf, so with it plugged in and recognized: Please post the output of lsmod |grep libata and dmesg |grep ide then do lshal |grep storage and look for your device name and post the relevant lines. What filesystem and how many partitions (if more than one), are on the device? Quote Link to comment Share on other sites More sharing options...
satelliteuser083 Posted February 1, 2008 Author Report Share Posted February 1, 2008 [root@localhost ~]# lsmod |grep libata libata 108848 1 pata_pcmcia scsi_mod 125356 2 usb_storage,libata then [root@localhost ~]# dmesg |grep ide Probing IDE interface ide2... ide2 at 0xd1f0-0xd1f7,0xd3f6 on irq 3 then [root@localhost ~]# lshal |grep storage info.callouts.add = {'hal-storage-cleanup-all-mountpoints'} (string list) udi = '/org/freedesktop/Hal/devices/platform_floppy_0_storage' ..... .........presumeably not relevant ..... udi = '/org/freedesktop/Hal/devices/storage_model_TOSHIBA_DVD_ROM_SD_R2002' ..... .........presumeably not relevant ..... udi = '/org/freedesktop/Hal/devices/storage_serial_441B0475S' block.storage_device = '/org/freedesktop/Hal/devices/storage_serial_441B0475S' (string) info.capabilities = {'storage', 'block'} (string list) info.category = 'storage' (string) info.udi = '/org/freedesktop/Hal/devices/storage_serial_441B0475S' (string) storage.automount_enabled_hint = true (bool) storage.bus = 'ide' (string) storage.drive_type = 'disk' (string) storage.firmware_version = 'KA100A' (string) storage.hotpluggable = false (bool) storage.media_check_enabled = false (bool) storage.model = 'TOSHIBA MK4025GAS' (string) storage.no_partitions_hint = false (bool) storage.originating_device = '/org/freedesktop/Hal/devices/computer' (string) storage.partitioning_scheme = 'mbr' (string) storage.physical_device = '/org/freedesktop/Hal/devices/computer' (string) storage.removable = false (bool) storage.removable.media_available = true (bool) storage.removable.media_size = 40007761920 (0x950a60000) (uint64) storage.requires_eject = false (bool) storage.serial = '441B0475S' (string) storage.size = 40007761920 (0x950a60000) (uint64) storage.vendor = '' (string) block.storage_device = '/org/freedesktop/Hal/devices/storage_serial_441B0475S' (string) info.parent = '/org/freedesktop/Hal/devices/storage_serial_441B0475S' (string) org.freedesktop.Hal.Device.Volume.method_execpaths = {'hal-storage-mount', 'hal-storage-unmount', 'hal-storage-eject'} (string list) storage.model = '' (string) block.storage_device = '/org/freedesktop/Hal/devices/storage_serial_441B0475S' (string) info.parent = '/org/freedesktop/Hal/devices/storage_serial_441B0475S' (string) org.freedesktop.Hal.Device.Volume.method_execpaths = {'hal-storage-mount', 'hal-storage-unmount', 'hal-storage-eject'} (string list) storage.model = '' (string) block.storage_device = '/org/freedesktop/Hal/devices/storage_serial_441B0475S' (string) info.parent = '/org/freedesktop/Hal/devices/storage_serial_441B0475S' (string) org.freedesktop.Hal.Device.Volume.method_execpaths = {'hal-storage-mount', 'hal-storage-unmount', 'hal-storage-eject'} (string list) storage.model = '' (string) This is just the first section, second follows... Quote Link to comment Share on other sites More sharing options...
satelliteuser083 Posted February 1, 2008 Author Report Share Posted February 1, 2008 Preview refused to do just that so I assumed that it was too big to send; thus the split. block.storage_device = '/org/freedesktop/Hal/devices/storage_serial_441B0475S' (string) info.parent = '/org/freedesktop/Hal/devices/storage_serial_441B0475S' (string) storage.model = '' (string) block.storage_device = '/org/freedesktop/Hal/devices/storage_serial_441B0475S' (string) info.parent = '/org/freedesktop/Hal/devices/storage_serial_441B0475S' (string) org.freedesktop.Hal.Device.Volume.method_execpaths = {'hal-storage-mount', 'hal-storage-unmount', 'hal-storage-eject'} (string list) storage.model = '' (string) block.storage_device = '/org/freedesktop/Hal/devices/storage_serial_441B0475S' (string) info.parent = '/org/freedesktop/Hal/devices/storage_serial_441B0475S' (string) storage.model = '' (string) block.storage_device = '/org/freedesktop/Hal/devices/storage_serial_441B0475S' (string) info.parent = '/org/freedesktop/Hal/devices/storage_serial_441B0475S' (string) org.freedesktop.Hal.Device.Volume.method_execpaths = {'hal-storage-mount', 'hal-storage-unmount', 'hal-storage-eject'} (string list) storage.model = '' (string) block.storage_device = '/org/freedesktop/Hal/devices/storage_serial_441B0475S' (string) info.parent = '/org/freedesktop/Hal/devices/storage_serial_441B0475S' (string) org.freedesktop.Hal.Device.Volume.method_execpaths = {'hal-storage-mount', 'hal-storage-unmount', 'hal-storage-eject'} (string list) storage.model = '' (string) Sorry about the verbosity, wasn't sure which part of the bottom section was relevant. There is a single FAT32 partition on the hard disk. BTW, the disk works correctly when connected to the machine via the Toshiba Portable Harddisk PC card Quote Link to comment Share on other sites More sharing options...
Greg2 Posted February 2, 2008 Report Share Posted February 2, 2008 Following "pccardctl insert 2" the relevant part of dmesg was pccard: PCMCIA card inserted into slot 2 pcmcia: registering new device pcmcia2.0 Probing IDE interface ide2... hde: probing with STATUS(0x50) instead of ALTSTATUS(0x0a) hde: TOSHIBA MK6015MAP, ATA DISK drive hdf: probing with STATUS(0x50) instead of ALTSTATUS(0x0a) hdf: probing with STATUS(0x51) instead of ALTSTATUS(0x0a) ide2 at 0xd1f0-0xd1f7,0xd3f6 on irq 3 hde: max request size: 128KiB I need to see the rest of this. Starting at 'pccard: PCMCIA card inserted into slot 2' to the end of it. So I can see what's happening on irq 3. If it's very large, you can attach it as a text file. All of your other outputs look ok. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.