[Linux-parport] backpack cd -r broken on kernel 2.6

Kyle Davenport Kyle_Davenport at compusa.com
Wed Jul 13 12:36:42 EDT 2005


*** Authentication Certificate ***

I had this working fine with kernels upto 2.4.24:

To write a cd, I would:
modprobe sg # necessary for my scsi scanner, had to be loaded first.
 modprobe parport # yes, loads par_ide and parport_pc
 modprobe sr_mod
 modprobe bpck6
 modprobe pg
 modprobe ide-scsi
and I would write to the TEAC scsi device

and then to mount the cd I would just:
modprobe pcd
mount /dev/pcd0 mntdir

Upgrading to Fedora Core 3, these modules were missing, so I built the
official kernel 2.6.11 with the modules enabled.

I have tried all combinations of above without success. What I get when I
attempt to mount a cd is:

/dev/pcd0: Invalid argument
mount: block device /dev/pcd0 is write-protected, mounting read-only
/dev/pcd0: Invalid argument
mount: you must specify the filesystem type

It used to recognise the filesystem type automatically.  If I use mount -t
iso9660, it mounts but the mounted directory is all wrong.  I see directory
names, but can not list files within and the perms are incorrect.   The
drive is also hanging and I have power it off and on now to eject a cd.
Trying to read the files reports input/output errors.

Here is syslog output:
Jul 13 11:05:02 hedron kernel: pcd: pcd version 1.07, major 46, nice 0
Jul 13 11:05:02 hedron kernel: parport0: PC-style at 0x378 (0x778)
[PCSPP,TRISTATE]
Jul 13 11:05:02 hedron kernel: parport0: irq 7 detected
Jul 13 11:05:02 hedron kernel: pcd0: 0x378 is parport0
Jul 13 11:05:02 hedron kernel: pcd0: bpck6: port 0x378, mode  0,
test=(0,256)
Jul 13 11:05:02 hedron kernel: pcd0: bpck6: port 0x378, mode  1,
test=(0,256)
Jul 13 11:05:02 hedron kernel: pcd0: Sharing parport0 at 0x378
Jul 13 11:05:02 hedron kernel: pcd0: BACKPACK Protocol Driver V2.0.2
Jul 13 11:05:02 hedron kernel: pcd0: Copyright 2001 by Micro Solutions,
Inc., DeKalb IL.
Jul 13 11:05:02 hedron kernel: pcd0: BACKPACK 2.0.2, Micro Solutions
BACKPACK Drive at 0x378
Jul 13 11:05:02 hedron kernel: pcd0: Unit: 16 Mode:1 (8-bit) Delay 0
Jul 13 11:05:02 hedron kernel: pcd0: Reset (1) signature =   1  1  1 14 eb
Jul 13 11:05:02 hedron kernel: pcd0: Master: CD-W54E
Jul 13 11:05:02 hedron kernel: pcd0: mode sense capabilities completion:
alt=0x51 stat=0x51 err=0x64 loop=0 phase=3
Jul 13 11:05:02 hedron kernel: pcd0: mode sense capabilities: Sense key: 6,
ASC: 29, ASQ: 0

the i/o errors produce this:
Jul 13 11:33:51 hedron kernel: pcd0: read block before command: alt=0x58
stat=0x58 err=0x100 loop=16001 phase=2
Jul 13 11:33:51 hedron kernel: end_request: I/O error, dev pcd0, sector 212
Jul 13 11:33:51 hedron kernel: printk: 4 messages suppressed.
Jul 13 11:33:51 hedron kernel: Buffer I/O error on device pcd0, logical
block 53

Any help greatly appreciated,
Kyle





More information about the Linux-parport mailing list