Port-macppc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

radeonfb problem on Mac mini



I'm trying to set up NetBSD-current on an old Mac mini, but it insist
on setting the console in a video mode that the monitor cannot handle
(or at least the monitor shows an "Input Not Supported" message.)

The behavior started with the change:

  Module Name:    src
  Committed By:   aymeric
  Date:           Wed Jan  9 17:45:46 UTC 2008

  Modified Files:
          src/sys/arch/powerpc/oea: ofw_autoconf.c

  Log Message:
  probe as console devices which have a "class-code" property corresponding to
  PCI_CLASS_DISPLAY, and not just those which have a "display" device_type.
  In the case where each head is a subnode of the graphics card, it's the heads
  which have a "display" device_type.

  Maybe only testing "class-code" would make sense if this property is defined
  on any openfirmware based PowerPC platform.


  To generate a diff of this commit:
  cvs rdiff -r1.5 -r1.6 src/sys/arch/powerpc/oea/ofw_autoconf.c

and everything works fine if I revert it.

I have attached the dmesg from using an ACER AL2021 monitor, but I
get the same behavior using other monitors (although the numbers in
the dmesg changes...)

Any ideas?

   /Krister
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 4.99.55 (GENERIC) #2: Sat Mar 22 18:09:32 CET 2008
        
cato%pc20.kwa@localhost:/usr/local/tmp/work/src/sys/arch/macppc/compile/GENERIC
total memory = 512 MB
avail memory = 487 MB
timecounter: Timecounters tick every 10.000 msec
found openpic PIC at 80040000
OpenPIC Version 1.2: Supports 4 CPUs and 64 interrupt sources.
bootpath: /pci@f4000000/ethernet:/netbsd
mainbus0 (root)
cpu0 at mainbus0: 7447A (Revision 1.2), ID 0 (primary)
cpu0: HID0 8450c0bc<EMCP,EICE,NAP,DPM,ICE,DCE,SGE,BTIC,FBIOB,ABE,BHT>, 
powersave: 1
cpu0: 1250.00 MHz, 512KB L2 cache no parity parity enabled
uni_n0 at mainbus0 address 0xf8000000
hw-clock at uni_n0 not configured
ki2c0 at uni_n0 address 0xf8001000
iic0 at ki2c0: I2C bus
cereal at ki2c0 address 0x1c0 not configured
uninorth0 at mainbus0
pci0 at uninorth0 bus 0
pci0: i/o space, memory space enabled
pchb0 at pci0 dev 11 function 0
pchb0: Apple Computer UniNorth AGP Bridge (rev. 0x00)
radeonfb0 at pci0 dev 16 function 0: ATI Technologies Radeon 9200 5962
radeonfb0: Video BIOS not present
radeonfb0: No video BIOS, using default clocks
radeonfb0: refclk = 27.000 MHz, refdiv = 12 minpll = 125000, maxpll = 350000
radeonfb0: using static EDID
max_dotclock according to supported modes: 162000
Vendor: [ACR] 
Product: [07E5] AL2021
Serial number: ae030000
Manufactured 2005 Week 20
EDID Version 1.3
EDID Comment: ACER
Video Input: e8
        Digital
Gamma: 2.20
Max Size: 41 cm x 31 cm
Features: 2c
        DPMS active-off
        RGB
        Standard color space
Chroma Info:
        Red X: 0.599
        Red Y: 0.599
        Grn X: 0.299
        Grn Y: 0.575
        Blu X: 0.150
        Blu Y: 0.129
        Wht X: 0.299
        Wht Y: 0.330
Video modes:
        1024x768 @ 75Hz
        1024x768 @ 70Hz
        1024x768 @ 60Hz
        800x600 @ 75Hz
        800x600 @ 72Hz
        800x600 @ 60Hz
        800x600 @ 56Hz
        640x480 @ 75Hz
        640x480 @ 73Hz
        640x480 @ 60Hz
        640x480 @ 60Hz
        800x600 @ 60Hz
        1024x768 @ 60Hz
        1280x1024 @ 60Hz
        640x480 @ 75Hz
        800x600 @ 75Hz
        1024x768 @ 75Hz
        1600x1200 @ 60Hz
        1280x1024 @ 60Hz
Preferred mode: 1280x1024 @ 60Hz
radeonfb0: using static EDID
max_dotclock according to supported modes: 162000
Vendor: [ACR] 
Product: [07E5] AL2021
Serial number: ae030000
Manufactured 2005 Week 20
EDID Version 1.3
EDID Comment: ACER
Video Input: e8
        Digital
Gamma: 2.20
Max Size: 41 cm x 31 cm
Features: 2c
        DPMS active-off
        RGB
        Standard color space
Chroma Info:
        Red X: 0.599
        Red Y: 0.599
        Grn X: 0.299
        Grn Y: 0.575
        Blu X: 0.150
        Blu Y: 0.129
        Wht X: 0.299
        Wht Y: 0.330
Video modes:
        1024x768 @ 75Hz
        1024x768 @ 70Hz
        1024x768 @ 60Hz
        800x600 @ 75Hz
        800x600 @ 72Hz
        800x600 @ 60Hz
        800x600 @ 56Hz
        640x480 @ 75Hz
        640x480 @ 73Hz
        640x480 @ 60Hz
        640x480 @ 60Hz
        800x600 @ 60Hz
        1024x768 @ 60Hz
        1280x1024 @ 60Hz
        640x480 @ 75Hz
        800x600 @ 75Hz
        1024x768 @ 75Hz
        1600x1200 @ 60Hz
        1280x1024 @ 60Hz
Preferred mode: 1280x1024 @ 60Hz
radeonfb0: 64 MB aperture at 0x98000000, 64 KB registers at 0x90000000
radeonfb0: display 0: initial virtual resolution 1600x1200 at 32 bpp
radeonfb0: port 0: physical 1280x1024 60Hz
radeonfb0: port 1: physical 1280x1024 60Hz
init engine
wsdisplay0 at radeonfb0 kbdmux 1: console (fb, vt100 emulation)
wsmux1: connecting to wsdisplay0
direct rendering for radeonfb0 unsupported
uninorth1 at mainbus0
pci1 at uninorth1 bus 0
pci1: i/o space, memory space enabled
pchb1 at pci1 dev 11 function 0
pchb1: Apple Computer UniNorth Host-PCI Bridge (rev. 0x00)
obio0 at pci1 dev 23 function 0: addr 0x80000000
zsc0 at obio0: irq 22,23
zstty0 at zsc0 channel 0
zstty1 at zsc0 channel 1
snapper0 at obio0 offset 0x10000: irq 30,1,2
pmu0 at obio0 offset 0x16000 irq 47:  rev. 85
pmu0: initializing IIC bus
pmu0: initializing RTC
pmu0: power-mgt not configured
pmu0: pmu-pwm-fans not configured
ki2c1 at obio0
iic1 at ki2c1: I2C bus
cereal at ki2c1 address 0x1c0 not configured
wdc0 at obio0 offset 0x20000 irq 24, level triggered: DMA transfer
atabus0 at wdc0 channel 0
snapper0: software codec
audio0 at snapper0: full duplex
ohci0 at pci1 dev 24 function 0: Apple Computer Intrepid USB Controller (rev. 
0x00)
ohci0: can't map mem space
ohci1 at pci1 dev 25 function 0: Apple Computer Intrepid USB Controller (rev. 
0x00)
ohci1: can't map mem space
ohci2 at pci1 dev 26 function 0: Apple Computer Intrepid USB Controller (rev. 
0x00)
ohci2: interrupting at irq 29
ohci2: OHCI version 1.0, legacy support
usb0 at ohci2: USB revision 1.0
uhub0 at usb0
uhub0: Apple Computer OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ohci3 at pci1 dev 27 function 0: NEC USB Host Controller (rev. 0x43)
ohci3: interrupting at irq 63
ohci3: OHCI version 1.0
usb1 at ohci3: USB revision 1.0
uhub1 at usb1
uhub1: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 3 ports with 3 removable, self powered
ohci4 at pci1 dev 27 function 1: NEC USB Host Controller (rev. 0x43)
ohci4: interrupting at irq 63
ohci4: OHCI version 1.0
usb2 at ohci4: USB revision 1.0
uhub2 at usb2
uhub2: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
ehci0 at pci1 dev 27 function 2: NEC USB Host Controller (rev. 0x04)
ehci0: interrupting at irq 63
ehci0: EHCI version 1.0
ehci0: companion controllers, 3 ports each: ohci3 ohci4
usb3 at ehci0: USB revision 2.0
uhub3 at usb3
uhub3: NEC EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub3: 5 ports with 5 removable, self powered
uninorth2 at mainbus0
pci2 at uninorth2 bus 0
pci2: i/o space, memory space enabled
pchb2 at pci2 dev 11 function 0
pchb2: Apple Computer UniNorth Host-PCI Bridge (rev. 0x00)
wdc1 at pci2 dev 13 function 0: interrupting at irq 39
atabus1 at wdc1 channel 0
fwohci0 at pci2 dev 14 function 0: Apple Computer UniNorth Firewire (rev. 0x81)
fwohci0: interrupting at irq 40
fwohci0: OHCI version 1.10 (ROM=0)
fwohci0: No. of Isochronous channels is 8.
fwohci0: EUI64 00:11:24:ff:fe:75:1b:a6
fwohci0: Phy 1394a available S400, 2 ports.
fwohci0: Link S400, max_rec 2048 bytes.
ieee1394if0 at fwohci0: IEEE1394 bus
fwip0 at ieee1394if0: IP over IEEE1394
fwohci0: Initiate bus reset
gem0 at pci2 dev 15 function 0: Apple Computer GMAC Ethernet (rev. 0x80)
gem0: interrupting at irq 41
bmtphy0 at gem0 phy 0: BCM5221 10/100 media interface, rev. 4
bmtphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
gem0: Ethernet address 00:11:24:75:1b:a6, 10KB RX fifo, 4KB TX fifo
biomask 8001ffe netmask 8001ffe ttymask 8001ffe
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
timecounter: Timecounter "mftb" frequency 41620997 Hz quality 100
fwohci0: BUS reset
fwohci0: node_id=0xc800ffc0, gen=2, CYCLEMASTER mode
ieee1394if0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
ieee1394if0: bus manager 0 (me)
Kernelized RAIDframe activated
atapibus0 at atabus1: 2 targets
cd0 at atapibus0 drive 1: <MATSHITACD-RW  CW-8124, , DACD> cdrom removable
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
wd0 at atabus1 drive 0: <ST940110A>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 38154 MB, 77520 cyl, 16 head, 63 sec, 512 bytes/sect x 78140160 sectors
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd0(wdc1:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100) 
(using DMA)
cd0(wdc1:0:1): using PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33) (using 
DMA)
uhub4 at uhub1 port 1
uhub4: Texas Instruments UT-USB41 hub, class 9/0, rev 1.00/1.00, addr 2
uhub4: 4 ports with 4 removable, self powered
uhidev0 at uhub4 port 1 configuration 1 interface 0
uhidev0: Targus product 0x0103, rev 1.10/1.00, addr 3, iclass 3/1
ukbd0 at uhidev0
wskbd0 at ukbd0 mux 1
wskbd0: connecting to wsdisplay0
uhidev1 at uhub4 port 1 configuration 1 interface 1
uhidev1: Targus product 0x0103, rev 1.10/1.00, addr 3, iclass 3/0
uhidev1: 2 report ids
uhid0 at uhidev1 reportid 1: input=2, output=0, feature=0
uhid1 at uhidev1 reportid 2: input=1, output=0, feature=0
uhidev2 at uhub4 port 2 configuration 1 interface 0
uhidev2: MacALLY USB Two Button Mini Mouse, rev 1.00/2.00, addr 4, iclass 3/1
ums0 at uhidev2: 6 buttons and Z dir.
wsmouse0 at ums0 mux 0
wdc1:0:0: lost interrupt
        type: ata tc_bcount: 512 tc_skip: 0
wdc1:0:0: intr with DRQ (st=0x58)
wd0c: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
wdc1:0:0: lost interrupt
        type: ata tc_bcount: 512 tc_skip: 0
wdc1:0:0: intr with DRQ (st=0x58)
wd0c: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
wdc1:0:0: lost interrupt
        type: ata tc_bcount: 512 tc_skip: 0
wdc1:0:0: intr with DRQ (st=0x58)
wd0c: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
wdc1:0:0: lost interrupt
        type: ata tc_bcount: 512 tc_skip: 0
wdc1:0:0: intr with DRQ (st=0x58)
wd0c: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
wd0: soft error (corrected)
wdc1:0:0: lost interrupt
        type: ata tc_bcount: 512 tc_skip: 0
wdc1:0:0: intr with DRQ (st=0x58)
wd0c: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
wdc1:0:0: lost interrupt
        type: ata tc_bcount: 512 tc_skip: 0
wdc1:0:0: intr with DRQ (st=0x58)
wd0c: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
wdc1:0:0: lost interrupt
        type: ata tc_bcount: 512 tc_skip: 0
wdc1:0:0: intr with DRQ (st=0x58)
wd0c: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
wdc1:0:0: lost interrupt
        type: ata tc_bcount: 512 tc_skip: 0
wdc1:0:0: intr with DRQ (st=0x58)
wd0c: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
wd0: soft error (corrected)
wdc1:0:0: lost interrupt
        type: ata tc_bcount: 16384 tc_skip: 0
wdc1:0:0: intr with DRQ (st=0x58)
wd0c: device timeout reading fsbn 1 of 1-32 (wd0 bn 1; cn 0 tn 0 sn 1), retrying
wdc1:0:0: lost interrupt
        type: ata tc_bcount: 16384 tc_skip: 0
wdc1:0:0: intr with DRQ (st=0x58)
wd0c: device timeout reading fsbn 1 of 1-32 (wd0 bn 1; cn 0 tn 0 sn 1), retrying
wdc1:0:0: lost interrupt
        type: ata tc_bcount: 16384 tc_skip: 0
wdc1:0:0: intr with DRQ (st=0x58)
wd0c: device timeout reading fsbn 1 of 1-32 (wd0 bn 1; cn 0 tn 0 sn 1), retrying
wdc1:0:0: lost interrupt
        type: ata tc_bcount: 16384 tc_skip: 0
wdc1:0:0: intr with DRQ (st=0x58)
wd0c: device timeout reading fsbn 1 of 1-32 (wd0 bn 1; cn 0 tn 0 sn 1), retrying
wd0: soft error (corrected)
boot device: gem0
root on gem0
nfs_boot: trying DHCP/BOOTP
nfs_boot: DHCP next-server: 171.16.4.140
nfs_boot: my_name=macppc
nfs_boot: my_domain=kwa
nfs_boot: my_addr=171.16.4.161
nfs_boot: my_mask=255.255.255.0
nfs_boot: gateway=171.16.4.173
root on 171.16.4.140:/diskless/macppc-current
root file system type: nfs
171.16.4.140:/diskless/macppc-current: inaccurate wcc data (ctime) detected, 
disabling wcc (ctime 1206206994.696000000 1206206994.696000000, mtime 
1206206994.696000000 1206206994.696000000)


Home | Main Index | Thread Index | Old Index