From: Adrian McMenamin <adrian@newgolddream.dyndns.info>
To: Greg KH <greg@kroah.com>
Cc: LKML <linux-kernel@vger.kernel.org>, linux-sh <linux-sh@vger.kernel.org>
Subject: Re: kobject oops with maple bus
Date: Sat, 26 Jan 2008 22:01:48 +0000 [thread overview]
Message-ID: <1201384908.6672.12.camel@localhost.localdomain> (raw)
In-Reply-To: <20080126204402.GA30867@kroah.com>
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="windows-1254", Size: 3868 bytes --]
On Sat, 2008-01-26 at 12:44 -0800, Greg KH wrote:
> On Sat, Jan 26, 2008 at 07:53:20PM +0000, Adrian McMenamin wrote:
> > Greg,
> >
> > Just updated my git to the latest sources and get these (seemingly non-fatal) oops with the Dreamcast maple bus. I'll investigate further, but they may mean something to out out of the box.
> >
> > Adrian
> >
> >
> >
> >
> > dreamy:~# [ 0.000000] Linux version 2.6.24-gf0ea9c3d-dirty (adrian@bossclass) (gcc version 3.4.6) #328 PREEMPT Sat Jan 26 19:45:30 GMT 2008
> > [ 0.000000] console [sercon0] enabled
> > [ 0.000000] Booting machvec: Sega Dreamcast
> > [ 0.000000] Node 0: start_pfn = 0xc000, low = 0xd000
> > [ 0.000000] Zone PFN ranges:
> > [ 0.000000] Normal 49152 -> 53248
> > [ 0.000000] Movable zone start PFN for each node
> > [ 0.000000] early_node_map[1] active PFN ranges
> > [ 0.000000] 0: 49152 -> 53248
> > [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 4064
> > [ 0.000000] Kernel command line: root=/dev/nfs rw nfsroot\x192.168.61.50:/home/adrian/debdist ip=dhcp earlyprintk=serial video=pvr2fb:640x480-32@60 consol7
> > [ 0.000000] PID hash table entries: 64 (order: 6, 256 bytes)
> > [ 0.000000] Using tmu for system timer
> > [ 0.000000] Using 12.469 MHz high precision timer.
> > [ 0.000000] Console: colour dummy device 80x25
> > [ 0.000000] Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)
> > [ 0.000000] Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
> > [ 0.000000] Memory: 13468k/16384k available (1918k kernel code, 645k data, 96k init)
> > [ 0.000000] PVR\x040205c1 CVR\0000000 PRR\0000000
> > [ 0.000000] I-cache : n_ways=1 n_sets%6 way_incr92
> > [ 0.000000] I-cache : entry_mask=0x00001fe0 alias_mask=0x00001000 n_aliases=2
> > [ 0.000000] D-cache : n_ways=1 n_setsQ2 way_incr\x16384
> > [ 0.000000] D-cache : entry_mask=0x00003fe0 alias_mask=0x00003000 n_aliases=4
> > [ 0.000000] SLUB: Genslabs=9, HWalign2, Order=0-1, MinObjects=4, CPUs=1, Nodes=1
> > [ 0.000000] Mount-cache hash table entries: 512
> > [ 0.000000] CPU: SH7750
> > [ 0.000000] net_namespace: 64 bytes
> > [ 0.000000] NET: Registered protocol family 16
> > [ 0.000000] Maple bus at (0, 0): Connected function 0x0
> > [ 0.000000] No maple driver found for this device
> > [ 0.000000] Maple bus at (1, 0): Connected function 0x0
> > [ 0.000000] No maple driver found for this device
> > [ 0.000000] Maple bus at (2, 0): Connected function 0x0
> > [ 0.000000] No maple driver found for this device
> > [ 0.000000] Maple bus at (3, 0): Connected function 0x0
> > [ 0.000000] No maple driver found for this device
> > [ 0.000000] Maple bus core now registered.
> > [ 0.000000] DMA: Registering DMA API.
> > [ 0.000000] DMA: Registering sh_dmac handler (4 channels).
> > [ 0.000000] Maple bus at (0, 0): Connected function 0x1
> > [ 0.000000] No maple driver found for this device
> > [ 0.000000] kobject (8cc2d360): tried to init an initialized object, something is seriously wrong.
>
> The problem is here. You have possibly already initialized this object,
> or called 'kobject_get' on it before registering it with the driver
> core. This is a new sanity check that has been in the -mm tree for
> years :)
>
> So I think something needs to be fixed in the code. Do you want me to
> take a look at it?
>
I think it is probably registering the "dummy" driver a second or
further time. Does that make sense? By all means have a look, but I'll
have a go - I'm sure you have better things to do than mess about with
Dreamcast code :)
-
To unsubscribe from this list: send the line "unsubscribe linux-sh" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2008-01-26 22:01 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-26 19:53 kobject oops with maple bus Adrian McMenamin
2008-01-26 19:55 ` Adrian McMenamin
2008-01-26 20:44 ` Greg KH
2008-01-26 22:01 ` Adrian McMenamin [this message]
2008-01-28 9:41 ` Adrian McMenamin
2008-01-28 19:23 ` Greg KH
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1201384908.6672.12.camel@localhost.localdomain \
--to=adrian@newgolddream.dyndns.info \
--cc=greg@kroah.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sh@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox