[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bad_page_fault oops
2008/5/5 Roberto A. Foglietta <roberto.foglietta@xxxxxxxxx>:
> 2008/4/18 Mulyadi Santosa <mulyadi.santosa@xxxxxxxxx>:
>
>
> > Hi alll
> >
> >
> > On Thu, Apr 17, 2008 at 4:45 PM, Gaurav Aggarwal
> > <Gaurav.Aggarwal@xxxxxxxxxx> wrote:
> > > "BUG: scheduling while atomic: snoopy/0x00000001/1666"
> > >
> > > From this statement it looks that you are calling blocking/sleeping
> > > function inside the critical section or code path where it's not
> > > allowed. This will be really helpful if you just describe about the
> > > stuff that you are trying to do when you get this error.
> > > To know more about oops message you can read the oops-tracing.txt doc
> > > from linux-2.x.y/Documentation folder.
> >
> > I try to sharpen the analysis. The stack trace show handle_page_fault,
> > thus it is possible there's blocking memory allocation inside non
> > preemptible code section.
> >
>
> Thank you for your suggestion but... in a way or another I still see
> some of these oops.
> The attached text file is reporting some warnings from pcmcia-cs at
> boot start and two oopses.
> The first oops happened during the startup and the second one happen
> calling hwclock in shutdown.
> Despite the oops message I think could be exist a relation between
> pcmcia-cs warnings and these oops.
> Do you agree? If yes: how could I verify a thing like this?
>
> Thanks in advance,
> --
> /roberto
>
Sorry for having forgotten the attachment!
:-)
--
/roberto
cardmgr[169]: cannot access /lib/modules/2.6.21.7: No such file or directory
pcmcia: Detected deprecated PCMCIA ioctl usage from process: cardmgr.
pcmcia: This interface will soon be removed from the kernel; please expect breakage unless you upgrade to new tools.
pcmcia: see http://www.kernel.org/pub/linux/utils/kernel/pcmcia/pcmcia.html for details.
cardmgr[169]: watching 1 socket
cardmgr[169]: could not adjust resource: IO ports 0x400-0x4ff: Input/output error
cardmgr[169]: could not adjust resource: IO ports 0-0xff: Input/output error
cardmgr[169]: could not adjust resource: memory 0xa0000000-0xa0ffffff: Input/output error
cardmgr[169]: could not adjust resource: IO ports 0xa00-0xaff: Input/output error
cardmgr[169]: could not open /var/run/cardmgr.pid: No such file or directory
cardmgr[169]: fopen(stabfile) failed: No such file or directory
cardmgr[169]: socket 0: ATA/IDE Fixed Disk
cardmgr[169]: fopen(stabfile) failed: No such file or directory
cardmgr[169]: executing: './ide start hda 2>&1'
cardmgr[169]: + ./ide: 34: /sbin/ide_info: not found
cardmgr[169]: + ./ide: 73: /usr/sbin/updfstab: not found
cardmgr[169]: exiting
Oops: kernel access of bad area, sig: 11 [#1]
PREEMPT
NIP: 00000000 LR: 00000000 CTR: 00000000
REGS: ced75c90 TRAP: 0400 Not tainted (2.6.21.7)
MSR: 20009032 <EE,ME,IR,DR> CR: 24048888 XER: 20000000
TASK = cfb61850[1745] 'startup.sh' THREAD: ced74000
GPR00: 00000000 CED75D40 CFB61850 C02F5630 C0400000 10040000 10000000 C0543060
GPR08: 1003F000 C02F0000 0000F603 00000000 44048882 10089214 00000000 00000000
GPR16: CFBFE8E0 00000007 CED75F50 00000000 00000000 C02F5630 00000001 CED75D5C
GPR24: 00000000 CED75D58 00000000 00000001 FFFFFFFF 10070000 10040000 CF5D7764
NIP [00000000] 0x0
LR [00000000] 0x0
Call Trace:
Instruction dump:
XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX
XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX
note: startup.sh[1745] exited with preempt_count 1
Segmentation fault
Oops: kernel access of bad area, sig: 11 [#1]
PREEMPT
NIP: 00000000 LR: 00000000 CTR: 00000000
REGS: ced0fdd0 TRAP: 0400 Not tainted (2.6.21.7)
MSR: 20009032 <EE,ME,IR,DR> CR: 28004428 XER: 20000000
TASK = cfaba810[1903] 'hwclock' THREAD: ced0e000
GPR00: 00000000 CED0FE80 CFABA810 C02F5630 C0400000 30009000 30001000 C0366FC0
GPR08: 30008000 C02F0000 000007FE 00000000 48004422 10089214 0FFC4000 00000001
GPR16: FFFFFFFF 007FFF00 0FFBF6D8 00000000 00000000 C02F5630 00000001 CED0FE9C
GPR24: 00000000 CED0FE98 00000000 00000001 FFFFFFFF 3001A000 30009000 CC6423C8
NIP [00000000] 0x0
LR [00000000] 0x0
Call Trace:
Instruction dump:
XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX
XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX
Fixing recursive fault but reboot is needed!
BUG: scheduling while atomic: hwclock/0x00000001/1903
Call Trace:
[CED0FCD0] [C000C174] show_stack+0x4c/0x194 (unreliable)
[CED0FD10] [C02386C4] schedule+0x6a4/0x6a8
[CED0FD50] [C001B490] do_exit+0x440/0x480
[CED0FD80] [C0004AD8] die+0xc4/0xcc
[CED0FDA0] [C000E1B0] bad_page_fault+0x5c/0x60
[CED0FDC0] [C000459C] handle_page_fault+0x7c/0x80
[CED0FE80] [00000000] 0x0