Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Jul 2007 15:10:56 -0500
From:      Joshua Isom <>
Subject:   Getting FreeBSD to see my dvd drive
Message-ID:  <>

Next in thread | Raw E-Mail | Index | Archive | Help
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  
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 6.2-STABLE #4: Sat Jul 21 23:55:54 CDT 2007
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
   AMD Features=0xe0500800<SYSCALL,NX,MMX+,LM,3DNow!+,3DNow!>
real memory  = 518914048 (494 MB)
avail memory = 492441600 (469 MB)
ioapic0 <Version 0.3> irqs 0-23 on motherboard
kbd1 at kbdmux0
acpi0: <VIAK8M AWRDACPI> 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: <ACPI CPU> on acpi0
acpi_button0: <Power Button> on acpi0
acpi_button1: <Sleep Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <VIA 8380 host to PCI bridge> mem 0xf8000000-0xf9ffffff at device  
0.0 on pci0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
atapci0: <VIA 6420 SATA150 controller> port  
-0xe00f,0xd000-0xd0ff irq 20 at device 15.0 on pci0
ata2: <ATA channel 0> on atapci0
ata3: <ATA channel 1> on atapci0
atapci1: <VIA 8237 UDMA133 controller> port  
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xe200-0xe20f at device 15.1 on  
ata0: <ATA channel 0> on atapci1
ata1: <ATA channel 1> on atapci1
uhci0: <VIA 83C572 USB controller> port 0xe300-0xe31f irq 21 at device  
16.0 on pci0
usb0: <VIA 83C572 USB controller> 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: <VIA 83C572 USB controller> port 0xe400-0xe41f irq 21 at device  
16.1 on pci0
usb1: <VIA 83C572 USB controller> 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: <VIA 83C572 USB controller> port 0xe500-0xe51f irq 21 at device  
16.2 on pci0
usb2: <VIA 83C572 USB controller> 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: <VIA 83C572 USB controller> port 0xe600-0xe61f irq 21 at device  
16.3 on pci0
usb3: <VIA 83C572 USB controller> 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: <VIA VT6202 USB 2.0 controller> mem 0xfc000000-0xfc0000ff irq 21  
at device 16.4 on pci0
usb4: EHCI version 1.0
usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3
usb4: <VIA VT6202 USB 2.0 controller> 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: <PCI-ISA bridge> at device 17.0 on pci0
isa0: <ISA bus> on isab0
pcm0: <VIA VT8237> port 0xd400-0xd4ff irq 22 at device 17.5 on pci0
pcm0: <Avance Logic ALC655 AC97 Codec>
pcm0: <VIA DXS Enabled: DXS 4 / SGD 1 / REC 1>
vr0: <VIA VT6102 Rhine II 10/100BaseTX> port 0xdc00-0xdcff mem  
0xfc001000-0xfc0010ff irq 23 at device 18.0 on pci0
miibus0: <MII bus> on vr0
rlphy0: <RTL8201L 10/100 media interface> on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
vr0: Ethernet address: 00:19:21:48:7f:47
acpi_tz0: <Thermal Zone> 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  
sio0: type 16550A
ppc0: <Standard parallel printer port> port 0x378-0x37f irq 7 on acpi0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppbus0: <Parallel port bus> on ppc0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on  
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> 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 <FUJITSU MHT2030AT 819C> 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  
S_ID=209).  I may see about borrowing another sata drive to see if the  
problem is the sata controller or the drive itself.

Want to link to this message? Use this URL: <>