Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] can't boot ibm p44 170
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
ezakimak2
n00b
n00b


Joined: 09 Feb 2009
Posts: 12

PostPosted: Wed Feb 11, 2009 3:48 pm    Post subject: [SOLVED] can't boot ibm p44 170 Reply with quote

I have an ibm p44 170 w/gentoo on it (someone installed from 2005 or so) w/2.6.17.
I'm trying to update the kernel, but am not having any luck building one that will boot it.
Also, I have not been able to get any of the four kernels on the 2008.0 install cd to boot.
All give the same error:

The kernel starts to load, then the screen goes white (from black) and displays:

Instantiating rtas at 0x0ffe5000....done
Copying OF device tree
Building dt strings
Building dt structure
Devicetree strings 0x03e4e000-> 0x03e4eed7
Devicetree structure 0x03e4f000-> 0x03e53000
Calling quiesce
returning from prom_init

and it hangs here.

Does anyone know how to boot the 2008.0 install cd on this hardware?
Does anyone have a working kernel config for a recent kernel on this machine?


Last edited by ezakimak2 on Fri Feb 13, 2009 6:23 pm; edited 1 time in total
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Wed Feb 11, 2009 5:45 pm    Post subject: Reply with quote

On apple machines with this type of error, it's commonly fixed by ensuring that the correct framebuffer driver is built in. Make sure there is an initial console (serial or fb) and this should work.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
ezakimak2
n00b
n00b


Joined: 09 Feb 2009
Posts: 12

PostPosted: Wed Feb 11, 2009 10:43 pm    Post subject: Reply with quote

I've tried both w/all the fbs, and w/o any at all, all to no avail.
I have been unsuccessful at getting a serial console to work on this machine.
As a baseline test, I took the /proc/config.gz from the kernel that does work (2.6.17-r5), did a make oldconfig on the current 2.6.27-r7 and built that kernel. I got the exact same hang. So, something must be different, I just am stumped as to what.

What are the exact steps you normally do to create a kernel on this box? The docs are a bit vague, as there's more than one way to do it for the ppc lineup depending on your specific machine. (PReP/CHRP/old world/new world/etc)
"make help" shows the targets pseries_defconfig and ppc64_defconfig.

I've tried the kernel made by make pseries_defconfig, and also got the same hang.

I assume, it's intended that you do a make pseries_defconfig, then make <x>config to customize and that should be it...

lspci shows:
0001:40:0b.0 VGA compatible controller: IBM 256-bit Graphics Rasterizer [Fire GL1] (rev 02)
which I think is typical for this box.

dmesg shows:
vio_register_driver: driver hvc_console registering
HVSI: registered 0 devices
Generic RTC Driver v1.07
Using unsupported 1280x1024 display at de000000, depth=8, pitch=4096
Console: switching to colour frame buffer device 160x64
fb0: Open Firmware frame buffer device on /pci@fee00000/display@b

which is a bit confusing, mentioning the hvc console, and the openfirmware fb devices. I'm not sure what the difference is, and there's no mention of the pci card, so I'm guessing that the openfirmware is acting as the driver for it.

If someone has a working .config for the latest 2.6.27-r7 kernel for this machine, could you please send it to me or post it?
Back to top
View user's profile Send private message
ezakimak2
n00b
n00b


Joined: 09 Feb 2009
Posts: 12

PostPosted: Wed Feb 11, 2009 11:47 pm    Post subject: Reply with quote

Okay, I managed to get output from the serial console working. (but not input, I don't think the cable has the right pinout)
I unplugged the keyboard and monitor first.
It gets further, but still hangs, here is the output:

Welcome to yaboot version 1.3.13
Enter "help" to get some basic usage information
boot: Linux
Please wait, loading kernel...
Elf64 kernel loaded...
OF stdout device is: /pci@fef00000/isa@b/serial@i3f8
command line: root=/dev/hda3 ro root=/dev/sda3
memory layout at init:
alloc_bottom : 0000000001c8d000
alloc_top : 0000000030000000
alloc_top_hi : 0000000040000000
rmo_top : 0000000030000000
ram_top : 0000000040000000
Looking for displays
found display : /pci@fee00000/display@b, opening ... done
opening PHB /pci@fef00000... done
opening PHB /pci@fee00000... done
instantiating rtas at 0x000000002ffb5000 ... done
boot cpu hw idx 0000000000000000
copying OF device tree ...
Building dt strings...
Building dt structure...
Device tree strings 0x0000000001e8e000 -> 0x0000000001e8efba
Device tree struct 0x0000000001e8f000 -> 0x0000000001e94000
Calling quiesce ...
returning from prom_init
Using pSeries machine description
console [udbg0] enabled
CPU maps initialized for 1 thread per core
Starting Linux PPC64 #6 SMP Wed Feb 11 15:51:28 MST 2009
-----------------------------------------------------
ppc64_pft_size = 0x0
physicalMemorySize = 0x40000000
htab_address = 0xc00000003e000000
htab_hash_mask = 0x1ffff
-----------------------------------------------------
Linux version 2.6.27-gentoo-r7 (root@ppc64_build) (gcc version 3.4.6 (Gentoo 3.4.6-r2, ssp-3.4.6-1.0, pie-8.7.10)) #9
[boot]0012 Setup Arch
Python workaround: reg0: 18e3388
PCI host bridge /pci@fef00000 ranges:
IO 0x00000000f8000000..0x00000000f8ffffff -> 0x0000000000000000
MEM 0x00000000c0000000..0x00000000ceffffff -> 0x00000000c0000000
MEM 0x00000000cf000000..0x00000000cfffffff -> 0x0000000000000000
Removing ISA hole at 0x00000000cf000000
Python workaround: reg0: 18eb788
PCI host bridge /pci@fee00000 ranges:
IO 0x00000000f9000000..0x00000000f9ffffff -> 0x0000000000000000
MEM 0x00000000d0000000..0x00000000dfffffff -> 0x00000000d0000000
PPC64 nvram contains 110592 bytes
Zone PFN ranges:
DMA 0x00000000 -> 0x00040000
Normal 0x00040000 -> 0x00040000
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
0: 0x00000000 -> 0x00040000
[boot]0015 Setup Done
Built 1 zonelists in Node order, mobility grouping on. Total pages: 258560
Policy zone: DMA
Kernel command line: root=/dev/hda3 ro root=/dev/sda3
mpic: Setting up MPIC " MPIC " version 1.2 at ffc00000, max 8 CPUs
mpic: ISU size: 16, shift: 4, mask: f
mpic: Initializing for 32 sources
mpic: Detected reversed IPI registers
i8259 legacy interrupt controller initialized
PID hash table entries: 4096 (order: 12, 32768 bytes)
clocksource: timebase mult[2a0b1b0] shift[22] registered
Console: colour dummy device 80x25
Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
Inode-cache hash table entries: 65536 (order: 7, 524288 bytes)
freeing bootmem node 0
Memory: 990552k/1048576k available (7052k kernel code, 58024k reserved, 1040k data, 512k bss, 300k init)
Calibrating delay loop... 189.95 BogoMIPS (lpj=379904)
Mount-cache hash table entries: 256
device-tree: Duplicate name in /cpus/PowerPC,POWER3@0, renamed to "l2-cache#1"
Brought up 1 CPUs
net_namespace: 1152 bytes
NET: Registered protocol family 16
PCI: Probing PCI hardware
IOMMU table initialized, virtual merging disabled
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
NET: Registered protocol family 2
IP route cache hash table entries: 32768 (order: 6, 262144 bytes)
TCP established hash table entries: 131072 (order: 9, 2097152 bytes)
TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
TCP reno registered
NET: Registered protocol family 1
squashfs: version 3.4 (2008/08/26) Phillip Lougher
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
msgmni has been set to 1934
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
rpaphp: RPA HOT Plug PCI Controller Driver version: 0.1
rpadlpar_io_init: partition not DLPAR capable
Generic RTC Driver v1.07
Using unsupported 1280x1024 display at ddfa0000, depth=8, pitch=1


At this point I plugged in the monitor to see what was there, it was all white, blank screen.
This is with the pseries_defconfig, and I made sure offramebuffer was enabled (which it was).

If I can find a cable that works, I'll try w/console=ttyS0 and see if that gets me any farther.
Maybe pulling out the video card will help as well.

Oh, the cable I'm using is a cisco, 9-pin dba to rj45 to rj45-to-25-pin-dba adapter that works on sun boxes.
I'm guessing I need a regular null-modem cable.
Back to top
View user's profile Send private message
trigggl
Apprentice
Apprentice


Joined: 26 Aug 2007
Posts: 234
Location: Arkansas

PostPosted: Thu Feb 12, 2009 4:42 pm    Post subject: Reply with quote

What video card are you trying to use? The video card is almost always the problem.

Here's something you can try. If you know how to connect over a serial terminal, remove the video card altogether. Then, I guarantee it will boot. Once you get an install going, use ssh to finish it. I don't even have a monitor connected to mine right now.

I can email you a working .config if you want. Then you can use "make oldconfig".

One more thing. Are you using a null modem cable? You can't just use a modem cable.

Do you live in Arkansas? I may be the one that gave it to you. If so ssh is/was already working.

I can email my config if you allow emails in your profile. I have one for that kernel.
_________________
Greg
Back to top
View user's profile Send private message
ezakimak2
n00b
n00b


Joined: 09 Feb 2009
Posts: 12

PostPosted: Fri Feb 13, 2009 6:22 pm    Post subject: [SOLVED] can't boot ibm p44 170 Reply with quote

Thanks to some good tips:

1) remove the video card completely, apparently every kernel since 2.6.17 will not support most video cards on ibm power anymore.
2) my serial console still doesn't work fully (output only), but my ssh server is running so I'm good for now

here's the kernel bugzilla entry:

http://bugzilla.kernel.org/show_bug.cgi?id=8372

here's another forum post about the video card:

https://forums.gentoo.org/viewtopic-t-589907-highlight-gxt2000.html
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum