Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Mar 1999 10:58:11 +0200
From:      Vallo Kallaste <vallo@matti.ee>
To:        "Kenneth D. Merry" <ken@plutotech.com>, Steven Grady <grady@xcf.berkeley.edu>
Cc:        freebsd-multimedia@FreeBSD.ORG
Subject:   Re: CD-ROM problem on 3.0: Invalid argument?
Message-ID:  <19990304105811.A2324@matti.ee>
In-Reply-To: <199903020503.WAA76930@panzer.plutotech.com>; from Kenneth D. Merry on Mon, Mar 01, 1999 at 10:03:51PM -0700
References:  <19990302013959.8005D1536F@hub.freebsd.org> <199903020503.WAA76930@panzer.plutotech.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Mar 01, 1999 at 10:03:51PM -0700, "Kenneth D. Merry" <ken@plutotech.com> wrote:

> > The output of the program looks like:
> > 
> > 	% cddb-id /dev/cd0a
> > 	cddb-id: Failed to open /dev/cd0a, reason: Invalid argument
> > 
> > As stated before, the program works just fine at least once before it gets
> > into this state.
> 
> I can't reproduce the problem, but then again, I'm not running 3.0-R, and
> things have changed somewhat in the CD driver since 3.0.

I have exactly same problem and got rid of it by running tosha -r 
which resets the device.  The error message is same as above and it 
was caused by running dagrab just for testing (althought dagrab 
doesn't seem to work with my SCSI CD-ROM). Actually I use tosha 
because I have an SCSI CD-ROM. With using tosha only I haven't fallen 
into such state.

dmesg:

Copyright (c) 1992-1999 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
	The Regents of the University of California. All rights reserved.
FreeBSD 4.0-CURRENT #0: Sat Feb 20 21:38:27 EET 1999
    root@myhakas.matti.ee:/usr/src/sys/compile/Myhakas_SMP
Timecounter "i8254"  frequency 1193055 Hz
CPU: Pentium II/Xeon/Celeron (686-class CPU)
  Origin = "GenuineIntel"  Id = 0x652  Stepping=2
  Features=0x183fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,<b24>>
real memory  = 134217728 (131072K bytes)
avail memory = 127598592 (124608K bytes)
Programming 24 pins in IOAPIC #0
FreeBSD/SMP: Multiprocessor motherboard
 cpu0 (BSP): apic id:  0, version: 0x00040011, at 0xfee00000
 cpu1 (AP):  apic id:  1, version: 0x00040011, at 0xfee00000
 io0 (APIC): apic id:  2, version: 0x00170011, at 0xfec00000
Preloaded elf kernel "kernel" at 0xf02df000.
Probing for devices on PCI bus 0:
chip0: <Host to PCI bridge (vendor=8086 device=71a0)> rev 0x00 on pci0.0.0
chip1: <PCI to PCI bridge (vendor=8086 device=71a1)> rev 0x00 on pci0.1.0
chip2: <Intel 82371AB PCI to ISA bridge> rev 0x02 on pci0.7.0
chip3: <Intel 82371AB Power management controller> rev 0x02 on pci0.7.3
chip4: <PCI to PCI bridge (vendor=1011 device=0024)> rev 0x03 on pci0.16.0
fxp0: <Intel EtherExpress Pro 10/100B Ethernet> rev 0x05 int a irq 19 on pci0.17.0
fxp0: Ethernet address 00:e0:81:10:18:e0
ahc0: <Adaptec aic7895 Ultra SCSI adapter> rev 0x04 int a irq 16 on pci0.18.0
ahc0: aic7895 Wide Channel A, SCSI Id=7, 16/255 SCBs
ahc1: <Adaptec aic7895 Ultra SCSI adapter> rev 0x04 int b irq 16 on pci0.18.1
ahc1: aic7895 Wide Channel B, SCSI Id=7, 16/255 SCBs
ncr0: <ncr 53c875 fast20 wide scsi> rev 0x03 int a irq 16 on pci0.19.0
fxp1: <Intel EtherExpress Pro 10/100B Ethernet> rev 0x05 int a irq 17 on pci0.20.0
fxp1: Ethernet address 00:90:27:45:26:03
Probing for devices on PCI bus 1:
vga0: <Matrox model 0521 graphics accelerator> rev 0x01 int a irq 2 on pci1.0.0
Probing for devices on PCI bus 2:
Probing for PnP devices:
CSN 1 Vendor ID: CTL00f0 [0xf0008c0e] Serial 0xffffffff Comp ID: PNPb02f [0x2fb0d041]
pcm1 (SB16pnp <Vibra16X> sn 0xffffffff) at 0x220-0x22f irq 5 drq 1 flags 0x13 on isa
Probing for devices on the ISA bus:
sc0 on isa
sc0: VGA color <8 virtual consoles, flags=0x0>
atkbdc0 at 0x60-0x6f on motherboard
atkbd0 irq 1 on isa
psm0 irq 12 on isa
psm0: model Generic PS/2 mouse, device ID 0
sio0 at 0x3f8-0x3ff irq 4 on isa
sio0: type 16550A
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
pcm0 not found
ppc0 not found
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1.44MB 3.5in
vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa
npx0 on motherboard
npx0: INT 16 interface
APIC_IO: Testing 8254 interrupt delivery
APIC_IO: routing 8254 via pin 2
lo0 XXX: driver didn't set ifq_maxlen
BRIDGE 981214, have 5 interfaces
-- index 1 fxp0 type 6 phy 0 addrl 6 addr 00.e0.81.10.18.e0
-- index 2 fxp1 type 6 phy 0 addrl 6 addr 00.90.27.45.26.03
Waiting 5 seconds for SCSI devices to settle
SMP: AP CPU #1 Launched!
changing root device to da0s1a
cd0 at ncr0 bus 0 target 0 lun 0
cd0: <TOSHIBA CD-ROM XM-6201TA 1030> Removable CD-ROM SCSI-2 device 
cd0: 10.000MB/s transfers (10.000MHz, offset 16)
cd0: cd present [328332 x 2048 byte records]
da0 at ahc0 bus 0 target 6 lun 0
da0: <QUANTUM VIKING II 4.5WSE 5520> Fixed Direct Access SCSI-2 device 
da0: 40.000MB/s transfers (20.000MHz, offset 8, 16bit), Tagged Queueing Enabled
da0: 4350MB (8910423 512 byte sectors: 255H 63S/T 554C)
da1 at ahc1 bus 0 target 6 lun 0
da1: <QUANTUM VIKING II 4.5WSE 5520> Fixed Direct Access SCSI-2 device 
da1: 40.000MB/s transfers (20.000MHz, offset 8, 16bit), Tagged Queueing Enabled
da1: 4350MB (8910423 512 byte sectors: 255H 63S/T 554C)
ffs_mountfs: superblock updated for soft updates
ffs_mountfs: superblock updated for soft updates
ffs_mountfs: superblock updated for soft updates
ffs_mountfs: superblock updated for soft updates
ffs_mountfs: superblock updated for soft updates
(da1:ahc1:0:6:0): tagged openings now 63
(da0:ahc0:0:6:0): tagged openings now 64
(da0:ahc0:0:6:0): tagged openings now 63
called sysctl for bridge name bridge arg2 0 val 0->0
called sysctl for bridge name bridge arg2 0 val 0->0
called sysctl for bridge name bridge arg2 0 val 0->1
called sysctl for bridge name bridge arg2 0 val 1->1
called sysctl for bridge name bridge arg2 0 val 1->1
fxp0: promiscuous mode enabled
>> now  fxp0 flags 0xffff8943 promisc 0
fxp1: promiscuous mode enabled
>> now  fxp1 flags 0xffff8943 promisc 0
collision at 0
collision at 0
collision at 0
collision at 0
collision at 0
collision at 0
collision at 0
collision at 0
collision at 0
called sysctl for bridge name bridge arg2 0 val 1->1
called sysctl for bridge name bridge arg2 0 val 1->1
called sysctl for bridge name bridge arg2 0 val 1->0
called sysctl for bridge name bridge arg2 0 val 0->0
called sysctl for bridge name bridge arg2 0 val 0->0
called sysctl for bridge name bridge arg2 0 val 0->0
called sysctl for bridge name bridge arg2 0 val 0->0
called sysctl for bridge name bridge arg2 0 val 0->0
called sysctl for bridge name bridge arg2 0 val 0->0
called sysctl for bridge name bridge arg2 0 val 0->1
called sysctl for bridge name bridge arg2 0 val 1->1
called sysctl for bridge name bridge arg2 0 val 1->1
collision at 0
collision at 0
collision at 0
collision at 0
-- 

Vallo Kallaste
vallo@matti.ee


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message




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