Re: cdrecord problem with current current

2000-02-20 Thread Bob Bishop

At 17:19 -0700 19/2/00, Kenneth D. Merry wrote:
>On Sat, Feb 19, 2000 at 19:28:23 +, Bob Bishop wrote:
>> Hi,
>>
>> cdrecord, freshly built on last night's -current:
>
>Freshly built?  That's cdrecord 1.8a21, which is several versions old.  I
>think you should be using cdrecord 1.8 release from the ports tree.



Uh, yes, it would have helped enormously if I'd actually installed it.
Works just fine, sorry for the false alarm.




--
Bob Bishop  (0118) 977 4017  international code +44 118
[EMAIL PROTECTED]fax (0118) 989 4254  between 0800 and 1800 UK




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: cdrecord problem with current current

2000-02-19 Thread Kenneth D. Merry

On Sat, Feb 19, 2000 at 19:28:23 +, Bob Bishop wrote:
> Hi,
> 
> cdrecord, freshly built on last night's -current:

Freshly built?  That's cdrecord 1.8a21, which is several versions old.  I
think you should be using cdrecord 1.8 release from the ports tree.

> atlas# cdrecord -v dev=1,6,0 -inq
> Cdrecord release 1.8a21 Copyright (C) 1995-1999 J–rg Schilling
> TOC Type: 1 = CD-ROM
> scsidev: '1,6,0'
> scsibus: 1 target: 6 lun: 0
> atapi: 0
> cdrecord: Warning: controller returns zero sized CD capabilities page.
> cdrecord: Warning: controller returns wrong size for CD capabilities page.
> cdrecord: Warning: controller returns wrong page 0 for CD capabilities page
> (2A)
> .
> Device type: Removable CD-ROM
> Version: 2
> Response Format: 2
> Capabilities   : SYNC
> Vendor_info: 'YAMAHA  '
> Identifikation : 'CRW4416S'
> Revision   : '1.0f'
> Device seems to be: Generic CD-ROM.
> atlas#
> 
> ...so cdrecord can't tell what the device is. Am I in trouble because the
> CDR isn't on the first SCSI controller, or has something got broken? Dmesg
> follows:

It's fine for your drive to be on a different controller.  The real
question is, has cdrecord worked fine before, or is this the first time
you've used it with your drive?

Does camcontrol work?  Try this:

camcontrol devlist
camcontrol tur cd0 -v
camcontrol inquiry cd0 -v
[ note that the inquiry command will return partially bogus results, I'm
waiting for Justin to review patches to fix that ]

Also see what happens if you try the '-prcap' option to cdrecord.

And use the latest version of cdrecord, so we can eliminate any probelms
with cdrecord.

[ ... ]
> aha0 at port 0x330-0x333 irq 11 drq 5 on isa0
> aha0: AHA-1542CF FW Rev. C.0 (ID=45) SCSI Host Adapter, SCSI ID 7, 16 CCBs
[ ... ]
> Mounting root from ufs:/dev/da0a
> cd0 at aha0 bus 0 target 6 lun 0
> cd0:  Removable CD-ROM SCSI-2 device
> cd0: 3.300MB/s transfers
> cd0: cd present [1 x 2048 byte records]

Ken
-- 
Kenneth Merry
[EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



cdrecord problem with current current

2000-02-19 Thread Bob Bishop

Hi,

cdrecord, freshly built on last night's -current:

atlas# cdrecord -v dev=1,6,0 -inq
Cdrecord release 1.8a21 Copyright (C) 1995-1999 J–rg Schilling
TOC Type: 1 = CD-ROM
scsidev: '1,6,0'
scsibus: 1 target: 6 lun: 0
atapi: 0
cdrecord: Warning: controller returns zero sized CD capabilities page.
cdrecord: Warning: controller returns wrong size for CD capabilities page.
cdrecord: Warning: controller returns wrong page 0 for CD capabilities page
(2A)
.
Device type: Removable CD-ROM
Version: 2
Response Format: 2
Capabilities   : SYNC
Vendor_info: 'YAMAHA  '
Identifikation : 'CRW4416S'
Revision   : '1.0f'
Device seems to be: Generic CD-ROM.
atlas#

...so cdrecord can't tell what the device is. Am I in trouble because the
CDR isn't on the first SCSI controller, or has something got broken? Dmesg
follows:

FreeBSD 4.0-CURRENT #28: Sat Feb 19 15:56:28 GMT 2000
rb@atlas:/source/cleansrc/sys/compile/ATLAS
Timecounter "i8254"  frequency 1193182 Hz
CPU: AMD-K6tm w/ multimedia extensions (233.86-MHz 586-class CPU)
  Origin = "AuthenticAMD"  Id = 0x562  Stepping = 2
  Features=0x8001bf
  AMD Features=0x400<>
real memory  = 33554432 (32768K bytes)
avail memory = 28872704 (28196K bytes)
Preloaded elf kernel "kernel" at 0xc03b1000.
md0: Malloc disk
npx0:  on motherboard
npx0: INT 16 interface
pcib0:  on motherboard
pci0:  on pcib0
isab0:  at device 7.0 on pci0
isa0:  on isab0
atapci0:  port 0xf000-0xf00f at device 7.1 on
pci0
pci0: Intel 82371AB/EB (PIIX4) USB controller (vendor=0x8086, dev=0x7112)
at 7.2
 irq 10
chip1:  port 0x5f00-0x5f0f at device
7.3 on pci0
ed0:  port 0x6500-0x651f irq 9 at device 10.0
on p
ci0
ed0: address 00:20:18:80:b4:6d, type NE2000 (16 bit)
adw0:  port 0x6600-0x66ff mem
0xe000-0
xe0ff irq 10 at device 12.0 on pci0
adw0: SCSI ID 7, High & Low SE Term Enabled, LVD Term Enabled, Queue Depth 253
devclass_alloc_unit: ata0 already exists, using next available unit number
devclass_alloc_unit: ata1 already exists, using next available unit number
devclass_alloc_unit: ed0 already exists, using next available unit number
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
aha0 at port 0x330-0x333 irq 11 drq 5 on isa0
aha0: AHA-1542CF FW Rev. C.0 (ID=45) SCSI Host Adapter, SCSI ID 7, 16 CCBs
atkbdc0:  at port 0x60-0x6f on isa0
atkbd0:  irq 1 on atkbdc0
vga0:  at port 0x3c0-0x3df iomem 0xa-0xb on isa0
sc0:  on isa0
sc0: VGA <16 virtual consoles, flags=0x200>
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
ppc0:  at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppi0:  on ppbus0
lpt0:  on ppbus0
lpt0: Interrupt-driven port
plip0:  on ppbus0
Waiting 15 seconds for SCSI devices to settle
Mounting root from ufs:/dev/da0a
cd0 at aha0 bus 0 target 6 lun 0
cd0:  Removable CD-ROM SCSI-2 device
cd0: 3.300MB/s transfers
cd0: cd present [1 x 2048 byte records]
da0 at adw0 bus 0 target 0 lun 0
da0:  Fixed Direct Access SCSI-2 device
da0: 40.000MB/s transfers (20.000MHz, offset 15, 16bit)
da0: 4134MB (8467200 512 byte sectors: 255H 63S/T 527C)
da1 at adw0 bus 0 target 1 lun 0
da1:  Fixed Direct Access SCSI-2 device
da1: 40.000MB/s transfers (20.000MHz, offset 15, 16bit), Tagged Queueing
Enabled
da1: 4357MB (8925000 512 byte sectors: 255H 63S/T 555C)


--
Bob Bishop  (0118) 977 4017  international code +44 118
[EMAIL PROTECTED]fax (0118) 989 4254  between 0800 and 1800 UK




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message