On Tue, 2010-05-18 at 16:30 +0000, nello martuscielli wrote:
> Michael Ellerman <michael <at> ellerman.id.au> writes:
>
> _omissis__
> > >
> > > hi, is there available that patch?
> > > With the fresh new 2.6.34 the logflood problem is still present.
> >
> > You could try this, completely untested:
> >
> > diff --git a/arch/powerpc/kernel/rtasd.c b/arch/powerpc/kernel/rtasd.c
> > index 4190eae..fd68bed 100644
> > --- a/arch/powerpc/kernel/rtasd.c
> > +++ b/arch/powerpc/kernel/rtasd.c
> > @@ -490,6 +490,12 @@ static int __init rtas_init(void)
> > return -ENODEV;
> > }
> >
> > + if (!rtas_event_scan_rate) {
> > + /* Broken firmware: take a rate of zero to mean don't scan
> > */
> > + printk(KERN_DEBUG "rtasd: scan rate is 0, not scanning\n");
> > + return 0;
> > + }
> > +
> > /* Make room for the sequence number */
> > rtas_error_log_max = rtas_get_error_log_max();
> > rtas_error_log_buffer_max = rtas_error_log_max + sizeof(int);
> >
>
>
> hi Michael, thanks for pointing me to that patch, now my Pegasos2 G4 seems to
> work fine.Great. Can I add Tested-by you? > Anyway i got these dumps caused by mv643xx_eth: > > > [...] > sysfs: cannot create duplicate filename '/class/mdio_bus/0' > ------------[ cut here ]------------ > Badness at fs/sysfs/dir.c:451 > NIP: c00efc70 LR: c00efc70 CTR: 00000000 > REGS: ef117c70 TRAP: 0700 Not tainted (2.6.34) > MSR: 00029032 <EE,ME,CE,IR,DR> CR: 22002488 XER: 00000000 > TASK = ef110630[80] 'modprobe' THREAD: ef116000 > GPR00: c00efc70 ef117d20 ef110630 00000042 c0009480 00000000 00134ac8 00000000 > GPR08: 00000000 00000000 22002482 10000002 ffffffff 10023ab8 00000000 00000000 > GPR16: 00000000 107db0b0 00000000 107db088 10005558 00000003 107db324 107db008 > GPR24: 10005558 00000000 0000a9ce fffffffe ef117d48 ef0a4300 efb87000 ffffffef > NIP [c00efc70] sysfs_add_one+0x88/0xb8 > LR [c00efc70] sysfs_add_one+0x88/0xb8 > Call Trace: > [ef117d20] [c00efc70] sysfs_add_one+0x88/0xb8 (unreliable) > [ef117d40] [c00f0d9c] sysfs_do_create_link+0x104/0x1ac > [ef117d70] [c026b238] device_add+0x1c8/0x534 > [ef117db0] [c02b2e40] mdiobus_register+0xb4/0x1d8 > [ef117de0] [f222c510] mv643xx_eth_shared_probe+0x14c/0x420 [mv643xx_eth] Can't really help with that, looks like it's trying to register the same mdio bus twice? cheers
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Linuxppc-dev mailing list [email protected] https://lists.ozlabs.org/listinfo/linuxppc-dev
