* 2.5.19 - raid1 erros on compile @ 2002-05-30 5:35 system_lists 2002-05-30 6:22 ` Jens Axboe 0 siblings, 1 reply; 4+ messages in thread From: system_lists @ 2002-05-30 5:35 UTC (permalink / raw) To: linux-kernel I have problems compiling kernel with raid1 support. Any idea? thanks make[2]: Entering directory `/usr/src/linux-2.5.19/drivers/md' gcc -D__KERNEL__ -I/usr/src/linux-2.5.19/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -DKBUILD_BASENAME=raid1 -c -o raid1.o raid1.c raid1.c: In function `device_barrier': raid1.c:412: `tq_disk' undeclared (first use in this function) raid1.c:412: (Each undeclared identifier is reported only once raid1.c:412: for each function it appears in.) raid1.c: In function `make_request': raid1.c:449: `tq_disk' undeclared (first use in this function) raid1.c: In function `close_sync': raid1.c:651: `tq_disk' undeclared (first use in this function) make[2]: *** [raid1.o] Error 1 make[2]: Leaving directory `/usr/src/linux-2.5.19/drivers/md' make[1]: *** [_subdir_md] Error 2 make[1]: Leaving directory `/usr/src/linux-2.5.19/drivers' make: *** [drivers] Error 2 ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 2.5.19 - raid1 erros on compile 2002-05-30 5:35 2.5.19 - raid1 erros on compile system_lists @ 2002-05-30 6:22 ` Jens Axboe 2002-05-30 19:25 ` system_lists 0 siblings, 1 reply; 4+ messages in thread From: Jens Axboe @ 2002-05-30 6:22 UTC (permalink / raw) To: system_lists; +Cc: linux-kernel On Thu, May 30 2002, system_lists@nullzone.org wrote: > > I have problems compiling kernel with raid1 support. > > Any idea? > > thanks > > make[2]: Entering directory `/usr/src/linux-2.5.19/drivers/md' > gcc -D__KERNEL__ -I/usr/src/linux-2.5.19/include -Wall -Wstrict-prototypes > -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common > -pipe -mpreferred-stack-boundary=2 > -march=i686 -DKBUILD_BASENAME=raid1 -c -o raid1.o raid1.c > raid1.c: In function `device_barrier': > raid1.c:412: `tq_disk' undeclared (first use in this function) > raid1.c:412: (Each undeclared identifier is reported only once > raid1.c:412: for each function it appears in.) > raid1.c: In function `make_request': > raid1.c:449: `tq_disk' undeclared (first use in this function) > raid1.c: In function `close_sync': > raid1.c:651: `tq_disk' undeclared (first use in this function) run_task_queue(&tq_disk) -> blk_run_queues() -- Jens Axboe ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 2.5.19 - raid1 erros on compile 2002-05-30 6:22 ` Jens Axboe @ 2002-05-30 19:25 ` system_lists 2002-05-31 5:53 ` Jens Axboe 0 siblings, 1 reply; 4+ messages in thread From: system_lists @ 2002-05-30 19:25 UTC (permalink / raw) To: Jens Axboe; +Cc: linux-kernel Well its not on raid1.c file. It must be invoqued just from any funtion_structure_reference. I'll wait a patch. Thanks anyway At 08:22 30/05/2002 +0200, Jens Axboe wrote: >On Thu, May 30 2002, system_lists@nullzone.org wrote: > > > > I have problems compiling kernel with raid1 support. > > > > Any idea? > > > > thanks > > > > make[2]: Entering directory `/usr/src/linux-2.5.19/drivers/md' > > gcc -D__KERNEL__ -I/usr/src/linux-2.5.19/include -Wall -Wstrict-prototypes > > -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common > > -pipe -mpreferred-stack-boundary=2 > > -march=i686 -DKBUILD_BASENAME=raid1 -c -o raid1.o raid1.c > > raid1.c: In function `device_barrier': > > raid1.c:412: `tq_disk' undeclared (first use in this function) > > raid1.c:412: (Each undeclared identifier is reported only once > > raid1.c:412: for each function it appears in.) > > raid1.c: In function `make_request': > > raid1.c:449: `tq_disk' undeclared (first use in this function) > > raid1.c: In function `close_sync': > > raid1.c:651: `tq_disk' undeclared (first use in this function) > >run_task_queue(&tq_disk) -> blk_run_queues() > >-- >Jens Axboe ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 2.5.19 - raid1 erros on compile 2002-05-30 19:25 ` system_lists @ 2002-05-31 5:53 ` Jens Axboe 0 siblings, 0 replies; 4+ messages in thread From: Jens Axboe @ 2002-05-31 5:53 UTC (permalink / raw) To: system_lists; +Cc: linux-kernel On Thu, May 30 2002, system_lists@nullzone.org wrote: > Well its not on raid1.c file. > It must be invoqued just from any funtion_structure_reference. Here's the complete tq_disk update patch against 2.5.19, the raid part was sent by way of William Brack. diff -Nru a/drivers/ide/ide.c b/drivers/ide/ide.c --- a/drivers/ide/ide.c Thu May 30 09:16:43 2002 +++ b/drivers/ide/ide.c Thu May 30 09:16:43 2002 @@ -1020,8 +1020,7 @@ mod_timer(&channel->timer, sleep); /* we purposely leave hwgroup busy while sleeping */ } else { - /* Ugly, but how can we sleep for the lock otherwise? perhaps - * from tq_disk? */ + /* Ugly, but how can we sleep for the lock otherwise? */ ide_release_lock(&irq_lock);/* for atari only */ clear_bit(IDE_BUSY, channel->active); } diff -Nru a/fs/jfs/jfs_logmgr.c b/fs/jfs/jfs_logmgr.c --- a/fs/jfs/jfs_logmgr.c Thu May 30 09:16:43 2002 +++ b/fs/jfs/jfs_logmgr.c Thu May 30 09:16:43 2002 @@ -1813,7 +1813,7 @@ bio->bi_end_io = lbmIODone; bio->bi_private = bp; submit_bio(READ, bio); - run_task_queue(&tq_disk); + blk_run_queues(); wait_event(bp->l_ioevent, (bp->l_flag != lbmREAD)); @@ -1958,7 +1958,7 @@ submit_bio(WRITE, bio); INCREMENT(lmStat.submitted); - run_task_queue(&tq_disk); + blk_run_queues(); jFYI(1, ("lbmStartIO done\n")); } diff -Nru a/include/linux/raid/md_k.h b/include/linux/raid/md_k.h --- a/include/linux/raid/md_k.h Thu May 30 09:16:43 2002 +++ b/include/linux/raid/md_k.h Thu May 30 09:16:43 2002 @@ -355,7 +355,7 @@ if (condition) \ break; \ spin_unlock_irq(&lock); \ - run_task_queue(&tq_disk); \ + blk_run_queues(); \ schedule(); \ spin_lock_irq(&lock); \ } \ @@ -381,7 +381,7 @@ set_current_state(TASK_UNINTERRUPTIBLE); \ if (condition) \ break; \ - run_task_queue(&tq_disk); \ + blk_run_queues(); \ schedule(); \ } \ current->state = TASK_RUNNING; \ diff -Nru a/kernel/suspend.c b/kernel/suspend.c --- a/kernel/suspend.c Thu May 30 09:16:43 2002 +++ b/kernel/suspend.c Thu May 30 09:16:43 2002 @@ -307,7 +307,8 @@ static void do_suspend_sync(void) { while (1) { - run_task_queue(&tq_disk); + blk_run_queues(); +#error this is broken, FIXME if (!TQ_ACTIVE(tq_disk)) break; printk(KERN_ERR "Hm, tq_disk is not empty after run_task_queue\n"); --- linux/fs/ufs/truncate.c~ 2002-05-31 07:52:14.000000000 +0200 +++ linux/fs/ufs/truncate.c 2002-05-31 07:52:27.000000000 +0200 @@ -453,7 +453,7 @@ break; if (IS_SYNC(inode) && (inode->i_state & I_DIRTY)) ufs_sync_inode (inode); - run_task_queue(&tq_disk); + blk_run_queues(); yield(); } offset = inode->i_size & uspi->s_fshift; -- Jens Axboe ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2002-05-31 5:53 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2002-05-30 5:35 2.5.19 - raid1 erros on compile system_lists 2002-05-30 6:22 ` Jens Axboe 2002-05-30 19:25 ` system_lists 2002-05-31 5:53 ` Jens Axboe
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox