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

Debian Stable, G4 powermac, X11 crashes on boot with, "black screen" + therm issue?



A few weeks ago several threads went around about similar issues; 
e.g. Aaron, David, & Risto discussing "Re: Power Mac G5 Debian Wheezy / 
Problem with GeForce FX 5200 Ultra"

I thought maybe my similar problem was result of not correctly disconnecting a 
monitor, 
or caused by a recent update, 

but the problem persists now:
*System boots up, kernel text looking just awful, with lines and green flashes; 
then ultimately hangs in tty7 on a blank screen; 
after a few more seconds the last few kernel lines spew out (that the wlan is 
connected and such,) and then the display manager/login fails to come up.

* After editing yaboot.conf, and forcing the g4 1024x768 default resolution, 
the console text now looks beautiful, and it is easy to go into other terms to 
login, 
but still hangs on tty7

* I also verified that the screen cable inside the computer wasn't jammed 
against the hinge or torn up in any way.

* I also noticed that the kernel goes through about 20 lines each of 
"i2c i2c-8: therm_adt746x: attach_adapter method is deprecated: Please use 
another way to instantiate your i2c_client"
&
aoa_codec_tas: attach_adapter method is deprecated: Please use another way to 
instantiate your...

Is that the way it is supposed to be built?
Perhaps I can block aoa, but when I blacklist therm_adt, then the fan runs the 
whole time.  Here I am more concerned about the screen & noveax working, and 
just not having errors in the kernel.

* I have included excerpts from the kernel, modules, /var/log/Xorg.0.log, and 
/etc/X11/xorg.conf below

* Please let me know if it is helpful to the community to file one, or more bug 
reports?  Or I hope changing xorg.conf can fix the problem. 

Look forwad to reading everyone's comments-
j b


----------------------------------------------------------my data--------
---------------------------------------------------------
I)     Selections from dmesg:

...  0.000000] Linux version 3.2.0-4-powerpc (debian-kernel@lists.debian.org) 
(gcc version 4.6.3 (Debian 4.6.3-14) ) #1 Debian 3.2.54-2
[    0.000000] PowerMac motherboard: PowerBook G4 12"
[    0.000000] via-pmu: Server Mode is disabled
...
[    0.005505] MPC7450 family performance monitor hardware support registered
[    0.006378] devtmpfs: initialized
[    0.007240] print_constraints: dummy:
...
[    2.306778] PM: Hibernation image not present or could not be loaded.
[    2.306802] registered taskstats version 1
[    2.312202] input: PMU as /devices/virtual/input/input2
[    2.317360] Registered led device: pmu-led::front
[    2.317563] rtc-generic rtc-generic: setting system clock to 2014-03-21 
01:48:44 UTC (1395366524)
[    2.322862] Initializing network drop monitor service
..#{nouveau grep}
    3.275922] [drm] nouveau 0000:00:10.0: Detected an NV30 generation card 
(0x034900b1)
[    3.321082] fb: conflicting fb hw usage nouveaufb vs OFfb NVDA,Displ - 
removing generic driver
[    3.327949] [drm] nouveau 0000:00:10.0: OF bios successfully copied (2947 
bytes)
[    3.327983] [drm] nouveau 0000:00:10.0: Checking PRAMIN for VBIOS
[    3.373932] [drm] nouveau 0000:00:10.0: ... BIOS checksum invalid
[    3.373945] [drm] nouveau 0000:00:10.0: Checking PROM for VBIOS
[    3.374116] [drm] nouveau 0000:00:10.0: ... BIOS checksum invalid
[    3.374127] [drm] nouveau 0000:00:10.0: Checking ACPI for VBIOS
[    3.374263] [drm] nouveau 0000:00:10.0: ... BIOS checksum invalid
[    3.374274] [drm] nouveau 0000:00:10.0: Checking PCIROM for VBIOS
[    3.381937] [drm] nouveau 0000:00:10.0: ... BIOS checksum invalid
[    3.381967] [drm] nouveau 0000:00:10.0: Using VBIOS from PRAMIN
[    3.382810] [drm] nouveau 0000:00:10.0: BMP BIOS found
[    3.382821] [drm] nouveau 0000:00:10.0: BMP version 5.38
[    3.382833] [drm] nouveau 0000:00:10.0: Bios version 04.34.20.18
[    3.383852] [drm] nouveau 0000:00:10.0: I2C5: type 0 index 0/0 unknown
[    3.383873] [drm] nouveau 0000:00:10.0: I2C6: type 0 index 0/0 unknown
[    3.383975] [drm] nouveau 0000:00:10.0: I2C8: type 0 index 0/0 unknown
[    3.383988] [drm] nouveau 0000:00:10.0: I2C9: type 0 index 0/0 unknown
[    3.384000] [drm] nouveau 0000:00:10.0: I2C10: type 0 index 0/0 unknown
[    3.384012] [drm] nouveau 0000:00:10.0: I2C11: type 0 index 0/0 unknown
[    3.384025] [drm] nouveau 0000:00:10.0: I2C12: type 0 index 0/0 unknown
[    3.384037] [drm] nouveau 0000:00:10.0: I2C13: type 0 index 0/0 unknown
[    3.384049] [drm] nouveau 0000:00:10.0: I2C14: type 0 index 0/0 unknown
[    3.384061] [drm] nouveau 0000:00:10.0: I2C15: type 0 index 0/0 unknown
[    3.384075] [drm] nouveau 0000:00:10.0: MXM: no VBIOS data, nothing to do
[    3.384087] [drm] nouveau 0000:00:10.0: DCB version 2.2
[    3.384101] [drm] nouveau 0000:00:10.0: DCB outp 00: 04000223 00000004
[    3.384114] [drm] nouveau 0000:00:10.0: DCB outp 01: 01110112 11700000
[    3.384126] [drm] nouveau 0000:00:10.0: DCB outp 02: 02010110 117088b8
[    3.384138] [drm] nouveau 0000:00:10.0: DCB outp 03: 02010111 11700703
[    3.384182] [drm] nouveau 0000:00:10.0: Loading NV17 power sequencing 
microcode
[    3.384200] [drm] nouveau 0000:00:10.0: Parsing VBIOS init table 0 at offset 
0x02FA
[    3.386224] [drm] nouveau 0000:00:10.0: Parsing VBIOS init table 1 at offset 
0x0547
[    3.386249] [drm] nouveau 0000:00:10.0: Parsing VBIOS init table 2 at offset 
0x068D
[    3.386321] [drm] nouveau 0000:00:10.0: Parsing VBIOS init table 3 at offset 
0x082D
[    3.386339] [drm] nouveau 0000:00:10.0: Parsing VBIOS init table 4 at offset 
0x084A
[    3.386359] [drm] nouveau 0000:00:10.0: Parsing VBIOS init table 5 at offset 
0x0874
[    3.390488] [drm] nouveau 0000:00:10.0: Parsing VBIOS init table 6 at offset 
0x09C9
[    3.390903] [drm] nouveau 0000:00:10.0: Detected 64MiB VRAM (DDR1)
[    3.392244] [drm] nouveau 0000:00:10.0: 64 MiB GART (aperture)
[    3.401599] [drm] nouveau 0000:00:10.0: 0 available performance level(s)
[    3.401614] [drm] nouveau 0000:00:10.0: c: core 199MHz memory 445MHz
[    3.403297] [drm] nouveau 0000:00:10.0: Calling LVDS script 1:
[    3.403319] [drm] nouveau 0000:00:10.0: 0x09F2: Parsing digital output 
script table
[    3.403339] [drm] nouveau 0000:00:10.0: Calling LVDS script 6:
[    3.403350] [drm] nouveau 0000:00:10.0: 0x0A6B: Parsing digital output 
script table
[    3.891681] [drm] nouveau 0000:00:10.0: Setting dpms mode 3 on TV encoder 
(output 3)
[    3.996853] [drm] nouveau 0000:00:10.0: allocated 1024x768 fb: 0x49000, bo 
c1c5d200
[    4.007748] [drm] nouveau 0000:00:10.0: Calling LVDS script 2:
[    4.007755] [drm] nouveau 0000:00:10.0: 0x09F3: Parsing digital output 
script table
[    4.023413] [drm] nouveau 0000:00:10.0: Calling LVDS script 5:
[    4.023418] [drm] nouveau 0000:00:10.0: 0x0A54: Parsing digital output 
script table
[    4.049219] fb0: nouveaufb frame buffer device
[    4.049379] [drm] Initialized nouveau 1.0.0 20120316 for 0000:00:10.0 on 
minor 0
[    7.681124] usb 2-1: usbfs: USBDEVFS_CONTROL failed cmd hid2hci rqt 64 rq 0 
len 0 ret -62
[    7.691243] snd-aoa-fabric-layout: Using PMF GPIOs
[    7.763633] i2c i2c-0: aoa_codec_tas: attach_adapter method is deprecated
[    7.764286] i2c i2c-0: Please use another way to instantiate your 
i2c_client
[    7.764896] i2c i2c-1: aoa_codec_tas: attach_adapter method is deprecated
[    7.765472] i2c i2c-1: Please use another way to instantiate your 
i2c_client
[    7.766049] i2c i2c-2: aoa_codec_tas: attach_adapter method is deprecated
[    7.766628] i2c i2c-2: Please use another way to instantiate your 
i2c_client
[    7.767213] i2c i2c-3: aoa_codec_tas: attach_adapter method is deprecated
[    7.767795] i2c i2c-3: Please use another way to instantiate your 
i2c_client
[    7.768380] i2c i2c-4: aoa_codec_tas: attach_adapter method is deprecated
[    7.768990] i2c i2c-4: Please use another way to instantiate your 
i2c_client
[    7.769574] i2c i2c-5: aoa_codec_tas: attach_adapter method is deprecated
[    7.770153] i2c i2c-5: Please use another way to instantiate your 
i2c_client
[    7.770733] i2c i2c-6: aoa_codec_tas: attach_adapter method is deprecated
[    7.771313] i2c i2c-6: Please use another way to instantiate your 
i2c_client
[    7.771893] i2c i2c-7: aoa_codec_tas: attach_adapter method is deprecated
[    7.772469] i2c i2c-7: Please use another way to instantiate your 
i2c_client
[    7.773040] snd-aoa-codec-tas: found tas3004
[    7.780722] cfg80211: Calling CRDA to update world regulatory domain
...
[   11.174582] i2c i2c-0: therm_adt746x: attach_adapter method is deprecated
[   11.175232] i2c i2c-0: Please use another way to instantiate your 
i2c_client
[   11.175814] i2c i2c-1: therm_adt746x: attach_adapter method is deprecated
[   11.176395] i2c i2c-1: Please use another way to instantiate your 
i2c_client
[   11.177017] i2c i2c-2: therm_adt746x: attach_adapter method is deprecated
[   11.177607] i2c i2c-2: Please use another way to instantiate your 
i2c_client
[   11.178185] i2c i2c-3: therm_adt746x: attach_adapter method is deprecated
[   11.178764] i2c i2c-3: Please use another way to instantiate your 
i2c_client
[   11.179344] i2c i2c-4: therm_adt746x: attach_adapter method is deprecated
[   11.179923] i2c i2c-4: Please use another way to instantiate your 
i2c_client
[   11.180504] i2c i2c-5: therm_adt746x: attach_adapter method is deprecated
[   11.181088] i2c i2c-5: Please use another way to instantiate your 
i2c_client
[   11.181669] i2c i2c-6: therm_adt746x: attach_adapter method is deprecated
[   11.182246] i2c i2c-6: Please use another way to instantiate your 
i2c_client
[   11.182824] i2c i2c-7: therm_adt746x: attach_adapter method is deprecated
[   11.183401] i2c i2c-7: Please use another way to instantiate your 
i2c_client
[   11.183976] i2c i2c-8: therm_adt746x: attach_adapter method is deprecated
[   11.184553] i2c i2c-8: Please use another way to instantiate your 
i2c_client
[   11.196844] adt746x: ADT7467 initializing
[   11.204052] adt746x: Lowering max temperatures from 73, 80, 109 to 70, 50, 
70
...


II)     lsmod | grep nouveax 

nouveau               687638  1 
power_supply           10967  1 nouveau
ttm                    49196  1 nouveau
drm_kms_helper         25552  1 nouveau
drm                   171547  3 drm_kms_helper,ttm,nouveau


III)  Excerpts from /var/log/Xorg.0.log

...
[    29.413] (==) Using config file: "/etc/X11/xorg.conf"
[    29.413] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    29.472] (==) No Layout section.  Using the first Screen section.
[    29.472] (**) |-->Screen "Default Screen" (0)
[    29.472] (**) |   |-->Monitor "<default monitor>"
[    29.550] (**) |   |-->Device "Configured Video Device"
[    29.550] (==) No monitor specified for screen "Default Screen".
	Using a default monitor configuration.
[    29.550] (==) Automatically adding devices
[    29.550] (==) Automatically enabling devices
...
[    29.764] (II) Module dbe: vendor="X.Org Foundation"
[    29.764] 	compiled for 1.12.4, module version = 1.0.0
[    29.764] 	Module class: X.Org Server Extension
[    29.764] 	ABI class: X.Org Server Extension, version 6.0
[    29.764] (II) Loading extension DOUBLE-BUFFER
[    29.764] (II) LoadModule: "glx"
[    29.764] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    29.801] (II) Module glx: vendor="X.Org Foundation"
[    29.801] 	compiled for 1.12.4, module version = 1.0.0
[    29.801] 	ABI class: X.Org Server Extension, version 6.0
[    29.801] (==) AIGLX enabled
[    29.801] (II) Loading extension GLX
[    29.801] (II) LoadModule: "record"
[    29.801] (II) Loading /usr/lib/xorg/modules/extensions/librecord.so
[    29.843] (II) Module record: vendor="X.Org Foundation"
[    29.844] 	compiled for 1.12.4, module version = 1.13.0
[    29.844] 	Module class: X.Org Server Extension
[    29.844] 	ABI class: X.Org Server Extension, version 6.0
[    29.844] (II) Loading extension RECORD
[    29.844] (II) LoadModule: "dri"
[    29.844] (II) Loading /usr/lib/xorg/modules/extensions/libdri.so
[    29.872] (II) Module dri: vendor="X.Org Foundation"
[    29.872] 	compiled for 1.12.4, module version = 1.0.0
[    29.872] 	ABI class: X.Org Server Extension, version 6.0
[    29.873] (II) Loading extension XFree86-DRI
[    29.873] (II) LoadModule: "dri2"
[    29.873] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
[    29.885] (II) Module dri2: vendor="X.Org Foundation"
[    29.885] 	compiled for 1.12.4, module version = 1.2.0
[    29.885] 	ABI class: X.Org Server Extension, version 6.0
[    29.885] (II) Loading extension DRI2
[    29.885] (II) LoadModule: "nouveax"
[    29.918] (WW) Warning, couldn't open module nouveax
[    29.918] (II) UnloadModule: "nouveax"
[    29.918] (II) Unloading nouveax
[    29.918] (EE) Failed to load module "nouveax" (module does not exist, 0)
[    29.918] (EE) No drivers available.
[    29.918] 
Fatal server error:
[    29.918] no screens found
[    29.918] 
...



IV)      /etc/X11/xorg.conf

#created this file to help troubleshoot x crashes on startup (e.g. with 
Nouveax)

Section "Device"
	Identifier "Configured Video Device"
	BusID	"PCI:240:16:0" #also maybe not correct, but trying to ignore 
monitor anyway
	Driver	"nouveax"
	Option	"Monitor-DVI-1" "Configured Monitor"
	#try TV instead of DVI above?
	Option	"Ignore" "true"
	Option	"NoAccel" "true"
EndSection

Section "Monitor"
	Identifier "Configured Monitor"
	Option "Ignore"	"true"
EndSection

#is this the default screen? It is actually in my case the only one I use
Section "Screen"
	Identifier "Default Screen"
	Device	"Configured Video Device"
	Option	"NoAccel" "true"
	#not sure if NoAccel is require above (have tried with and without)
EndSection


-----------------------------------------------end of----my data--------
---------------------------------------------------------





On Monday 03 March 2014 16:49:18 Aaron Valdes wrote:
> Risto,
> 
> Thanks for your help.
> 
> The port I am using is DVI (DVI-I-2)
> 
> When booting I ran with this line and the display came up.
> 
> boot: Linux video=TV-1:d
> 
> My xorg.conf is:
> 
> Section "Device"
>     Identifier    "FX5200"
>     BusID        "PCI:240:16:0"
>     Driver          "nouveau"
>     Option	"Monitor-DVI-I-1" "ADC_Port"
>     Option	"Monitor-DVI-I-2" "DVI_Port"
>     Option	"Monitor-TV-1" "TV_Port"
> EndSection
> 
> Section "Monitor"
>     Identifier    "DVI_Port"
> EndSection
> 
> Section "Monitor"
>     Identifier	"ADC_Port"
>     Option	"Ignore" "true"
> EndSection
> 
> Section "Monitor"
>     Identifier    "TV_Port"
>     Option	"Ignore" "true"
> EndSection
> 
> Section "Screen"
>     Identifier    "Default Screen"
>     Device        "FX5200"
>         DefaultDepth    24
>            SubSection       "Display"
>              Depth            24
> 	     Virtual 1280 1024
>            EndSubSection
> EndSection
> 
> Section "ServerLayout"
> 	Identifier	"Default Layout"
> 	Screen		"Default Screen"
> EndSection
> 
> Can you please post what your xorg.conf file is?
> 
> Is there a solution where I don't need to run this line.
> 
> boot: Linux video=TV-1:d
> 
> I am using Debian Wheezy.
> 
> Thanks again for pointing me in the correct place.
> 
> Aaron
> 
> On Sun, 2014-03-02 at 17:11 +0200, Risto Suominen wrote:
> > 2014-03-02 15:12 UTC+02.00, Aaron Valdes <aaron78valdes@gmail.com>:
> > > This is Debian Wheezy on the Power Mac G5 with GeForce FX 5200 Ultra.
> > 
> > I have exactly the same machine. Kernel is 3.1.0-1-powerpc64.
> > 
> > Which output connector are you using, DVI (DVI-I-2) or ADC (DVI-I-1)?
> > 
> > If you can ssh into the machine, take a look at /var/log/Xorg.0.log.
> > 
> > Risto


Reply to: