Generic int 13h driver

Dag-Erling Smørgrav des at des.no
Wed May 23 09:23:03 UTC 2007


"Die Gestalt" <die.gestalt at gmail.com> writes:
> Muhahah, despite the world conspiracy against my evil plot to enslave disk
> drivers with the BIOS I now manage to write to the disk.
>
> But I get a :
>
> kernel: stray irq14
>
> Of course irq14 is the IRQ of the disk controller. The int13h returns with a
> status time out, but the writes succeeded anyways (he had no choice: I have
> sharks with laser beams attached to their heads). I can see my random bytes
> when I open the disk with an hex editor. I think what happens is that the
> BIOS never gets its IRQ14 "back" and cannot acknowledge that the operation
> went fine.
>
> Any hint?

Use PIO mode (no IRQs).  It's slower, but using the BIOS is so slow you
probably won't notice anyway...

Otherwise you need to install an interrupt handler which will catch IRQ
14 and pass it on to the BIOS.

DES
-- 
Dag-Erling Smørgrav - des at des.no


More information about the freebsd-drivers mailing list