From: Joshua Wise <Joshua.Wise@sicortex.com>
To: linux-mips@linux-mips.org
Cc: Aaron Brooks <aaron.brooks@sicortex.com>
Subject: synchronize_rcu() hangs in simulated mips environment
Date: Wed, 17 Aug 2005 15:43:09 -0400 [thread overview]
Message-ID: <200508171543.09295.Joshua.Wise@sicortex.com> (raw)
Hi all,
I'm again bringing up the network on my simulator, and I've found that if I
run with more than one CPU in my simulation (if I have CONFIG_SMP enabled),
synchronize_rcu() just hangs, as I never get a cpu_quiet() call.
I've attached boot log chunks from various parts of boot time to the bottom of
this mail. I'm curious as to whether the fault is in my emulator, or in the
kernel, or in my additions to the kernel... On IRC, Ralf initially suggested
that it could be an emulator fault, but I'm not sure where such a fault would
be.
Thanks,
joshua
Here is how a good boot looks:
lan-lan.c 0.01: Joshua Wise <Joshua.Wise@SiCortex.com>
emu0: lan-lan found at 0xef0000000.
emu0: loaded successfully
NET: Registered protocol family 2
Sock_register done
Base protocols done
Socketside stuff done
inet_register_protosw(80343aa0)
spinlock: inetsw lock
got it
list done
spin unlock
synchronize net
net synch:
Synchronizing RCU...
Calling...
Waiting...
CPU quiet: 0
Awake
Done!
net synch done
ok
inet_register_protosw(80343ad0)
spinlock: inetsw lock
got it
list done
However, a failing boot looks like this:
Starting CPU #1...
CPU revision is: 00018101
FPU revision is: 00038110
Primary instruction cache 32kB, physically tagged, 2-way, linesize 32 bytes.
Primary data cache 32kB, 2-way, linesize 32 bytes.
Synthesized TLB refill handler (36 instructions).
CPU frequency 8.00 MHz
CPU #1 init complete.
Brought up 2 CPUs
checking if image is initramfs...it isn't (bad gzip magic numbers); looks like
an initrd
Freeing initrd memory: 4096k freed
NET: Registered protocol family 16
CPU quiet: 0
rtc: IRQ 8 is not free.
i8042.c: i8042 controller self test timeout.
Trying to free nonexistent resource <00000060-0000006f>
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
ttyS0 at MMIO 0x0 (irq = 2) is a 16450
ttyS1 at I/O 0x2f8 (irq = 3) is a 16450
ttyS2 at I/O 0x3e8 (irq = 4) is a 16450
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
RAMDISK driver initialized: 16 RAM disks of 18432K size 1024 blocksize
loop: loaded (max 8 devices)
lan-lan.c 0.01: Joshua Wise <Joshua.Wise@SiCortex.com>
emu0: lan-lan found at 0xef0000000.
emu0: loaded successfully
NET: Registered protocol family 2
Sock_register done
Base protocols done
Socketside stuff done
inet_register_protosw(80343aa0)
spinlock: inetsw lock
got it
list done
spin unlock
synchronize net
net synch:
Synchronizing RCU...
Calling...
Waiting...
<hang>
reply other threads:[~2005-08-17 19:38 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=200508171543.09295.Joshua.Wise@sicortex.com \
--to=joshua.wise@sicortex.com \
--cc=aaron.brooks@sicortex.com \
--cc=linux-mips@linux-mips.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