begging for help, PCMCIA-SCSI-CDROM - I am close, but no cigar :(

1999-10-10 Thread John Miskinis

Hello,

I am on my knees begging for help at this point :) - :(

I am trying to get my JVC XR-W2040 CDROM drive to work under
debian linux as my other CDROM is very flaky even when it is
sometimes seen at bootup. I think I am EXTREMELY close, and
would really appreciated any help.  I have been studying the
PCMCIA-Howto, but can't get any farther on my own.  I even
re-installed 2.1 debian last night, to erase previous attempts
and start clean.

The system actually sees it as a JVC CDROM, on PCMCIA-SCSI
adapter which is a new media bus toaster.  It says it is at
sr0, but something is going wrong, and it is not really seen.
I am not sure if the statement about reseting the SCSI bus for
the second half of retries is an error or not. ?

I have included much information in this post in an attempt
to allow someone with experience to perhaps see what is wrong.
It may be as simple as trying to use IRQ3, when it might actually
be using IRQ3 for a serial device.  There is really only one
serial port on my thinkpad 560, I have no idea why it tries to
configure 2 of them. I have included below: (if more is needed I
will comply ASAP)

 what I added to /etc/pcmcia/config
 cardctl config output (looks OK to me)
 cardctl ident output (looks OK to me)
 /var/run/stab (says both sockets are empty)
 /var/log/daemon.log (appears to actually load the SCSI modules)
 dmesg output (complete, notice the 2 serial ports, and the JVC CDROM at 
sr0)


(from /etc/pcmcia/config)

device aha152x_cs
#jm  class scsi module aha152x_cs
 class scsi module 
scsi/scsi_mod,scsi/sd_mod,scsi/sr_mod,aha152x_cs


(cardctl config)

Socket 0:
 Vcc = 5.0, Vpp1 = 0.0, Vpp2 = 0.0
Socket 1:
 Vcc = 5.0, Vpp1 = 0.0, Vpp2 = 0.0
 Interface type is memory and I/O
 IRQ 3 is exclusive, level mode, enabled
 Function 0:
   Config register base = 0x0100
 Option = 0x60
   I/O window 1: 0x0100 to 0x011f, auto sized

(cardctl ident)

Socket 0:
 product info: Hayes, OPTIMA 336 + FAX for PCMCIA, 533PAM, V4.4
 manfid: 0x010a, 0x
 function: 2 (serial)
Socket 1:
 product info: New Media, SCSI, Bus Toaster
 manfid: 0x0057, 0xd302
 function: 0 (multifunction)

(/var/log/daemon.log)

Oct  9 19:17:08 debian cardmgr[102]: starting, version is 3.0.5
Oct  9 19:17:08 debian cardmgr[102]: watching 2 sockets
Oct  9 19:17:08 debian cardmgr[102]: initializing socket 1
Oct  9 19:17:08 debian cardmgr[102]: socket 1: New Media Bus Toaster SCSI
Oct  9 19:17:08 debian kerneld: started, pid=109, qid=0
Oct  9 19:17:08 debian cardmgr[102]: executing: 'insmod 
/lib/modules/2.0.36/scsi/scsi_mod.o'
Oct  9 19:17:08 debian cardmgr[102]: executing: 'insmod 
/lib/modules/2.0.36/scsi/sd_mod.o'
Oct  9 19:17:08 debian cardmgr[102]: executing: 'insmod 
/lib/modules/2.0.36/scsi/sr_mod.o'
Oct  9 19:17:09 debian cardmgr[102]: executing: 'insmod 
/lib/modules/2.0.36/pcmcia/aha152x_cs.o'


(dmesg output)

Memory: sized by int13 088h
Console: 16 point font, 400 scans
Console: colour VGA+ 80x25, 1 virtual console (max 63)
pcibios_init : BIOS32 Service Directory structure at 0x000fd870
pcibios_init : BIOS32 Service Directory entry at 0xfd880
pcibios_init : PCI BIOS revision 2.10 entry at 0xfd8c0
Probing PCI hardware.
Calibrating delay loop.. ok - 53.04 BogoMIPS
Memory: 22748k/24576k available (728k kernel code, 384k reserved, 716k data)
Swansea University Computer Society NET3.035 for Linux 2.0
NET3: Unix domain sockets 0.13 for Linux NET3.035.
Swansea University Computer Society TCP/IP for NET3.034
IP Protocols: IGMP, ICMP, UDP, TCP
VFS: Diskquotas version dquot_5.6.0 initialized
Checking 386/387 coupling... Ok, fpu using exception 16 error reporting.
Checking 'hlt' instruction... Ok.
Intel Pentium with F0 0F bug - workaround enabled.
alias mapping IDT readonly ...  ... done
Linux version 2.0.36 ([EMAIL PROTECTED]) (gcc version 2.7.2.3) #1 Sun Feb 21 
18:29:09 EST 1999

Starting kswapd v 1.4.2.2
Real Time Clock Driver v1.09
tpqic02: Runtime config, $Revision: 0.4.1.5 $, $Date: 1994/10/29 02:46:13 $
tpqic02: DMA buffers: 20 blocks, at address 0x1f0400 (0x1f037c)
Ramdisk driver initialized : 16 ramdisks of 4096K size
loop: registered device at major 7
hda: IBM-DTNA-22110, 2016MB w/96kB Cache, CHS=1024/64/63
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Floppy drive(s): fd0 is 1.44M
FDC 0 is a National Semiconductor PC87306
md driver 0.36.3 MAX_MD_DEV=4, MAX_REAL=8
Partition check:
hda: hda1 hda2  hda5 hda6 
VFS: Mounted root (ext2 filesystem) readonly.
Adding Swap: 50364k swap-space (priority -1)
Serial driver version 4.13 with no serial options enabled
tty00 at 0x03f8 (irq = 4) is a 16550A
tty01 at 0x02f8 (irq = 3) is a 16550A
Linux PCMCIA Card Services 3.0.5
 kernel build: 2.0.36 unknown
 options:  [pci] [cardbus]
Intel PCIC probe:
 Cirrus PD6729 PCI at port 0x3e0 ofs 0x00, 2 sockets
   host opts [0]: [ring] [1/6/8] [1/20/8]
   host opts [1]: [ring] [1/6/8] [1/20/8]
   ISA irqs (default) = 3,4,5,7,9,10,11,12 status change on irq 11
cs: IO port probe 0x1000-0x17ff: excluding 0x15e8-0x15ef
cs: IO port probe 

Re: begging for help, PCMCIA-SCSI-CDROM - I am close, but no cigar :(

1999-10-10 Thread Martin Fluch
On Sat, 9 Oct 1999, John Miskinis wrote:

 I am trying to get my JVC XR-W2040 CDROM drive to work under
 debian linux as my other CDROM is very flaky even when it is
 sometimes seen at bootup. I think I am EXTREMELY close, and
 would really appreciated any help.  I have been studying the
 PCMCIA-Howto, but can't get any farther on my own.  I even
 re-installed 2.1 debian last night, to erase previous attempts
 and start clean.

Hey, debian linux is not windows ;-)

 [...]

 I have included much information in this post in an attempt
 to allow someone with experience to perhaps see what is wrong.
 It may be as simple as trying to use IRQ3, when it might actually
 be using IRQ3 for a serial device.  There is really only one
 serial port on my thinkpad 560, I have no idea why it tries to
 configure 2 of them. I have included below: (if more is needed I
 will comply ASAP)

 tty00 at 0x03f8 (irq = 4) is a 16550A
 tty01 at 0x02f8 (irq = 3) is a 16550A

AFAIK your TP 560 has a IR port, this is one of two ports, the other is
the serial port.

Martin

-- 
If the box says 'Windows 95 or better', it should run on Linux, right?
   - anonymous

For public PGP-key: finger [EMAIL PROTECTED]