From owner-freebsd-questions Fri Feb 26 11:59:45 1999 Delivered-To: freebsd-questions@freebsd.org Received: from subcellar.mwci.net (subcellar.mwci.net [205.254.160.2]) by hub.freebsd.org (Postfix) with ESMTP id 7A15D14FFC for ; Fri, 26 Feb 1999 11:59:42 -0800 (PST) (envelope-from james@mwci.net) Received: from cow (web-1.dbqoffice.mwci.net [209.207.2.60]) by subcellar.mwci.net (8.8.8/8.8.8) with SMTP id NAA09316 for ; Fri, 26 Feb 1999 13:59:23 -0600 (CST) Message-ID: <00e401be61c2$8342dee0$3c02cfd1@cow.mwci.net> From: "James L Moser" To: Subject: "IDE" CDROM Date: Fri, 26 Feb 1999 13:59:26 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3110.1 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, I am having problems getting an IDE Cdrom configuered. I am not entirely sure that it is supported, but most of the documentation I have read have told me that it should be. I have tried nearly every kernel configureation I could think of, even ones that I was pretty sure were not going to work, but ran anyways so I could see the ouput. I have a SB16 pnp Sound Card with an IDE interface(see pnpinfo, ect, below). The kernel cannot find matcd0, and according to the handbook, this is not for IDE drives, but it is, isn't it??? Can someone help me? Anyone have a set of configurations I could try with my kernel??? Is it possible its just not supported??? Any information you can provide would be greatly appreciated. Thanks guys, James L Moser My Kernel config file.....(without anything I have tried...) ---------------- machine "i386" cpu "I486_CPU" ident LEGEND maxusers 4 config kernel root on wd0 options GPL_MATH_EMULATE #Support for x87 emulation options "COMPAT_43" #Compatible with BSD 4.3 [KEEP THIS!] options BOUNCE_BUFFERS #include support for DMA bounce buffers options UCONSOLE #Allow users to grab the console options SYSVSHM options INET #InterNETworking options FFS #Berkeley Fast Filesystem options MFS #Memory-mapped file system options PROCFS #Process filesystem options "MAXMEM=(20*1024)" controller isa0 # syscons is the default console driver, resembling an SCO console device sc0 at isa? port "IO_KBD" tty irq 1 vector scintr # Mandatory, don't remove device npx0 at isa? port "IO_NPX" flags 0x1 irq 13 vector npxintr controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr disk fd0 at fdc0 drive 0 controller wdc0 at isa? port "IO_WD1" bio irq 14 vector wdintr disk wd0 at wdc0 drive 0 controller wdc1 at isa? port "IO_WD2" bio irq 15 vector wdintr disk wd2 at wdc1 drive 0 device sio0 at isa? port "IO_COM1" tty irq 4 vector siointr device sio1 at isa? port "IO_COM2" tty irq 3 vector siointr device lpt0 at isa? port? tty irq 7 vector lptintr device psm0 at isa? port "IO_KBD" conflicts tty irq 12 vector psmintr controller pnp0 controller snd0 device sb0 at isa? port 0x220 irq 5 drq 1 vector sbintr device sbxvi0 at isa? drq 5 device sbmidi0 at isa? port 0x330 device opl0 at isa? port 0x388 device joy0 at isa? port "IO_GAME" pseudo-device loop pseudo-device log pseudo-device tun 1 pseudo-device pty 16 pseudo-device gzip # Exec gzipped a.out's --------------- This is my kernel.config file( by the way, do I have to use -c on boot the first time booting with the new kernel and enter these, or will just having this file do the trick. Someone told me this file didn't work for them...) --------------- USERCONFIG pnp 1 0 os enable irq0 5 drq0 1 drq1 5 port0 0x220 port1 0x330 port2 0x388 pnp 1 2 os enable drq0 4 drq1 4 port0 0x100 pnp 1 3 os enable drq0 4 drq1 4 port0 0x200 quit ---------------- This is pnpinfo --------------- Card assigned CSN #1 Vendor ID CTL002b (0x2b008c0e), Serial Number 0x1002d5dd PnP Version 1.0, Vendor Version 32 Device Description: Creative SB16 PnP Logical Device ID: CTL0031 0x31008c0e #0 Device Description: Audio TAG Start DF Good Configuration IRQ: 5 - only one type (true/edge) DMA: channel(s) 1 8-bit, not a bus master, count by byte, , Compatibility mode DMA: channel(s) 5 16-bit, not a bus master, , count by word, Compatibility mode I/O Range 0x220 .. 0x220, alignment 0x1, len 0x10 [16-bit addr] I/O Range 0x330 .. 0x330, alignment 0x1, len 0x2 [16-bit addr] I/O Range 0x388 .. 0x388, alignment 0x1, len 0x4 [16-bit addr] TAG Start DF Acceptable Configuration IRQ: 5 7 10 - only one type (true/edge) DMA: channel(s) 0 1 3 8-bit, not a bus master, count by byte, , Compatibility mode DMA: channel(s) 5 6 7 16-bit, not a bus master, , count by word, Compatibility mode I/O Range 0x220 .. 0x280, alignment 0x20, len 0x10 [16-bit addr] I/O Range 0x300 .. 0x330, alignment 0x30, len 0x2 [16-bit addr] I/O Range 0x388 .. 0x388, alignment 0x1, len 0x4 [16-bit addr] TAG Start DF Acceptable Configuration IRQ: 5 7 10 - only one type (true/edge) DMA: channel(s) 0 1 3 8-bit, not a bus master, count by byte, , Compatibility mode DMA: channel(s) 5 6 7 16-bit, not a bus master, , count by word, Compatibility mode I/O Range 0x220 .. 0x280, alignment 0x20, len 0x10 [16-bit addr] I/O Range 0x300 .. 0x330, alignment 0x30, len 0x2 [16-bit addr] TAG Start DF Sub-optimal Configuration IRQ: 5 7 10 - only one type (true/edge) DMA: channel(s) 0 1 3 8-bit, not a bus master, count by byte, , Compatibility mode DMA: channel(s) 5 6 7 16-bit, not a bus master, , count by word, Compatibility mode I/O Range 0x220 .. 0x280, alignment 0x20, len 0x10 [16-bit addr] TAG Start DF Sub-optimal Configuration IRQ: 5 7 10 - only one type (true/edge) DMA: channel(s) 0 1 3 8-bit, not a bus master, count by byte, , Compatibility mode I/O Range 0x220 .. 0x280, alignment 0x20, len 0x10 [16-bit addr] I/O Range 0x300 .. 0x330, alignment 0x30, len 0x2 [16-bit addr] I/O Range 0x388 .. 0x388, alignment 0x1, len 0x4 [16-bit addr] TAG Start DF Sub-optimal Configuration IRQ: 5 7 10 - only one type (true/edge) DMA: channel(s) 0 1 3 8-bit, not a bus master, count by byte, , Compatibility mode I/O Range 0x220 .. 0x280, alignment 0x20, len 0x10 [16-bit addr] I/O Range 0x300 .. 0x330, alignment 0x30, len 0x2 [16-bit addr] TAG Start DF Sub-optimal Configuration IRQ: 5 7 10 11 - only one type (true/edge) DMA: channel(s) 0 1 3 8-bit, not a bus master, count by byte, , Compatibility mode I/O Range 0x220 .. 0x280, alignment 0x20, len 0x10 [16-bit addr] TAG End DF Logical Device ID: CTL2011 0x11208c0e #1 Compatible Device ID: PNP0600 (0006d041) Device Description: IDE TAG Start DF Good Configuration IRQ: 10 - only one type (true/edge) I/O Range 0x168 .. 0x168, alignment 0x1, len 0x8 [16-bit addr] I/O Range 0x36e .. 0x36e, alignment 0x1, len 0x2 [16-bit addr] TAG Start DF Acceptable Configuration IRQ: 11 - only one type (true/edge) I/O Range 0x1e8 .. 0x1e8, alignment 0x1, len 0x8 [16-bit addr] I/O Range 0x3ee .. 0x3ee, alignment 0x1, len 0x2 [16-bit addr] TAG Start DF Acceptable Configuration IRQ: 10 11 15 - only one type (true/edge) I/O Range 0x180 .. 0x1b8, alignment 0x8, len 0x8 [16-bit addr] I/O Range 0x306 .. 0x33e, alignment 0x8, len 0x2 [16-bit addr] TAG Start DF Sub-optimal Configuration IRQ: 15 - only one type (true/edge) I/O Range 0x170 .. 0x170, alignment 0x1, len 0x8 [16-bit addr] I/O Range 0x376 .. 0x376, alignment 0x1, len 0x1 [16-bit addr] TAG End DF Logical Device ID: CTL0051 0x51008c0e #2 Device Description: StereoEnhance I/O Range 0x100 .. 0x138, alignment 0x8, len 0x1 [16-bit addr] Logical Device ID: CTL7001 0x01708c0e #3 Device Description: Game I/O Range 0x200 .. 0x200, alignment 0x1, len 0x8 [16-bit addr] End Tag Successfully got 71 resources, 4 logical fdevs -- card select # 0x0001 CSN CTL002b (0x2b008c0e), Serial Number 0x1002d5dd Logical device #0 IO: 0x0220 0x0330 0x0388 0x0000 0x0000 0x0000 0x0000 0x0000 IRQ 5 0 DMA 1 5 IO range check 0x00 activate 0x01 Logical device #1 IO: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 IRQ 0 0 DMA 4 4 IO range check 0x00 activate 0x00 Logical device #2 IO: 0x0100 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 IRQ 0 0 DMA 4 4 IO range check 0x00 activate 0x01 Logical device #3 IO: 0x0200 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 IRQ 0 0 DMA 4 4 IO range check 0x00 activate 0x01 ---------------- This is my output on boot..... --------------- Feb 21 00:42:09 james /kernel: Copyright (c) 1992-1998 FreeBSD Inc. Feb 21 00:42:09 james /kernel: Copyright (c) 1982, 1986, 1989, 1991, 1993 Feb 21 00:42:09 james /kernel: The Regents of the University of California. All rights reserved. Feb 21 00:42:09 james /kernel: Feb 21 00:42:09 james /kernel: FreeBSD 2.2.8-RELEASE #0: Sun Feb 21 00:32:13 CST 1999 Feb 21 00:42:10 james /kernel: root@james.dbq.mwci.net:/usr/src/sys/compile/LEGEND Feb 21 00:42:10 james /kernel: CPU: i486 SX2 (486-class CPU) Feb 21 00:42:10 james /kernel: Origin = "GenuineIntel" Id = 0x45b Stepping=11 Feb 21 00:42:10 james /kernel: Features=0x2 Feb 21 00:42:10 james /kernel: real memory = 20971520 (20480K bytes) Feb 21 00:42:10 james /kernel: avail memory = 18759680 (18320K bytes) Feb 21 00:42:10 james /kernel: Probing for devices on the ISA bus: Feb 21 00:42:10 james /kernel: sc0 at 0x60-0x6f irq 1 on motherboard Feb 21 00:42:10 james /kernel: sc0: VGA color <16 virtual consoles, flags=0x0> Feb 21 00:42:10 james /kernel: sio0 at 0x3f8-0x3ff irq 4 on isa Feb 21 00:42:10 james /kernel: sio0: type 16550A Feb 21 00:42:11 james /kernel: sio1 at 0x2f8-0x2ff irq 3 on isa Feb 21 00:42:11 james /kernel: sio1: type 16550A Feb 21 00:42:11 james /kernel: lpt0 at 0x378-0x37f irq 7 on isa Feb 21 00:42:11 james /kernel: lpt0: Interrupt-driven port Feb 21 00:42:11 james /kernel: lp0: TCP/IP capable interface Feb 21 00:42:11 james /kernel: psm0 at 0x60-0x64 irq 12 on motherboard Feb 21 00:42:11 james /kernel: psm0: model Generic PS/2 mouse, device ID 0 Feb 21 00:42:11 james /kernel: fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa Feb 21 00:42:11 james /kernel: fdc0: FIFO enabled, 8 bytes threshold Feb 21 00:42:11 james /kernel: fd0: 1.44MB 3.5in Feb 21 00:42:11 james /kernel: wdc0 at 0x1f0-0x1f7 irq 14 on isa Feb 21 00:42:12 james /kernel: wdc0: unit 0 (wd0): Feb 21 00:42:12 james /kernel: wd0: 325MB (666600 sec Feb 21 00:42:12 james /kernel: tors), 1010 cyls, 12 heads, 55 S/T, 512 B/S Feb 21 00:42:12 james /kernel: wdc1 at 0x170-0x177 irq 15 on isa Feb 21 00:42:12 james /kernel: wdc1: unit 0 (wd2): Feb 21 00:42:12 james /kernel: wd2: 516MB (1057392 sectors), 1049 cyls, 16 heads, 63 S/T, 512 B/S Feb 21 00:42:12 james /kernel: npx0 flags 0x1 on motherboard Feb 21 00:42:12 james /kernel: npx0: 387 emulator Feb 21 00:42:12 james /kernel: sb0 at 0x220 irq 5 drq 1 on isa Feb 21 00:42:12 james /kernel: sb0: Feb 21 00:42:12 james /kernel: sbxvi0 at 0x0 drq 5 on isa Feb 21 00:42:13 james /kernel: sbxvi0: Feb 21 00:42:13 james /kernel: sbmidi0 at 0x330 on isa Feb 21 00:42:13 james /kernel: sbmidi0: Feb 21 00:42:13 james /kernel: joy0 at 0x201 on isa Feb 21 00:42:13 james /kernel: joy0: joystick ---------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message