Blacklist drivers builtin to Kernel?
-
- Offline
- 8 months 2 weeks ago
- 2017-07-13
Edit --
This works ---
1) Add blacklist gma500_gfx to /etc/modprobe.d/blacklist.conf
2) Run mkinitfs (which includes the blacklist.conf file)
3) Reboot
======
I am running on hardware that has Intel Embedded graphics. I get a black screen during boot after "loading hardware drivers". I want to disallow the use of the gma500_gfx driver. I have tried various kernel load parameters such as nomodeset and i915.modeset=0 etc, but none of them fix the problem. I have also added blacklist gma500_gfx to /etc/modprobe.d/blacklist.conf (I think that does not effect the kernel).
dmesg output looks like this:
[ 3.747940] usb usb6: Manufacturer: Linux 4.9.32-0-hardened ohci_hcd
[ 3.748004] usb usb6: SerialNumber: 0000:0b:08.0
[ 3.748844] hub 6-0:1.0: USB hub found
[ 3.748992] hub 6-0:1.0: 1 port detected
[ 3.749803] ohci-pci 0000:0b:08.1: OHCI PCI host controller
[ 3.749898] ohci-pci 0000:0b:08.1: new USB bus registered, assigned bus number 7
[ 3.750102] ohci-pci 0000:0b:08.1: irq 19, io mem 0xd314e000
[ 3.774617] random: fast init done
[ 3.811082] usb usb7: New USB device found, idVendor=1d6b, idProduct=0001
[ 3.811158] usb usb7: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 3.811232] usb usb7: Product: OHCI PCI host controller
[ 3.811294] usb usb7: Manufacturer: Linux 4.9.32-0-hardened ohci_hcd
[ 3.811358] usb usb7: SerialNumber: 0000:0b:08.1
[ 3.812201] hub 7-0:1.0: USB hub found
[ 3.812347] hub 7-0:1.0: 1 port detected
[ 3.813156] ohci-pci 0000:0b:08.2: OHCI PCI host controller
[ 3.813252] ohci-pci 0000:0b:08.2: new USB bus registered, assigned bus number 8
[ 3.813481] ohci-pci 0000:0b:08.2: irq 19, io mem 0xd314d000
[ 3.874335] usb usb8: New USB device found, idVendor=1d6b, idProduct=0001
[ 3.874408] usb usb8: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 3.874482] usb usb8: Product: OHCI PCI host controller
[ 3.874544] usb usb8: Manufacturer: Linux 4.9.32-0-hardened ohci_hcd
[ 3.874607] usb usb8: SerialNumber: 0000:0b:08.2
[ 3.875450] hub 8-0:1.0: USB hub found
[ 3.875601] hub 8-0:1.0: 1 port detected
[ 3.887965] libata version 3.00 loaded.
[ 3.892851] ahci 0000:0b:06.0: version 3.0
[ 3.893564] ahci 0000:0b:06.0: SSS flag set, parallel bus scan disabled
[ 3.893731] ahci 0000:0b:06.0: AHCI 0001.0100 32 slots 2 ports 3 Gbps 0x3 impl SATA mode
[ 3.893828] ahci 0000:0b:06.0: flags: ncq sntf stag pm led clo only pmp pio slum part ccc
[ 3.897955] scsi host0: ahci
[ 3.899042] scsi host1: ahci
[ 3.899655] ata1: SATA max UDMA/133 abar m1024@0xd3150000 port 0xd3150100 irq 29
[ 3.899761] ata2: SATA max UDMA/133 abar m1024@0xd3150000 port 0xd3150180 irq 29
[ 3.943959] usb 3-1: new low-speed USB device number 2 using ohci-pci
[ 4.130150] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x1710736b07c, max_idle_ns: 440795266809 ns
[ 4.160672] usb 3-1: New USB device found, idVendor=413c, idProduct=2003
[ 4.160743] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 4.161611] usb 3-1: Product: Dell USB Keyboard
[ 4.161674] usb 3-1: Manufacturer: Dell
[ 4.366828] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[ 4.367811] ata1.00: ATA-8: SQF-S25M8-1T-S8E, S8FM06A7, max UDMA/133
[ 4.367880] ata1.00: 2000409264 sectors, multi 16: LBA48 NCQ (depth 31/32), AA
[ 4.368671] ata1.00: configured for UDMA/133
[ 4.369466] scsi 0:0:0:0: Direct-Access ATA SQF-S25M8-1T-S8E 06A7 PQ: 0 ANSI: 5
[ 4.404617] sd 0:0:0:0: [sda] 2000409264 512-byte logical blocks: (1.02 TB/954 GiB)
[ 4.405446] sd 0:0:0:0: [sda] Write Protect is off
[ 4.405524] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 4.405672] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 4.407961] sda: sda1 sda2 sda3
[ 4.410346] sd 0:0:0:0: [sda] Attached SCSI disk
[ 4.870197] ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[ 4.870564] ata2.00: ATA-8: GLS85LS1004P CS 04GBN A101C4, N A101C4, max UDMA/133
[ 4.870642] ata2.00: 7815024 sectors, multi 1: LBA48
[ 4.870981] ata2.00: configured for UDMA/133
[ 4.871722] scsi 1:0:0:0: Direct-Access ATA GLS85LS1004P CS 01C4 PQ: 0 ANSI: 5
[ 4.907820] sd 1:0:0:0: [sdb] 7815024 512-byte logical blocks: (4.00 GB/3.73 GiB)
[ 4.908343] sd 1:0:0:0: [sdb] Write Protect is off
[ 4.908436] sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00
[ 4.908638] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 4.912148] sd 1:0:0:0: [sdb] Attached SCSI disk
[ 4.930725] Linux agpgart interface v0.103
[ 4.944826] [drm] Initialized
[ 4.959243] gma500 0000:00:02.0: Enabling MSI failed!
[ 4.959326] [drm] internal display is LVDS display
[ 4.959400] ioremap error for 0x3f5a9000-0x3f5aa000, requested 0x2, got 0x0
[ 4.959469] gma500 0000:00:02.0: Unable to read GCT!
[ 4.961260] gma500 0000:00:02.0: VBT signature missing
[ 4.964609] pmd_set_huge: Cannot satisfy [mem 0x3f800000-0x3fa00000] with a huge-page mapping due to MTRR override.
[ 4.984465] ACPI: Video Device [GFX0] (multi-head: yes rom: no post: no)
[ 4.984756] [Firmware Bug]: ACPI: No _BQC method, cannot determine initial brightness
[ 4.985628] acpi device:03: registered as cooling_device2
[ 4.986146] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input4
[ 4.986469] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 4.986554] [drm] No driver support for vblank timestamp query.
[ 5.050089] gma500 0000:00:02.0: No ddc adapter available!
[ 5.050165] gma500 0000:00:02.0: Found no modes on the lvds, ignoring the LVDS
[ 5.355627] Raw EDID:
[ 5.355700] 00 00 00 00 00 00 00 00 00 6d 0c 58 b9 d6 05 00
[ 5.355762] 0a 15 01 03 80 33 1d 78 ea 32 65 a2 55 4d a0 26
[ 5.355823] 11 50 54 a7 6b 80 71 4f 81 80 81 40 b3 00 01 01
[ 5.355883] 01 01 01 01 01 01 02 3a 80 18 71 38 2d 40 58 2c
[ 5.355943] 45 00 fe 22 11 00 00 1e 00 00 00 fd 00 38 4b 1e
[ 5.356004] 53 0f 00 0a 20 20 20 20 20 20 00 00 00 fc 00 49
[ 5.356064] 50 53 32 33 36 20 20 20 20 20 20 20 00 00 00 ff
[ 5.356124] 00 31 31 30 4e 44 54 43 42 38 36 34 39 0a 00 f9
[ 5.420376] Raw EDID:
[ 5.420439] 00 00 00 00 00 00 00 00 00 6d 0c 58 b9 d6 05 00
[ 5.420501] 0a 15 01 03 80 33 1d 78 ea 32 65 a2 55 4d a0 26
[ 5.420562] 11 50 54 a7 6b 80 71 4f 81 80 81 40 b3 00 01 01
[ 5.420622] 01 01 01 01 01 01 02 3a 80 18 71 38 2d 40 58 2c
[ 5.420682] 45 00 fe 22 11 00 00 1e 00 00 00 fd 00 38 4b 1e
[ 5.420742] 53 0f 00 0a 20 20 20 20 20 20 00 00 00 fc 00 49
[ 5.420803] 50 53 32 33 36 20 20 20 20 20 20 20 00 00 00 ff
[ 5.420863] 00 31 31 30 4e 44 54 43 42 38 36 34 39 0a 00 f9
[ 5.485174] Raw EDID:
[ 5.485237] 00 00 00 00 00 00 00 00 00 6d 0c 58 b9 d6 05 00
[ 5.485298] 0a 15 01 03 80 33 1d 78 ea 32 65 a2 55 4d a0 26
[ 5.485359] 11 50 54 a7 6b 80 71 4f 81 80 81 40 b3 00 01 01
[ 5.485419] 01 01 01 01 01 01 02 3a 80 18 71 38 2d 40 58 2c
[ 5.485479] 45 00 fe 22 11 00 00 1e 00 00 00 fd 00 38 4b 1e
[ 5.485540] 53 0f 00 0a 20 20 20 20 20 20 00 00 00 fc 00 49
[ 5.485600] 50 53 32 33 36 20 20 20 20 20 20 20 00 00 00 ff
[ 5.485660] 00 31 31 30 4e 44 54 43 42 38 36 34 39 0a 00 f9
[ 5.549928] Raw EDID:
[ 5.549990] 00 00 00 00 00 00 00 00 00 6d 0c 58 b9 d6 05 00
[ 5.550073] 0a 15 01 03 80 33 1d 78 ea 32 65 a2 55 4d a0 26
[ 5.550137] 11 50 54 a7 6b 80 71 4f 81 80 81 40 b3 00 01 01
[ 5.550198] 01 01 01 01 01 01 02 3a 80 18 71 38 2d 40 58 2c
[ 5.550258] 45 00 fe 22 11 00 00 1e 00 00 00 fd 00 38 4b 1e
[ 5.550319] 53 0f 00 0a 20 20 20 20 20 20 00 00 00 fc 00 49
[ 5.550379] 50 53 32 33 36 20 20 20 20 20 20 20 00 00 00 ff
[ 5.550440] 00 31 31 30 4e 44 54 43 42 38 36 34 39 0a 00 f9
[ 5.550507] gma500 0000:00:02.0: DVI-D-1: EDID block 0 invalid.
[ 5.610144] [drm] GMBUS timed out, falling back to bit banging on pin 0 [gma500 gmbus disabled]
[ 5.670092] [drm] GMBUS timed out, falling back to bit banging on pin 0 [gma500 gmbus disabled]
[ 5.730092] [drm] GMBUS timed out, falling back to bit banging on pin 0 [gma500 gmbus disabled]
[ 5.790092] [drm] GMBUS timed out, falling back to bit banging on pin 0 [gma500 gmbus disabled]
[ 5.850092] [drm] GMBUS timed out, falling back to bit banging on pin 0 [gma500 gmbus disabled]
[ 6.173426] [drm] GMBUS timed out, falling back to bit banging on pin 0 [gma500 gmbus disabled]
[ 6.233426] [drm] GMBUS timed out, falling back to bit banging on pin 0 [gma500 gmbus disabled]
[ 6.293426] [drm] GMBUS timed out, falling back to bit banging on pin 0 [gma500 gmbus disabled]
[ 6.353426] [drm] GMBUS timed out, falling back to bit banging on pin 0 [gma500 gmbus disabled]
[ 6.413426] [drm] GMBUS timed out, falling back to bit banging on pin 0 [gma500 gmbus disabled]
[ 6.413510] gma500 0000:00:02.0: No connectors reported connected with modes
[ 6.413581] [drm] Cannot find any crtc or sizes - going 1024x768
[ 6.415046] gma500 0000:00:02.0: fb0: psbdrmfb frame buffer device
[ 6.426834] [drm] Initialized gma500 1.0.0 20140314 for 0000:00:02.0 on minor 0
[ 6.448765] hidraw: raw HID events driver (C) Jiri Kosina
[ 6.457452] usbcore: registered new interface driver usbhid
[ 6.457579] usbhid: USB HID core driver
[ 6.463437] input: Dell Dell USB Keyboard as /devices/pci0000:00/0000:00:1a.0/0000:0a:00.0/0000:0b:02.0/usb3/3-1/3-1:1.0/0003:413C:2003.0001/input/input5
[ 6.520471] hid-generic 0003:413C:2003.0001: input,hidraw0: USB HID v1.10 Keyboard [Dell Dell USB Keyboard] on usb-0000:0b:02.0-1/input0
[ 7.483587] Console: switching to colour frame buffer device 128x48