From owner-freebsd-questions Mon Sep 4 17:45:58 2000 Delivered-To: freebsd-questions@freebsd.org Received: from 2711.dynacom.net (2711.dynacom.net [206.107.213.3]) by hub.freebsd.org (Postfix) with ESMTP id 247CF37B422 for ; Mon, 4 Sep 2000 17:45:54 -0700 (PDT) Received: from urx.com (dsl1-160.dynacom.net [206.159.132.160]) by 2711.dynacom.net (Build 101 8.9.3/NT-8.9.3) with ESMTP id RAA08090; Mon, 04 Sep 2000 17:45:38 -0700 Message-ID: <39B44233.E5C4043@urx.com> Date: Mon, 04 Sep 2000 17:45:39 -0700 From: Kent Stewart Organization: Dynacom Net X-Mailer: Mozilla 4.75 [en] (Windows NT 5.0; U) X-Accept-Language: en,pdf MIME-Version: 1.0 To: Roger Merritt Cc: freebsd-questions@FreeBSD.ORG Subject: Re: mounting ATAPI cdroms References: <20000904180850.A5141@lpthe.jussieu.fr> <86snrgug13.fsf@linum.cofc.edu> <3.0.6.32.20000905072848.0088ed00@stjohn.stjohn.ac.th> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Roger Merritt wrote: > > At 01:42 PM 9/4/00 -0700, you wrote: > > > > > >Allan Strand wrote: > >> > >> Have the problems with mounting ATAPI CDROMs been resolved in the > >> stable branch? > >> > >> I did a fresh cvsup last night (9/3/00), made world and a new kernel > >> this morning, and I am still unable to mount my CDRW drive. > >> Potentially this is a problem with my hardware, although the drive is > >> able to write CDROMs and play music CDs. If mounting CDROMS is > >> working for everyone else, then I'll suspect my hardware. > > > >>From http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/ata/atapi-cd.c > >it was fixed on 25 August 2000. The mounting error made it look like > >an audio cd was being mounted. The messages were > >> : > : RRIP without PX field? > >> : > : Aug 25 03:59:15 jade /kernel: RRIP without PX field? > >> : > : Aug 25 03:59:15 jade /kernel: RRIP without PX field? > > > >If you are still seeing these, then you didn't install your kernel :). > > > >Kent > > > Clearly I've missed something here. I did a cvsup and rebuilt world on > 3 Sep and my CD-ROM still isn't being detected at all. From dmesg (I > did a verbose boot if more is needed): Just to make sure, did you do the build[install]kernel sequence and reboot to load the new driver for the CDROM. Kent > > pci0: on pcib0 > atapci0: port > 0xffa0-0xffaf,0x374-0x377,0x170-0x177, > 0x3f4-0x3f7,0x1f0-0x1f7 irq 0 at device 0.1 on pci0 > ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0xffa0 > ata0: mask=03 status0=50 status1=50 > ata0: mask=03 status0=50 status1=00 > ata0: devices = 0x1 > ata0: at 0x1f0 irq 14 on atapci0 > ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0xffa8 > ata1: mask=03 status0=50 status1=00 > ata1: mask=03 status0=50 status1=00 > ata1: devices = 0x1 > ata1: at 0x170 irq 15 on atapci0 > isab0: at device 1.0 on pci0 > isa0: on isab0 > pci0: (vendor=0x1039, dev=0x0009) at 1.1 > pcib2: at device 2.0 on pci0 > ... > ata0-master: DMA limited to UDMA33, non-ATA66 compliant cable > ata0-master: success setting UDMA2 on SiS chip > ad0: ATA-4 disk at ata0 as master > ad0: 4126MB (8452080 sectors), 8944 cyls, 15 heads, 63 S/T, 512 B/S > ad0: 16 secs/int, 1 depth queue, UDMA33 > ad0: piomode=4 dmamode=2 udmamode=4 cblid=0 > Creating DISK ad0 > Creating DISK wd0 > ata1-master: success setting UDMA2 on SiS chip > ad2: ATA-2 disk at ata1 as master > ad2: 3077MB (6303024 sectors), 6253 cyls, 16 heads, 63 S/T, 512 B/S > ad2: 16 secs/int, 1 depth queue, UDMA33 > ad2: piomode=4 dmamode=2 udmamode=2 cblid=0 > Creating DISK ad2 > Creating DISK wd2 > Mounting root from ufs:/dev/ad0s1a > ad0s1: type 0xa5, start 63, end = 8452079, size 8452017 : OK > > In my configuration file I've got: > > # ATA and ATAPI devices > #device ata0 at isa? port IO_WD1 irq 14 > #device ata1 at isa? port IO_WD2 irq 15 > device ata > device atadisk # ATA disk drives > device atapicd # ATAPI CDROM drives > options ATA_STATIC_ID #Static device numbering > > # Comment out 1 Sep 00 14:50 > # IDE devices -- Incompatible with ATA devices above > #device wdc0 at isa? port IO_WD1 irq 14 > #device wd0 at wdc0 drive 0 > #device wd1 at wdc0 drive 1 > #device wdc1 at isa? port IO_WD2 irq 15 > #device wd2 at wdc1 drive 0 > #device wd3 at wdc1 drive 1 > > #options IDE_DELAY=8000 # Be optimistic about Joe IDE device > > # IDE CD-ROM & CD-R/RW driver - requires wdc controller > #device wcd > > I had also tried this by uncommenting the lines for ata0 and ata1, but > it didn't seem to make any difference. I don't see any provision in > LINT for setting flags. At the moment of writing I'm in the process of > building a 4.1-RELEASE, but from what you said above it isn't going to > do me any good. > > This is so frustrating! > -- > Roger > > It's is not, it isn't ain't, and it's it's, not its, if you mean it > is. If you don't, it's its. Then too, it's hers. It isn't her's. It > isn't our's either. It's ours, and likewise yours and theirs. > -- Oxford University Press, Edpress News -- Kent Stewart Richland, WA mailto:kbstew99@hotmail.com http://kstewart.urx.com/kstewart/index.html http://daily.daemonnews.org/ SETI (Search for Extraterrestrial Intelligence) @ Home http://setiathome.ssl.berkeley.edu/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message