From owner-freebsd-bugs@FreeBSD.ORG Sun Dec 10 11:40:08 2006 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8247516A416 for ; Sun, 10 Dec 2006 11:40:08 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id F36AB43CA3 for ; Sun, 10 Dec 2006 11:38:57 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id kBABe7tT074430 for ; Sun, 10 Dec 2006 11:40:07 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id kBABe7YC074429; Sun, 10 Dec 2006 11:40:07 GMT (envelope-from gnats) Date: Sun, 10 Dec 2006 11:40:07 GMT Message-Id: <200612101140.kBABe7YC074429@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Heiner Cc: Subject: Re: kern/106432: Record of disks (DVD-R) through the k3b program leads to lag of system X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Heiner List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Dec 2006 11:40:08 -0000 The following reply was made to PR kern/106432; it has been noted by GNATS. From: Heiner To: bug-followup@freebsd.org, andrew@dobrohot.org Cc: Subject: Re: kern/106432: Record of disks (DVD-R) through the k3b program leads to lag of system Date: Sun, 10 Dec 2006 12:39:14 +0100 Hi! As it works on 6.1 but does not work under 6.2 it indeed seems to be a kernel bug. What might help the kernel hackers here is, if you start k3b from a console (like kde's konsole). k3b prints out debugging information, like: k3b: (K3bDevice::ScsiCommand) transport command 0, length: 6 k3b: (K3bDevice::ScsiCommand) transport failed (4): 145920 This means, that cam_send_ccb is called with ccb.csio.cdb_io.cdb_bytes[0] == 0 (hex) and ccb.csio.cdb_len == 6. This failed in this example. The exact meaning of the "(4): 145920" can be seen in libk3bdevice/k3bscsicommand_bsd.cpp in the k3b port, which prints this information. If more information is required, I am willing to patch k3b, so that it prints out more debugging information. A final note: k3b uses cdrecord and dvd+rw-tools for writing. But for reading drive capabilites and analyzing the disks it uses direct scsi commands. I am afraid that's all I can do for the moment. Heiner