[ltp] PCMCIA CDROM drive

Andreas Nolda linux-thinkpad@www.bm-soft.com
Sun, 14 Nov 1999 16:21:19 +0100 (MET)


Dear Thinkpad users,

I am running RedHat 6.0 on a Thinkpad 560 X.  Unfortunately, my PCMCIA 
CDROM drive (a Sony Discman PRD-250) is not correctly initialized (or
whatever).  When inserting the card, I am getting the following
messages:

        Nov 14 15:56:57 tp cardmgr[176]: initializing socket 0
        Nov 14 15:56:57 tp cardmgr[176]: socket 0: Adaptec APA-1460 SlimSCSI
        Nov 14 15:56:58 tp cardmgr[176]: executing: 'insmod /lib/modules/2.2.5-15de/scsi/scsi_mod.o'
        Nov 14 15:56:58 tp cardmgr[176]: executing: 'insmod /lib/modules/2.2.5-15de/scsi/sr_mod.o'
        Nov 14 15:56:58 tp cardmgr[176]: executing: 'insmod /lib/modules/2.2.5-15de/pcmcia/aha152x_cs.o'
        Nov 14 15:56:59 tp kernel: aha152x: processing commandline: ok 
        Nov 14 15:56:59 tp kernel: aha152x: BIOS test: passed, detected 1 controller(s) Nov 14 15:56:59 tp kernel: aha152x0: vital data: PORTBASE=0x340, IRQ=3, SCSI ID=7, reconnect=enabled, parity=enabled, synchronous=disabled, delay=100, extended translation=disabled 
        Nov 14 15:56:59 tp kernel: aha152x: trying software interrupt, ok. 
        Nov 14 15:56:59 tp kernel: scsi0 : Adaptec 152x SCSI driver; $Revision: 1.7 $ 
        Nov 14 15:56:59 tp kernel: scsi : 1 host. 
        Nov 14 15:57:05 tp kernel: scsi : aborting command due to timeout : pid 0, scsi0, channel 0, id 0, lun 0 Test Unit Ready 00 00 00 00 00  
        Nov 14 15:57:11 tp kernel: scsi : aborting command due to timeout : pid 0, scsi0, channel 0, id 0, lun 0 Test Unit Ready 00 00 00 00 00  
        [...]
        Nov 14 15:58:23 tp cardmgr[176]: get dev info on socket 0 failed: No such device
        Nov 14 15:58:23 tp kernel: scsi : aborting command due to timeout : pid 6, scsi0, channel 0, id 6, lun 0 Test Unit Ready 00 00 00 00 00  
        Nov 14 15:58:23 tp kernel: aha152x_cs: no SCSI devices found 
        Nov 14 15:58:23 tp kernel: scsi : 0 hosts. 

I use a 2.2.5 kernel, which I have compiled with the following SCSI
options:

        CONFIG_SCSI=m
        CONFIG_BLK_DEV_SD=m
        CONFIG_CHR_DEV_ST=m
        CONFIG_BLK_DEV_SR=m
        CONFIG_BLK_DEV_SR_VENDOR=y
        CONFIG_CHR_DEV_SG=m
        CONFIG_SCSI_CONSTANTS=y
        CONFIG_SCSI_LOGGING=y
        CONFIG_SCSI_G_NCR5380_PORT=y

Of course, I have recompiled the PCMCIA modules.  My
/etc/pcmcia/config contains the following line for the AHA 152x
driver:

        device "aha152x_cs"
          class "scsi" module "scsi/scsi_mod", "scsi/sr_mod", "aha152x_cs"

And this is /etc/conf.modules:

        keep
        path[thinkpad]=/lib/modules
        alias parport_lowlevel parport_pc
        alias char-major-10-170 thinkpad        
        options thinkpad enable_smapi=1 enable_superio=1 enable_rtcmosram=1
        pre-install pcmcia_core /etc/rc.d/init.d/pcmcia start

Andreas Nolda
-- 
Andreas Nolda                    e-mail: andreas.nolda@rz.hu-berlin.de
Wissenschaftlicher Mitarbeiter              s-mail: Unter den Linden 6
                                                        D-10099 Berlin
Humboldt-Universität zu Berlin
Philosophische Fakultät II                    phone: ++49-30-20196-718
Institut für deutsche Sprache und Linguistik    fax: ++49-30-20196-729
----- The Linux ThinkPad mailing list -----
The linux-thinkpad mailing list home page is at:
http://www.bm-soft.com/~bm/tp_mailing.html