I/O ports at e000 [disabled] [size=8]

More
1 year 4 months ago #330226 by rick-linuxcnc
I am trying to upgrade linuxcnc to 2.9.3 I was running 2.7.x I am using all the same hardware but when the parallel port tries to load it gets the I/O ports at e000 [disabled] error. On the old version is was running a port 0xe000 and irq 3


cat /proc/interrupts
          CPU0       CPU1       CPU2       CPU3       
  0:          9          0          0          0   IO-APIC   2-edge      timer
  1:          0          0          0          4   IO-APIC   1-edge      i8042
  3:          0          0          0          0   IO-APIC   3-edge      parport0
  8:          1          0          0          0   IO-APIC   8-edge      rtc0

sudo modinfo parport_pc
filename:       /lib/modules/6.1.0-23-rt-amd64/kernel/drivers/parport/parport_pc.ko
license:        GPL
description:    PC-style parallel port driver

sudo dmesg | grep par

[    8.549490] ppdev: user-space parallel port driver
[    8.761564] parport_pc: unknown parameter 'auto' ignored
[    8.761730] parport 0xe000 (WARNING): CTR: wrote 0x0c, read 0xff
[    8.761736] parport 0xe000 (WARNING): DATA: wrote 0xaa, read 0xff
[    8.761736] parport 0xe000: You gave this address, but there is probably no parallel port there!
[    8.761750] parport0: PC-style at 0xe000, irq 3 [PCSPP,TRISTATE]
[    8.860174] lp0: using parport0 (interrupt-driven).

lspci -vv
05:00.0 Parallel controller: Nanjing Qinheng Microelectronics Co., Ltd. CH351 PCIe Parallel Port Adapter (rev 0f) (prog-if 01 [BiDir])
    Subsystem: Nanjing Qinheng Microelectronics Co., Ltd. CH351 PCIe Parallel Port Adapter
    Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
    Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
    Interrupt: pin A routed to IRQ 3
    Region 0: I/O ports at e010 [disabled]
    Region 1: I/O ports at e000 [disabled]




 

Please Log in to join the conversation.

More
1 year 4 months ago #330231 by tommylight
What error does LinuxCNC show?

Please Log in to join the conversation.

More
1 year 4 months ago #330236 by rick-linuxcnc
parport_pc.so file missing

Please Log in to join the conversation.

More
1 year 4 months ago #330252 by unknown
That file is the Linuxcnc driver, if that is missing there is something wrong with installation.

Please Log in to join the conversation.

More
1 year 4 months ago #330253 by jmelson


I am trying to upgrade linuxcnc to 2.9.3 I was running 2.7.x I am using all the same hardware but when the parallel port tries to load it gets the I/O ports at e000 [disabled] =8error. On the old version is was running a port 0xe000 and irq 3


lspci -vv
05:00.0 Parallel controller: Nanjing Qinheng Microelectronics Co., Ltd. CH351 PCIe Parallel Port Adapter (rev 0f) (prog-if 01 [BiDir])
    Subsystem: Nanjing Qinheng Microelectronics Co., Ltd. CH351 PCIe Parallel Port Adapter
    Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
    Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-

 
Is this the same computer that was used before?  How about the parallel port card?
The [disabled] indication means that the port will not work, the kernel has done something to disable access to it.
I had this issue with a specific Dell desktop machine, and had to use a different PCIe parport card.  I recommend cards with the NetMos 9900 or 9901 chip for use on PCIe slots.  These have always worked well for me.  
Jon

Please Log in to join the conversation.

More
1 year 4 months ago #330899 by rick-linuxcnc
got a new card didn/t help. same messages. I finally just install version 2.9.4 and everything works.

Please Log in to join the conversation.

More
1 year 4 months ago #330908 by jmelson
Very interesting! Can you report what kernel is installed on your 2.9.4 system?
The command is uname -a
(I'm guessing you can't do this for the 2.9.3 system as you have probably overwritten that hard drive.)
Well, I am very happy that this ports [disabled] mess is fixed by a newer kernel!
Thanks,
Jon

Please Log in to join the conversation.

More
1 year 3 months ago #331833 by rick-linuxcnc
the report from uname -a is
Linux Linuxcnc 6.1.0-30-rt-amd64 #1 SMP PREEMPT_RT Debian 6.1.124-1 (2025-01-12) x86_64 GNU/Linux

Please Log in to join the conversation.

Time to create page: 0.138 seconds
Powered by Kunena Forum