Re: Kernel bug crashing in HDIO_DRIVE_TASKFILE

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Chuck Ebbert wrote:
Norman Diamond wrote:

Kernel 2.6.27.7 in Slax gets a panic or oops (I can't tell which).
Of course I had to recompile the Slax kernel with CONFIG_IDE_TASK_IOCTL
enabled.
Kernel 2.6.19 in Knoppix handles the same HDIO_DRIVE_TASKFILE perfectly.
100% reproduced in four configurations: [WRITE_DMA_EXT and WRITE_DMA].
(Of course the real purpose of the program will not be to write 126
sectors starting at 0.)

kernel BUG at block/cfg-iosched.c:2001!
invalid opcode: 0000 [#1] SMP
Pid: 3634, comm: pee3en Tainted: G        W (2.6.27.7 #1)
EIP: 0060:[<c03be1a5>] EFLAGS: 00010046 CPU: 0
EIP is at cfq_put_request+0x45/0x50
 [<c03b20c0>] elv_put_request+0x10/0x20
 [<c03b4441>] __blk_put_request+0x71/0x80
 [<c03b4829>] blk_put_request+0x29/0x50
 [<c045e308>] ide_raw_taskfile+0x78/0x90
 [<c045f273>] ide_taskfile_ioctl+0x283/0x4c0

block/cfq-iosched.c:
static void cfq_put_request(struct request *rq)
BUG_ON(!cfqq->allocated[rw]);     <================

You should try 2.6.27.6 and 2.6.27.19 to see if they have the bug too.

The latest kernel available from Slax with their build script is 2.6.27.8. Today I modified their config to enable CONFIG_IDE_TASK_IOCTL and reproed the bug with 2.6.27.8.

Tomorrow I will try to figure out if I can combine 2.6.27.19 with Slax's
build script but I might not be able to figure it out.

Does anyone know when this bug was added?  2.6.19 is too old for my needs,
but the range 2.6.24 to 2.6.26 might be OK if they had taskfiles working.
Maybe I should look for a Slax version that had a kernel from 2.6.24 or so,
since I can probably customize it in a single day by now.  But if the bug
was already present in 2.6.24 then it would be a waste of time.
--------------------------------------
Power up the Internet with Yahoo! Toolbar.
http://pr.mail.yahoo.co.jp/toolbar/
--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux