Re: cds disappeared

1999-09-05 Thread Kenneth D. Merry

Rick Lotoczky wrote...
 Sorry, I'm really confused about who has the problem,
 but I *do know* my system isn't working properly. 
 Also, it is different...I didn't know about the two
 drives until after I sent mail to you.
 
 Anyway...here goes--
  
 On 04-Sep-99 Kenneth D. Merry said:
  Rick Lotoczky wrote...
 
 ...my stuff deleted
 
  
  It sounds like you've only got one CDROM drive in each
  machine.
  
  Please send the output of the following, with mountable
  media in the drive:
  
  camcontrol devlist -v
 root:~# /sbin/camcontrol devlist -v
[ ... ]
 scbus1 on ncr0 bus 0:
 HP C4324/C4325 1.27  at scbus1 target 0 lun 0
 (pass6,cd0)
[ ... ]

  camcontrol tur cd0 -v
 root:~# /sbin/camcontrol tur cd0 -v
 Unit is not ready
 (pass6:ncr0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 
 (pass6:ncr0:0:0:0): NOT READY asc:3a,0
 (pass6:ncr0:0:0:0): Medium not present

You don't have a CD in your drive, or the drive doesn't think you do.
There's no way FreeBSD will be able to mount it if the drive doesn't think
it has media.

  camcontrol inquiry cd0
 root:~# /sbin/camcontrol inquiry cd0 -v
 pass6: HP C4324/C4325 1.27 Removable CD-ROM SCSI-2 device 
 (pass6:ncr0:0:0:0): INQUIRY. CDB: 12 1 80 0 ff 0 
 (pass6:ncr0:0:0:0): ILLEGAL REQUEST asc:24,0
 (pass6:ncr0:0:0:0): Invalid field in CDB sks:c0,2 -
 pass6: 3.300MB/s transfers  |
 |
 |
 Looks like something is wrong here--

The only thing "wrong" is that your CDROM drive doesn't handle the serial
number inquiry.  Most don't, so it's nothing to worry about.

 the NCR driver compiles with warnings...

Don't worry about the compile warnings too much.

  mount /dev/cd0a /mnt
 
 mount just hangs until a timeout and then gives:
 
 mount: Input/Output error
 
 Thanks for the help Ken. By the way, my machine is
 dual-boot with NT.  The CD works
 fine with the other OS.

It's hard to say what's wrong with your drive, although you do have one of
those HP/Philips WORM drives that's known to be a bit screwy.  If you boot
without media in it, it'll probably take a long time for the probe message
to show up, since the drive takes forever to return a read capacity command
when it has no media.

Just because the CD in question works fine with other OSes doesn't mean
that FreeBSD's cd9660 code can handle it.

If the test unit ready you issued above was done when there was media in
the drive (i.e. the CD in question), then you've likely got a hardware
problem of some sort.  That's because the drive is telling you that it
doesn't have any media.  There's nothing the OS can do to affect that
behavior, unless it's the result of some bizarre firmware bug that requires
commands to be sent in some non-standard order.

I doubt that's the case, though, since other people have identical drives
that function just fine.  If your drive is reporting medium not present
when a CD is in the drive, there's probably something wrong with it.  If it
does the same with every CD you stick in it, that just makes the results
more conclusive.

Ken
-- 
Kenneth Merry
[EMAIL PROTECTED]


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



Re: cds disappeared

1999-09-04 Thread Randy Bush

 # camcontrol tur cd0 -v
 Unit is not ready
 (pass2:ahc0:0:4:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 
 (pass2:ahc0:0:4:0): NOT READY asc:3a,0
 (pass2:ahc0:0:4:0): Medium not present
 Well, there's your problem, for better or worse.

it's even kinkier than that.  despite dmesg of

cd0 at ahc0 bus 0 target 4 lun 0
cd0: TEAC CD-ROM CD-532S 1.0A Removable CD-ROM SCSI-2 device 
cd0: 20.000MB/s transfers (20.000MHz, offset 16)
cd0: Attempt to query device size failed: NOT READY, Medium not present
cd1 at ahc0 bus 0 target 5 lun 0
cd1: YAMAHA CRW4416S 1.0f Removable CD-ROM SCSI-2 device 
cd1: 8.333MB/s transfers (8.333MHz, offset 31)
cd1: cd present [270542 x 2048 byte records]

i can put a mountable disk in the TEAC and it will mount only on cd1c (note
the 1 not 0), and vice versa with cd0c.  i.e. they are reversed in some way.

and let's remember that the kernel config says

disk  cd0 at scbus0 target 4 unit 0
disk  cd1 at scbus0 target 5 unit 0

and, if i put an audio cdrom in the teac and xmcd -dev /dev/rcd1c, it sees
the cd, gets the title etc. from the database, looks like it plays, but no
sound.

i will play more after a bit more sleep.

randy


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



Re: cds disappeared

1999-09-04 Thread Randy Bush

 I am having the same problem with the CD as Ken is.

actually, it was ken helping me with my problem.

and it turns out my problem was that the two drives had been physically
swapped, and when jet-lag subsided the bleeping idiot pilot realized his
stupidity.

apologies to all.

randy


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



Re: cds disappeared

1999-09-04 Thread Kenneth D. Merry

Randy Bush wrote...
  # camcontrol tur cd0 -v
  Unit is not ready
  (pass2:ahc0:0:4:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 
  (pass2:ahc0:0:4:0): NOT READY asc:3a,0
  (pass2:ahc0:0:4:0): Medium not present
  Well, there's your problem, for better or worse.
 
 it's even kinkier than that.  despite dmesg of
 
 cd0 at ahc0 bus 0 target 4 lun 0
 cd0: TEAC CD-ROM CD-532S 1.0A Removable CD-ROM SCSI-2 device 
 cd0: 20.000MB/s transfers (20.000MHz, offset 16)
 cd0: Attempt to query device size failed: NOT READY, Medium not present
 cd1 at ahc0 bus 0 target 5 lun 0
 cd1: YAMAHA CRW4416S 1.0f Removable CD-ROM SCSI-2 device 
 cd1: 8.333MB/s transfers (8.333MHz, offset 31)
 cd1: cd present [270542 x 2048 byte records]
 
 i can put a mountable disk in the TEAC and it will mount only on cd1c (note
 the 1 not 0), and vice versa with cd0c.  i.e. they are reversed in some way.
 
 and let's remember that the kernel config says
 
 disk  cd0 at scbus0 target 4 unit 0
 disk  cd1 at scbus0 target 5 unit 0

That's bizarre.  I suspect this might have something to do with the
recent disk/slice changes.  You might want to talk to Poul-Henning Kamp
[EMAIL PROTECTED] and see if he has any idea, because we haven't changed
anything in CAM that would cause this that I know of.

What happens if you just don't hardwire the CDs?  They should show up in
the same order.

 and, if i put an audio cdrom in the teac and xmcd -dev /dev/rcd1c, it sees
 the cd, gets the title etc. from the database, looks like it plays, but no
 sound.

This could be a different problem, depending on how your sound is routed.
Are you listening to your CDROM drive via the internal sound cable, routed
through your sound card?  Or are you using the external headphone jack?

If you're routing it through your soundcard, there have been some major
changes to the sound card drivers over the past few days that could explain
the problem.  If not, I dunno what's up.  I assume you've checked the
volume control on the front of the drive?

Ken
-- 
Kenneth Merry
[EMAIL PROTECTED]


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



Re: cds disappeared

1999-09-04 Thread Kenneth D. Merry

Rick Lotoczky wrote...
 I am having the same problem with the CD as Ken is.
 I also tried the suggested diagnostics with exactly the 
 same results.  Media is in the drive, but it is not being
 recognized.  I've been building kernels since FBSD-0.9 so
 I think I got that right by now.  This cropped up somewhat
 recently (in the past few weeks).  My CD was working fine
 when I used it last month.  I usually rebuild the entire
 system once a week.
 
 I think there is a problem in the software.  Two different 
 drives on two different machines (my CD is connected to
 an NCR SCSI controller) with the same problem.

This sounds like it could be a different problem than Randy Busy is having.
He has two CDROM drives, and it looks like they have been swapped somehow.

It sounds like you've only got one CDROM drive in each machine.

Please send the output of the following, with mountable media in the drive:

camcontrol devlist -v
camcontrol tur cd0 -v
camcontrol inquiry cd0
mount /dev/cd0a /mnt

Ken
-- 
Kenneth Merry
[EMAIL PROTECTED]


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



Re: cds disappeared

1999-09-04 Thread Steve Kargl

Kenneth D. Merry wrote:
 This sounds like it could be a different problem than Randy Busy is having.
 He has two CDROM drives, and it looks like they have been swapped somehow.
 
 It sounds like you've only got one CDROM drive in each machine.
 
 Please send the output of the following, with mountable media in the drive:
 
 camcontrol devlist -v
 camcontrol tur cd0 -v
 camcontrol inquiry cd0
 mount /dev/cd0a /mnt
 

Ken,

What ever change is causing the problem with SCSI CD drives, it
went into the tree sometime last week.  I'm seeing the same 
error reported about xmcd.  My last "cvsup ; make world" was 
on Sep 1.  I haven't updated xmcd to see if the problem goes 
away.

troutmask:root[201] camcontrol devlist -v
scbus-1 on xpt0 bus 0:
 at scbus-1 target -1 lun -1 (xpt0)
scbus0 on ahc0 bus 0:
SEAGATE ST34371N 0280at scbus0 target 0 lun 0 (pass0,da0)
DEC DLT2000 8B37 at scbus0 target 1 lun 0 (pass1,sa0)
QUANTUM LIGHTNING 730S 241E  at scbus0 target 2 lun 0 (pass2,da1)
PLEXTOR CD-ROM PX-12CS 1.00  at scbus0 target 6 lun 0 (pass3,cd0)
 at scbus0 target -1 lun -1 ()
troutmask:root[202] camcontrol tur cd0 -v
Unit is ready
troutmask:root[203] camcontrol inquiry cd0
pass3: PLEXTOR CD-ROM PX-12CS 1.00 Removable CD-ROM SCSI-2 device 
pass3: 10.000MB/s transfers (10.000MHz, offset 15)
troutmask:root[204] mount /dev/cd0a /mnt
mount: /dev/cd0a on /mnt: incorrect super block

Note: it is an audio cd so I expect the mount to fail.

-- 
Steve


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



Re: cds disappeared

1999-09-04 Thread Kenneth D. Merry

Steve Kargl wrote...
 Kenneth D. Merry wrote:
  This sounds like it could be a different problem than Randy Busy is having.
  He has two CDROM drives, and it looks like they have been swapped somehow.
  
  It sounds like you've only got one CDROM drive in each machine.
  
  Please send the output of the following, with mountable media in the drive:
  
  camcontrol devlist -v
  camcontrol tur cd0 -v
  camcontrol inquiry cd0
  mount /dev/cd0a /mnt
  
[ ... ]
 What ever change is causing the problem with SCSI CD drives, it
 went into the tree sometime last week.  I'm seeing the same 
 error reported about xmcd.  My last "cvsup ; make world" was 
 on Sep 1.  I haven't updated xmcd to see if the problem goes 
 away.
 
 troutmask:root[201] camcontrol devlist -v
 scbus-1 on xpt0 bus 0:
  at scbus-1 target -1 lun -1 (xpt0)
 scbus0 on ahc0 bus 0:
 SEAGATE ST34371N 0280at scbus0 target 0 lun 0 (pass0,da0)
 DEC DLT2000 8B37 at scbus0 target 1 lun 0 (pass1,sa0)
 QUANTUM LIGHTNING 730S 241E  at scbus0 target 2 lun 0 (pass2,da1)
 PLEXTOR CD-ROM PX-12CS 1.00  at scbus0 target 6 lun 0 (pass3,cd0)
  at scbus0 target -1 lun -1 ()
 troutmask:root[202] camcontrol tur cd0 -v
 Unit is ready
 troutmask:root[203] camcontrol inquiry cd0
 pass3: PLEXTOR CD-ROM PX-12CS 1.00 Removable CD-ROM SCSI-2 device 
 pass3: 10.000MB/s transfers (10.000MHz, offset 15)

Okay, it looks like your passthrough devices etc., are functioning
properly.

 troutmask:root[204] mount /dev/cd0a /mnt
 mount: /dev/cd0a on /mnt: incorrect super block
 
 Note: it is an audio cd so I expect the mount to fail.

I would try recompiling xmcd.  If that doesn't work, try starting xmcd with
the -debug switch.  It may give you some indication as to what's going on.

There was a change that went into -current on August 16th that would cause
xmcd and any other ports that use the passthrough device to stop
functioning.  So if you haven't rebuilt xmcd since then, it won't function
properly.

Ken
-- 
Kenneth Merry
[EMAIL PROTECTED]


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



Re: cds disappeared

1999-09-04 Thread Rick Lotoczky

Hi Ken,

Sorry, I'm really confused about who has the problem,
but I *do know* my system isn't working properly. 
Also, it is different...I didn't know about the two
drives until after I sent mail to you.

Anyway...here goes--
 
On 04-Sep-99 Kenneth D. Merry said:
 Rick Lotoczky wrote...

...my stuff deleted

 
 It sounds like you've only got one CDROM drive in each
 machine.
 
 Please send the output of the following, with mountable
 media in the drive:
 


 camcontrol devlist -v
root:~# /sbin/camcontrol devlist -v
scbus-1 on xpt0 bus 0:
 at scbus-1 target -1 lun
-1 (xpt0)
scbus0 on ahc0 bus 0:
SEAGATE ST32550W SUN2.1G 0416at scbus0 target 0 lun 0
(pass1,da0)
IBM DCAS-34330W S65A at scbus0 target 1 lun 0
(pass2,da1)
QUANTUM XP32275W LXY4at scbus0 target 2 lun 0
(pass3,da2)
QUANTUM FIREBALL_TM2110S 300Xat scbus0 target 3 lun 0
(pass4,da3)
MICROP 4743WS S168   at scbus0 target 4 lun 0
(pass5,da4)
 at scbus0 target -1 lun
-1 ()
scbus1 on ncr0 bus 0:
HP C4324/C4325 1.27  at scbus1 target 0 lun 0
(pass6,cd0)
HP HP35480A T603 at scbus1 target 3 lun 0
(pass7,sa0)
HP C2520A 3503   at scbus1 target 4 lun 0
(pass0,pt0)
  

 camcontrol tur cd0 -v
root:~# /sbin/camcontrol tur cd0 -v
Unit is not ready
(pass6:ncr0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 
(pass6:ncr0:0:0:0): NOT READY asc:3a,0
(pass6:ncr0:0:0:0): Medium not present

 camcontrol inquiry cd0
root:~# /sbin/camcontrol inquiry cd0 -v
pass6: HP C4324/C4325 1.27 Removable CD-ROM SCSI-2 device 
(pass6:ncr0:0:0:0): INQUIRY. CDB: 12 1 80 0 ff 0 
(pass6:ncr0:0:0:0): ILLEGAL REQUEST asc:24,0
(pass6:ncr0:0:0:0): Invalid field in CDB sks:c0,2 -
pass6: 3.300MB/s transfers  |
|
|
Looks like something is wrong here--
the NCR driver compiles with warnings...
cc -c -O -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes  -Wmissing
-prototypes -Wpointer-arith -Winline -Wcast-qual 
-fformat-extensions -ansi  -no
stdinc -I- -I. -I../.. -I../../../include  -DKERNEL
-include opt_global.h -elf  
../../pci/ncr.c
../../pci/ncr.c: In function `ncr_log_hard_error':
../../pci/ncr.c:5327: warning: cast discards `volatile'
from pointer target type
../../pci/ncr.c: In function `ncr_exception':
../../pci/ncr.c:5464: warning: cast discards `volatile'
from pointer target type
../../pci/ncr.c: In function `ncr_int_ma':
../../pci/ncr.c:5767: warning: cast discards `volatile'
from pointer target type
../../pci/ncr.c:5771: warning: cast discards `volatile'
from pointer target type
../../pci/ncr.c:5795: warning: cast discards `volatile'
from pointer target type
../../pci/ncr.c:5802: warning: cast discards `volatile'
from pointer target type
../../pci/ncr.c:5810: warning: cast discards `volatile'
from pointer target type
../../pci/ncr.c:5815: warning: cast discards `volatile'
from pointer target type
../../pci/ncr.c:5825: warning: cast discards `volatile'
from pointer target type
../../pci/ncr.c:5829: warning: cast discards `volatile'
from pointer target type
../../pci/ncr.c: In function `ncr_regtest':
../../pci/ncr.c:6797: warning: cast discards `volatile'
from pointer target type
../../pci/ncr.c:6798: warning: cast discards `volatile'
from pointer target type

 mount /dev/cd0a /mnt

mount just hangs until a timeout and then gives:

mount: Input/Output error

Thanks for the help Ken. By the way, my machine is
dual-boot with NT.  The CD works
fine with the other OS.

Rick


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



cds disappeared

1999-09-03 Thread Randy Bush

i upgraded from mid-april to current and my cdrom drives went away.
e.g. xmcd says
CD audio: SCSI command fault on /dev/rcd0c:
Status=0x16

# ls -lg /dev/cd* /dev/rcd*
brw-r-  1 root  operator6,   0 Sep  3 16:52 /dev/cd0a
brw-r-  1 root  operator6,   2 Sep  3 16:52 /dev/cd0c
brw-r-  1 root  operator6,   8 Sep  3 16:52 /dev/cd1a
brw-r-  1 root  operator6,  10 Sep  3 16:52 /dev/cd1c
crw-r-  1 root  operator   15,   0 Sep  3 16:52 /dev/rcd0a
crw-r-  1 root  operator   15,   2 Sep  3 16:52 /dev/rcd0c
crw-r-  1 root  operator   15,   8 Sep  3 16:52 /dev/rcd1a
crw-r-  1 root  operator   15,  10 Sep  3 16:52 /dev/rcd1c

dmesg and kernel follow

randy

Copyright (c) 1992-1999 The FreeBSD Project.
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
FreeBSD 4.0-CURRENT #0: Fri Sep  3 16:43:14 PDT 1999
[EMAIL PROTECTED]:/usr/src/sys/compile/RIP
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium II/Xeon/Celeron (686-class CPU)
  Origin = "GenuineIntel"  Id = 0x651  Stepping = 1
  
Features=0x183fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR
real memory  = 134205440 (131060K bytes)
config pnp 1 0 enable os port0 0x220 port1 0x330 port2 0x388 irq0 5 drq0 1 drq1 5
Invalid command or syntax.  Type `?' for help.
config pnp 1 1 enable os port0 0x200
Invalid command or syntax.  Type `?' for help.
config pnp 1 2 enable os port0 0x620 port1 0xa20 port2 0xe20
Invalid command or syntax.  Type `?' for help.
config quit
avail memory = 126930944 (123956K bytes)
Programming 24 pins in IOAPIC #0
FreeBSD/SMP: Multiprocessor motherboard
 cpu0 (BSP): apic id:  1, version: 0x00040011, at 0xfee0
 cpu1 (AP):  apic id:  0, version: 0x00040011, at 0xfee0
 io0 (APIC): apic id:  2, version: 0x00170011, at 0xfec0
Preloaded elf kernel "kernel" at 0xc02fc000.
Preloaded userconfig_script "/kernel.config" at 0xc02fc09c.
Pentium Pro MTRR support enabled
ccd0-5: Concatenated disk drivers
npx0: math processor on motherboard
npx0: INT 16 interface
pcib0: Intel 82443BX (440 BX) host to PCI bridge on motherboard
pci0: PCI bus on pcib0
WARNING: "bktr" is usurping "bktr"'s cdevsw[]
pcib1: Intel 82443BX (440 BX) PCI-PCI (AGP) bridge at device 1.0 on pci0
pci1: PCI bus on pcib1
vga-pci0: Matrox model 051f graphics accelerator irq 16 at device 0.0 on pci1
isab0: Intel 82371AB PCI to ISA bridge at device 4.0 on pci0
isa0: ISA bus on isab0
chip1: Intel PIIX4 IDE controller at device 4.1 on pci0
chip2: UHCI USB controller irq 19 at device 4.2 on pci0
intpm0: Intel 82371AB Power management controller at device 4.3 on pci0
intpm0: I/O mapped e800
intpm0: intr IRQ 9 enabled revision 0
smbus0: System Management Bus on intsmb0
smb0: SMBus general purpose I/O on smbus0
intpm0: PM I/O mapped e400 
ahc0: Adaptec aic7890/91 Ultra2 SCSI adapter irq 19 at device 6.0 on pci0
BRDCTL = 0xfa
ahc0: aic7890/91 Wide Channel A, SCSI Id=7, 16/255 SCBs
fxp0: Intel EtherExpress Pro 10/100B Ethernet irq 19 at device 9.0 on pci0
fxp0: Ethernet address 00:a0:c9:df:c8:4e
bktr0: BrookTree 878 irq 18 at device 10.0 on pci0
iicbb0: I2C generic bit-banging driver on bti2c0
iicbus0: Philips I2C bus on iicbb0 master-only
iicsmb0: I2C to SMB bridge on iicbus0
smbus1: System Management Bus on iicsmb0
smb1: SMBus general purpose I/O on smbus1
WARNING: "iic" is usurping "iic"'s cdevsw[]
iic0: I2C general purpose I/O on iicbus0
smbus2: System Management Bus on bti2c0
smb2: SMBus general purpose I/O on smbus2
bktr0: Hauppauge Model 6 A M 
Hauppauge WinCast/TV, Philips NTSC tuner, msp3400c stereo.
bktr0: Detected a MSP3430G-A1
pci0: unknown card DD^0878 (vendor=0x109e, dev=0x0878) at 10.1 irq 18
fdc0: NEC 72065B or clone at port 0x3f0-0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1440-KB 3.5" drive on fdc0 drive 0
atkbdc0: keyboard controller (i8042) at port 0x60-0x6f on isa0
atkbd0: AT Keyboard irq 1 on atkbdc0
psm0: PS/2 Mouse irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
vga0: Generic ISA VGA at port 0x3b0-0x3df iomem 0xa-0xb on isa0
sc0: System console on isa0
sc0: VGA 4 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
wl0 at port 0x300-0x30f irq 7 on isa0
wl0: address 08:00:6a:2b:dd:a7, NWID 0x
pcm0: SoundBlaster 16 4.16 at irq 5 drq 1 on isa0
pcm1: SB16 PnP at port 0x240-0x24f,0x330-0x331,0x388-0x38b irq 10 drq 0,5 on isa0
unknown0: Game at port 0x200-0x207 on isa0
unknown1: WaveTable at port 0x620-0x623 on isa0
APIC_IO: Testing 8254 interrupt delivery
APIC_IO: routing 8254 via pin 2
wl0 XXX: driver didn't set ifq_maxlen
Waiting 15 seconds for SCSI devices to settle
SMP: AP CPU #1 Launched!
sa0 at ahc0 bus 0 target 6 lun 0
sa0: DEC DLT2000 8B37 Removable Sequential Access SCSI-2 device 
sa0: 5.000MB/s transfers (5.000MHz, offset 15)
changing root device to 

Re: cds disappeared

1999-09-03 Thread Kenneth D. Merry

Randy Bush wrote...
 i upgraded from mid-april to current and my cdrom drives went away.
 e.g. xmcd says
 CD audio: SCSI command fault on /dev/rcd0c:
 Status=0x16
 
 # ls -lg /dev/cd* /dev/rcd*
 brw-r-  1 root  operator6,   0 Sep  3 16:52 /dev/cd0a
 brw-r-  1 root  operator6,   2 Sep  3 16:52 /dev/cd0c
 brw-r-  1 root  operator6,   8 Sep  3 16:52 /dev/cd1a
 brw-r-  1 root  operator6,  10 Sep  3 16:52 /dev/cd1c
 crw-r-  1 root  operator   15,   0 Sep  3 16:52 /dev/rcd0a
 crw-r-  1 root  operator   15,   2 Sep  3 16:52 /dev/rcd0c
 crw-r-  1 root  operator   15,   8 Sep  3 16:52 /dev/rcd1a
 crw-r-  1 root  operator   15,  10 Sep  3 16:52 /dev/rcd1c
 
 dmesg and kernel follow

[ ... ]

 cd0 at ahc0 bus 0 target 4 lun 0
 cd0: TEAC CD-ROM CD-532S 1.0A Removable CD-ROM SCSI-2 device 
 cd0: 20.000MB/s transfers (20.000MHz, offset 16)
 cd0: Attempt to query device size failed: NOT READY, Medium not present
 cd1 at ahc0 bus 0 target 5 lun 0
 cd1: YAMAHA CRW4416S 1.0f Removable CD-ROM SCSI-2 device 
 cd1: 8.333MB/s transfers (8.333MHz, offset 31)
 cd1: cd present [270542 x 2048 byte records]

Your CDROM drives look just fine to me.

A lot has changed since mid-April.  You need to recompile xmcd.

If you're running -current, that's the first thing you should try when a
port doesn't work.  Interfaces in -current change much more often than
in -stable.

Ken
-- 
Kenneth Merry
[EMAIL PROTECTED]


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



Re: cds disappeared

1999-09-03 Thread Randy Bush

 i upgraded from mid-april to current and my cdrom drives went away.
 e.g. xmcd says
 CD audio: SCSI command fault on /dev/rcd0c:
 Status=0x16
 
 # ls -lg /dev/cd* /dev/rcd*
 brw-r-  1 root  operator6,   0 Sep  3 16:52 /dev/cd0a
 brw-r-  1 root  operator6,   2 Sep  3 16:52 /dev/cd0c
 brw-r-  1 root  operator6,   8 Sep  3 16:52 /dev/cd1a
 brw-r-  1 root  operator6,  10 Sep  3 16:52 /dev/cd1c
 crw-r-  1 root  operator   15,   0 Sep  3 16:52 /dev/rcd0a
 crw-r-  1 root  operator   15,   2 Sep  3 16:52 /dev/rcd0c
 crw-r-  1 root  operator   15,   8 Sep  3 16:52 /dev/rcd1a
 crw-r-  1 root  operator   15,  10 Sep  3 16:52 /dev/rcd1c
 
 [ ... ]
 
 cd0 at ahc0 bus 0 target 4 lun 0
 cd0: TEAC CD-ROM CD-532S 1.0A Removable CD-ROM SCSI-2 device 
 cd0: 20.000MB/s transfers (20.000MHz, offset 16)
 cd0: Attempt to query device size failed: NOT READY, Medium not present
 cd1 at ahc0 bus 0 target 5 lun 0
 cd1: YAMAHA CRW4416S 1.0f Removable CD-ROM SCSI-2 device 
 cd1: 8.333MB/s transfers (8.333MHz, offset 31)
 cd1: cd present [270542 x 2048 byte records]
 
 Your CDROM drives look just fine to me.

yup.  that's what really confuses me.

 A lot has changed since mid-April.  You need to recompile xmcd.

had done so.  and reconfigured it too.

'nother clue

# mount /cdrom
cd9660: Device not configured

with /etc/fstab having

/dev/cd0c   /cdrom  cd9660  ro,noauto   0   0

randy


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