PowerMac G5上的Debian PPC启动到空白屏幕

作为一个侧面项目,我想我会尝试将Debian(挤压)扔在旧的G5 PowerMac上.它安装得很好,但在引导加载程序和内核启动输出后,屏幕变为空白.看起来像视频模式问题或其他什么,但我找不到在哪里更改它. X未安装,因此应该启动到登录提示.

有任何想法吗?

编辑:我遇到了同样的问题,在空白之后我一直在做的事情是从安装CD上的rescue64系统查看/ var / log / messages.实际上,事实证明,在屏幕闪烁之前我看到的线条变为空白并进入日志.它们是(我必须输入它,因为我没有设法从救援系统中取出机器):

[drm] Initialized drm 1.1.0 20060810
[drm] nouveau 0000:f0:10.0: Detected an NV30 generation card (0x034100b1)
[drm] nouveau 0000:f0:10.0: OF bios successfully copied (2403 bytes)
[drm] nouveau 0000:f0:10.0: Attempting to load BIOS image from PROM
[drm] nouveau 0000:f0:10.0: ... BIOS checksum invalid
[drm] nouveau 0000:f0:10.0: Attempting to load BIOS image from PRAMIN
[drm] nouveau 0000:f0:10.0: ... BIOS checksum invalid
[drm] nouveau 0000:f0:10.0: Attempting to load BIOS image from PCIROM
[drm] nouveau 0000:f0:10.0: ... BIOS signature not found
[drm] nouveau 0000:f0:10.0: Using BIOS image from PRAMIN
[drm] nouveau 0000:f0:10.0: BMP BIOS found
[drm] nouveau 0000:f0:10.0: BMP version 5.39
[drm] nouveau 0000:f0:10.0: Bios version 04.34.20.19
[drm] nouveau 0000:f0:10.0: Found Display COnfiguration Block version 2.2
[drm] nouveau 0000:f0:10.0: Raw DCB entry 0: 01100102 00000000
[drm] nouveau 0000:f0:10.0: Raw DCB entry 1: 01000100 000088b8
[drm] nouveau 0000:f0:10.0: Raw DCB entry 2: 02110212 11b00000
[drm] nouveau 0000:f0:10.0: Raw DCB entry 3: 02010210 11b088b8
[drm] nouveau 0000:f0:10.0: Raw DCB entry 4: 02010211 11b00003
[drm] nouveau 0000:f0:10.0: Parsing VBIOS init table 0 at offset 0x020A
[drm] nouveau 0000:f0:10.0: Parsing VBIOS init table 1 at offset 0x0457
[drm] nouveau 0000:f0:10.0: Parsing VBIOS init table 2 at offset 0x059D
[drm] nouveau 0000:f0:10.0: Parsing VBIOS init table 3 at offset 0x0723
[drm] nouveau 0000:f0:10.0: Parsing VBIOS init table 4 at offset 0x0740
[drm] nouveau 0000:f0:10.0: Parsing VBIOS init table 5 at offset 0x075D
[drm] nouveau 0000:f0:10.0: Parsing VBIOS init table 6 at offset 0x08E2
[TTM] ZOne  kernel: Available graphics memory: 609784 kiB.
[drm] nouveau 0000:f0:10.0: 64 BiB VRAM
[drm] nouveau 0000:f0:10.0: 64 MiB GART (aperture)
[drm] nouveau 0000:f0:10.0: Allocating FIFO number 0
[drm] nouveau 0000:f0:10.0: nouveau_channel_alloc: initialised FIFO 0
[drm] nouveau 0000:f0:10.0: Initial CRTC_OWNER is 0
[drm] nouveau 0000:f0:10.0: Detected a DVI-I connector
[drm] nouveau 0000:f0:10.0: Detected a DVI-I connector
[drm] nouveau 0000:f0:10.0: Detected a TV connector
[drm] nouveau 0000:f0:10.0: Setting dpms mode 3 on tmds encoder (output 0)
[drm] nouveau 0000:f0:10.0: Setting dpms mode 3 on vga encoder (output 1)
[drm] nouveau 0000:f0:10.0: Setting dpms mode 3 on tmds encoder (output 2)
[drm] nouveau 0000:f0:10.0: Setting dpms mode 3 on vga encoder (output 3)
[drm] nouveau 0000:f0:10.0: Setting dpms mode 3 on TV encoder (output 4)
composite sync not supported
windfarm: SMU failed new fan command falling back to old method
[drm] nouveau 0000:f0:10.0: Load detected on output B
[drm] nouveau 0000:f0:10.0: allocated 720x576 fb: 0x49000, bo c00000004945e000
Console: switching to colour dummy device 80x25
Trying to free nonexistent resource <0000000098004000-000000009807bfff>
Console: switching to colour frame buffer device 90x36
[drm] nouveau 0000:f0:10.0: Setting dpmc mode 0 on TV encoder (output 4)
[drm] nouveau 0000:f0:10.0: Output TV-1 is running on CRTC 1 using output B
fb0: nouveaufb frame buffer device
registered panic notifier
[drm] Initialized nouveau 0.0.15 20090420 for 0000:f0:10.0 on minor 0

请注意:nosplash video = ofonly fb = false已附加到内核命令行,但没有帮助.此外,默认情况下添加了这些参数(安装程序也这样做了).

另请注意:将其更改为nosplash fb = false不会改变任何事情.

还有一件事:安装程序CD中的rescue64环境完全正常.它似乎也可以切换分辨率(或者只是字体?)但不会以空白屏幕结束……

最佳答案
好吧,回答我(看上面的编辑)自己的问题.

我的直觉显然是正确的,或者是部分正确的.日志中提到的nouveau模块(参见上面编辑的问题)是罪魁祸首.

>像往常一样安装Debian 6
>安装后重新启动
>选择再次从CD启动,这次在CD的启动提示符下输入rescue64
>回答有关区域设置和键盘设置以及机器名称的问题,然后在根分区中执行shell
>(可选)将任何丢失的分区安装到/ target内的文件夹中(例如潜在的/ boot挂载点) – 请记住,您可以使用已创建的其他TTY(在我的情况下,使用Alt F1到Alt F4)
>现在去编辑/etc/modprobe.d/blacklist.local.conf(从我看到的,只有nano(1)可用.如果您不记得:它是无模式的,您只需将光标导航到该位置你想要,然后插入任何字符,然后用Ctrl O或F3保存,然后用Ctrl X退出.
>在上一步中打开的文件中的最后一个黑名单行下添加黑名单行黑名单
>运行update-initramfs -u -k all以确保您的更改生效
>重新启动你的Debian.这次你应该看到登录提示(可能在一些fsck运行之后)

对于懒人,安装后不要重启(步骤2),而是切换到TTY2左右,然后运行chroot / target / bin / bash,并按照上面步骤6开始的步骤进行操作.

我只是做了第一个版本来记录我为完成这项工作所做的工作.即调查问题,然后解决它.

如果你们其中一个人对我们之间做了更改/etc/yaboot.conf,请撤消你的更改并运行ybin -v(作为超级用户)让你的驱动器拥有“Holy Penguin Pee”:

$sudo ybin -v
ybin: Finding OpenFirmware device path to `/dev/sda2'...
ybin: Installing first stage bootstrap /usr/lib/yaboot/ofboot onto /dev/sda2...
ybin: Installing primary bootstrap /usr/lib/yaboot/yaboot onto /dev/sda2...
ybin: Installing /etc/yaboot.conf onto /dev/sda2...
ybin: Setting attributes on ofboot...
ybin: Setting attributes on yaboot...
ybin: Setting attributes on yaboot.conf...
ybin: Blessing /dev/sda2 with Holy Penguin Pee...
ybin: Updating OpenFirmware boot-device variable in nvram...

在下面找到我手动输入的逐字日志内容:

May 15 01:01:10 freyja kernel: [    9.589577] [drm] Initialized drm 1.1.0 20060810
May 15 01:01:10 freyja kernel: [   10.151602] [drm] nouveau 0000:f0:10.0: Detected an NV30 generation card (0x034100b1)
May 15 01:01:10 freyja kernel: [   10.175308] [drm] nouveau 0000:f0:10.0: OF bios successfully copied (2403 bytes)
May 15 01:01:10 freyja kernel: [   10.184505] [drm] nouveau 0000:f0:10.0: Attempting to load BIOS image from PROM
May 15 01:01:10 freyja kernel: [   10.334022] [drm] nouveau 0000:f0:10.0: ... BIOS checksum invalid
May 15 01:01:10 freyja kernel: [   10.338877] [drm] nouveau 0000:f0:10.0: Attempting to load BIOS image from PRAMIN
May 15 01:01:10 freyja kernel: [   10.392373] [drm] nouveau 0000:f0:10.0: ... BIOS checksum invalid
May 15 01:01:10 freyja kernel: [   10.397270] [drm] nouveau 0000:f0:10.0: Attempting to load BIOS image from PCIROM
May 15 01:01:10 freyja kernel: [   10.412406] [drm] nouveau 0000:f0:10.0: ... BIOS signature not found
May 15 01:01:10 freyja kernel: [   10.417552] [drm] nouveau 0000:f0:10.0: Using BIOS image from PRAMIN
May 15 01:01:10 freyja kernel: [   10.466924] [drm] nouveau 0000:f0:10.0: BMP BIOS found
May 15 01:01:10 freyja kernel: [   10.471646] [drm] nouveau 0000:f0:10.0: BMP version 5.39
May 15 01:01:10 freyja kernel: [   10.476408] [drm] nouveau 0000:f0:10.0: Bios version 04.34.20.19
May 15 01:01:10 freyja kernel: [   10.481141] [drm] nouveau 0000:f0:10.0: Found Display Configuration Block version 2.2
May 15 01:01:10 freyja kernel: [   10.490332] [drm] nouveau 0000:f0:10.0: Raw DCB entry 0: 01100102 00000000
May 15 01:01:10 freyja kernel: [   10.495056] [drm] nouveau 0000:f0:10.0: Raw DCB entry 1: 01000100 000088b8
May 15 01:01:10 freyja kernel: [   10.499659] [drm] nouveau 0000:f0:10.0: Raw DCB entry 2: 02110212 11b00000
May 15 01:01:10 freyja kernel: [   10.504234] [drm] nouveau 0000:f0:10.0: Raw DCB entry 3: 02010210 11b088b8
May 15 01:01:10 freyja kernel: [   10.508838] [drm] nouveau 0000:f0:10.0: Raw DCB entry 4: 02010211 11b00003
May 15 01:01:10 freyja kernel: [   10.513706] [drm] nouveau 0000:f0:10.0: Parsing VBIOS init table 0 at offset 0x020A
May 15 01:01:10 freyja kernel: [   10.547388] [drm] nouveau 0000:f0:10.0: Parsing VBIOS init table 1 at offset 0x0457
May 15 01:01:10 freyja kernel: [   10.556131] [drm] nouveau 0000:f0:10.0: Parsing VBIOS init table 2 at offset 0x059D
May 15 01:01:10 freyja kernel: [   10.564761] [drm] nouveau 0000:f0:10.0: Parsing VBIOS init table 3 at offset 0x0723
May 15 01:01:10 freyja kernel: [   10.573488] [drm] nouveau 0000:f0:10.0: Parsing VBIOS init table 4 at offset 0x0740
May 15 01:01:10 freyja kernel: [   10.582329] [drm] nouveau 0000:f0:10.0: Parsing VBIOS init table 5 at offset 0x075D
May 15 01:01:10 freyja kernel: [   10.599427] [drm] nouveau 0000:f0:10.0: Parsing VBIOS init table 6 at offset 0x08E2
May 15 01:01:10 freyja kernel: [   10.635233] [TTM] Zone  kernel: Available graphics memory: 609784 kiB.
May 15 01:01:10 freyja kernel: [   10.640736] [drm] nouveau 0000:f0:10.0: 64 MiB VRAM
May 15 01:01:10 freyja kernel: [   10.657097] [drm] nouveau 0000:f0:10.0: 64 MiB GART (aperture)
May 15 01:01:10 freyja kernel: [   10.662541] [drm] nouveau 0000:f0:10.0: Allocating FIFO number 0
May 15 01:01:10 freyja kernel: [   10.668951] [drm] nouveau 0000:f0:10.0: nouveau_channel_alloc: initialised FIFO 0
May 15 01:01:10 freyja kernel: [   10.678762] [drm] nouveau 0000:f0:10.0: Initial CRTC_OWNER is 0
May 15 01:01:10 freyja kernel: [   10.684222] [drm] nouveau 0000:f0:10.0: Detected a DVI-I connector
May 15 01:01:10 freyja kernel: [   10.689702] [drm] nouveau 0000:f0:10.0: Detected a DVI-I connector
May 15 01:01:10 freyja kernel: [   10.695849] [drm] nouveau 0000:f0:10.0: Detected a TV connector
May 15 01:01:10 freyja kernel: [   10.703132] [drm] nouveau 0000:f0:10.0: Setting dpms mode 3 on tmds encoder (output 0)
May 15 01:01:10 freyja kernel: [   10.713152] [drm] nouveau 0000:f0:10.0: Setting dpms mode 3 on vga encoder (output 1)
May 15 01:01:10 freyja kernel: [   10.723157] [drm] nouveau 0000:f0:10.0: Setting dpms mode 3 on tmds encoder (output 2)
May 15 01:01:10 freyja kernel: [   10.735303] [drm] nouveau 0000:f0:10.0: Setting dpms mode 3 on vga encoder (output 3)
May 15 01:01:10 freyja kernel: [   10.745292] [drm] nouveau 0000:f0:10.0: Setting dpms mode 3 on TV encoder (output 4)
May 15 01:01:10 freyja kernel: [   10.931817] composite sync not supported
May 15 01:01:10 freyja kernel: [   10.963409] [drm] nouveau 0000:f0:10.0: Load detected on output B
May 15 01:01:10 freyja kernel: [   10.968590] [drm] nouveau 0000:f0:10.0: allocated 720x576 fb: 0x49000, bo c000000049f1fa00
May 15 01:01:10 freyja kernel: [   10.988557] Console: switching to colour dummy device 80x25
May 15 01:01:10 freyja kernel: [   10.991886] Trying to free nonexistent resource <0000000098004000-000000009807bfff>
May 15 01:01:10 freyja kernel: [   10.992864] Console: switching to colour frame buffer device 90x36
May 15 01:01:10 freyja kernel: [   11.003430] [drm] nouveau 0000:f0:10.0: Setting dpms mode 0 on TV encoder (output 4)
May 15 01:01:10 freyja kernel: [   11.003440] [drm] nouveau 0000:f0:10.0: Output TV-1 is running on CRTC 1 using output B
May 15 01:01:10 freyja kernel: [   11.004528] fb0: nouveaufb frame buffer device
May 15 01:01:10 freyja kernel: [   11.004540] registered panic notifier
May 15 01:01:10 freyja kernel: [   11.004560] [drm] Initialized nouveau 0.0.15 20090420 for 0000:f0:10.0 on minor 0

(时间因机器时间而偏斜,我没有时间旅行)

转载注明原文:PowerMac G5上的Debian PPC启动到空白屏幕 - 代码日志