From owner-freebsd-multimedia Thu Mar 4 0:58:39 1999 Delivered-To: freebsd-multimedia@freebsd.org Received: from solaris.matti.ee (solaris.matti.ee [194.126.98.135]) by hub.freebsd.org (Postfix) with ESMTP id 6AAFA14D25 for ; Thu, 4 Mar 1999 00:58:31 -0800 (PST) (envelope-from vallo@myhakas.matti.ee) Received: from myhakas.matti.ee (myhakas.matti.ee [194.126.114.87]) by solaris.matti.ee (8.8.8/8.8.8.s) with ESMTP id KAA00725; Thu, 4 Mar 1999 10:58:10 +0200 (EET) Received: (from vallo@localhost) by myhakas.matti.ee (8.9.3/8.9.1) id KAA02527; Thu, 4 Mar 1999 10:58:11 +0200 (EET) (envelope-from vallo) Message-ID: <19990304105811.A2324@matti.ee> Date: Thu, 4 Mar 1999 10:58:11 +0200 From: Vallo Kallaste To: "Kenneth D. Merry" , Steven Grady Cc: freebsd-multimedia@FreeBSD.ORG Subject: Re: CD-ROM problem on 3.0: Invalid argument? Reply-To: vallo@matti.ee References: <19990302013959.8005D1536F@hub.freebsd.org> <199903020503.WAA76930@panzer.plutotech.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: <199903020503.WAA76930@panzer.plutotech.com>; from Kenneth D. Merry on Mon, Mar 01, 1999 at 10:03:51PM -0700 Organization: =?iso-8859-15?Q?AS_Matti_B=FCrootehnika?= Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Mon, Mar 01, 1999 at 10:03:51PM -0700, "Kenneth D. Merry" 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> 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: rev 0x00 on pci0.0.0 chip1: rev 0x00 on pci0.1.0 chip2: rev 0x02 on pci0.7.0 chip3: rev 0x02 on pci0.7.3 chip4: rev 0x03 on pci0.16.0 fxp0: rev 0x05 int a irq 19 on pci0.17.0 fxp0: Ethernet address 00:e0:81:10:18:e0 ahc0: rev 0x04 int a irq 16 on pci0.18.0 ahc0: aic7895 Wide Channel A, SCSI Id=7, 16/255 SCBs ahc1: rev 0x04 int b irq 16 on pci0.18.1 ahc1: aic7895 Wide Channel B, SCSI Id=7, 16/255 SCBs ncr0: rev 0x03 int a irq 16 on pci0.19.0 fxp1: 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: 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 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: 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: 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: 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