From owner-freebsd-questions@FreeBSD.ORG Sun Jul 22 20:34:27 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 039C116A419 for ; Sun, 22 Jul 2007 20:34:27 +0000 (UTC) (envelope-from jrisom@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.176]) by mx1.freebsd.org (Postfix) with ESMTP id B8D9D13C458 for ; Sun, 22 Jul 2007 20:34:26 +0000 (UTC) (envelope-from jrisom@gmail.com) Received: by py-out-1112.google.com with SMTP id a73so3069840pye for ; Sun, 22 Jul 2007 13:34:26 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:mime-version:content-transfer-encoding:message-id:content-type:to:from:subject:date:x-mailer; b=aJYU6YgEVsbm+/2rxo8ICj+zCKve5NA/OJZOUXzi34FM0NpgWtjQDGbWWUbw/YUKdtWCiWRSKvunfl9+YonzaCjYUupe0/YVz1uSgRkF6LSWHR6LzNxq8TCAPd7wxAXXHfjY+dv+p/28dfatPGQ2H92HiOnkW1lzv1TW6ob2VC4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:mime-version:content-transfer-encoding:message-id:content-type:to:from:subject:date:x-mailer; b=kTsmWoymQX9m5SsilvzRo96iraaklmE8t643i2ZBjZfkGsN0zDPEqAtU2NtfQtmlrqt9AVKZ2IJQ6S8ax4WzJI7NNVY+ouDpN5hgGR/EZ6MhzRmPiJ7E1Kpph5qmGocee63iEkqQqrgJUNrNJh2RKQ+H0xnW8yXI4+VH5H+fw/U= Received: by 10.35.86.12 with SMTP id o12mr4706868pyl.1185134968473; Sun, 22 Jul 2007 13:09:28 -0700 (PDT) Received: from ?192.168.1.3? ( [74.134.230.123]) by mx.google.com with ESMTPS id u2sm8786418pyb.2007.07.22.13.09.26 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 22 Jul 2007 13:09:27 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v624) Content-Transfer-Encoding: 7bit Message-Id: <5789733141d09f48d3ee3c459445051a@gmail.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: freebsd-questions@freebsd.org From: Joshua Isom Date: Sun, 22 Jul 2007 15:10:56 -0500 X-Mailer: Apple Mail (2.624) Subject: Getting FreeBSD to see my dvd drive X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jul 2007 20:34:27 -0000 Yesterday I bought and installed a Lite-ON SATA DVD Writer for my computer. But FreeBSD fails to recognize it at all. I'd wondered if something was broken on the motherboard or the drive or if something wasn't hooked up completely. The BIOS recognizes the drive just fine, on IDE Channel 2. I tried booting the amd64 6.2 install disk from the drive and loader fails very quickly with this error: int=0000000d err=00000000 efl=00030002 eip=00010000 eax=0000ffff ebx=00000000 ecx=00000002 edx=0000ffff esi=00007261 edi=00000004 ebp=0000ffff esp=00000000 cs=f000 ds=42c9 es=42a9 fs=0000 gs=0000 ss=9dd7 cs:eip=00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 ss:esp=c9 42 08 00 00 91 61 72-6f ef 00 f0 f1 bd 00 f0 46 02 ac 72 00 f0 46 00-00 91 61 72 6f ef 00 f0 I burned an ubuntu disk on another drive and tried booting it, and it worked perfectly. So I know that the drive and motherboard and everything hardware is fine. I can boot linux just fine from the drive, yet I can't find it at all in FreeBSD. Since linux recognizes it as a scsi drive, I recompiled my kernel to try to support it, but it failed. My custom kernel gets the same results as the generic kernel. Here's my dmesg. Copyright (c) 1992-2007 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 6.2-STABLE #4: Sat Jul 21 23:55:54 CDT 2007 root@freebsd:/usr/obj/usr/src/sys/CUSTOM Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Athlon(tm) 64 Processor 3000+ (1999.79-MHz K8-class CPU) Origin = "AuthenticAMD" Id = 0xf4a Stepping = 10 Features=0x78bfbff AMD Features=0xe0500800 real memory = 518914048 (494 MB) avail memory = 492441600 (469 MB) ACPI APIC Table: ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 acpi0: on motherboard acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0 cpu0: on acpi0 acpi_button0: on acpi0 acpi_button1: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: mem 0xf8000000-0xf9ffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) atapci0: port 0xe100-0xe107,0xe700-0xe703,0xe800-0xe807,0xe900-0xe903,0xe000 -0xe00f,0xd000-0xd0ff irq 20 at device 15.0 on pci0 ata2: on atapci0 ata3: on atapci0 atapci1: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xe200-0xe20f at device 15.1 on pci0 ata0: on atapci1 ata1: on atapci1 uhci0: port 0xe300-0xe31f irq 21 at device 16.0 on pci0 uhci0: [GIANT-LOCKED] usb0: on uhci0 usb0: USB revision 1.0 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: port 0xe400-0xe41f irq 21 at device 16.1 on pci0 uhci1: [GIANT-LOCKED] usb1: on uhci1 usb1: USB revision 1.0 uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0xe500-0xe51f irq 21 at device 16.2 on pci0 uhci2: [GIANT-LOCKED] usb2: on uhci2 usb2: USB revision 1.0 uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered uhci3: port 0xe600-0xe61f irq 21 at device 16.3 on pci0 uhci3: [GIANT-LOCKED] usb3: on uhci3 usb3: USB revision 1.0 uhub3: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub3: 2 ports with 2 removable, self powered ehci0: mem 0xfc000000-0xfc0000ff irq 21 at device 16.4 on pci0 ehci0: [GIANT-LOCKED] usb4: EHCI version 1.0 usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3 usb4: on ehci0 usb4: USB revision 2.0 uhub4: VIA EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub4: 8 ports with 8 removable, self powered isab0: at device 17.0 on pci0 isa0: on isab0 pcm0: port 0xd400-0xd4ff irq 22 at device 17.5 on pci0 pcm0: pcm0: vr0: port 0xdc00-0xdcff mem 0xfc001000-0xfc0010ff irq 23 at device 18.0 on pci0 miibus0: on vr0 rlphy0: on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto vr0: Ethernet address: 00:19:21:48:7f:47 acpi_tz0: on acpi0 sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A ppc0: port 0x378-0x37f irq 7 on acpi0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode ppbus0: on ppc0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled Timecounter "TSC" frequency 1999793892 Hz quality 800 Timecounters tick every 1.000 msec ad0: 28615MB at ata0-master UDMA100 Trying to mount root from ufs:/dev/ad0s1a The chipset on the motherboard is a VIA VT8237R Plus. I guess the VT6420 is integrated in or just recognized oddly. The driver that works for the nic card isn't what the motherboard says it's supposed to be so I'm unsure what to make of much of it, but sound, video, and ethernet are all fine. Perhaps someone else can make sense of why loader fails and why nothing about the drive's existence is known to FreeBSD. I've ran `atacontrol list` and nothing's found other than the primary hard drive. The motherboard in question is a K8M800-M7A(http://www.biostar.com.tw/app/en-us/mb/content.php? S_ID=209). I may see about borrowing another sata drive to see if the problem is the sata controller or the drive itself.