Skip to contentSkip to conversation

hvc_iseries not working

DISCUSSION Olaf Hering 3 participants 4 messages Jul 13, 2007 – Jul 17, 2007

lore
Share & tools
lore
#0 lore raw

2.6.21 arch/powerpc/configs/iseries_defconfig works on an i825 with v5r4 2.6.22 arch/powerpc/configs/iseries_defconfig does not. But it works on a i820 with v5r3.
2.6.22 boots ok with CONFIG_VIOCONS

It gets up to this point:

vio_bus_init: processing c0000000fbfff570
vio_bus_init: processing c0000000fbfff6b0
vio_bus_init: processing c0000000fbfff7f0
vio_bus_init: processing c0000000fbfff930
vio_bus_init: processing c0000000fbfffa70
vio_bus_init: processing c0000000fbfffbb0
audit: initializing netlink socket (disabled) audit(1184327881.720:1): initialized
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
viopath: opening connection to partition 0, setting sinst 32778, tinst 32769
hvc: hosting partition 0
vio_register_driver: driver hvc_console registering
Generic RTC Driver v1.07
RAMDISK driver initialized: 16 RAM disks of 65536K size 1024 blo

with ppc64_defconfig it looks like that:

audit: initializing netlink socket (disabled) audit(1184326841.030:1): initialized
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
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
HVSI: registered 0 devices
viopath: opening connection to partition 0, setting sinst 32774, tinst 32769
hvc: hosting partition 0
vio_register_driver: driver hvc_console registering
Generic RTC Driver v1.07
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing

#1 lore raw

On Fri, Jul 13, 2007 at 07:05:40PM +0200, Olaf Hering wrote:

Hi Olaf,

Quoted 4 lines

2.6.21 arch/powerpc/configs/iseries_defconfig works on an i825 with v5r4 2.6.22 arch/powerpc/configs/iseries_defconfig does not. But it works on a i820 with v5r3.
2.6.22 boots ok with CONFIG_VIOCONS

Rats!
Can you send me the complete dmesg and .config for each kernel.
I'll poke at this whne I get to work on Monday.

Yours Tony

linux.conf.au http://linux.conf.au/ || http://lca2008.linux.org.au/
Jan 28 - Feb 02 2008 The Australian Linux Technical Conference!

#2 lore raw
In reply to Olaf Hering
Quoted 4 lines · Olaf Hering

2.6.21 arch/powerpc/configs/iseries_defconfig works on an i825 with v5r4 2.6.22 arch/powerpc/configs/iseries_defconfig does not. But it works on a i820 with v5r3.
2.6.22 boots ok with CONFIG_VIOCONS

When it works, do you have more than one processor assigned to the partition?

I noticed something similar last last week. What I've narrowed down so far, is that it only fails in a single-processor partition, (dedicated or shared doesnt matter). if I assign another proc, the partition boots as expected.

turning on initcall_debug, output to the console stops after we get as far as hvc_vio_init().

a small sampling of register dumps show us in these places:
put_chars() calling spin_lock_irqsave() put_chars() calling vio_get_event_buffer() put_chars() calling vio_free_event_buffer() spin_unlock_irqrestore() calling local_irq_restore()

Quoted 47 lines

It gets up to this point:

vio_bus_init: processing c0000000fbfff570
vio_bus_init: processing c0000000fbfff6b0
vio_bus_init: processing c0000000fbfff7f0
vio_bus_init: processing c0000000fbfff930
vio_bus_init: processing c0000000fbfffa70
vio_bus_init: processing c0000000fbfffbb0
audit: initializing netlink socket (disabled) audit(1184327881.720:1): initialized
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
viopath: opening connection to partition 0, setting sinst 32778, tinst 32769
hvc: hosting partition 0
vio_register_driver: driver hvc_console registering
Generic RTC Driver v1.07
RAMDISK driver initialized: 16 RAM disks of 65536K size 1024 blo

with ppc64_defconfig it looks like that:

audit: initializing netlink socket (disabled) audit(1184326841.030:1): initialized
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
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
HVSI: registered 0 devices
viopath: opening connection to partition 0, setting sinst 32774, tinst 32769
hvc: hosting partition 0
vio_register_driver: driver hvc_console registering
Generic RTC Driver v1.07
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing

_______________________________________________
Linuxppc-dev mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-dev

#3 lore raw
Quoted 8 lines · Will Schmidt
Quoted 4 lines · Olaf Hering

2.6.21 arch/powerpc/configs/iseries_defconfig works on an i825 with v5r4 2.6.22 arch/powerpc/configs/iseries_defconfig does not. But it works on a i820 with v5r3.
2.6.22 boots ok with CONFIG_VIOCONS

When it works, do you have more than one processor assigned to the partition?

The partition does not change, only the kernel (And iseries_defconfig) changes. The partition has a single cpu assigned, 0.8 %