Skip to contentSkip to conversation

block: remove the paride drivers

RFC PATCH In review Christoph Hellwig 2 participants 6 messages Mar 15, 2018

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

RFC PATCH 1/1 block: remove the paride drivers

The paride drivers are some of the cruftiest, grottiest block drivers (besides drivers/ide and floppy.c) and have seen one single targeted commit since the dawn of git in 2007. Drop them to make block layer improvements easier.

---
 Documentation/admin-guide/kernel-parameters.txt |   16 -
 Documentation/blockdev/00-INDEX                 |    2 -
 Documentation/blockdev/paride.txt               |  417 ---------
 drivers/Makefile                                |    1 -
 drivers/block/Kconfig                           |   29 -
 drivers/block/paride/Kconfig                    |  303 -------
 drivers/block/paride/Makefile                   |   29 -
 drivers/block/paride/Transition-notes           |  128 ---
 drivers/block/paride/aten.c                     |  162 ----
 drivers/block/paride/bpck.c                     |  477 -----------
 drivers/block/paride/bpck6.c                    |  267 ------
 drivers/block/paride/comm.c                     |  218 -----
 drivers/block/paride/dstr.c                     |  233 -----
 drivers/block/paride/epat.c                     |  340 --------
 drivers/block/paride/epia.c                     |  316 -------
 drivers/block/paride/fit2.c                     |  151 ----
 drivers/block/paride/fit3.c                     |  211 -----
 drivers/block/paride/friq.c                     |  276 ------
 drivers/block/paride/frpw.c                     |  313 -------
 drivers/block/paride/kbic.c                     |  305 -------
 drivers/block/paride/ktti.c                     |  128 ---
 drivers/block/paride/mkd                        |   31 -
 drivers/block/paride/on20.c                     |  153 ----
 drivers/block/paride/on26.c                     |  319 -------
 drivers/block/paride/paride.c                   |  479 -----------
 drivers/block/paride/paride.h                   |  172 ----
 drivers/block/paride/pcd.c                      | 1022 ----------------------
 drivers/block/paride/pd.c                       |  981 ---------------------
 drivers/block/paride/pf.c                       | 1034 -----------------------
 drivers/block/paride/pg.c                       |  734 ----------------
 drivers/block/paride/ppc6lnx.c                  |  726 ----------------
 drivers/block/paride/pseudo.h                   |  102 ---
 drivers/block/paride/pt.c                       | 1024 ----------------------
 33 files changed, 11099 deletions(-)
 delete mode 100644 Documentation/blockdev/paride.txt
 delete mode 100644 drivers/block/paride/Kconfig
 delete mode 100644 drivers/block/paride/Makefile
 delete mode 100644 drivers/block/paride/Transition-notes
 delete mode 100644 drivers/block/paride/aten.c
 delete mode 100644 drivers/block/paride/bpck.c
 delete mode 100644 drivers/block/paride/bpck6.c
 delete mode 100644 drivers/block/paride/comm.c
 delete mode 100644 drivers/block/paride/dstr.c
 delete mode 100644 drivers/block/paride/epat.c
 delete mode 100644 drivers/block/paride/epia.c
 delete mode 100644 drivers/block/paride/fit2.c
 delete mode 100644 drivers/block/paride/fit3.c
 delete mode 100644 drivers/block/paride/friq.c
 delete mode 100644 drivers/block/paride/frpw.c
 delete mode 100644 drivers/block/paride/kbic.c
 delete mode 100644 drivers/block/paride/ktti.c
 delete mode 100644 drivers/block/paride/mkd
 delete mode 100644 drivers/block/paride/on20.c
 delete mode 100644 drivers/block/paride/on26.c
 delete mode 100644 drivers/block/paride/paride.c
 delete mode 100644 drivers/block/paride/paride.h
 delete mode 100644 drivers/block/paride/pcd.c
 delete mode 100644 drivers/block/paride/pd.c
 delete mode 100644 drivers/block/paride/pf.c
 delete mode 100644 drivers/block/paride/pg.c
 delete mode 100644 drivers/block/paride/ppc6lnx.c
 delete mode 100644 drivers/block/paride/pseudo.h
 delete mode 100644 drivers/block/paride/pt.c
Documentation/admin-guide/kernel-parameters.txt +0 -16
index 1d1d53f85ddd..7fe0903387d2 100644
@@ -2945,10 +2945,6 @@
 
 	pcbit=		[HW,ISDN]
 
-	pcd.		[PARIDE]
-			See header of drivers/block/paride/pcd.c.
-			See also Documentation/blockdev/paride.txt.
-
 	pci=option[,option...]	[PCI] various PCI subsystem options:
 		earlydump	[X86] dump PCI config space before the kernel
 			        changes anything
@@ -3160,9 +3156,6 @@
 			for debug and development, but should not be
 			needed on a platform with proper driver support.
 
-	pd.		[PARIDE]
-			See Documentation/blockdev/paride.txt.
-
 	pdcchassis=	[PARISC,HW] Disable/Enable PDC Chassis Status codes at
 			boot time.
 			Format: { 0 | 1 }
@@ -3175,12 +3168,6 @@
 			allocator.  This parameter is primarily	for debugging
 			and performance comparison.
 
-	pf.		[PARIDE]
-			See Documentation/blockdev/paride.txt.
-
-	pg.		[PARIDE]
-			See Documentation/blockdev/paride.txt.
-
 	pirq=		[SMP,APIC] Manual mp-table setup
 			See Documentation/x86/i386/IO-APIC.txt.
 
@@ -3308,9 +3295,6 @@
 
 	pstore.backend=	Specify the name of the pstore backend to use
 
-	pt.		[PARIDE]
-			See Documentation/blockdev/paride.txt.
-
 	pti=		[X86_64] Control Page Table Isolation of user and
 			kernel address spaces.  Disabling this feature
 			removes hardening, but improves performance of
Documentation/blockdev/00-INDEX +0 -2
index c08df56dd91b..e6ee10f8ad3b 100644
@@ -12,7 +12,5 @@ mflash.txt
 	- info on mGine m(g)flash driver for linux.
 nbd.txt
 	- info on a TCP implementation of a network block device.
-paride.txt
-	- information about the parallel port IDE subsystem.
 ramdisk.txt
 	- short guide on how to set up and use the RAM disk.
Documentation/blockdev/paride.txt deleted +0 -417

417 lines not on this page · raw message

drivers/Makefile +0 -1
index 24cd47014657..feaf5ab7e92c 100644
@@ -98,7 +98,6 @@ obj-$(CONFIG_DIO)		+= dio/
 obj-$(CONFIG_SBUS)		+= sbus/
 obj-$(CONFIG_ZORRO)		+= zorro/
 obj-$(CONFIG_ATA_OVER_ETH)	+= block/aoe/
-obj-$(CONFIG_PARIDE) 		+= block/paride/
 obj-$(CONFIG_TC)		+= tc/
 obj-$(CONFIG_UWB)		+= uwb/
 obj-$(CONFIG_USB_PHY)		+= usb/
drivers/block/Kconfig +0 -29
index ad9b687a236a..7089e64cdde4 100644
@@ -88,35 +88,6 @@ config GDROM
 	  Most users will want to say "Y" here.
 	  You can also build this as a module which will be called gdrom.
 
-config PARIDE
-	tristate "Parallel port IDE device support"
-	depends on PARPORT_PC
-	---help---
-	  There are many external CD-ROM and disk devices that connect through
-	  your computer's parallel port. Most of them are actually IDE devices
-	  using a parallel port IDE adapter. This option enables the PARIDE
-	  subsystem which contains drivers for many of these external drives.
-	  Read <file:Documentation/blockdev/paride.txt> for more information.
-
-	  If you have said Y to the "Parallel-port support" configuration
-	  option, you may share a single port between your printer and other
-	  parallel port devices. Answer Y to build PARIDE support into your
-	  kernel, or M if you would like to build it as a loadable module. If
-	  your parallel port support is in a loadable module, you must build
-	  PARIDE as a module. If you built PARIDE support into your kernel,
-	  you may still build the individual protocol modules and high-level
-	  drivers as loadable modules. If you build this support as a module,
-	  it will be called paride.
-
-	  To use the PARIDE support, you must say Y or M here and also to at
-	  least one high-level driver (e.g. "Parallel port IDE disks",
-	  "Parallel port ATAPI CD-ROMs", "Parallel port ATAPI disks" etc.) and
-	  to at least one protocol driver (e.g. "ATEN EH-100 protocol",
-	  "MicroSolutions backpack protocol", "DataStor Commuter protocol"
-	  etc.).
-
-source "drivers/block/paride/Kconfig"
-
 source "drivers/block/mtip32xx/Kconfig"
 
 source "drivers/block/zram/Kconfig"
drivers/block/paride/Kconfig deleted +0 -303

303 lines not on this page · raw message

drivers/block/paride/Makefile deleted +0 -29
deleted file mode 100644
index cf1742a8475e..000000000000
@@ -1,29 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0
-#
-# Makefile for Parallel port IDE device drivers.
-#
-# 7 October 2000, Bartlomiej Zolnierkiewicz <[email protected]>
-# Rewritten to use lists instead of if-statements.
-#
-
-obj-$(CONFIG_PARIDE)		+= paride.o
-obj-$(CONFIG_PARIDE_ATEN)	+= aten.o
-obj-$(CONFIG_PARIDE_BPCK)	+= bpck.o
-obj-$(CONFIG_PARIDE_COMM)	+= comm.o
-obj-$(CONFIG_PARIDE_DSTR)	+= dstr.o
-obj-$(CONFIG_PARIDE_KBIC)	+= kbic.o
-obj-$(CONFIG_PARIDE_EPAT)	+= epat.o
-obj-$(CONFIG_PARIDE_EPIA)	+= epia.o
-obj-$(CONFIG_PARIDE_FRPW)	+= frpw.o
-obj-$(CONFIG_PARIDE_FRIQ)	+= friq.o
-obj-$(CONFIG_PARIDE_FIT2)	+= fit2.o
-obj-$(CONFIG_PARIDE_FIT3)	+= fit3.o
-obj-$(CONFIG_PARIDE_ON20)	+= on20.o
-obj-$(CONFIG_PARIDE_ON26)	+= on26.o
-obj-$(CONFIG_PARIDE_KTTI)	+= ktti.o
-obj-$(CONFIG_PARIDE_BPCK6)	+= bpck6.o
-obj-$(CONFIG_PARIDE_PD)		+= pd.o
-obj-$(CONFIG_PARIDE_PCD)	+= pcd.o
-obj-$(CONFIG_PARIDE_PF)		+= pf.o
-obj-$(CONFIG_PARIDE_PT)		+= pt.o
-obj-$(CONFIG_PARIDE_PG)		+= pg.o
drivers/block/paride/Transition-notes deleted +0 -128

128 lines not on this page · raw message

drivers/block/paride/aten.c deleted +0 -162

162 lines not on this page · raw message

drivers/block/paride/bpck.c deleted +0 -477

477 lines not on this page · raw message

drivers/block/paride/bpck6.c deleted +0 -267

267 lines not on this page · raw message

drivers/block/paride/comm.c deleted +0 -218

218 lines not on this page · raw message

drivers/block/paride/dstr.c deleted +0 -233

233 lines not on this page · raw message

drivers/block/paride/epat.c deleted +0 -340

340 lines not on this page · raw message

drivers/block/paride/epia.c deleted +0 -316

316 lines not on this page · raw message

drivers/block/paride/fit2.c deleted +0 -151

21 lines not on this page · raw message

drivers/block/paride/fit3.c deleted +0 -211

211 lines not on this page · raw message

drivers/block/paride/friq.c deleted +0 -276

276 lines not on this page · raw message

drivers/block/paride/frpw.c deleted +0 -313

313 lines not on this page · raw message

drivers/block/paride/kbic.c deleted +0 -305

305 lines not on this page · raw message

drivers/block/paride/ktti.c deleted +0 -128

128 lines not on this page · raw message

drivers/block/paride/mkd deleted +0 -31
deleted file mode 100644
index 6d0d802479ea..000000000000

Lines of this file are not shown. View the raw message.

drivers/block/paride/on20.c deleted +0 -153

153 lines not on this page · raw message

drivers/block/paride/on26.c deleted +0 -319

319 lines not on this page · raw message

drivers/block/paride/paride.c deleted +0 -479

479 lines not on this page · raw message

drivers/block/paride/paride.h deleted +0 -172

172 lines not on this page · raw message

drivers/block/paride/pcd.c deleted +0 -1022

1,022 lines not on this page · raw message

drivers/block/paride/pd.c deleted +0 -981

981 lines not on this page · raw message

drivers/block/paride/pf.c deleted +0 -1034

1,034 lines not on this page · raw message

drivers/block/paride/pg.c deleted +0 -734

734 lines not on this page · raw message

drivers/block/paride/ppc6lnx.c deleted +0 -726

726 lines not on this page · raw message

drivers/block/paride/pseudo.h deleted +0 -102

102 lines not on this page · raw message

drivers/block/paride/pt.c deleted +0 -1024

1,024 lines not on this page · raw message

The rest of this diff is not shown. View the raw message.

Signature · 1 line
2.14.2

Part of the diff is not shown here. View the raw message.

#1 lore raw
Quoted 4 lines · Christoph Hellwig

The paride drivers are some of the cruftiest, grottiest block drivers (besides drivers/ide and floppy.c) and have seen one single targeted commit since the dawn of git in 2007. Drop them to make block layer improvements easier.

This will make my parallel port ZIP and LS-120 drives useless :(

Signature · 1 line
Ondrej Zary
#2 lore raw
Quoted 7 lines · Ondrej Zary
Quoted 4 lines · Christoph Hellwig

The paride drivers are some of the cruftiest, grottiest block drivers (besides drivers/ide and floppy.c) and have seen one single targeted commit since the dawn of git in 2007. Drop them to make block layer improvements easier.

This will make my parallel port ZIP and LS-120 drives useless :(

So you are still using them and the code actually works properly?

#3 lore raw
Quoted 10 lines · On Thursday 15 March 2018 09:04:55 Christoph Hellwig wrote:
Quoted 7 lines · Ondrej Zary
Quoted 4 lines · Christoph Hellwig

The paride drivers are some of the cruftiest, grottiest block drivers (besides drivers/ide and floppy.c) and have seen one single targeted commit since the dawn of git in 2007. Drop them to make block layer improvements easier.

This will make my parallel port ZIP and LS-120 drives useless :(

So you are still using them and the code actually works properly?

I don't use them daily, only occasionally. Last time they worked. Checked now and it seems to work:

[    0.000000] Linux version 4.16.0-rc4+ (zary@gsql) (gcc version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1)) #217 SMP Tue Mar 13 00:08:16 CET 2018

...

# modprobe epat
[   47.376762] paride: epat registered as protocol 0
# modprobe pf drive0=0x378,0
[   59.048408] pf: pf version 1.04, major 47, cluster 64, nice 0
[   59.156038] pf0: Sharing parport0 at 0x378
[   59.157017] pf0: epat 1.02, Shuttle EPAT chip c6 at 0x378,
[   59.157020] mode 5 (EPP-32), delay 1
[   59.187400] pf0: mode sense completion: alt=0x51 stat=0x51 err=0x64 loop=0 phase=3
[   59.188080] pf0: mode sense data done: alt=0x51 stat=0x51 err=0x64 loop=0 phase=3
[   59.190648] pf0: Sense key: 6, ASC: 29, ASQ: 0
[   59.196326] pf0: get capacity completion: alt=0x51 stat=0x51 err=0x24 loop=0 phase=3
[   59.197038] pf0: get capacity data done: alt=0x51 stat=0x51 err=0x24 loop=0 phase=3
[   59.199499] pf0: Sense key: 2, ASC: 3a, ASQ: 0
[   59.200108] pf0: MATSHITA LS-120 COSM 04, master LUN 0, type 0
[   59.200109] , removable
[   59.200745] , no media
[   59.219353] pf0: get capacity completion: alt=0x51 stat=0x51 err=0x24 loop=0 phase=3
[   59.220078] pf0: get capacity data done: alt=0x51 stat=0x51 err=0x24 loop=0 phase=3
[   59.222777] pf0: Sense key: 2, ASC: 3a, ASQ: 0
[   59.223419] pf0: MATSHITA LS-120 COSM 04, master LUN 0, type 0
[   59.223420] , removable
[   59.224042] , no media
# mount /dev/pf0 /media/floppy
[   89.255905] pf0: mode sense completion: alt=0x51 stat=0x51 err=0x64 loop=0 phase=3
[   89.256657] pf0: mode sense data done: alt=0x51 stat=0x51 err=0x64 loop=0 phase=3
[   89.259415] pf0: Sense key: 6, ASC: 28, ASQ: 0
[   89.265571] pf0: MATSHITA LS-120 COSM 04, master LUN 0, type 0
[   89.265573] , removable
[   89.266228] , RO
[   89.266871] , 246528 blocks
[   96.871316] pf0: MATSHITA LS-120 COSM 04, master LUN 0, type 0
[   96.871319] , removable
[   96.871998] , RO
[   96.872653] , 246528 blocks
[   96.888131] pf0: MATSHITA LS-120 COSM 04, master LUN 0, type 0
[   96.888134] , removable
[   96.888808] , RO
[   96.889479] , 246528 blocks
mount: /dev/pf0 is write-protected, mounting read-only
# ls -la /media/floppy/
total 356
drwxr-xr-x 9 root root   2048 Jun 11  2002 !!!!!!!!
drwxr-xr-x 6 root root  16384 Jan  1  1970 .
drwxr-xr-x 6 root root   4096 Sep 16  2015 ..
-rwxr-xr-x 1 root root    750 Nov  8  2007 auditsc-move-name-to-end-of-record.patch
-rwxr-xr-x 1 root root    638 Nov  8  2007 audit-send-netlink-sync.patch
-rwxr-xr-x 1 root root   5557 Nov  8  2007 cdu31a_interrupt_handling_new.patch
-rwxr-xr-x 1 root root   4317 Nov  8  2007 cdu31a_interrupt_handling.patch
-rwxr-xr-x 1 root root  51440 Nov  8  2007 cdu31a-locking-dd.patch
-rwxr-xr-x 1 root root  48769 Nov  8  2007 cdu31a-locking.patch
-rwxr-xr-x 1 root root  19470 Nov  8  2007 cdu31a-make-working.patch
-rwxr-xr-x 1 root root    899 Nov  8  2007 cdu31a-timeouts-fix.patch
-rwxr-xr-x 1 root root  36067 Nov  8  2007 cdu31a_trivial_cleanups.patch
-rwxr-xr-x 1 root root  19278 Nov  8  2007 cdu31a_use_semaphores.patch
-rwxr-xr-x 1 root root    462 Nov  8  2007 cyrix-math-new.patch
-rwxr-xr-x 1 root root    530 Nov  8  2007 cyrix-math.patch
-rwxr-xr-x 1 root root    391 Nov  8  2007 cyrix-new.patch
-rwxr-xr-x 1 root root   1468 Nov  8  2007 cyrix-test.patch
drwxr-xr-x 2 root root   2048 Jun  5  2002 DEUTSCH
drwxr-xr-x 2 root root   2048 Jun  5  2002 ENGLISH
drwxr-xr-x 2 root root   2048 Jun  5  2002 FRAN?AIS
-rwxr-xr-x 1 root root    490 Nov  8  2007 hz100.patch
-rwxr-xr-x 1 root root    796 Nov  8  2007 ide-floppy-eject.patch
-rwxr-xr-x 1 root root   1655 Nov  8  2007 pf-fix-excess-reconnects.patch
-rwxr-xr-x 1 root root    561 Nov  8  2007 sata_via_pata_dma_fix.patch
-rwxr-xr-x 1 root root 111104 Sep 26  1997 SETUP.EXE
-rwxr-xr-x 1 root root    643 Nov  8  2007 uncompressed-kernel-boot.patch
-rwxr-xr-x 1 root root    455 Nov  8  2007 uncompressed-kernel-make.patch
-rwxr-xr-x 1 root root   1098 Nov  8  2007 uncompressed-kernel.patch
-rwxr-xr-x 1 root root   1558 Nov  8  2007 usbtouchscreen-invert.patch
Signature · 1 line
Ondrej Zary
#4 lore raw
Quoted 8 lines · On Thursday 15 March 2018 23:04:40 Ondrej Zary wrote:
Quoted 7 lines · On Thursday 15 March 2018 09:04:55 Christoph Hellwig wrote:
Quoted 6 lines · Ondrej Zary
Quoted 4 lines · Christoph Hellwig

The paride drivers are some of the cruftiest, grottiest block drivers (besides drivers/ide and floppy.c) and have seen one single targeted commit since the dawn of git in 2007. Drop them to make block layer improvements easier.

Quoted 6 lines
Quoted 3 lines
Quoted 1 line

This will make my parallel port ZIP and LS-120 drives useless :(

So you are still using them and the code actually works properly?

I don't use them daily, only occasionally. Last time they worked. Checked now and it seems to work:

Also found an old CD-ROM drive mounted in a HP C4381A box instead of the long-dead CD Writer 7200. Not as good as the pf driver :)

# modprobe epat
[   50.446246] paride: epat registered as protocol 0
# modprobe pcd drive0=0x378,0
[   56.694140] pcd: pcd version 1.07, major 46, nice 0
[   56.803399] pcd0: Sharing parport0 at 0x378
[   56.804336] pcd0: epat 1.02, Shuttle EPAT chip c6 at 0x378,
[   56.804339] mode 5 (EPP-32), delay 1
[   56.837419] pcd0: Master: 8X CD-ROM   V1.0
[   56.839420] pcd0: mode sense capabilities completion: alt=0x51 stat=0x51 err=0x60 loop=0 phase=3
[   56.842259] pcd0: mode sense capabilities: Sense key: 6, ASC: 29, ASQ: 0
[   56.843149] cdrom: Uniform CD-ROM driver Revision: 3.20
[   56.843757] BUG: unable to handle kernel paging request at f0b6a334
[   56.844371] IP: register_cdrom+0x85/0x185 [cdrom]
[   56.844971] *pde = 2f564067 *pte = 2c343161
[   56.845692] Oops: 0003 [#1] SMP
[   56.846564] Modules linked in: pcd(+) cdrom epat paride i2c_dev nouveau sg parport_pc 8139cp wmi hwmon ttm parport intel_agp
[   56.847467] CPU: 0 PID: 1790 Comm: modprobe Not tainted 4.16.0-rc4+ #217
[   56.848340] Hardware name:  /848P-ICH5, BIOS 6.00 PG 02/03/2005
[   56.849275] EIP: register_cdrom+0x85/0x185 [cdrom]
[   56.850190] EFLAGS: 00010246 CPU: 0
[   56.851104] EAX: f0b61155 EBX: f0b6a300 ECX: ef992164 EDX: ef98c9cc
[   56.852029] ESI: f0b6bb80 EDI: ec351dfc EBP: ec351de4 ESP: ec351dd8
[   56.852961]  DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
[   56.853895] CR0: 80050033 CR2: f0b6a334 CR3: 2c22d000 CR4: 00000690
[   56.854832] Call Trace:
[   56.855764]  pcd_init+0x37e/0x1000 [pcd]
[   56.856692]  ? _raw_spin_trylock_bh+0x1d/0x3a
[   56.857615]  ? __switch_to_asm+0x26/0x40
[   56.858541]  ? __switch_to_asm+0x1a/0x40
[   56.859442]  ? __switch_to_asm+0x26/0x40
[   56.860334]  ? 0xf0b6e000
[   56.861172]  do_one_initcall+0x84/0x111
[   56.862074]  ? __schedule+0x38f/0x3dd
[   56.862990]  ? virt_to_head_page+0x19/0x1b
[   56.863883]  ? virt_to_head_page+0x19/0x1b
[   56.864768]  ? _cond_resched+0x1e/0x22
[   56.865626]  ? kmem_cache_alloc+0x86/0xa9
[   56.866486]  ? do_init_module+0x17/0x1ad
[   56.867333]  do_init_module+0x46/0x1ad
[   56.868164]  load_module+0x1708/0x1b23
[   56.868997]  ? kernel_read_file+0x116/0x143
[   56.869820]  SyS_finit_module+0x62/0x67
[   56.870648]  do_int80_syscall_32+0x50/0x62
[   56.871477]  entry_INT80_32+0x2a/0x2a
[   56.872308] EIP: 0xb7fd6a02
[   56.873134] EFLAGS: 00000292 CPU: 0
[   56.873951] EAX: ffffffda EBX: 00000004 ECX: 007aff18 EDX: 00000000
[   56.874749] ESI: 007b0278 EDI: 007aff90 EBP: 00000000 ESP: bffbbac8
[   56.875590]  DS: 007b ES: 007b FS: 0000 GS: 0033 SS: 007b
[   56.876431] Code: 0c 00 75 0d 83 7b 10 00 75 07 c7 43 34 6f ff ff ff 83 7b 14 00 75 04 83 63 34 fc 83 7b 18 00 75 04 83 63 34 fb 83 7b 1c 00 75 04 <83> 63 34 f7 83 7b 24 00 75 04 83 63 34 df 83 7b 28 00 75 04 83
[   56.878264] EIP: register_cdrom+0x85/0x185 [cdrom] SS:ESP: 0068:ec351dd8
[   56.879220] CR2: 00000000f0b6a334
[   56.880193] ---[ end trace 596e4157e238f0e3 ]---
Signature · 1 line
Ondrej Zary
#5 lore raw
In reply to Ondrej Zary
Quoted 8 lines · On Thursday 15 March 2018 23:04:40 Ondrej Zary wrote:
Quoted 7 lines · On Thursday 15 March 2018 09:04:55 Christoph Hellwig wrote:
Quoted 6 lines · Ondrej Zary
Quoted 4 lines · Christoph Hellwig

The paride drivers are some of the cruftiest, grottiest block drivers (besides drivers/ide and floppy.c) and have seen one single targeted commit since the dawn of git in 2007. Drop them to make block layer improvements easier.

Quoted 6 lines
Quoted 3 lines
Quoted 1 line

This will make my parallel port ZIP and LS-120 drives useless :(

So you are still using them and the code actually works properly?

I don't use them daily, only occasionally. Last time they worked. Checked now and it seems to work:

Forgot that my ZIP drive uses the PPA driver, which seems to work too:

# modprobe ppa
[  816.690602] ppa: Version 2.07 (for Linux 2.4.x)
[  816.762167] ppa: Found device at ID 6, Attempting to use EPP 32 bit
[  816.763037] ppa: Communication established with ID 6 using EPP 32 bit
[  816.807658] scsi host4: Iomega VPI0 (ppa) interface
[  816.926616] scsi 4:0:6:0: Direct-Access     IOMEGA   ZIP 100          D.08 PQ: 0 ANSI: 2
[  816.987969] sd 4:0:6:0: Attached scsi generic sg1 type 0
[  817.054564] sd 4:0:6:0: Power-on or device reset occurred
[  817.158623] sd 4:0:6:0: [sdb] Attached SCSI removable disk
[  817.742723] sd 4:0:6:0: [sdb] tag#0 FAILED Result: hostbyte=DID_ABORT driverbyte=DRIVER_OK
[  817.745168] sd 4:0:6:0: [sdb] tag#0 CDB: ATA command pass through(16) 85 06 20 00 05 00 fe 00 00 00 00 00 00 40 ef 00
[  839.268575] sd 4:0:6:0: [sdb] Spinning up disk...
[  840.320383] ..ready
[  841.596371] sd 4:0:6:0: [sdb] 196608 512-byte logical blocks: (101 MB/96.0 MiB)
[  842.088415]  sdb: sdb4
Signature · 1 line
Ondrej Zary