#799037 read-edid: get-edid hangs on Mac Mini 4,1

Package:
read-edid
Source:
read-edid
Description:
hardware information-gathering tool for VESA PnP monitors
Submitter:
Nick Phillips
Date:
2015-09-15 07:12:06 UTC
Severity:
normal
#799037#5
Date:
2015-09-15 04:34:15 UTC
From:
To:
get-edid hangs (using 100% CPU) on this Mac Mini 4,1. Philips 170B LCD monitor is connected via
Apple HDMI->DVI adapter. X is not running. This is a particular PITA as ocsinventory-agent
tries to use get-edid, and gradually gets the fans going faster and faster...

More info follows.


Cheers,


Nick



Last part of strace output is:

write(2, "Looks like no busses have an EDI"..., 42Looks like no busses have an EDID. Sorry!
) = 42
write(2, "Attempting to use the classical "..., 46Attempting to use the classical VBE interface
) = 46
open("/dev/zero", O_RDWR)               = 3
mmap(0x1000, 655360, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_SHARED|MAP_FIXED, 3, 0) = 0x1000
close(3)                                = 0
open("/dev/mem", O_RDWR)                = 3
mmap(NULL, 1282, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_SHARED|MAP_FIXED, 3, 0) = 0
mmap(0xa0000, 393216, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_SHARED|MAP_FIXED, 3, 0xa0000) = 0xa0000
close(3)                                = 0
ioperm(0, 0x400, 0x1)                   = 0
iopl(0x3)                               = 0
write(2, "\n\tPerforming real mode VBE call\n", 32
	 Performing real mode VBE call
	 ) = 32
	 write(2, "\tInterrupt 0x10 ax=0x4f00 bx=0x0"..., 40	Interrupt 0x10 ax=0x4f00 bx=0x0 cx=0x0
	 ) = 40


lspci gives:

00:00.0 Host bridge: NVIDIA Corporation MCP89 HOST Bridge (rev a1)
	Flags: bus master, 66MHz, fast devsel, latency 0

00:00.1 RAM memory: NVIDIA Corporation MCP89 Memory Controller (rev a1)
	Flags: bus master, 66MHz, fast devsel, latency 0

00:01.0 RAM memory: NVIDIA Corporation Device 0d6d (rev a1)
	Flags: 66MHz, fast devsel

00:01.1 RAM memory: NVIDIA Corporation Device 0d6e (rev a1)
	Flags: 66MHz, fast devsel

00:01.2 RAM memory: NVIDIA Corporation Device 0d6f (rev a1)
	Flags: 66MHz, fast devsel

00:01.3 RAM memory: NVIDIA Corporation Device 0d70 (rev a1)
	Flags: 66MHz, fast devsel

00:02.0 RAM memory: NVIDIA Corporation Device 0d71 (rev a1)
	Flags: 66MHz, fast devsel

00:02.1 RAM memory: NVIDIA Corporation Device 0d72 (rev a1)
	Flags: 66MHz, fast devsel

00:03.0 ISA bridge: NVIDIA Corporation MCP89 LPC Bridge (rev a2)
	Subsystem: Apple Inc. Device cb89
	Flags: bus master, 66MHz, fast devsel, latency 0
	I/O ports at 2100 [size=256]

00:03.1 RAM memory: NVIDIA Corporation MCP89 Memory Controller (rev a1)
	Flags: 66MHz, fast devsel

00:03.2 SMBus: NVIDIA Corporation MCP89 SMBus (rev a1)
	Subsystem: NVIDIA Corporation Device cb89
	Flags: 66MHz, fast devsel
	I/O ports at 2000 [disabled] [size=256]
	Memory at d3586000 (32-bit, non-prefetchable) [disabled] [size=8K]
	I/O ports at 2240 [disabled] [size=64]
	I/O ports at 2200 [disabled] [size=64]
	Capabilities: [44] Power Management version 2

00:03.3 RAM memory: NVIDIA Corporation MCP89 Memory Controller (rev a1)
	Flags: 66MHz, fast devsel

00:03.4 Co-processor: NVIDIA Corporation MCP89 Co-Processor (rev a1)
	Subsystem: NVIDIA Corporation Device cb89
	Flags: bus master, 66MHz, fast devsel, latency 0
	Memory at d3500000 (32-bit, non-prefetchable) [size=512K]

00:04.0 USB controller: NVIDIA Corporation MCP89 OHCI USB 1.1 Controller (rev a1) (prog-if 10 [OHCI])
	Subsystem: NVIDIA Corporation Device cb89
	Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 17
	Memory at d358a000 (32-bit, non-prefetchable) [size=4K]
	Capabilities: [44] Power Management version 2
	Kernel driver in use: ohci-pci

00:04.1 USB controller: NVIDIA Corporation MCP89 EHCI USB 2.0 Controller (rev a2) (prog-if 20 [EHCI])
	Subsystem: NVIDIA Corporation Device cb89
	Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 23
	Memory at d358b100 (32-bit, non-prefetchable) [size=256]
	Capabilities: [44] Debug port: BAR=1 offset=00a0
	Capabilities: [80] Power Management version 2
	Kernel driver in use: ehci-pci

00:06.0 USB controller: NVIDIA Corporation MCP89 OHCI USB 1.1 Controller (rev a1) (prog-if 10 [OHCI])
	Subsystem: NVIDIA Corporation Device cb89
	Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 18
	Memory at d3589000 (32-bit, non-prefetchable) [size=4K]
	Capabilities: [44] Power Management version 2
	Kernel driver in use: ohci-pci

00:06.1 USB controller: NVIDIA Corporation MCP89 EHCI USB 2.0 Controller (rev a2) (prog-if 20 [EHCI])
	Subsystem: NVIDIA Corporation Device cb89
	Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 22
	Memory at d358b000 (32-bit, non-prefetchable) [size=256]
	Capabilities: [44] Debug port: BAR=1 offset=00a0
	Capabilities: [80] Power Management version 2
	Kernel driver in use: ehci-pci

00:08.0 Audio device: NVIDIA Corporation MCP89 High Definition Audio (rev a2)
	Subsystem: NVIDIA Corporation Device cb89
	Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 20
	Memory at d3580000 (32-bit, non-prefetchable) [size=16K]
	Capabilities: [44] Power Management version 2
	Capabilities: [50] MSI: Enable- Count=1/1 Maskable+ 64bit+
	Capabilities: [6c] HyperTransport: MSI Mapping Enable- Fixed+
	Kernel driver in use: snd_hda_intel

00:0a.0 SATA controller: NVIDIA Corporation MCP89 SATA Controller (AHCI mode) (rev a2) (prog-if 01 [AHCI 1.0])
	Subsystem: Apple Inc. Device cb89
	Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 43
	I/O ports at 2298 [size=8]
	I/O ports at 22a4 [size=4]
	I/O ports at 2290 [size=8]
	I/O ports at 22a0 [size=4]
	I/O ports at 2280 [size=16]
	Memory at d3584000 (32-bit, non-prefetchable) [size=8K]
	Capabilities: [44] Power Management version 2
	Capabilities: [8c] SATA HBA v1.0
	Capabilities: [b0] MSI: Enable+ Count=1/8 Maskable- 64bit+
	Kernel driver in use: ahci

00:0b.0 RAM memory: NVIDIA Corporation Device 0d75 (rev a1)
	Flags: 66MHz, fast devsel
	Memory at d3588000 (32-bit, non-prefetchable) [disabled] [size=4K]
	Capabilities: [44] Power Management version 2
	Capabilities: [50] MSI: Enable- Count=1/1 Maskable+ 64bit+

00:0e.0 PCI bridge: NVIDIA Corporation Device 0d9a (rev a1) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0
	Bus: primary=00, secondary=01, subordinate=02, sec-latency=0
	Memory behind bridge: d3400000-d34fffff
	Capabilities: [40] Subsystem: NVIDIA Corporation Device 0000
	Capabilities: [48] Power Management version 3
	Capabilities: [50] MSI: Enable+ Count=1/2 Maskable- 64bit+
	Capabilities: [60] HyperTransport: MSI Mapping Enable- Fixed-
	Capabilities: [80] Express Root Port (Slot+), MSI 00
	Kernel driver in use: pcieport

00:15.0 PCI bridge: NVIDIA Corporation Device 0d9b (rev a1) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0
	Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
	Memory behind bridge: d3300000-d33fffff
	Capabilities: [40] Subsystem: NVIDIA Corporation Device 0000
	Capabilities: [48] Power Management version 3
	Capabilities: [50] MSI: Enable+ Count=1/2 Maskable- 64bit+
	Capabilities: [60] HyperTransport: MSI Mapping Enable- Fixed-
	Capabilities: [80] Express Root Port (Slot+), MSI 00
	Kernel driver in use: pcieport

00:16.0 PCI bridge: NVIDIA Corporation Device 0d9b (rev a1) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0
	Bus: primary=00, secondary=04, subordinate=04, sec-latency=0
	Memory behind bridge: d3200000-d32fffff
	Prefetchable memory behind bridge: 00000000d3100000-00000000d31fffff
	Capabilities: [40] Subsystem: NVIDIA Corporation Device 0000
	Capabilities: [48] Power Management version 3
	Capabilities: [50] MSI: Enable+ Count=1/2 Maskable- 64bit+
	Capabilities: [60] HyperTransport: MSI Mapping Enable- Fixed-
	Capabilities: [80] Express Root Port (Slot+), MSI 00
	Kernel driver in use: pcieport

00:17.0 PCI bridge: NVIDIA Corporation MCP89 PCI Express Bridge (rev a1) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0
	Bus: primary=00, secondary=05, subordinate=05, sec-latency=0
	I/O behind bridge: 00001000-00001fff
	Memory behind bridge: d2000000-d30fffff
	Prefetchable memory behind bridge: 00000000c0000000-00000000d1ffffff
	Capabilities: [40] Subsystem: NVIDIA Corporation Device 0000
	Capabilities: [48] Power Management version 2
	Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+

01:00.0 PCI bridge: Texas Instruments XIO2213A/B/XIO2221 PCI Express to PCI Bridge [Cheetah Express] (rev 01) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0
	Bus: primary=01, secondary=02, subordinate=02, sec-latency=0
	Memory behind bridge: d3400000-d34fffff
	Capabilities: [50] Power Management version 3
	Capabilities: [60] MSI: Enable- Count=1/16 Maskable- 64bit+
	Capabilities: [80] Subsystem: Device 0000:0000
	Capabilities: [90] Express PCI-Express to PCI/PCI-X Bridge, MSI 00
	Capabilities: [100] Advanced Error Reporting

02:00.0 FireWire (IEEE 1394): Texas Instruments XIO2213A/B/XIO2221 IEEE-1394b OHCI Controller [Cheetah Express] (rev 01) (prog-if 10 [OHCI])
	Flags: bus master, 66MHz, medium devsel, latency 248, IRQ 19
	Memory at d3404000 (32-bit, non-prefetchable) [size=2K]
	Memory at d3400000 (32-bit, non-prefetchable) [size=16K]
	Capabilities: [44] Power Management version 3
	Kernel driver in use: firewire_ohci

03:00.0 Network controller: Broadcom Corporation BCM43224 802.11a/b/g/n (rev 01)
	Subsystem: Apple Inc. AirPort Extreme
	Flags: bus master, fast devsel, latency 0, IRQ 21
	Memory at d3300000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: [40] Power Management version 3
	Capabilities: [58] Vendor Specific Information: Len=78 <?>
	Capabilities: [48] MSI: Enable- Count=1/1 Maskable- 64bit+
	Capabilities: [d0] Express Endpoint, MSI 00
	Capabilities: [100] Advanced Error Reporting
	Capabilities: [13c] Virtual Channel
	Capabilities: [160] Device Serial Number fb-40-35-ff-ff-87-58-b0
	Capabilities: [16c] Power Budgeting <?>
	Kernel driver in use: bcma-pci-bridge

04:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM57765 Gigabit Ethernet PCIe
	Subsystem: Broadcom Corporation NetXtreme BCM57765 Gigabit Ethernet PCIe
	Flags: bus master, fast devsel, latency 0, IRQ 20
	Memory at d3100000 (64-bit, prefetchable) [size=64K]
	Memory at d3110000 (64-bit, prefetchable) [size=64K]
	Capabilities: [48] Power Management version 3
	Capabilities: [58] MSI: Enable- Count=1/8 Maskable- 64bit+
	Capabilities: [a0] MSI-X: Enable+ Count=7 Masked-
	Capabilities: [ac] Express Endpoint, MSI 00
	Capabilities: [100] Advanced Error Reporting
	Capabilities: [13c] Device Serial Number 00-00-c4-2c-03-03-94-12
	Capabilities: [150] Power Budgeting <?>
	Capabilities: [160] Virtual Channel
	Kernel driver in use: tg3

04:00.1 SD Host controller: Broadcom Corporation BCM57765/57785 SDXC/MMC Card Reader (prog-if 01)
	Subsystem: Broadcom Corporation Device 0000
	Flags: bus master, fast devsel, latency 0, IRQ 23
	Memory at d3120000 (64-bit, prefetchable) [size=64K]
	Capabilities: [48] Power Management version 3
	Capabilities: [58] MSI: Enable- Count=1/1 Maskable- 64bit+
	Capabilities: [ac] Express Endpoint, MSI 00
	Capabilities: [100] Advanced Error Reporting
	Capabilities: [150] Power Budgeting <?>
	Capabilities: [160] Virtual Channel
	Kernel driver in use: sdhci-pci

05:00.0 VGA compatible controller: NVIDIA Corporation MCP89 [GeForce 320M] (rev a2) (prog-if 00 [VGA controller])
	Subsystem: Apple Inc. Device 00c0
	Flags: bus master, fast devsel, latency 0, IRQ 44
	Memory at d2000000 (32-bit, non-prefetchable) [size=16M]
	Memory at c0000000 (64-bit, prefetchable) [size=256M]
	Memory at d0000000 (64-bit, prefetchable) [size=32M]
	I/O ports at 1000 [size=128]
	Expansion ROM at d3000000 [disabled] [size=128K]
	Capabilities: [60] Power Management version 3
	Capabilities: [68] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Capabilities: [e0] Vendor Specific Information: Len=14 <?>
	Kernel driver in use: nouveau