Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Mar 2002 12:09:41 -0500
From:      Joe Abley <jabley@automagic.org>
To:        freebsd-questions@freebsd.org
Subject:   entropy gathering on SMP kernels
Message-ID:  <C2349524-4337-11D6-A115-00039312C852@automagic.org>

next in thread | raw e-mail | index | archive | help
Hi,

On a particular SMP 4.2 box of my acquaintance:

jabley@mail[129]$ uname -a
FreeBSD mail 4.2-RELEASE FreeBSD 4.2-RELEASE #0: Wed Feb 14 00:23:41 GMT 
2001     gwl@mail:/usr/src/sys/compile/MAIL  i386
jabley@mail[130]$

I am unable to add IRQs greater than 15 to the list of interrupts used 
for entropy gathering:

mail# rndcontrol -s 23 -s 19
rndcontrol: setting irq 23
rndcontrol: rndcontrol: Invalid argument
mail#

which is a shame, because all the interesting IRQs on this machine 
appear above 15:

jabley@mail[130]$ dmesg | grep irq
IOAPIC #0 intpin 2 -> irq 0
fxp0: <Intel Pro 10/100B/100+ Ethernet> port 0x3000-0x303f mem 
0xf4200000-0xf42fffff,0xf4300000-0xf4300fff irq 23 at device 7.0 on pci2
ahc0: <Adaptec aic7896/97 Ultra2 SCSI adapter> port 0x2000-0x20ff mem 
0xf4100000-0xf4100fff irq 19 at device 12.0 on pci0
ahc1: <Adaptec aic7896/97 Ultra2 SCSI adapter> port 0x2400-0x24ff mem 
0xf4101000-0xf4101fff irq 19 at device 12.1 on pci0
fxp1: <Intel Pro 10/100B/100+ Ethernet> port 0x2800-0x283f mem 
0xf4000000-0xf40fffff,0xf4102000-0xf4102fff irq 21 at device 14.0 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: <Intel 82371AB/EB (PIIX4) USB controller> at 18.2 irq 21
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio1 at port 0x2f8-0x2ff irq 3 on isa0
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0x2840-0x285f irq 
21 at device 18.2 on pci0
jabley@mail[131]$

Any suggestions for how to gather entropy on this machine?


Joe


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C2349524-4337-11D6-A115-00039312C852>