From: <cah...@po...> - 2002-09-23 21:50:58
|
Hi ! I think I found place where kernel hungs up when it tries to probe IDE hardware. I played a bit with ide-probe.c and found out that kernel hungs up on enable_irq. I've added two lines with printk. First is reached, second not. Code below was cut out from ide-probe.c file, probe_hwif:554-566. __restore_flags(flags); /* local CPU only */ printk("probe_hwif: enabling irq\n"); /* debug */ if (hwif->hw.ack_intr && hwif->irq) enable_irq(hwif->irq); printk("probe_hwif: irq enabled\n"); /* debug */ for (unit = 0; unit < MAX_DRIVES; ++unit) { ide_drive_t *drive = &hwif->drives[unit]; if (drive->present) { ide_tuneproc_t *tuneproc = HWIF(drive)->tuneproc; if (tuneproc != NULL && drive->autotune == 1) tuneproc(drive, 255); } } I hope that information would help a bit in tracing a bug. Regards Krystian Baclawski |