From owner-freebsd-questions Sun Oct 14 10:59: 7 2001 Delivered-To: freebsd-questions@freebsd.org Received: from fepZ.post.tele.dk (fepz.post.tele.dk [195.41.46.133]) by hub.freebsd.org (Postfix) with ESMTP id 4A14C37B405 for ; Sun, 14 Oct 2001 10:58:58 -0700 (PDT) Received: from Mikkel ([62.242.11.21]) by fepZ.post.tele.dk (InterMail vM.4.01.03.23 201-229-121-123-20010418) with SMTP id <20011014175857.WFFK2863.fepZ.post.tele.dk@Mikkel> for ; Sun, 14 Oct 2001 19:58:57 +0200 Received: from Mikkel (Mikkel [192.168.1.2]) by Mikkel (Weasel v1.20) for ; 14 Oct 2001 19:49:52 Message-ID: <3BC9DE4F.3877@post5.tele.dk> Date: Sun, 14 Oct 2001 19:49:51 +0100 From: "Mikkel C. Simonsen" Organization: Dantimax X-Mailer: Mozilla 3.0 (OS/2; I) MIME-Version: 1.0 To: questions@FreeBSD.ORG Subject: Re: cdrecord problems References: <3BC8F8E7.3A47@post5.tele.dk> <00af01c154b4$460d2e80$0201a8c0@my.domain> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG GldisAter wrote: > > When posting a question regarding hardware, it's always a good idea to > include dmesg and other program output that could be relevent to solving the > problem. Here is the output I get from cdrecord: bsdsnegl# /usr/local/bin/cdrecord dev=2,3,0 -checkdrive Cdrecord 1.9 (i386-unknown-freebsd4.2) Copyright (C) 1995-2000 J”rg Schilling scsidev: '2,3,0' scsibus: 2 target: 3 lun: 0 /usr/local/bin/cdrecord: No such file or directory. Cannot open SCSI driver. /usr/local/bin/cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are root. bsdsnegl# /usr/local/bin/cdrecord -scanbus Cdrecord 1.9 (i386-unknown-freebsd4.2) Copyright (C) 1995-2000 J”rg Schilling Using libscg version 'schily-0.1' scsibus0: 0,0,0 0) * 0,1,0 1) 'Raidtec ' 'Flexarray II C' '1.90' Disk 0,2,0 2) * 0,3,0 3) * 0,4,0 4) * 0,5,0 5) * 0,6,0 6) * 0,7,0 7) * scsibus1: 1,0,0 100) 'DEC ' 'RZ26N (C) DEC' '1003' Disk 1,1,0 101) 'COMPAQ ' 'HB01831B95 ' 'A181' Disk 1,2,0 102) 'IBM ' 'DCAS-34330W ' 'S65A' Disk 1,3,0 103) * 1,4,0 104) * 1,5,0 105) * 1,6,0 106) * 1,7,0 107) * And here is my dmesg: bsdsnegl# dmesg Copyright (c) 1992-2001 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.3-RELEASE #0: Wed Sep 5 05:28:23 CEST 2001 finn@bsdsnegl.stiftsbogtrykkeriet.dk:/usr/src/sys/compile/DEC7000 Timecounter "i8254" frequency 1193182 Hz CPU: Pentium Pro (180.00-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x619 Stepping = 9 Features=0xfbff real memory = 268435456 (262144K bytes) avail memory = 257769472 (251728K bytes) APIC_IO: MP table broken: 8259->APIC entry missing! Programming 16 pins in IOAPIC #0 EISA INTCONTROL = 0000cc00 IOAPIC #0 intpin 2 -> irq 0 FreeBSD/SMP: Multiprocessor motherboard cpu0 (BSP): apic id: 0, version: 0x00040011, at 0xfee00000 io0 (APIC): apic id: 14, version: 0x000f0011, at 0xfec00000 Preloaded elf kernel "kernel" at 0xc037f000. ccd0-3: Concatenated disk drivers VESA: v1.2, 1024k memory, flags:0x0, mode table:0xc00c501e (c000501e) VESA: S3 Incorporated. 86C775/86C785 Pentium Pro MTRR support enabled md0: Malloc disk npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 isab0: at device 2.0 on pci0 eisa0: on isab0 mainboard0: on eisa0 slot 0 isa0: on isab0 pcib1: at device 7.0 on pci0 pci1: on pcib1 ahc0: port 0x8000-0x80ff mem 0xf7fff000-0xf7ffffff irq 15 at device 4.0 on pci1 aic7880: Wide Channel A, SCSI Id=7, 16/255 SCBs ahc1: port 0x8400-0x84ff mem 0xf7ffe000-0xf7ffefff irq 14 at device 5.0 on pci1 aic7880: Wide Channel B, SCSI Id=7, 16/255 SCBs ahc2: port 0x7000-0x70ff mem 0xfeaff000-0xfeafffff irq 11 at device 9.0 on pci0 aic7880: Wide Channel A, SCSI Id=7, 16/255 SCBs pci0: at 13.0 chip0: at device 20.0 on pci0 pcib2: on motherboard pci2: on pcib2 xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0x9000-0x907f mem 0xf7dffc00-0xf7dffc7f irq 10 at device 3.0 on pci2 xl0: Ethernet address: 00:04:76:0e:e7:7c miibus0: on xl0 xlphy0: <3c905C 10/100 internal PHY> on miibus0 xlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 psm0: irq 12 on atkbdc0 psm0: model Generic PS/2 mouse, device ID 0 vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: on isa0 sc0: VGA <16 virtual consoles, flags=0x200> fdc0: at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A pcf0: at port 0x320-0x321 irq 5 on isa0 iicbus0: on pcf0 addr 0xaa iicsmb0: on iicbus0 smbus0: on iicsmb0 smb0: on smbus0 iic0: on iicbus0 ppc0: at port 0x378-0x37f irq 7 on isa0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 APIC_IO: Testing 8254 interrupt delivery APIC_IO: routing 8254 via IOAPIC #0 intpin 2 IPsec: Initialized Security Association Processing. Waiting 8 seconds for SCSI devices to settle sa0 at ahc2 bus 0 target 5 lun 0 sa0: Removable Sequential Access SCSI-2 device sa0: 5.000MB/s transfers (5.000MHz, offset 15) da0 at ahc0 bus 0 target 1 lun 0 da0: Fixed Direct Access SCSI-2 device da0: 13.512MB/s transfers (6.756MHz, offset 8, 16bit) da0: 69688MB (142722992 512 byte sectors: 255H 63S/T 8884C) da1 at ahc1 bus 0 target 0 lun 0 da1: Fixed Direct Access SCSI-2 device da1: 20.000MB/s transfers (10.000MHz, offset 8, 16bit), Tagged Queueing Enabled da1: 1001MB (2050860 512 byte sectors: 64H 32S/T 1001C) Mounting root from ufs:/dev/da1s2a cd0 at ahc2 bus 0 target 0 lun 0 cd0: Removable CD-ROM SCSI-2 device cd0: 10.000MB/s transfers (10.000MHz, offset 15) cd0: Attempt to query device size failed: NOT READY, Medium not present cd1 at ahc2 bus 0 target 3 lun 0 cd1: Removable CD-ROM SCSI-2 device cd1: 10.000MB/s transfers (10.000MHz, offset 15) cd1: Attempt to query device size failed: NOT READY, Medium not present - tray closed cd2 at ahc2 bus 0 target 4 lun 0 cd2: Removable CD-ROM SCSI-2 device cd2: 10.000MB/s transfers (10.000MHz, offset 8) cd2: Attempt to query device size failed: NOT READY, Medium not present da3 at ahc1 bus 0 target 2 lun 0 da3: Fixed Direct Access SCSI-2 device da3: 40.000MB/s transfers (20.000MHz, offset 8, 16bit) da3: 4134MB (8467200 512 byte sectors: 255H 63S/T 527C) da2 at ahc1 bus 0 target 1 lun 0 da2: Fixed Direct Access SCSI-2 device da2: 40.000MB/s transfers (20.000MHz, offset 8, 16bit), Tagged Queueing Enabled da2: 17366MB (35566000 512 byte sectors: 255H 63S/T 2213C) Hope that helps. Best regards, Mikkel C. Simonsen > > Jeremy Faulkner > > ----- Original Message ----- > > > > I have just installed cdrecord 1.9 on a FreeBSD 4.3 (i386) system, but > > cdrecord doesn't seam to be able to find the CDR drive. > > > > The system has two SCSI cards - an Adaptec 3940UW and a 2940UW. The CDR > > drive is connected to the 2940 which is bus 2 (ahc2). When I run > > cdrecord -scanbus I get a list of the drives connected to bus 0 and 1. > > How to I get cdrecord to find bus 2? > > > > If I try to enter the correct dev (2,3,0) cdrecord tells me it's unable > > to access the device. > > > > FreeBSD does find the CDR drive - it is listed as cd1 in dmesg. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message