Date: Fri, 07 May 1999 17:09:49 +1000 From: obituary <c9710216@atlas.newcastle.edu.au> To: freebsd-current@FreeBSD.ORG Subject: Problem with the new ATA driver. Message-ID: <373291BD.42BC5B83@atlas.newcastle.edu.au>
next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------85C250E215D8DF47B681CE72 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit The new ATA driver (ata0, atadisk0, atapicd0) gives me a *huge* speed boost when accessing the harddisk, but I have to sacrifice the use of my CDROM if I choose to include it. The CDROM appears to be detected correctly by the kernel, but when trying to access the device I get the message: cd9660: Device not configured I've also tried reading from the CDROM without mounting it. I tried the following: dd if=/dev/<the_device> of=/tmp/dumpfile bs=1024k where <the_device> was (in order) wcd0c, wcd0a, acd0c, acd0a, and their raw equivalents. Each time, the message I received was: <the_device>: Device not configured Everything works fine if I use the old wd driver. I've included my kernel config file and the dmesg file. If there's anything else I can supply that would help, let me know. -jake -- --------------85C250E215D8DF47B681CE72 Content-Type: text/plain; charset=us-ascii; name="CARCASS" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="CARCASS" # # LINT -- config file for checking all the sources, tries to pull in # as much of the source tree as it can. # # $Id: LINT,v 1.593 1999/05/05 12:22:31 jb Exp $ # machine i386 ident CARCASS maxusers 32 # When this is set, be extra conservative in various parts of the kernel # and choose functionality over speed (on the widest variety of systems). options FAILSAFE # Options for the VM subsystem options PQ_LARGECACHE # color for 512k/16k cache config kernel root on wd0 # CPU OPTIONS cpu I686_CPU # aka Pentium Pro(tm) # Options for CPU features. options CPU_DISABLE_5X86_LSSER options CPU_FASTER_5X86_FPU options NO_F00F_HACK # COMPATIBILITY OPTIONS options COMPAT_43 options COMPAT_LINUX options USER_LDT #allow user-level control of i386 ldt options SYSVSHM options SYSVSEM options SYSVMSG options MD5 options VM86 options UCONSOLE options USERCONFIG #boot -c editor options VISUAL_USERCONFIG #visual boot -c editor # NETWORKING OPTIONS options INET #Internet communications protocols # Network interfaces: # The `loop' pseudo-device is MANDATORY when networking is enabled. # The `ether' pseudo-device provides code to handle Ethernets. pseudo-device ether #Generic Ethernet pseudo-device loop #Network loopback device # FILESYSTEM OPTIONS options FFS #Fast filesystem options CD9660 #ISO 9660 filesystem options MSDOSFS #MS DOS File System options PROCFS #Process filesystem options SOFTUPDATES options EXT2FS # POSIX P1003.1B options P1003_1B options _KPOSIX_PRIORITY_SCHEDULING options _KPOSIX_VERSION=199309L # MISCELLANEOUS DEVICES AND OPTIONS pseudo-device pty 64 #Pseudo ttys - can go as high as 256 pseudo-device speaker #Play IBM BASIC-style noises out your speaker pseudo-device gzip #Exec gzipped a.out's pseudo-device vn #Vnode driver (turns a file into a device) # HARDWARE DEVICE CONFIGURATION # Mandatory ISA devices: isa, npx controller isa0 # Options for `isa': options AUTO_EOI_1 # ISA PnP Support. controller pnp0 # The keyboard controller; it controls the keyboard and the PS/2 mouse. controller atkbdc0 at isa? port IO_KBD device atkbd0 at atkbdc? irq 1 device psm0 at atkbdc? irq 12 # The video card driver. device vga0 at isa? port ? conflicts options VESA # needs VM86 defined too!! pseudo-device splash # The syscons console driver (sco color console compatible). device sc0 at isa? options MAXCONS=16 # number of virtual consoles # The Numeric Processing eXtension driver. device npx0 at nexus? port IO_NPX iosiz 0x0 flags 0x0 irq 13 # ATA and ATAPI devices controller ata0 device atadisk0 # ATA disk drives device atapicd0 # ATAPI CDROM drives # IDE Disk driver #controller wdc0 at isa? port IO_WD1 irq 14 #disk wd0 at wdc0 drive 0 #controller wdc1 at isa? port IO_WD2 irq 15 #options IDE_DELAY=1000 # IDE CD-ROM & CD-R/RW driver - requires wdc controller and ATAPI option #device wcd0 # Standard floppy disk controllers and floppy tapes: `fdc', `fd', and `ft' controller fdc0 at isa? port IO_FD1 irq 6 drq 2 disk fd0 at fdc0 drive 0 # sio: serial ports (see sio(4)) device sio0 at isa? port IO_COM1 flags 0x10 irq 4 options CONSPEED=38400 #default speed for serial console # Network interfaces: `cx', `ed', `el', `ep', `ie', `is', `le', `lnc' device ed0 at isa? port 0x340 irq 10 iomem 0xd8000 # Audio drivers: `snd', `sb', `pas', `gus', `pca' controller snd0 device sb0 at isa? port 0x220 irq 5 drq 1 device sbxvi0 at isa? drq 5 device sbmidi0 at isa? port 0x330 #device awe0 at isa? port 0x620 device opl0 at isa? port 0x388 # Not controlled by `snd' device pca0 at isa? port IO_TIMER1 # PCI devices & PCI options: controller pci0 # SMB bus controller smbus0 controller intpm0 device smb0 at smbus? # Parallel-Port Bus controller ppbus0 device lpt0 at ppbus? device ppc0 at isa? port? irq 7 --------------85C250E215D8DF47B681CE72 Content-Type: text/plain; charset=us-ascii; name="dmesg" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="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 May 7 16:36:14 EST 1999 root@carcass.death.net:/usr/src/sys/compile/CARCASS Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 463910653 Hz CPU: Celeron (463.91-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x660 Stepping=0 Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR> real memory = 134217728 (131072K bytes) avail memory = 127733760 (124740K bytes) Preloaded elf kernel "kernel" at 0xc02cb000. Pentium Pro MTRR support enabled, default memory type is uncacheable Probing for PnP devices: CSN 1 Vendor ID: CTL00e4 [0xe4008c0e] Serial 0x0e67b4ee Comp ID: PNPb02f [0x2fb0d041] npx0: <math processor> on motherboard npx0: INT 16 interface pcib0: <PCI host bus adapter> on motherboard pci0: <PCI bus> on pcib0 chip0: <Intel 82443BX host to PCI bridge> at device 0.0 on pci0 chip1: <Intel 82443BX host to AGP bridge> at device 1.0 on pci0 isab0: <Intel 82371AB PCI to ISA bridge> at device 7.0 on pci0 ata-pci0: <Intel PIIX4 IDE controller> at device 7.1 on pci0 ata-pci0: Busmastering DMA supported ata0 at 0x01f0 irq 14 on ata-pci0 ata1 at 0x0170 irq 15 on ata-pci0 chip2: <Intel 82371AB Power management controller> at device 7.3 on pci0 isa0: <ISA bus> on motherboard atkbdc0: <keyboard controller (i8042)> at port 0x60 on isa0 atkbd0: <AT Keyboard> on atkbdc0 atkbd0: interrupting at irq 1 psm0: <PS/2 Mouse> on atkbdc0 psm0: model IntelliMouse, device ID 3 psm0: interrupting at irq 12 vga0: <Generic ISA VGA> on isa0 sc0: <System console> on isa0 sc0: VGA color <16 virtual consoles, flags=0x0> fdc0: interrupting at irq 6 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> at fdc0 drive 0 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio0: interrupting at irq 4 ed0 at port 0x340-0x35f irq 10 on isa0 ed0: address 00:00:e8:60:97:36, type NE2000 (16 bit) ed0: interrupting at irq 10 sb0 at port 0x220 irq 5 drq 1 on isa0 snd0: <SoundBlaster 16 4.16> sb0: interrupting at irq 5 sbxvi0 at drq 5 on isa0 snd0: <SoundBlaster 16 4.16> sbmidi0 at port 0x330 on isa0 snd0: <SoundBlaster MPU-401> opl0 at port 0x388 on isa0 snd0: <Yamaha OPL3 FM> pca0 at port 0x40 on isa0 pca0: PC speaker audio driver ppc0 at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode lpt0: <generic printer> on ppbus 0 lpt0: Interrupt-driven port ppc0: interrupting at irq 7 ata1: unwanted interrupt 1 status = 00 ata0: master: settting up UDMA2 mode on PIIX4 chip OK ad0: <QUANTUM FIREBALL EL5.1A/A08.1100> ATA-4 disk at ata0 as master ad0: 4892MB (10018890 sectors), 10602 cyls, 15 heads, 63 S/T, 512 B/S ad0: piomode=4, dmamode=2, udmamode=2 ad0: 16 secs/int, 0 depth queue, DMA mode acd0: <CD-ROM 36X/AKU/U10I> CDROM drive at ata1 as master acd0: drive speed 0 - 5500KB/sec, 128KB cache acd0: supported read types: CD-R, CD-RW, CD-DA, packet track acd0: Audio: play, 255 volume levels acd0: Mechanism: ejectable tray acd0: Medium: CD-ROM 120mm data disc loaded, unlocked changing root device to wd0s1a ffs_mountfs: superblock updated for soft updates ffs_mountfs: superblock updated for soft updates ffs_mountfs: superblock updated for soft updates --------------85C250E215D8DF47B681CE72-- 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?373291BD.42BC5B83>