From owner-freebsd-scsi Wed Nov 14 1:11:40 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from pcwin002.win.tue.nl (pcwin002.win.tue.nl [131.155.71.72]) by hub.freebsd.org (Postfix) with ESMTP id 7C03437B417 for ; Wed, 14 Nov 2001 01:11:35 -0800 (PST) Received: (from stijn@localhost) by pcwin002.win.tue.nl (8.11.6/8.11.4) id fAE9BRS14058; Wed, 14 Nov 2001 10:11:27 +0100 (CET) (envelope-from stijn) Date: Wed, 14 Nov 2001 10:11:27 +0100 From: Stijn Hoop To: Thomas Quinot , freebsd-scsi@freebsd.org Subject: Re: SCSI->IDE Message-ID: <20011114101127.B5576@pcwin002.win.tue.nl> References: <20011107155735.B30053@cuivre.fr.eu.org> <20011108104243.A30845@cuivre.fr.eu.org> <20011113115105.E70845@pcwin002.win.tue.nl> <20011113122529.B387@cuivre.fr.eu.org> <20011113195836.T21380@bushong.net> <20011114084234.A5576@pcwin002.win.tue.nl> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="opJtzjQTFsWo+cga" Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5i In-Reply-To: <20011114084234.A5576@pcwin002.win.tue.nl>; from stijn@win.tue.nl on Wed, Nov 14, 2001 at 08:42:34AM +0100 X-Bright-Idea: Let's abolish HTML mail! Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --opJtzjQTFsWo+cga Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Nov 14, 2001 at 08:42:34AM +0100, Stijn Hoop wrote: > On topic: I haven't tested the patch much, but it seems to work here > (single p3 1ghz i815 system, dmesg available on request of course) - at least > my CD-ROM & writer are detected, and I can mount a CD and read the files on > it. Still to test: burning a CD using the writer. I'll let you know the > results. OK, no good: cdrecord fails to scan the bus, see attached truss output. Like I said, I'm in way over my head so I'll leave it at this. Hopefully someone else sees something useful in this. --Stijn -- The right half of the brain controls the left half of the body. This means that only left handed people are in their right mind. --opJtzjQTFsWo+cga Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: attachment; filename="cdr.log" Content-Transfer-Encoding: 8bit Script started on Wed Nov 14 10:09:32 2001 __sysctl(0xbfbff404,0x2,0x28082f68,0xbfbff400,0x0,0x0) = 0 (0x0) mmap(0x0,32768,0x3,0x1002,-1,0x0) = 671629312 (0x28084000) geteuid() = 0 (0x0) getuid() = 0 (0x0) getegid() = 0 (0x0) getgid() = 0 (0x0) open("/var/run/ld-elf.so.hints",0,00) = 3 (0x3) read(0x3,0xbfbff3e4,0x80) = 128 (0x80) lseek(3,0x80,0) = 128 (0x80) read(0x3,0x28088000,0x4c) = 76 (0x4c) close(3) = 0 (0x0) access("/usr/lib/libcam.so.2",0) = 0 (0x0) open("/usr/lib/libcam.so.2",0,027757772134) = 3 (0x3) fstat(3,0xbfbff42c) = 0 (0x0) read(0x3,0xbfbfe3fc,0x1000) = 4096 (0x1000) mmap(0x0,61440,0x5,0x2,3,0x0) = 671662080 (0x2808c000) mmap(0x28098000,8192,0x3,0x12,3,0xb000) = 671711232 (0x28098000) mmap(0x2809a000,4096,0x3,0x1012,-1,0x0) = 671719424 (0x2809a000) close(3) = 0 (0x0) access("/usr/lib/libc.so.4",0) = 0 (0x0) open("/usr/lib/libc.so.4",0,027757772134) = 3 (0x3) fstat(3,0xbfbff42c) = 0 (0x0) read(0x3,0xbfbfe3fc,0x1000) = 4096 (0x1000) mmap(0x0,634880,0x5,0x2,3,0x0) = 671723520 (0x2809b000) mmap(0x2811d000,20480,0x3,0x12,3,0x81000) = 672256000 (0x2811d000) mmap(0x28122000,81920,0x3,0x1012,-1,0x0) = 672276480 (0x28122000) close(3) = 0 (0x0) sigaction(SIGILL,0xbfbff484,0xbfbff46c) = 0 (0x0) sigprocmask(0x1,0x0,0x28082e9c) = 0 (0x0) sigaction(SIGILL,0xbfbff46c,0x0) = 0 (0x0) sigprocmask(0x1,0x28082e60,0xbfbff4ac) = 0 (0x0) sigprocmask(0x3,0x28082e70,0x0) = 0 (0x0) getrlimit(0x8,0xbfbfdac8) = 0 (0x0) setrlimit(0x8,0xbfbfdac8) = 0 (0x0) open("/etc/default/cdrecord",0,0666) ERR#2 'No such file or directory' open("/etc/default/cdrecord",0,0666) ERR#2 'No such file or directory' open("/etc/default/cdrecord",0,0666) ERR#2 'No such file or directory' fstat(1,0xbfbfd7c8) = 0 (0x0) readlink("/etc/malloc.conf",0xbfbfd7a8,63) ERR#2 'No such file or directory' mmap(0x0,4096,0x3,0x1002,-1,0x0) = 672358400 (0x28136000) break(0x8077000) = 0 (0x0) break(0x8078000) = 0 (0x0) ioctl(1,TIOCGETA,0xbfbfd7fc) = 0 (0x0) Cdrecord 1.10 (i386-unknown-freebsd4.4) Copyright (C) 1995-2001 Jörg Schilling write(1,0x8077000,79) = 79 (0x4f) fstat(2,0xbfbfda78) = 0 (0x0) TOC Type: 1 = CD-ROM write(1,0x8077000,21) = 21 (0x15) break(0x8079000) = 0 (0x0) break(0x807a000) = 0 (0x0) break(0x807b000) = 0 (0x0) break(0x807c000) = 0 (0x0) break(0x807d000) = 0 (0x0) open("/dev/xpt0",2,027757753350) = 3 (0x3) break(0x8086000) = 0 (0x0) ioctl(3,CAMIOCOMMAND,0xbfbfd6d8) = 0 (0x0) close(3) = 0 (0x0) cdrecord: No such file or directory. Cannot open SCSI driver. write(2,0xbfbfd930,62) = 62 (0x3e) cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are root. write(2,0xbfbfd930,80) = 80 (0x50) sigprocmask(0x1,0x28082e60,0xbfbfd9c8) = 0 (0x0) sigprocmask(0x3,0x28082e70,0x0) = 0 (0x0) exit(0xffffffff) process exit, rval = 65280 Script done on Wed Nov 14 10:09:33 2001 --opJtzjQTFsWo+cga-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message