Next-in-Thread Next Message

Question Panasonic KXL-RW10A CD-RW almost working 

Forum: PCMCIA SCSI Host Adapter Issues
Date: 2000, Jul 25
From: Karl Oberjohn kwoberjohn

Hello.

I just wanted to share my experience of trying to set up my Panasonic KXL-RW10A CD-RW drive on my notebook, a Mitsubishi AMiTY CN2 with a TI 1220 PC-card controller. I am running kernel 2.4.0-test4 and consider myself to be somewhat of a Linux newbie.

The drive has a SCSI interface and uses a KME SCSI card with a little switch for selecting between 16-bit and 32-bit (Cardbus) operation. This is apparently the same card used with the HP M820e. I believe the Ricoh MP8040SE uses the same card as well.

I have had some promising results with the card in 16-bit mode and using the contributed NinjaSCSI driver (http://www.netlab.is.tsukuba.ac.jp/~yokota/izumi/ninja/), but I haven't got it all working just yet.

The output of cardctl ident is:

  Socket 1:
    product info: "KME ", "SCSI-CARD-001", "1"
    manfid: 0x0032, 0x2604

I compiled the latest version of the NinjaSCSI driver and copied the nin_cs.o file to my /lib/modules/2.4.0-test4/pcmcia directory. Then I added the following to my /etc/pcmcia/config file:

  device "nin_cs"
    class "scsi" module "nin_cs"

  card "KME SCSI Card (16-bit)"
    version "KME ", "SCSI-CARD-001", "1"
    bind "nin_cs"

Upon restarting my notebook, I get the following messages, which seem to indicate that the card is identified correctly:

scsi0 : NinjaSCSI-3/32Bi Driver version 1.0, I/O 0x0100-0x0110 IRQ 9 ID 7, Chip ID 1/Rev 1
scsi : 1 host.
  Vendor: MATSHITA Model: CDRRW01 Rev: 1.35
  Type: CD-ROM ANSI SCSI revision: 02
Detected scsi CD-ROM sr0 at scsi0, channel 0, id 4, lun 0
sr0: scsi3-mmc drive: 20x/20x writer cd/rw xa/form2 cdda pop-up
Uniform CD-ROM driver Revision: 3.11
ninja3: index 0x01: Vcc 5.0, irq 9, io 0x0100-0x010f
VFS: Disk change detected on device sr(11,0)
ISO 9660 Extensions: Microsoft Joliet Level 3
ISO 9660 Extensions: RRIP_1991A
spurious 8259A interrupt: IRQ7.

At this point, I am able to mount the SCSI CD-RW drive. I can also do simple file operations, such as viewing directories and displaying small files. But if I change to a directory with a large number of files (like the RPMs directory of a RedHat CD) or open a file that's more that a few kilobytes long, my notebook hangs for a second and then reboots. Does anyone know why this might be happening? It is frustrating, because it seems I'm very close to getting this to work...

I greatly appreciate any comments or suggestions.

Karl Oberjohn

Next-in-Thread Next Message

Messages Inline: 0 1

Feedback Same sympthoms as HP 820e.

Re: Question Panasonic KXL-RW10A CD-RW almost working (Karl Oberjohn)
Date: 2000, Aug 04
From: Alberto Gonzalez Palomo matmota

Hi, Karl.

I have been experiencing exactly the same sympthoms with
the HP CDW m820e since I got the 1.0 driver version from
Hiroshi. Previously, the only thing that worked was audio
CDs.

I have tested with kernel releases 2.2.5, 2.2.12, 2.2.13,
2.2.14, and 2.2.15, and with various pcmcia-cs releases
in the 3.1.8 - 3.1.14 range, with essentially constant
results. Also compiling with gcc 2.72 or 2.95 didn't seem
to make a difference.

I sent some commented log files to Hiroshi. When the
problem seems to begin, the logs show a repetition of
the message "NinjaSCSI3 Interrupt" (or similar), which
seems to indicate a problem with interrupt handling.
I tried to change as many options as I could in the
nin_cs.c file, but without any result.

When I installed it under Windows NT, I had to choose
the "non IRQ" version of the driver, as it wouldn't
work with the default one. I remember reading somewhere,
probably in the driver's installation help, that this
is necessary for some TI pccard chipsets.
My Asus F7400 has the same TI 1220 controller, which
makes me suspect that this could be a IRQ handling
problem in that chipset.

However, in the nin_cs.c file there is a comment stating
that the driver doesn't use interrupts, so I don't know
what more to try.

There is an experimental version for the 2.4 kernel.
¿Have you tried it?

If you get any result, even if it doesn't really work,
please post it here. I would like to know of it.

Alberto González Palomo
matmota@linuxfreak.com

Feedback No problems here

Re: Feedback Same sympthoms as HP 820e. (Alberto Gonzalez Palomo)
Date: 2000, Aug 05
From: Philipp Huenerberg phuenerberg

Hi!

I'm using the Panasonic KXL-RW10A without any problems. I never experienced any, and I tried listing the RPMS directory of a RedHat CD, it worked without any trouble. Even accessing the kernel-source RPM on the cd worked. Kernel is 2.2.1[4-7pre12], pcmcia_cs version 3.1.1[4-9], nin_cs version 1.0.2, controller is a TI1225.

If you have any recipe how to make it definitely fail, let me know and I'll give it a try. Also, if you like to get my configuration, I'm happy to send you any information you like.

I've just one problem: the cardbus driver doesn't work yet, it always times out cause the driver only finds the SCSI controller, but not the drive :|

Cu, Philipp

Ok It's working now--should've stuck with kernel 2.2 :)

Re: Question Panasonic KXL-RW10A CD-RW almost working (Karl Oberjohn)
Date: 2000, Aug 15
From: Karl Oberjohn kwoberjohn

Well, that'll teach me to rely on alpha code for my day-to-day computing... I switched from kernel 2.4-test* and the alpha NinjaSCSI driver back to kernel 2.2.16 and the more-stable NinjaSCSI3-1.0.2 driver. Success! I just finished an X-CD-Roast session.

The Panasonic KXL-RW10A now works (in 16-bit mode) with my Mitsubishi AMiTY CN2 (TI 1220 controller, Slakware 7.1) and my wife's NEC Versa 6050MH (TI 1130 controller, Mandrake 6). I was even able to squeeze the nin_cs.o module onto the Slackware pcmcia disk image so that I could install Slackware from CD.

Thanks to everybody for your helpful responses.

Cheers,

Karl Oberjohn

Panasonic KXL-RW10A CD-RW almost working


Members Subscribe No Admin Mode Show Frames Help for HyperNews at pcmcia-cs.sourceforge.net 1.10
[ Edit This Forum ]