Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Oct 1999 11:54:37 -0400 (EDT)
From:      Bryan Liesner <bleez@netaxs.com>
To:        freebsd-current@freebsd.org
Subject:   ata driver and mounting CDROMs, missing tape drives
Message-ID:  <Pine.BSF.4.10.9910231129010.56452-100000@gravy.kishka.net>

next in thread | raw e-mail | index | archive | help
I've been having trouble mounting my ATAPI CDROM using the new ATA drivers
When I do a:

%mount /cdrom, the system complains:

cd9660: Block device required

This is my fstab entry:

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

And here is the relevant part of my kernel config:

controller	ata0
device		atadisk0
device		atapicd0
device		atapist0

And here are my /dev entries:

brw-r-----  1 root  operator   19,   0 Oct 22 01:34 /dev/acd0a
brw-r-----  1 root  operator   19,   2 Oct 22 01:34 /dev/acd0c
brw-r-----  1 root  operator   19,   8 Oct 22 01:34 /dev/acd1a
brw-r-----  1 root  operator   19,  10 Oct 22 01:34 /dev/acd1c

They look like block devices to me!

I have the CDROM configured as master, and a HP Travan 8G tape drive
as slave.  The dmesg shows only the CDROM, and the kernel doesn't see the
tape drive at all, although the dmesg says there are two devices on the
channel.


Here is the last dmesg:


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 Oct 22 00:01:27 EDT 1999
    bryan@gravy.kishka.net:/usr/src/sys/compile/GRAVY
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 249414302 Hz
CPU: Cyrix 6x86MX (249.41-MHz 686-class CPU)
  Origin = "CyrixInstead"  Id = 0x601  Stepping = 1  DIR=0x1353
  Features=0x80a135<FPU,DE,TSC,MSR,CX8,PGE,CMOV,MMX>
real memory  = 134217728 (131072K bytes)
avail memory = 127672320 (124680K bytes)
Preloaded elf kernel "kernel" at 0xc0274000.
Preloaded elf module "linux.ko" at 0xc027409c.
Preloaded elf module "warp_saver.ko" at 0xc027413c.
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
isab0: <AcerLabs M1533 portable PCI-ISA bridge> at device 2.0 on pci0
isa0: <ISA bus> on isab0
ata-pci0: <Promise Ultra/66 IDE controller> irq 11 at device 5.0 on pci0
ata-pci0: Busmastering DMA supported
ata2 at 0xeff0 irq 11 on ata-pci0
vga-pci0: <S3 ViRGE DX/GX graphics accelerator> irq 0 at device 6.0 on pci0
ata-pci1: <AcerLabs Aladdin IDE controller> irq 0 at device 11.0 on pci0
ata-pci1: Busmastering DMA supported
ata0 at 0x01f0 irq 14 on ata-pci1
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
pcm0: <SoundBlaster 16 4.11> at irq 5 drq 1 flags 0x15 on isa0
vga0: <Generic ISA VGA> at port 0x3b0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> on isa0
sc0: VGA <16 virtual consoles, flags=0x200>
sio0 at port 0x3f8-0x3ff irq 4 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 (EPP/NIBBLE) in COMPATIBLE mode
lpt0: <generic printer> on ppbus 0
lpt0: Interrupt-driven port
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
sio2: <U.S. Robotics 56K FAX INT> at port 0x3e8-0x3ef irq 10 on isa0
sio2: type 16550A
ad0: <WDC AC29100D/J74OA30K> ATA-4 disk at ata2 as master
ad0: 8693MB (17803440 sectors), 17662 cyls, 16 heads, 63 S/T, 512 B/S
ad0: 16 secs/int, 31 depth queue, UDMA33
Creating DISK ad0
Creating DISK wd0
ad1: <WDC AC32500H/12.07H12> ATA-? disk at ata2 as slave 
ad1: 2441MB (4999680 sectors), 4960 cyls, 16 heads, 63 S/T, 512 B/S
ad1: 16 secs/int, 0 depth queue, DMA
Creating DISK ad1
Creating DISK wd1
ata0: Aladdin: two atapi devices on this channel, DMA disabled
atapi: MODE_SENSE_BIG - UNIT ATTENTION skey=6 asc=29 ascq=00 error=00
acd0: <DELTA OPC-K101/ST1 F/W by OIPD/VER-3.40> CDROM drive at ata0 as master
acd0: read 2062KB/s (6875KB/s), 128KB buffer, PIO
acd0: supported read types: CD-R, CD-RW, CD-DA, packet
acd0: Audio: play, 255 volume levels
acd0: Mechanism: ejectable tray
acd0: Medium: CD-ROM 120mm data disc loaded, unlocked
changing root device to wd0s1a
WARNING: driver snd should register devices with make_dev() (dev_t = "#snd/4")



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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9910231129010.56452-100000>