From owner-freebsd-scsi Tue Jul 28 13:55:03 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA12753 for freebsd-scsi-outgoing; Tue, 28 Jul 1998 13:55:03 -0700 (PDT) (envelope-from owner-freebsd-scsi@FreeBSD.ORG) Received: from thelab.hub.org (tc-53.acadiau.ca [131.162.2.153]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA12703 for ; Tue, 28 Jul 1998 13:54:31 -0700 (PDT) (envelope-from scrappy@hub.org) Received: from localhost (scrappy@localhost) by thelab.hub.org (8.8.8/8.8.2) with SMTP id RAA01757 for ; Tue, 28 Jul 1998 17:22:07 -0300 (ADT) X-Authentication-Warning: thelab.hub.org: scrappy owned process doing -bs Date: Tue, 28 Jul 1998 17:22:07 -0300 (ADT) From: The Hermit Hacker To: scsi@FreeBSD.ORG Subject: cdrecord+CAM == Broken Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi... I posted last night about an inability to use cdrecord after upgrading to CAM, and one answer back was to use *slap forehead* ktrace to determine where the problem was...so I'm doing that now. My first question is that the third line reported by kdump is: 25272 ktrace RET ktrace 0 25272 ktrace CALL readlink(0x2007d0dc,0xefbfd110,0x3f) 25272 ktrace NAMI "/etc/malloc.conf" 25272 ktrace RET readlink -1 errno 2 No such file or directory What is /etc/malloc.conf? I checked for a man page, but couldn't find one :( Now, to the error itself: 25272 cdrecord RET write 28/0x1c 25272 cdrecord CALL open(0xefbfc320,0x2,0xefbfc320) 25272 cdrecord NAMI "/dev/su0-6-0" 25272 cdrecord RET open -1 errno 2 No such file or directory 25272 cdrecord CALL open(0x12083,0x2,0xefbfdec2) 25272 cdrecord NAMI "/dev/scgx" 25272 cdrecord RET open 3 25272 cdrecord CALL ioctl(0x3,0x400c5104 ,0xefbfc2f0) 25272 cdrecord RET ioctl -1 errno 25 Inappropriate ioctl for device 25272 cdrecord CALL write(0x2,0xefbfc16c,0x40) Now, it used to use scgx, which is: %ls -lt /dev/scgx lrwxr-xr-x 1 root wheel 8 Jul 28 01:20 /dev/scgx -> rcd1.ctl and it worked fine. Now it doesn't, but I don't know why. The CDR is at cd1, so the .ctl file I'm using is correct...no? I can mount using cd1c and access files on the CD, so it isn't that the OS isn't recognizing the drive... Help? Marc G. Fournier Systems Administrator @ hub.org primary: scrappy@hub.org secondary: scrappy@{freebsd|postgresql}.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message