save-entropy never exits

Giovanni P. Tirloni gpt at tirloni.org
Wed Mar 16 06:58:53 PST 2005


Hi,

   save-entropy never exists and eats all CPU.

# uname -a
  FreeBSD srv-01 5.3-STABLE-SNAP001 FreeBSD 5.3-STABLE-SNAP001 #0: Sun 
Jan 30 03:57:47 UTC 2005 
root at opus.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386


  # ps axl |grep entropy
     2 14833 14832   0   8  0  1640  928 wait   Is    ??    0:00.03 
/bin/sh -c /usr/libexec/save-entropy
     2 14834 14833 263 128  0  1680  980 -      R     ??  1884:17.36 
/bin/sh /usr/libexec/save-entropy


  # uptime
11:56AM  up 5 days, 19:14, 1 user, load averages: 1.00, 1.00, 1.00


# dmesg
Copyright (c) 1992-2005 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
         The Regents of the University of California. All rights reserved.
FreeBSD 5.3-STABLE-SNAP001 #0: Sun Jan 30 03:57:47 UTC 2005
     root at opus.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD-K6tm w/ multimedia extensions (300.01-MHz 586-class CPU)
   Origin = "AuthenticAMD"  Id = 0x570  Stepping = 0
   Features=0x8001bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX>
   AMD Features=0x400<<b10>>
real memory  = 96403456 (91 MB)
avail memory = 84684800 (80 MB)
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> pcibus 0 on motherboard
pir0: <PCI Interrupt Routing Table: 8 Entries> on motherboard
pci0: <PCI bus> on pcib0
$PIR: No matching entry for 0.0.INTA
agp0: <SiS 530 host to AGP bridge> mem 0xd0000000-0xd3ffffff at device 
0.0 on pci0
atapci0: <SiS 530 UDMA66 controller> port 
0x4000-0x400f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 irq 14 at device 0.1 
on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
isab0: <PCI-ISA bridge> at device 1.0 on pci0
isa0: <ISA bus> on isab0
pci0: <unknown> at device 1.1 (no driver attached)
ohci0: <SiS 5571 USB controller> mem 0xd5901000-0xd5901fff irq 9 at 
device 1.2 on pci0
ohci0: [GIANT-LOCKED]
usb0: OHCI version 1.0, legacy support
usb0: <SiS 5571 USB controller> on ohci0
usb0: USB revision 1.0
uhub0: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
pcib1: <PCI-PCI bridge> at device 2.0 on pci0
pci1: <PCI bus> on pcib1
$PIR: ROUTE_INTERRUPT failed.
pci1: <display, VGA> at device 0.0 (no driver attached)
xl0: <3Com 3c905B-TX Fast Etherlink XL> port 0xd000-0xd07f mem 
0xd5900000-0xd590007f irq 10 at device 10.0 on pci0
miibus0: <MII bus> on xl0
xlphy0: <3Com internal media interface> on miibus0
xlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
xl0: Ethernet address: 00:50:04:d9:a8:78
rl0: <RealTek 8139 10/100BaseTX> port 0xd400-0xd4ff mem 
0xd5902000-0xd59020ff irq 12 at device 11.0 on pci0
miibus1: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus1
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl0: Ethernet address: 00:e0:7d:8c:32:47
xl1: <3Com 3c905B-TX Fast Etherlink XL> port 0xd800-0xd87f mem 
0xd5903000-0xd590307f irq 5 at device 12.0 on pci0
miibus2: <MII bus> on xl1
xlphy1: <3Com internal media interface> on miibus2
xlphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
xl1: Ethernet address: 00:10:5a:9f:df:89
pci0: <multimedia, audio> at device 13.0 (no driver attached)
cpu0 on motherboard
orm0: <ISA Option ROM> at iomem 0xc0000-0xc7fff on isa0
pmtimer0 on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
fdc0: <Enhanced floppy controller> at port 0x3f0-0x3f5 irq 6 drq 2 on isa0
fdc0: [FAST]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
unknown: <PNP0303> can't assign resources (port)
unknown: <PNP0501> can't assign resources (port)
unknown: <PNP0700> can't assign resources (port)
unknown: <PNP0400> can't assign resources (port)
unknown: <PNP0501> can't assign resources (port)
Timecounter "TSC" frequency 300012360 Hz quality 800
Timecounters tick every 10.000 msec
ad0: 1222MB <QUANTUM FIREBALL1280A/A63.0E00> [2484/16/63] at ata0-master 
WDMA2
Mounting root from ufs:/dev/ad0s1a



  Does anyone have any idea about why it never exists and stays there 
eating all CPU ?

-- 
Giovanni


More information about the freebsd-stable mailing list