* [IDE] sleeping function called from illegal context at slab.c:1347
@ 2002-10-05 8:36 Andrey Panin
2002-10-05 18:08 ` Robert Love
0 siblings, 1 reply; 2+ messages in thread
From: Andrey Panin @ 2002-10-05 8:36 UTC (permalink / raw)
To: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 518 bytes --]
Hello all,
looks like i tracked down yet another instance of this already famous
message, :)
but i don't know how to fix it.
This message produced by IDE driver is IMHO
caused by ide_init_queue() function called while holding
ide_lock spinlock in the
init_irq() function (ide-probe.c).
Then ide_init_queue() calls blk_init_queue()
and we have a this call chain:
ide_init_queue() -> blk_init_queue() ->
blk_init_free_list() -> kmem_cache_alloc()
What can we do to fix this ?
Best
regards,
Andrey
[-- Attachment #2: dmesg --]
[-- Type: application/octet-stream, Size: 7775 bytes --]
Linux version 2.5.40 (root@protocol) (gcc version 3.0.4) #25 Fri Oct 4 23:10:24 PDT 2002
Video mode to be used for restore is ffff
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000000ffc0000 (usable)
BIOS-e820: 000000000ffc0000 - 000000000fff8000 (ACPI data)
BIOS-e820: 000000000fff8000 - 0000000010000000 (ACPI NVS)
BIOS-e820: 00000000ffb80000 - 00000000ffc00000 (reserved)
BIOS-e820: 00000000fff00000 - 0000000100000000 (reserved)
255MB LOWMEM available.
On node 0 totalpages: 65472
DMA zone: 4096 pages
Normal zone: 61376 pages
HighMem zone: 0 pages
Building zonelist for node : 0
Kernel command line: BOOT_IMAGE=l ro root=303
Local APIC disabled by BIOS -- reenabling.
Found and enabled local APIC!
Initializing CPU#0
Detected 797.538 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 1576.96 BogoMIPS
Memory: 255816k/261888k available (1547k kernel code, 5684k reserved, 352k data, 264k init, 0k highmem)
Security Scaffold v1.0.0 initialized
Dentry-cache hash table entries: 32768 (order: 6, 262144 bytes)
Inode-cache hash table entries: 16384 (order: 5, 131072 bytes)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
CPU: Before vendor init, caps: 0383fbff 00000000 00000000, vendor = 0
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 256K
CPU: After vendor init, caps: 0383fbff 00000000 00000000 00000000
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU: After generic, caps: 0383fbff 00000000 00000000 00000000
CPU: Common caps: 0383fbff 00000000 00000000 00000000
CPU: Intel Pentium III (Coppermine) stepping 03
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
enabled ExtINT on CPU#0
ESR value before enabling vector: 00000000
ESR value after enabling vector: 00000000
Using local APIC timer interrupts.
calibrating APIC timer ...
..... CPU clock speed is 797.0307 MHz.
..... host bus clock speed is 132.0884 MHz.
cpu: 0, clocks: 132884, slice: 66442
CPU0<T0:132880,T1:66432,D:6,S:66442,C:132884>
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
mtrr: v2.0 (20020519)
PCI: PCI BIOS revision 2.10 entry at 0xfda95, last bus=2
PCI: Using configuration type 1
adding '' to cpu class interfaces
PnPBIOS: Found PnP BIOS installation structure at 0xc00f2770
PnPBIOS: PnP BIOS version 1.0, entry 0xf0000:0x202a, dseg 0xf0000
PnPBIOS: 20 nodes reported by PnP BIOS; 20 recorded by driver
PnPBIOS: PNP0c02: ioport range 0x4d0-0x4d1 has been reserved
PnPBIOS: PNP0c02: ioport range 0xcf8-0xcff could not be reserved
PnPBIOS: PNP0c02: ioport range 0x400-0x47f has been reserved
PnPBIOS: PNP0c02: ioport range 0x540-0x54f has been reserved
PnPBIOS: PNP0c02: ioport range 0x500-0x53f has been reserved
PnPBIOS: PNP0c02: ioport range 0x800-0x87f has been reserved
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
Transparent bridge - Intel Corp. 82801BA/CA/DB PCI Bridge
PCI: Using IRQ router PIIX [8086/2440] at 00:1f.0
apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16)
Starting kswapd
BIO: pool of 256 setup, 14Kb (56 bytes/bio)
biovec pool[0]: 1 bvecs: 256 entries (12 bytes)
biovec pool[1]: 4 bvecs: 256 entries (48 bytes)
biovec pool[2]: 16 bvecs: 256 entries (192 bytes)
biovec pool[3]: 64 bvecs: 256 entries (768 bytes)
biovec pool[4]: 128 bvecs: 256 entries (1536 bytes)
biovec pool[5]: 256 bvecs: 256 entries (3072 bytes)
aio_setup: sizeof(struct page) = 40
Journalled Block Device driver loaded
udf: registering filesystem
Capability LSM initialized
Serial: 8250/16550 driver $Revision: 1.90 $ IRQ sharing disabled
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
parport0: PC-style at 0x378 [PCSPP,TRISTATE,EPP]
parport0: cpp_daisy: aa5500ff(98)
parport0: assign_addrs: aa5500ff(98)
parport0: faking semi-colon
parport0: Printer, Hewlett-Packard HP LaserJet 1100
pty: 256 Unix98 ptys configured
lp0: using parport0 (polling).
i810_rng hardware driver 0.9.8 loaded
block request queues:
128 requests per read queue
128 requests per write queue
8 requests per batch
enter congestion at 31
exit congestion at 33
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
ne2k-pci.c:v1.02 10/19/2000 D. Becker/P. Gortmaker
http://www.scyld.com/network/ne2k-pci.html
PCI: Found IRQ 3 for device 01:09.0
PCI: Sharing IRQ 3 with 01:0d.0
eth0: RealTek RTL-8029 found at 0xdf80, IRQ 3, 00:A0:4B:07:72:F8.
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ICH2: IDE controller at PCI slot 00:1f.1
ICH2: chipset revision 1
ICH2: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:DMA, hdb:pio
ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdc:DMA, hdd:pio
hda: Maxtor 52049H4, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hdc: CRD-8482B, ATAPI CD/DVD-ROM drive
hdd: IOMEGA ZIP 100 ATAPI, ATAPI FLOPPY drive
Debug: sleeping function called from illegal context at slab.c:1346
c12d5ea8 c0115246 c0288ae0 c028a767 00000542 000001d0 c0130e76 c028a767
00000542 00000292 c01b34ed 000000f9 cff6e400 c036c738 c036c770 c036c67c
c036c738 c01daf01 c128bd38 000001d0 00000000 c036c738 c036c728 c036c67c
Call Trace:
[<c0115246>]__might_sleep+0x56/0x60
[<c0130e76>]kmem_cache_alloc+0x26/0x130
[<c01b34ed>]pci_bus_write_config_byte+0x4d/0x50
[<c01daf01>]blk_init_free_list+0x51/0xd0
[<c01daf8d>]blk_init_queue+0xd/0xf0
[<c01e8858>]ide_init_queue+0x28/0x70
[<c01ef160>]do_ide_request+0x0/0x20
[<c01e8a85>]init_irq+0x1e5/0x380
[<c01e8e36>]hwif_init+0x76/0x270
[<c01e877d>]probe_hwif_init+0x1d/0x70
[<c01fb699>]ide_setup_pci_device+0x59/0x60
[<c01050a7>]init+0x37/0x1c0
[<c0105070>]init+0x0/0x1c0
[<c0105505>]kernel_thread_helper+0x5/0x10
ide1 at 0x170-0x177,0x376 on irq 15
hda: host protected area => 1
hda: 39882528 sectors (20420 MB) w/2048KiB Cache, CHS=2482/255/63, UDMA(100)
hda: hda1 hda2 hda3
hdc: ATAPI 48X CD-ROM drive, 128kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.12
ide-floppy driver 0.99.newide
hdd: No disk in drive
hdd: 98304kB, 96/64/32 CHS, 4096 kBps, 512 sector size, 2941 rpm
input: PC Speaker
input: PS2++ Logitech Wheel Mouse on isa0060/serio1
serio: i8042 AUX port at 0x60,0x64 irq 12
input: AT Set 2 keyboard on isa0060/serio0
serio: i8042 KBD port at 0x60,0x64 irq 1
Advanced Linux Sound Architecture Driver Version 0.9.0rc2 (Mon Aug 05 14:24:05 2002 UTC).
request_module[snd-card-0]: not ready
request_module[snd-card-1]: not ready
request_module[snd-card-2]: not ready
request_module[snd-card-3]: not ready
request_module[snd-card-4]: not ready
request_module[snd-card-5]: not ready
request_module[snd-card-6]: not ready
request_module[snd-card-7]: not ready
PCI: Found IRQ 9 for device 01:0c.0
PCI: Sharing IRQ 9 with 00:1f.3
ALSA device list:
#0: Ensoniq AudioPCI ES1371 at 0xdf00, irq 9
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 2048 buckets, 16Kbytes
TCP: Hash tables configured (established 16384 bind 32768)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 264k freed
Adding 32120k swap on /dev/hda2. Priority:-1 extents:1
FAT: Using codepage cp866
FAT: Using IO charset koi8-r
ide-floppy: hdd: I/O error, pc = 0, key = 2, asc = 3a, ascq = 0
ide-floppy: hdd: I/O error, pc = 1b, key = 2, asc = 3a, ascq = 0
hdd: No disk in drive
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [IDE] sleeping function called from illegal context at slab.c:1347
2002-10-05 8:36 [IDE] sleeping function called from illegal context at slab.c:1347 Andrey Panin
@ 2002-10-05 18:08 ` Robert Love
0 siblings, 0 replies; 2+ messages in thread
From: Robert Love @ 2002-10-05 18:08 UTC (permalink / raw)
To: Andrey Panin; +Cc: linux-kernel
On Sat, 2002-10-05 at 04:36, Andrey Panin wrote:
> looks like i tracked down yet another instance of this already famous
> message, :)
> but i don't know how to fix it.
>
> This message produced by IDE driver is IMHO
> caused by ide_init_queue() function called while holding
> ide_lock spinlock in the
> init_irq() function (ide-probe.c).
>
> Then ide_init_queue() calls blk_init_queue()
> and we have a this call chain:
> ide_init_queue() -> blk_init_queue() ->
> blk_init_free_list() -> kmem_cache_alloc()
This is known, but thank you anyhow.
> What can we do to fix this ?
Question of the year :)
Robert Love
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-10-05 18:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-05 8:36 [IDE] sleeping function called from illegal context at slab.c:1347 Andrey Panin
2002-10-05 18:08 ` Robert Love
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®