linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* hvc_iseries not working
@ 2007-07-13 17:05 Olaf Hering
  2007-07-13 21:15 ` Tony Breeds
  2007-07-16 15:39 ` Will Schmidt
  0 siblings, 2 replies; 4+ messages in thread
From: Olaf Hering @ 2007-07-13 17:05 UTC (permalink / raw)
  To: linuxppc-dev


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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: hvc_iseries not working
  2007-07-13 17:05 hvc_iseries not working Olaf Hering
@ 2007-07-13 21:15 ` Tony Breeds
  2007-07-16 15:39 ` Will Schmidt
  1 sibling, 0 replies; 4+ messages in thread
From: Tony Breeds @ 2007-07-13 21:15 UTC (permalink / raw)
  To: Olaf Hering; +Cc: linuxppc-dev

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

Hi Olaf,
 
> 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!

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: hvc_iseries not working
  2007-07-13 17:05 hvc_iseries not working Olaf Hering
  2007-07-13 21:15 ` Tony Breeds
@ 2007-07-16 15:39 ` Will Schmidt
  2007-07-17 12:02   ` Olaf Hering
  1 sibling, 1 reply; 4+ messages in thread
From: Will Schmidt @ 2007-07-16 15:39 UTC (permalink / raw)
  To: Olaf Hering; +Cc: linuxppc-dev

On Fri, 2007-07-13 at 19:05 +0200, Olaf Hering wrote:
> 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()
	



> 
> 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
> Linuxppc-dev@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-dev

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: hvc_iseries not working
  2007-07-16 15:39 ` Will Schmidt
@ 2007-07-17 12:02   ` Olaf Hering
  0 siblings, 0 replies; 4+ messages in thread
From: Olaf Hering @ 2007-07-17 12:02 UTC (permalink / raw)
  To: Will Schmidt; +Cc: linuxppc-dev

On Mon, Jul 16, Will Schmidt wrote:

> On Fri, 2007-07-13 at 19:05 +0200, Olaf Hering wrote:
> > 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 %

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-07-17 12:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-13 17:05 hvc_iseries not working Olaf Hering
2007-07-13 21:15 ` Tony Breeds
2007-07-16 15:39 ` Will Schmidt
2007-07-17 12:02   ` Olaf Hering

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).