Hooks for random device entropy generation missing in cpqarray.c
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
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 putadd_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
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
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 putadd_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.cis the generic code which sits on top of the real interrupt controller driver, be it an IOAPIC or regular PIC.Cheers,
Zwane
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