Skip to contentSkip to conversation

2.6.0test4 bk1 and

DISCUSSION Arkadiusz Miskiewicz (by way of Arkadiusz Miskiewicz <[email protected]>) 3 participants 4 messages Sep 5, 2003 – Sep 7, 2003

lore
Share & tools
lore
#0 lore raw
Quoted 6 lines · Arkadiusz Miskiewicz

Hi,

Yesterday I've changed kernel from test3 to test4 with bk1 patch applied and such error appeared (and it's showning all the time):

bad: scheduling while atomic!

Quoted 8 lines
Call Trace:
 [<c0105000>] _stext+0x0/0x60
 [<c011ccd0>] schedule+0x3b0/0x3c0
 [<cf8c1257>] acpi_processor_idle+0xe9/0x1e5 [processor]
 [<c0105000>] _stext+0x0/0x60
 [<c01090eb>] cpu_idle+0x3b/0x40
 [<c0328734>] start_kernel+0x184/0x1b0
 [<c0328480>] unknown_bootoption+0x0/0x100

Nothing about this has changed in test4bk3 nor test4bk6. Still yells about ,,scheduling while atomic''.

No one has idea what's happening here? Some change between test3 and test4
did this.

--
Arkadiusz Miśkiewicz CS at FoE, Wroclaw University of Technology
arekm.pld-linux.org AM2-6BONE, 1024/3DB19BBD, arekm(at)ircnet, PLD/Linux

#1 lore raw
Quoted 17 lines · Arkadiusz Miskiewicz <[email protected]> (by way of Arkadiusz Miskiewicz…
Quoted 6 lines · Arkadiusz Miskiewicz

Hi,

Yesterday I've changed kernel from test3 to test4 with bk1 patch applied and such error appeared (and it's showning all the time):

bad: scheduling while atomic!

Quoted 8 lines
Call Trace:
 [<c0105000>] _stext+0x0/0x60
 [<c011ccd0>] schedule+0x3b0/0x3c0
 [<cf8c1257>] acpi_processor_idle+0xe9/0x1e5 [processor]
 [<c0105000>] _stext+0x0/0x60
 [<c01090eb>] cpu_idle+0x3b/0x40
 [<c0328734>] start_kernel+0x184/0x1b0
 [<c0328480>] unknown_bootoption+0x0/0x100
Quoted 5 lines

Nothing about this has changed in test4bk3 nor test4bk6. Still yells about ,,scheduling while atomic''.

No one has idea what's happening here? Some change between test3 and test4
did this.

Grab the latest snapshot from
http://www.kernel.org/pub/linux/kernel/v2.5/testing/cset/ (the very first link) and see if it's still happening.

If so then please add the `initcall_debug' option to the kernel boot command line and see if any messages such as

	error in initcall at 0xNNNNNNNN: returned with preemption imbalance

come out. If they do, look up 0xNNNNNNNN in System.map.

If none of this sheds any light, please send your full .config.

Thanks.

#2 lore raw
Quoted 10 lines · Andrew Morton
Quoted 9 lines
Quoted 9 lines

bad: scheduling while atomic!

Call Trace:
 [<c0105000>] _stext+0x0/0x60
 [<c011ccd0>] schedule+0x3b0/0x3c0
 [<cf8c1257>] acpi_processor_idle+0xe9/0x1e5 [processor]
 [<c0105000>] _stext+0x0/0x60
 [<c01090eb>] cpu_idle+0x3b/0x40
 [<c0328734>] start_kernel+0x184/0x1b0
 [<c0328480>] unknown_bootoption+0x0/0x100
Quoted 3 lines

Grab the latest snapshot from
http://www.kernel.org/pub/linux/kernel/v2.5/testing/cset/ (the very first link) and see if it's still happening.

I've tested test4 with changeset patch 20030906_2214 and this problem no longer happens but there are few new like:

- ide thing
VP_IDE: IDE controller at PCI slot 0000:00:11.1
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: VIA vt8231 (rev 10) IDE UDMA100 controller on pci0000:00:11.1

    ide0: BM-DMA at 0xfc00-0xfc07, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0xfc08-0xfc0f, BIOS settings: hdc:DMA, hdd:pio

ide0: I/O resource 0x3F6-0x3F6 not free.
hda: ERROR, PORTS ALREADY IN USE
register_blkdev: cannot get major 3 for ide0
ide1: I/O resource 0x376-0x376 not free.
hdc: ERROR, PORTS ALREADY IN USE
register_blkdev: cannot get major 22 for ide1 Module via82cxxx cannot be unloaded due to unsafe usage in include/linux/module.h:483

- usb thing
ohci-hcd: 2003 Feb 24 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
ohci-hcd: block sizes: ed 64 td 64
drivers/usb/host/uhci-hcd.c: USB Universal Host Controller Interface driver v2.1
uhci-hcd 0000:00:11.2: UHCI Host Controller
irq 11: nobody cared!

Call Trace:
 [<c010cbdb>] __report_bad_irq+0x2b/0x90
 [<c010ccd4>] note_interrupt+0x64/0xa0

- pcmcia thing
WARNING: Loop detected:
/lib/modules/2.6.0-test4cset20030906rel0.1/kernel/drivers/pcmcia/pcmcia_core.ko which needs pcmcia_core.ko again!

Details in separate mail(s) to LKML in few minutes.

Signature · 2 lines
Arkadiusz Miśkiewicz    CS at FoE, Wroclaw University of Technology
arekm.pld-linux.org AM2-6BONE, 1024/3DB19BBD, arekm(at)ircnet, PLD/Linux
#3 lore raw

IDE chipset drivers don't work (safely) as modules. Just don't do it.

Quoted 16 lines · Arkadiusz Miskiewicz

- ide thing
VP_IDE: IDE controller at PCI slot 0000:00:11.1
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: VIA vt8231 (rev 10) IDE UDMA100 controller on pci0000:00:11.1

    ide0: BM-DMA at 0xfc00-0xfc07, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0xfc08-0xfc0f, BIOS settings: hdc:DMA, hdd:pio

ide0: I/O resource 0x3F6-0x3F6 not free.
hda: ERROR, PORTS ALREADY IN USE
register_blkdev: cannot get major 3 for ide0
ide1: I/O resource 0x376-0x376 not free.
hdc: ERROR, PORTS ALREADY IN USE
register_blkdev: cannot get major 22 for ide1 Module via82cxxx cannot be unloaded due to unsafe usage in include/linux/module.h:483