How to solve/work around openSuSE 13.1 boot crash due to hardware?

opensuse 13.1 X86_64 (both live CD KDE version and installed version from DVD) boot process is consistently freezing using this hardware:
ASUS mobo P5KPL-AM EPU using onboard video (Intel)
2 SATA drives each 1T
4G RAM
1 PCI: KNC1 DVB card with CI extension
1 PCI: Twinhan DVB-CI

After installing openSuSE 13.1 using the DVD version, I ran into serious trouble.
Booting consistently freezes after loading the driver for the Twinhan card with the last line on screen being [no tuner found]
The computer than is unresponsive to the keyboard, only the reset button or unplugging the power-cord can reset the machine.

The same computer boots fine with openSuSE 12.3 X86_64 most recently updated kernel.
The computer will also boot without any hick-up after the Twinhan DVB-CI has being removed.

I want to use the current 12.3 installation **and **I want to test the new 13.1 openSuSE in a dual boot setup.

How can I configure the 13.1 boot process (and avoid freezing) using boot parameters and blacklist info?

Find more info attached.
Thanks for looking at this question.

Fiete

Here is what I have tried so far:

  1. boot option failsave (has lots of parameters)
  2. parameters
  • pci=noacpi
  • acpi=off
  • plymouth.enable=0
  • S
  • blacklist=bttv,dst,dvb_core,bt878…and other possibly related kernel modules, using various combinations
  1. After that I also added all dvb related modules to the blacklist in /etc/modprobe.d/50-blacklist.conf

To get more kernel verbosity I have tried boot parameters

  • debug
  • earlyprintk
    which revealed no more essential info.

Output of lspci -vv of the opensuse 12.3 installation (filtered for the Twinhan card)

03:01.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
Subsystem: Twinhan Technology Co. Ltd VisionPlus DVB card
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-
Latency: 64 (4000ns min, 10000ns max)
Interrupt: pin A routed to IRQ 20
Region 0: Memory at fdffe000 (32-bit, prefetchable) [size=4]
Capabilities: [44] Vital Product Data
No end tag found
Capabilities: [4c] Power Management version 2
Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
Kernel driver in use: bttv

03:01.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
Subsystem: Twinhan Technology Co. Ltd VisionPlus DVB Card
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-
Latency: 64 (1000ns min, 63750ns max)
Interrupt: pin A routed to IRQ 20
Region 0: Memory at fdfff000 (32-bit, prefetchable) [size=4]
Capabilities: [44] Vital Product Data
No end tag found
Capabilities: [4c] Power Management version 2
Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
Kernel driver in use: bt878

Output (part of) dmesg of the 12.3. Looks like the 13.1 output, but 13.1 boot will be killed after ** 8.208409] bttv: 0: tuner absent**[/size]

7.851558] bttv: driver version 0.9.19 loaded
7.851562] bttv: using 8 buffers with 2080k (520 pages) each for capture
8.208285] bttv: Bt8xx card found (0)
8.208327] bttv: 0: Bt878 (rev 17) at 0000:03:01.0, irq: 20, latency: 64, mmio: 0xfdffe000
8.208353] bttv: 0: detected: Twinhan VisionPlus DVB [card=113], PCI subsystem ID is 1822:0001
8.208355] bttv: 0: using: Twinhan DST + clones [card=113,autodetected]
8.208409] bttv: 0: tuner absent
8.208424] bttv: 0: add subdevice "dvb0"
8.213749] DVB: registering new adapter (bttv0)[/size]

On 02/10/2014 02:26 PM, fiete wrote:
>
> opensuse 13.1 X86_64 (both live CD KDE version and installed version
> from DVD) boot process is consistently freezing using this hardware:
> ASUS mobo P5KPL-AM EPU using onboard video (Intel)
> 2 SATA drives each 1T
> 4G RAM
> 1 PCI: KNC1 DVB card with CI extension
> 1 PCI: Twinhan DVB-CI
>
> After installing openSuSE 13.1 using the DVD version, I ran into serious
> trouble.
> Booting consistently freezes after loading the driver for the Twinhan
> card with the last line on screen being [no tuner found]
> The computer than is unresponsive to the keyboard, only the reset button
> or unplugging the power-cord can reset the machine.
>
> The same computer boots fine with openSuSE 12.3 X86_64 most recently
> updated kernel.
> The computer will also boot without any hick-up after the Twinhan DVB-CI
> has being removed.
>
> I want to use the current 12.3 installation *and I want to test the new
> 13.1 openSuSE in a dual boot setup.
>
> How can I configure the 13.1 boot process (and avoid freezing) using
> boot parameters and blacklist info?
>
> Find more info attached.
> Thanks for looking at this question.
>
> Fiete
>
> Here is what I have tried so far:
> 1) boot option failsave (has lots of parameters)
> 2) parameters
> - pci=noacpi
> - acpi=off
> - plymouth.enable=0
> - S
> - blacklist=bttv,dst,dvb_core,bt878…and other possibly related kernel
> modules, using various combinations
> 3) After that I also added all dvb related modules to the blacklist in
> /etc/modprobe.d/50-blacklist.conf
>
> To get more kernel verbosity I have tried boot parameters
> - debug
> - earlyprintk
> which revealed no more essential info.
>
> Output of lspci -vv of the opensuse 12.3 installation (filtered for the
> Twinhan card)
>
> 03:01.0 Multimedia video controller: Brooktree Corporation Bt878 Video
> Capture (rev 11)
> Subsystem: Twinhan Technology Co. Ltd VisionPlus DVB card
> 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-
> Latency: 64 (4000ns min, 10000ns max)
> Interrupt: pin A routed to IRQ 20
> Region 0: Memory at fdffe000 (32-bit, prefetchable) [size=4]
> Capabilities: [44] Vital Product Data
> No end tag found
> Capabilities: [4c] Power Management version 2
> Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA
> PME(D0-,D1-,D2-,D3hot-,D3cold-)
> Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
> Kernel driver in use: bttv
>
> 03:01.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture
> (rev 11)
> Subsystem: Twinhan Technology Co. Ltd VisionPlus DVB Card
> 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-
> Latency: 64 (1000ns min, 63750ns max)
> Interrupt: pin A routed to IRQ 20
> Region 0: Memory at fdfff000 (32-bit, prefetchable) [size=4]
> Capabilities: [44] Vital Product Data
> No end tag found
> Capabilities: [4c] Power Management version 2
> Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA
> PME(D0-,D1-,D2-,D3hot-,D3cold-)
> Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
> Kernel driver in use: bt878
>
> Output (part of) dmesg of the 12.3. Looks like the 13.1 output, but 13.1
> boot will be killed after * 8.208409] bttv: 0: tuner absent

>
> 7.851558] bttv: driver version 0.9.19 loaded
> 7.851562] bttv: using 8 buffers with 2080k (520 pages) each for
> capture
> 8.208285] bttv: Bt8xx card found (0)
> 8.208327] bttv: 0: Bt878 (rev 17) at 0000:03:01.0, irq: 20,
> latency: 64, mmio: 0xfdffe000
> 8.208353] bttv: 0: detected: Twinhan VisionPlus DVB [card=113], PCI
> subsystem ID is 1822:0001
> 8.208355] bttv: 0: using: Twinhan DST + clones
> [card=113,autodetected]
> 8.208409] bttv: 0: tuner absent
> 8.208424] bttv: 0: add subdevice “dvb0”
> 8.213749] DVB: registering new adapter (bttv0)

Please use ‘lspci -nvv’ as that will add the PCI ID to the information.

A quick grep of the drivers/media/bt8xx/ tree indicates that this device needs a
firmware file named “hcwamc.rbf”. Is that in /lib/firmware/ on the 13.1 file
system? If not, you can copy it from the 12.3 partition.

The keep the driver from loading, blacklist bt878.

[/size][/size]

Thank you for the quick response!

Output of “lspci -nvv”

03:01.0 0400: 109e:036e (rev 11)
Subsystem: 1822:0001
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-
Latency: 64 (4000ns min, 10000ns max)
Interrupt: pin A routed to IRQ 20
Region 0: Memory at fdffe000 (32-bit, prefetchable) [size=4]
Capabilities: [44] Vital Product Data
pcilib: sysfs_read_vpd: read failed: Connection timed out
Not readable
Capabilities: [4c] Power Management version 2
Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
Kernel driver in use: bttv

03:01.1 0480: 109e:0878 (rev 11)
Subsystem: 1822:0001
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-
Latency: 64 (1000ns min, 63750ns max)
Interrupt: pin A routed to IRQ 20
Region 0: Memory at fdfff000 (32-bit, prefetchable) [size=4]
Capabilities: [44] Vital Product Data
pcilib: sysfs_read_vpd: read failed: Connection timed out
Not readable
Capabilities: [4c] Power Management version 2
Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
Kernel driver in use: bt878

The file-system of the 12.3 install does not contain a file “hcwamc.rbf”. My understanding is, that this firmware file is for a Hauppauge card.

I blacklisted bt878 as the only blacklisted device added by me. The 13.1 boot still freezes.

Any other suggestion?
Thanks.

Fiete[/size][/size][/size][/size]

And the last message now is … ?

On 02/10/2014 08:36 PM, arvidjaar wrote:
>
> fiete;2623795 Wrote:
>>
>> I blacklisted bt878 as the only blacklisted device added by me. The 13.1
>> boot still freezes.
>>
>
> And the last message now is … ?

Did you check for firmware? You do know you can mount the 13.1 system in 12.3
and do things like copying files, etc.


8.208355] bttv: 0: using: Twinhan DST + clones
[card=113,autodetected]
8.208409] bttv: 0: tuner absent

…last three lines.

Fiete

[SOLVED] with still a question:

To avoid the crash during boot I had to add two modules to the blacklist /etc/modprobe.d/50-blacklist.conf: bttv and bt878
Blacklisting only one of them still breaks booting.

I still have to test the other dvb tuner card (KNC1 PCI card). It seems, that the modules budget_av and saa7416 are loading nicely.
I was lucky because of the dual boot configuration, so it was easy to edit the blacklist. I am curious the boot parameters to prevent loading ‘bad’ modules (e.g. with Grub or Grub2).

My problem is solved, unfortunately I can’t report to kernel developers.
Thank you for looking at this and the valuable advice.

Fiete

On 02/11/2014 03:56 PM, fiete wrote:
>
> [SOLVED] with still a question:
>
> To avoid the crash during boot I had to add two modules to the blacklist
> /etc/modprobe.d/50-blacklist.conf: bttv and bt878
> Blacklisting only one of them still breaks booting.
>
> I still have to test the other dvb tuner card (KNC1 PCI card). It seems,
> that the modules budget_av and saa7416 are loading nicely.
> I was lucky because of the dual boot configuration, so it was easy to
> edit the blacklist. I am curious the boot parameters to prevent loading
> ‘bad’ modules (e.g. with Grub or Grub2).
>
> My problem is solved, unfortunately I can’t report to kernel developers.
> Thank you for looking at this and the valuable tips.

I still want to know if the firmware is available.

Why can’t you report this? You can create a bug report at bugzilla.kernel.org.
Be sure to list this as a regression. I would help you with this, but I don’t
have the hardware.

I searched the 12.3 (=working flawless) and 13.1 (=crashing during boot while loading modules bttv and bt878) filesystem for “hcwamc.rbf” and “hcw*” several times. No dice. I couldn’t find this file on both systems.

I will have a look at bugzilla.kernel.org tonight.
Thanks again.
Fiete

I compiled and installed the latest stable vanilla kernel 3.13.3.
It boots flawlessly. Module bttv version 0.9.19 seems unchanged.

There is no crash after dmesg …tuner absent

0.000000] Linux version 3.13.2_bttv_test-7-desktop (root@Q8.site) (gcc version 4.7.2 20130108 [gcc-4_7-branch revision 195012] (SUSE Linux) ) #1 SMP PREEMPT Thu Feb 13 23:05:21 CET 2014
0.607139] usb usb1: Manufacturer: Linux 3.13.2_bttv_test-7-desktop ehci_hcd
0.607584] usb usb2: Manufacturer: Linux 3.13.2_bttv_test-7-desktop uhci_hcd
0.607886] usb usb3: Manufacturer: Linux 3.13.2_bttv_test-7-desktop uhci_hcd
0.608200] usb usb4: Manufacturer: Linux 3.13.2_bttv_test-7-desktop uhci_hcd
0.608498] usb usb5: Manufacturer: Linux 3.13.2_bttv_test-7-desktop uhci_hcd

15.597147] bttv: driver version 0.9.19 loaded
15.597153] bttv: using 8 buffers with 2080k (520 pages) each for capture
15.597199] bttv: Bt8xx card found (0)
15.597308] bttv: 0: Bt878 (rev 17) at 0000:03:01.0, irq: 20, latency: 64, mmio: 0xfdffe000
15.597344] bttv: 0: detected: Twinhan VisionPlus DVB [card=113], PCI subsystem ID is 1822:0001
15.597346] bttv: 0: using: Twinhan DST + clones [card=113,autodetected]
15.597418] bttv: 0: tuner absent
15.597434] bttv: 0: add subdevice “dvb0”
15.669612] DVB: registering new adapter (bttv0)

So I think there is no reason to report a bug with respect to the latest, stable kernel at the moment.
Fiete

You need open bug report so 13.1 may be fixed. Having confirmation that bug is not present in current kernel versions actually increases chances for that.

I found a relevant bug report at bugzilla.novell.com

Bug 861750 - Twinhan VisionPlus DVB-S card causes hang of bttv
https://bugzilla.novell.com/show_bug.cgi?id=861750

and a patch for
./drivers/media/pci/bt8xx/bttv-driver.c

Maybe it will be fixed for openSuSE 13.1

Fiete

On 2014-02-14 08:06, fiete wrote:
> I found a relevant bug report at bugzilla.novell.com

Add a “me too” to it, so that they see that more people are affected.


Cheers / Saludos,

Carlos E. R.

(from 13.1 x86_64 “Bottle” (Minas Tirith))