PCIe - No parport registered at "0x " . This is not Always an error.Continuing.

More
22 Mar 2025 00:27 #324498 by unknown
Offensive ?
Pointing out someone didn't want to lift a finger to sort the issue out even after they were given the solution ?
What really got my goat was the OP was the one with the issue, the OP had all the information available. If I was to raise an issue on GitHub, I would need to get my tower out storage, install a PCIe card, create a config and attempt to replicate the issue. Now how many cards would I need to try ?
So I'd put in a hour or two of my time for something the OP could of done in the time he made the post to say he had nothing more to say or make the report. And if it didn't get actioned straight away and new packages put up with their time frame the OP would not be satisfied.


Tho to tell the truth I wasn't surprised at considering the attitude.

As I stated before, a driver will load if there is a matching PCI ID for the hardware. I even gave the instruction that will show how to figure this out. Now if for some reason or another the people involved with producing or wholesaling the board decide for whatever reason to change the PCI ID and the driver doesn't know about it the driver won't load, it's not rocket science. Anyone who has anything to do with computer hardware knows that companies will change chipsets with models and give them new revision numbers, this was a thing to look for in the early days of wifi support in Linux, buy 2 models of the same card and one driver would work another wouldn't due to a change of chipset and PCI ID.

Please Log in or Create an account to join the conversation.

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
22 Mar 2025 00:46 #324501 by tommylight
I think i should do a summary of the Sunix PCI-E card as the info got scattered in pieces, so:
I had one, it works perfectly but:
In a Lenovo PC it show the warning when LinuxCNC starts, but it works fine
In another PC with Asus Prime Z270 board, it shows no warning and no ................................
IT JUST dawned on me:
It will show the warning on older kernels, it will not show on new-er kernels!!!
Lenovo has Mint 19.3, the Asus has Mint 21.3, the friend with the same model cards has LMDE 6
Ok just checked the original post and it is Debian 12 so most probably 6.1.nn kernel, should be the same as in LMDE 6, so there goes my joy, oh hell, back to more testing! :) :) :)

Please Log in or Create an account to join the conversation.

More
22 Mar 2025 01:51 #324508 by unknown
I'd check the kernel Configs to see what if any parallel ports are being left out.
Who ever built the kernel may have decided to include support for parallel ports, as we're probably the only old fellas that use them.
You should be able to grep the kernel config file that is in the boot directory.

Please Log in or Create an account to join the conversation.

  • ContinenteCNC
  • ContinenteCNC's Avatar
  • Away
  • Senior Member
  • Senior Member
More
23 Mar 2025 02:00 #324602 by ContinenteCNC

I think i should do a summary of the Sunix PCI-E card as the info got scattered in pieces, so:
I had one, it works perfectly but:
In a Lenovo PC it show the warning when LinuxCNC starts, but it works fine
In another PC with Asus Prime Z270 board, it shows no warning and no ................................
IT JUST dawned on me:
It will show the warning on older kernels, it will not show on new-er kernels!!!
Lenovo has Mint 19.3, the Asus has Mint 21.3, the friend with the same model cards has LMDE 6
Ok just checked the original post and it is Debian 12 so most probably 6.1.nn kernel, should be the same as in LMDE 6, so there goes my joy, oh hell, back to more testing! :) :) :)

It happend to me as well. LinuxCNC 2.8.4 / Debian Buster (live install) / Dell Optiplex 760 / Card chipset: Sunix SUN2212 (PCIe)

The message shows up when I try to run the parallel port tester. The address appear in lspci -v, the port works just fine, all inputs and outputs in all modes, but it won't show as a parallel port in ioports nor in dmesg.

However, for the Moschic MCS9805CV (PCI) it behaves as intended. Port not only works, but it shows as a parallel port in ioports and dmesg.

 

 
Attachments:

Please Log in or Create an account to join the conversation.

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
23 Mar 2025 11:23 #324646 by tommylight
Picture, capabilities access denied, that is usually due to not using sudo, so
sudo lspci -v
see if it shows the driver and kernel module.
Always use sudo when dealing with kernel level stuff, for reading only.
The following user(s) said Thank You: ContinenteCNC

Please Log in or Create an account to join the conversation.

More
23 Mar 2025 21:59 #324700 by langdons
My CNC PC is an old HP.

It has a Sunix Parallel port card that works without problem.

Maybe HP + Sunix + Debian is a good combo for CNC.

Perhaps HP motherboards work well, but some others don't.

Please Log in or Create an account to join the conversation.

More
23 Mar 2025 22:09 #324702 by langdons
My CNC PC is dual-boot Ubuntu 24.04 LTS and Debian from the LinuxCNC .iso.

The Ubuntu 24.04 LTS is definitely a bit broken now tho, due to a update issue (Ubuntu 24.04 + Intel GPU = potential broken packages) and drive corruption caused by the Windows 98 install CD performing non-consensual drive "checks"(destruction) without warning.

Can I post the output of "sudo lsmod -v" from the Ubuntu system, or does it have to be from Debian (I got rid of all of Debian's Network-related stuff in an attempt to increase performance)?

Ubuntu would be a lot easier b/c I can SSH into it from an iMac and easily upload.

Ubuntu works fine over SSH, everthing else is very broken.

P.S. Does anyone know how to fix broken snapd and system services??!!!??

Please Log in or Create an account to join the conversation.

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
23 Mar 2025 22:38 #324707 by tommylight

Can I post the output of "sudo lsmod -v" from the Ubuntu system, or does it have to be from Debian (I got rid of all of Debian's Network-related stuff in an attempt to increase performance)?

Yes, please, from both, and also the bottom part of the result from
sudo lspci -v
-

P.S. Does anyone know how to fix broken snapd and system services??!!!??

No help, but still, personally i will never ever use snap's nor any distro that uses them, and i made several donations to Mint since they refused to include snap in their distro. It can install anything without consent while installing something else you did consent to. That is a huge NO.

Please Log in or Create an account to join the conversation.

  • ContinenteCNC
  • ContinenteCNC's Avatar
  • Away
  • Senior Member
  • Senior Member
More
24 Mar 2025 01:37 #324712 by ContinenteCNC

Picture, capabilities access denied, that is usually due to not using sudo, so
sudo lspci -v
see if it shows the driver and kernel module.
Always use sudo when dealing with kernel level stuff, for reading only.


Thank you for the tip! 

This is the message showing up:

 

I have two cards, the top one it the PCIe Sunix 2212, the botton one is the PCI Moschip MCS9805CV (sudo lspci -v)



This is the output from sudo lspci -vv for both cards as well (maybe it helps)

01:00.0 Parallel controller: SUNIX Co., Ltd. Multiport serial controller (prog-if 03 [IEEE1284])
    Subsystem: SUNIX Co., Ltd. Multiport serial controller
    Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
    Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
    Latency: 0, Cache Line Size: 64 bytes
    Interrupt: pin A routed to IRQ 11
    Region 0: I/O ports at dcc0
    Region 1: I/O ports at dcb0
    Region 2: I/O ports at dcb8
    Region 3: I/O ports at dce0
    Capabilities: [60] Power Management version 3
        Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
        Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
    Capabilities: [68] MSI: Enable- Count=1/32 Maskable+ 64bit+
        Address: 0000000000000000  Data: 0000
        Masking: 00000000  Pending: 00000000
    Capabilities: [80] Express (v2) Legacy Endpoint, MSI 00
        DevCap:    MaxPayload 256 bytes, PhantFunc 0, Latency L0s <2us, L1 <32us
            ExtTag- AttnBtn- AttnInd- PwrInd- RBE+ FLReset-
        DevCtl:    Report errors: Correctable- Non-Fatal+ Fatal+ Unsupported-
            RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+
            MaxPayload 128 bytes, MaxReadReq 512 bytes
        DevSta:    CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr- TransPend-
        LnkCap:    Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Exit Latency L0s unlimited, L1 unlimited
            ClockPM+ Surprise- LLActRep- BwNot- ASPMOptComp-
        LnkCtl:    ASPM Disabled; RCB 64 bytes Disabled- CommClk+
            ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
        LnkSta:    Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
        DevCap2: Completion Timeout: Not Supported, TimeoutDis+, LTR-, OBFF Not Supported
        DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-, OBFF Disabled
        LnkCtl2: Target Link Speed: 2.5GT/s, EnterCompliance- SpeedDis-
             Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
             Compliance De-emphasis: -6dB
        LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete-, EqualizationPhase1-
             EqualizationPhase2-, EqualizationPhase3-, LinkEqualizationRequest-
    Capabilities: [100 v1] Advanced Error Reporting
        UESta:    DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
        UEMsk:    DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
        UESvrt:    DLP+ SDES- TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
        CESta:    RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr-
        CEMsk:    RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
        AERCap:    First Error Pointer: 00, GenCap+ CGenEn- ChkCap+ ChkEn-

04:00.0 Communication controller: MosChip Semiconductor Technology Ltd. PCI 1 port parallel adapter (rev 01)
    Subsystem: LSI Logic / Symbios Logic PCI 1 port parallel 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 16
    Region 0: I/O ports at ccc8
    Region 1: I/O ports at ccd0
    Region 2: I/O ports at ccd8
    Region 3: I/O ports at cce0
    Region 4: I/O ports at cce8
    Region 5: I/O ports at ccf0
    Kernel driver in use: parport_pc
    Kernel modules: parport_pc
Attachments:

Please Log in or Create an account to join the conversation.

  • ContinenteCNC
  • ContinenteCNC's Avatar
  • Away
  • Senior Member
  • Senior Member
More
24 Mar 2025 01:44 #324715 by ContinenteCNC
As you can see, no driver and no module.

I have ordered a couple of Sunix PCI (not PCIe) as well. They are supposed to arrive next week. As soon as I have them in hand I will post results here forum.linuxcnc.org/18-computer/54368-pci...-work-out-of-the-box

At leas two different Sunix chipsets. Maybe tree. All of them PCI.
The following user(s) said Thank You: tommylight

Please Log in or Create an account to join the conversation.

Time to create page: 0.118 seconds
Powered by Kunena Forum