Skip to contentSkip to conversation

Hooks for random device entropy generation missing in cpqarray.c

DISCUSSION Manon Goo 3 participants 5 messages Mar 20, 2002

lore
Share & tools
lore

Manon Goo

author
#0 lore raw

Hi,

All hooks for the random ganeration (add_blkdev_randomness() ) are ignored in the cpqarray / ida driver.
Is a patch available ?
or an other updated driver ?
any hints where to put add_blkdev_randomness() in your driver ?

is add_interrupt_randomness() called on an i386 SMP IO-APCI system ?

Thanks
Manon

PS: Folks on linux-kernel please CC to [email protected] I am not on the list

#1 lore raw
Quoted 5 lines · Manon Goo

All hooks for the random ganeration (add_blkdev_randomness() ) are ignored in the cpqarray / ida driver.
Is a patch available ?
or an other updated driver ?
any hints where to put add_blkdev_randomness() in your driver ?

Its all handled by drivers/scsi/scsi_lib.c, its a generic service so is done for all drivers.

Quoted 1 line

is add_interrupt_randomness() called on an i386 SMP IO-APCI system ?

Yes, check out arch/i386/kernel/irq.c:handle_IRQ_event, irq.c is the generic code which sits on top of the real interrupt controller driver, be it an IOAPIC or regular PIC.

Cheers,
Zwane

#2 lore raw
Quoted 2 lines

Its all handled by drivers/scsi/scsi_lib.c, its a generic service so is done for all drivers.

Thats only for scsi ones. cpqarray appears as a block device

author
#3 lore raw
In reply to Zwane Mwaikambo

No its is not there are certain bloc devices like cpqarray an mylex DAC960 (which handles this correctly) which do noether use the SCSI or the IDE driver.

Manon

Quoted 21 lines · --On Mittwoch, 20. März 2002 16:38 Uhr +0200 Zwane Mwaikambo…
Quoted 5 lines · Manon Goo

All hooks for the random ganeration (add_blkdev_randomness() ) are ignored in the cpqarray / ida driver.
Is a patch available ?
or an other updated driver ?
any hints where to put add_blkdev_randomness() in your driver ?

Its all handled by drivers/scsi/scsi_lib.c, its a generic service so is done for all drivers.

Quoted 1 line

is add_interrupt_randomness() called on an i386 SMP IO-APCI system ?

Yes, check out arch/i386/kernel/irq.c:handle_IRQ_event, irq.c is the generic code which sits on top of the real interrupt controller driver, be it an IOAPIC or regular PIC.

Cheers,
Zwane

#4 lore raw
Quoted 3 lines · Manon Goo

No its is not there are certain bloc devices like cpqarray an mylex DAC960 (which handles this correctly)
which do noether use the SCSI or the IDE driver.

Sorry, my mistake.

Zwane