Re: [PATCH] drivers/ide/ide-probe.c Skip ide_wait_not_busy on noprobe-disks. was: [PATCH][RESUBMIT] drivers/ide/ide-probe.c, kernel 2.6.23.1

2007-11-18 Thread Bartlomiej Zolnierkiewicz
On Friday 16 November 2007, Jonas Stare wrote: There is a problem in some hardware where the kernel will stall for 35 seconds waiting for disks that dont exist. This patch will skip waiting for the BSY-bit on ide-drives to go away if you set hdx=noprobe as a kernel option and the disk is not

Re: [PATCH][RESUBMIT] drivers/ide/ide-probe.c, kernel 2.6.23.1

2007-11-16 Thread Jonas Stare
Sergei Shtylyov wrote: Jonas Stare wrote: diff -u linux-2.6.23.1-orig/drivers/ide/ide-probe.c linux-2.6.23.1/drivers/ide/ide-probe.c --- linux-2.6.23.1-orig/drivers/ide/ide-probe.c 2007-10-12 18:43:44.0 +0200 +++ linux-2.6.23.1/drivers/ide/ide-probe.c 2007-11-16

Re: [PATCH][RESUBMIT] drivers/ide/ide-probe.c, kernel 2.6.23.1

2007-11-16 Thread Jonas Stare
Resubmit of IDE-probing-patch. It now checks hwif-drives[unit].present instead of forced_geom and there is also an if-statement so it doesn't change back to the master unless it have to. I choose to put it inside the if-statement that checks the return code from ide_wait_not_busy, since it

Re: [PATCH][RESUBMIT] drivers/ide/ide-probe.c, kernel 2.6.23.1

2007-11-16 Thread Sergei Shtylyov
Jonas Stare wrote: diff -u linux-2.6.23.1-orig/drivers/ide/ide-probe.c linux-2.6.23.1/drivers/ide/ide-probe.c --- linux-2.6.23.1-orig/drivers/ide/ide-probe.c 2007-10-12 18:43:44.0 +0200 +++ linux-2.6.23.1/drivers/ide/ide-probe.c 2007-11-16 10:26:23.0 +0100 @@ -643,6

Re: [PATCH][RESUBMIT] drivers/ide/ide-probe.c, kernel 2.6.23.1

2007-11-16 Thread Bartlomiej Zolnierkiewicz
On Friday 16 November 2007, Jonas Stare wrote: Resubmit of IDE-probing-patch. It now checks hwif-drives[unit].present instead of forced_geom and there is also an if-statement so it doesn't change back to the master unless it have to. I choose to put it inside the if-statement that checks

[PATCH] drivers/ide/ide-probe.c Skip ide_wait_not_busy on noprobe-disks. was: [PATCH][RESUBMIT] drivers/ide/ide-probe.c, kernel 2.6.23.1

2007-11-16 Thread Jonas Stare
There is a problem in some hardware where the kernel will stall for 35 seconds waiting for disks that dont exist. This patch will skip waiting for the BSY-bit on ide-drives to go away if you set hdx=noprobe as a kernel option and the disk is not marked as 'present' (like when you set the geometry