Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Oct 2001 19:49:51 +0100
From:      "Mikkel C. Simonsen" <mcs@post5.tele.dk>
To:        questions@FreeBSD.ORG
Subject:   Re: cdrecord problems
Message-ID:  <3BC9DE4F.3877@post5.tele.dk>
References:  <3BC8F8E7.3A47@post5.tele.dk> <00af01c154b4$460d2e80$0201a8c0@my.domain>

next in thread | previous in thread | raw e-mail | index | archive | help
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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV>
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: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Intel 82454KX/GX (Orion) host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
isab0: <Intel 82375EB PCI-EISA bridge> at device 2.0 on pci0
eisa0: <EISA bus> on isab0
mainboard0: <DEC5220 (System Board)> on eisa0 slot 0
isa0: <ISA bus> on isab0
pcib1: <DEC 21050 PCI-PCI bridge> at device 7.0 on pci0
pci1: <PCI bus> on pcib1
ahc0: <Adaptec 3940 Ultra SCSI adapter> 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: <Adaptec 3940 Ultra SCSI adapter> 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: <Adaptec 2940 Ultra SCSI adapter> 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: <S3 Trio 64V2/DX/GX graphics accelerator> at 13.0
chip0: <Intel 82453KX/GX (Orion) PCI memory controller> at device 20.0
on pci0
pcib2: <Intel 82454KX/GX (Orion) host to PCI bridge> on motherboard
pci2: <PCI bus> 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: <MII bus> on xl0
xlphy0: <3c905C 10/100 internal PHY> on miibus0
xlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on
isa0
sc0: <System console> on isa0
sc0: VGA <16 virtual consoles, flags=0x200>
fdc0: <NEC 72065B or clone> 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: <PCF8584 I2C bus controller> at port 0x320-0x321 irq 5 on isa0
iicbus0: <Philips I2C bus> on pcf0 addr 0xaa
iicsmb0: <I2C to SMB bridge> on iicbus0
smbus0: <System Management Bus> on iicsmb0
smb0: <SMBus general purpose I/O> on smbus0
iic0: <I2C general purpose I/O> on iicbus0
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> 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: <DEC DLT2000 9823> 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: <Raidtec Flexarray II   C 1.90> 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: <DEC RZ26N    (C) DEC 1003> 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: <PLEXTOR CD-ROM PX-32CS 1.02> 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: <PLEXTOR CD-R   PX-W1210S 1.02> 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: <TOSHIBA CD-ROM XM-5701TA 0557> 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: <IBM DCAS-34330W S65A> 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: <COMPAQ HB01831B95 A181> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3BC9DE4F.3877>