addi_apci_3xxx broken in https://github.com/Linux-Comedi/comedi

9 views
Skip to first unread message

Anders Blomdell

unread,
Oct 6, 2026, 8:07:42 AM (2 days ago) Oct 6
to comed...@googlegroups.com
The error is:

Oct 06 09:05:38 kernel: comedi0: addi_apci_3xxx: board=apci3106-16-4
Oct 06 09:05:38 kernel: Option 0 0 0
Oct 06 09:05:38 kernel: addi_apci_3xxx 0000:03:00.0: enabling device (0000 -> 0003)
Oct 06 09:05:38 kernel: - Can't get AMCC data!

Bisect is as follows:

git bisect start
# status: waiting for both 'good' and 'bad' commits
# good: [b23c2ba0d5af371ac7879e3ca2df8015bef877c7] m4/as-linux.m4: Look for Makefile variable anywhere in kernel source path
git bisect good b23c2ba0d5af371ac7879e3ca2df8015bef877c7
# status: waiting for 'bad' commit, 1 'good' commit known
# good: [b23c2ba0d5af371ac7879e3ca2df8015bef877c7] m4/as-linux.m4: Look for Makefile variable anywhere in kernel source path
git bisect good b23c2ba0d5af371ac7879e3ca2df8015bef877c7
# status: waiting for 'bad' commit, 1 'good' commit known
# bad: [5bcb65cf77d1b96c331629b8c73f2770d87be152] drivers.c: Fix bug in comedi_check_cmd_args_common()
git bisect bad 5bcb65cf77d1b96c331629b8c73f2770d87be152
# good: [923085df0b541ef829be89b47db273ab042eb33e] cb_pcimdas: Use C99-style designated initializers
git bisect good 923085df0b541ef829be89b47db273ab042eb33e
# bad: [950fcac42496e35e38e59b4f16d630512983163b] pcmuio: Remove unneeded inclusion of <linux/pci.h>
git bisect bad 950fcac42496e35e38e59b4f16d630512983163b
# good: [e94cdcbd2f5e9ebb578b4fabdcbba7003534ad48] ni_labpc: Add an auto_attach handler
git bisect good e94cdcbd2f5e9ebb578b4fabdcbba7003534ad48
# good: [a2daedf8a1aec527da2868712b95c90b342fca07] usbduxsigma: Update firmware details in driver comment
git bisect good a2daedf8a1aec527da2868712b95c90b342fca07
# good: [bcaf1d78f9af00f39f41150a17067ad24eaba888] drivers/addi-data/addi_amcc_s5933.h: Add addi_card_alloc()
git bisect good bcaf1d78f9af00f39f41150a17067ad24eaba888
# bad: [b8ef89408079e81e2149a3badd9f8550f0a1be52] das08_cs: Remove inclusion of <linux/pci.h>
git bisect bad b8ef89408079e81e2149a3badd9f8550f0a1be52
# bad: [56d6fe342542b00c9ea282014ad81af73545a0f8] aio_iiro_16: Use C99-style designated initializers
git bisect bad 56d6fe342542b00c9ea282014ad81af73545a0f8
# bad: [b2b05203adc31db3ceda904fe80e5c3ee05ae16c] addi_common: Add an auto_attach handler
git bisect bad b2b05203adc31db3ceda904fe80e5c3ee05ae16c
# good: [a5108bf7019e91e50243e9a21ff2a3acee06591a] drivers/addi-data/addi_amcc_s5933.h: Add ptr_use_and_alloc_pci_card()
git bisect good a5108bf7019e91e50243e9a21ff2a3acee06591a
# first 'bad' commit: [b2b05203adc31db3ceda904fe80e5c3ee05ae16c] addi_common: Add an auto_attach handler

the version in the kernel tree works (tested with 7.2.7)

Regards

Anders Blomdell

--
Anders Blomdell Email: anders....@control.lth.se
Department of Automatic Control
Lund University Phone: +46 46 222 8793
P.O. Box 118
SE-221 00 Lund, Sweden

Ian Abbott

unread,
Oct 7, 2026, 6:12:55 AM (yesterday) Oct 7
to comed...@googlegroups.com
On 06/10/2026 13:07, 'Anders Blomdell' via Comedi: Linux Control and
Thanks Anders, it should be fixed now!

--
-=( Ian Abbott <abb...@mev.co.uk> || MEV Ltd. is a company )=-
-=( registered in England & Wales. Regd. number: 02862268. )=-
-=( Regd. addr.: S11 & 12 Building 67, Europa Business Park, )=-
-=( Bird Hall Lane, STOCKPORT, SK3 0XA, UK. || www.mev.co.uk )=-

Anders Blomdell

unread,
Oct 7, 2026, 10:31:45 AM (23 hours ago) Oct 7
to comed...@googlegroups.com
Thanks!

Works like a charm.

/Anders
Anders Blomdell Email: anders....@control.lth.se
Department of Automatic Control
Lund University Phone: +46 46 222 8793
P.O. Box 118
SE-221 00 Lund, Sweden



När du skickar e-post till Lunds universitet behandlar vi dina personuppgifter i enlighet med gällande lagstiftning. Mer om hur dina personuppgifter behandlas hittar du på Lunds universitets webbplats<http://www.lu.se/integritet>.


When you send emails to Lund University, we process your personal data in accordance with existing legislation. To find out more about the processing of your personal data, visit the Lund University website<https://www.lunduniversity.lu.se/about/contact-us/processing-of-personal-data-at-lund-university>.
Reply all
Reply to author
Forward
0 new messages