Re: [PARPORT] ECP support for cdrecord (with HP7500 CD-writer with kernel 2.2.1)


Blurock (blurock@risc.uni-linz.ac.at)
Mon, 07 Jun 1999 18:19:16 +0200


Thanks for the prompt reply....Here is some additional information.
(a complete dmesg (including the boot part) is at the bottom of this
message.

If you need any other info... please tell me,
thanks again
ned
(BTW, I could only use -v with my insmod, how should I be able to
specify verbose=2?)

----------------------------------------------------------------------------
starting with:
insmod -v paride
insmod -v epat
I get:
paride: version 1.04 installed
paride: epat registered as protocol 0

with
insmod -v pg drive0=0x378,0,0,2,1,0
I get device busy:
/lib/modules/2.2.1/misc/pg.o: init_module: Device or resource busy
but with
insmod -v pg drive0=0x378,0,0,-1,-1,0
I get:
pg0: Sharing parport0 at 0x378
pg0: epat 1.01, Shuttle EPAT chip c6 at 0x378, mode 1 (5/3), delay 0
pg0: HP CD-Writer+ 7500, slave

with cdrecord -scanbus I get:
Cdrecord release 1.6.1 Copyright (C) 1995-1998 Jörg Schilling
scsibus0:
                  0) '' '' '' NON CCS Disk
                  1) *
                  2) *
                  3) *
                  4) *
                  5) *
                  6) *
                  7) *
now with:
cdrecord -V -data -dummy -speed=1 dev=0,0 /home/cdimage.raw
I get:
Cdrecord release 1.6.1 Copyright (C) 1995-1998 Jörg Schilling
scsidev: '0,0'
scsibus: 0 target: 0 lun: 0

Executing 'test unit ready' command on Bus 0 Target 0, Lun 0 timeout 40s
CDB: 00 00 00 00 00 00
cmd finished after 0.001s timeout 40s

Executing 'test unit ready' command on Bus 0 Target 0, Lun 0 timeout 40s
CDB: 00 00 00 00 00 00
cmd finished after 0.001s timeout 40s

Executing 'inquiry' command on Bus 0 Target 0, Lun 0 timeout 40s
CDB: 12 00 00 00 24 00
/lib/modules/cdrecord-1.6.1/cdrecord/OBJ/i686-linux-cc/cdrecord:
Input/output error. inquiry: scsi sendcmd: retryable error
CDB: 12 00 00 00 24 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 12 00 00 00 00 24 00 00 00 00 00
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x24 Qual 0x00 (invalid field in cdb) Fru 0x0
Sense flags: Blk 0 (not valid)
resid: 36
cmd finished after 0.002s timeout 40s
error: 1 scb.chk: 1 sense_count: 18 sense.code: 0x70
/lib/modules/cdrecord-1.6.1/cdrecord/OBJ/i686-linux-cc/cdrecord: Cannot
do inquiry for CD/DVD-Recorder.

Executing 'test unit ready' command on Bus 0 Target 0, Lun 0 timeout 40s
CDB: 00 00 00 00 00 00
/lib/modules/cdrecord-1.6.1/cdrecord/OBJ/i686-linux-cc/cdrecord:
Input/output error. test unit ready: scsi sendcmd: retryable error
CDB: 00 00 00 00 00 00
status: 0x2 (CHECK CONDITION)
Sense Bytes:
Sense Key: 0xFFFFFFFF [], Segment 0
Sense Code: 0x00 Qual 0x00 (no additional sense information) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 0.002s timeout 40s
/lib/modules/cdrecord-1.6.1/cdrecord/OBJ/i686-linux-cc/cdrecord: The
unit seems to be hung and needs power cycling.

> Later you mention that pcd works fine. There seems to be evidence
> mounting that the 7500 and cdrecord have some sort of problem.
>
> While you clearly have a problem - it doesn't seem to related to pg,
> and certainly not to the presence or absence of EPP mode.
>
> > I get a problem with cdrecord -scanbus in that though something
> > is recognized at the zero position, it doesn't know what it is -
> > from the examples shown, the HP device should be printed.
>
> It would be more useful if you could show us exactly what messages you
> do see. Load pg with "verbose=2" and use dmesg to show the communication
> between cdrecord and pg as things fail.
>
> Of course, we want to see the stdout and stderr from cdrecord as well
> as the pg kernel log.
Linux version 2.2.1 (Linux version 2.2.1 (root@ned33) (gcc version 2.7.2.3) #15 SMP Mon Jun 7
17:20:01 CEST 1999
mapped APIC to ffffe000 (0026a000)
mapped IOAPIC to ffffd000 (0026b000)
Detected 263936542 Hz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 262.96 BogoMIPS
Memory: 62968k/65472k available (1108k kernel code, 416k reserved, 908k
data, 72k init)
Checking 386/387 coupling... OK, FPU using exception 16 error reporting.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
per-CPU timeslice cutoff: 100.35 usecs.
CPU0: Intel Pentium II (Deschutes) stepping 00
SMP motherboard not detected. Using dummy APIC emulation.
PCI: PCI BIOS revision 2.10 entry at 0xfda04
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Enabling I/O for device 00:3a
Linux NET4.0 for Linux 2.2
Based upon Swansea University Computer Society NET3.039
NET4: Unix domain sockets 1.0 for Linux NET4.0.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
Starting kswapd v 1.5
parport0: PC-style at 0x378 [SPP,ECP,ECPPS2]
parport0: no IEEE-1284 device present.
Detected PS/2 Mouse Port.
Serial driver version 4.27 with no serial options enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
ttyS02 at 0x03e8 (irq = 4) is a 16550A
pty: 256 Unix98 ptys configured
apm: BIOS version 1.2 Flags 0x03 (Driver version 1.9)
Sound initialization started
<ESS ES1887 AudioDrive (rev 11) (3.1)> at 0x220 irq 5 dma 1,5
<Yamaha OPL3> at 0x388
Sound initialization complete
loop: registered device at major 7
PIIX4: IDE controller on PCI bus 00 dev 39
PIIX4: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0xfcf0-0xfcf7, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0xfcf8-0xfcff, BIOS settings: hdc:pio, hdd:pio
hda: IBM-DTCA-24090, 3909MB w/468kB Cache, CHS=993/128/63, UDMA
hdc: ATAPI 24X CD-ROM drive, 128kB Cache
Uniform CDROM driver Revision: 2.52
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
scsi : 1 host.
scsi : detected total.
plip: parport0 has no IRQ.
plip: no devices registered
PPP: version 2.3.3 (demand dialling)
TCP compression code copyright 1989 Regents of the University of
California
PPP line discipline registered.
Partition check:
 hda: hda1 hda2 < hda5 hda6 hda7 >
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 72k freed
Adding Swap: 100764k swap-space (priority -1)
Linux PCMCIA Card Services 3.0.10
  kernel build: 2.2.1 #7 SMP Fri Jun 4 19:50:44 CEST 1999
  options: [pci] [apm]
Intel PCIC probe:
  Ricoh RL5C478 PCI-to-CardBus at bus 0 slot 10, mem 0x68000000, 2
sockets
    host opts [0]: [isa irq] [io 3/6/1] [mem 3/6/1] [no pci irq] [lat
168/176] [bus 32/34]
    host opts [1]: [isa irq] [io 3/6/1] [mem 3/6/1] [no pci irq] [lat
168/176] [bus 35/37]
    ISA irqs (default) = 3,4,7,10,11,12 polling interval = 1000 ms
cs: IO port probe 0x1000-0x17ff: clean.
cs: IO port probe 0x0100-0x04ff: excluding 0x140-0x147 0x320-0x327
0x378-0x37f 0x4d0-0x4d7
cs: IO port probe 0x0a00-0x0aff: clean.
cs: memory probe 0xa0000000-0xa0ffffff: clean.
eth0: NE2000 Compatible: port 0x300, irq 3, hw_addr 00:80:C8:8A:C0:23
paride: version 1.04 installed
paride: epat registered as protocol 0
pg: pg version 1.02, major 97
pg0: Sharing parport0 at 0x378
pg0: epat 1.01, Shuttle EPAT chip c6 at 0x378, mode 1 (5/3), delay 1
pg0: HP CD-Writer+ 7500, slave
pg: pg version 1.02, major 97
pg0: Adapter not found
pg: No ATAPI device detected
pg: pg version 1.02, major 97
pg0: Adapter not found
pg: No ATAPI device detected
pg: pg version 1.02, major 97
pg0: Adapter not found
pg: No ATAPI device detected
pg: pg version 1.02, major 97
pg0: Sharing parport0 at 0x378
pg0: epat 1.01, Shuttle EPAT chip c6 at 0x378, mode 1 (5/3), delay 0
pg0: HP CD-Writer+ 7500, slave

-- To unsubscribe, send mail to: linux-parport-request@torque.net --
-- with the single word "unsubscribe" in the body of the message. --



This archive was generated by hypermail 2.0b3 on Mon 07 Jun 1999 - 12:23:44 EDT