DragonFly BSD
DragonFly users List (threaded) for 2005-06
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: K3B not finding drives


From: Michael Powell <nightrecon@xxxxxxxxxxx>
Date: Thu, 09 Jun 2005 05:54:05 -0400

John Leimon wrote:

> I have k3b installed on my box but it's not recognizing my cdrom drives.
> I have read through all the documentation but still no luck. Here are
> the some specs:
> 
> dmesg:
> -------------------------------
> acd0: CDROM <CDU5211> at ata1-master UDMA33
> acd1: DVD-R <Memorex DVD+/-RW Dual-X1> at ata1-slave UDMA33
> Mounting root from ufs:/dev/ad0s4a
> cd0 at ata1 bus 0 target 0 lun 0
> cd0: <SONY CD-ROM CDU5211 YYS7> Removable CD-ROM SCSI-0 device
> cd0: 33.000MB/s transfers
> cd0: Attempt to query device size failed: NOT READY, Medium not present
> cd1 at ata1 bus 0 target 1 lun 0
> cd1: <Memorex DVD+/-RW Dual-X1 1.05> Removable CD-ROM SCSI-0 device
> cd1: 33.000MB/s transfers
> cd1: Attempt to query device size failed: NOT READY, Medium not present
> 
> /etc/fstab:
> -----------------------------
> /dev/ad0s4a             /               ufs     rw              1      
> 1
> /dev/ad0s4b             none            swap    sw              0      
> 0
> /dev/ad0s4d             /var            ufs     rw              2      
> 2
> /dev/ad0s4e             /tmp            ufs     rw              2      
> 2
> /dev/ad0s4f             /usr            ufs     rw              2      
> 2
> /dev/ad0s4g             /home           ufs     rw              2      
> 2
> proc                    /proc           procfs  rw              0      
> 0
> /dev/cd0c               /cdrom0         cd9660  ro,noauto,nodev,nosuid 0
> 0
> /dev/cd1c               /cdrom1         cd9660  ro,noauto,nodev,nosuid 0
> 0
> 
> uname -a:
> -----------------------------
> DragonFly  1.3-Preview DragonFly 1.3-Preview #0: Sun Jun  5 05:17:43 GMT
> 2005     root@:/usr/obj/usr/src/sys/SMP_00  i386
> 
> kldstat:
> -----------------------------
> Id Refs Address    Size     Name
>  1    4 0xc0100000 535f2c   kernel
>  3    1 0xc0638000 54cc4    acpi.ko
>  4    1 0xd98e0000 16000    linux.ko
>  5    1 0xd99e0000 18000    radeon.ko
> 
> some k3b info output:
> -----------------------------
> k3b: (K3bDeviceManager) scanning fstab: /dev/cd0c
> k3b: (K3bDeviceManager) device:  /dev/cd0c
> k3b: (K3bDeviceManager) scanning fstab: /dev/cd1c
> k3b: (K3bDeviceManager) device:  /dev/cd1c
> k3b: Devices:
> k3b: ------------------------------
> <snip>
> k3b: (K3bDeviceManager) /dev/cd0c resolved to /dev/cd0c
> k3b: (K3bCdDevice) /dev/cd0c: init()
> k3b: (K3bCdDevice::ScsiCommand) open device  failed.
> k3b: ERROR: (K3bCdDevice) Unable to do inquiry.
> k3b: Could not initialize device /dev/cd0c
> 
> this is what bothers me... doing a cdrecord -scanbus recognizes both my
> drives:
> warbringer#/root cdrecord -scanbus
> Cdrecord-Clone 2.01 (i386-unknown-freebsd4.8) Copyright (C) 1995-2004
> Jörg Schilling
> Using libscg version 'schily-0.8'.
> scsibus1:
> cdrecord: Warning: controller returns wrong size for CD capabilities
> page.
>         1,0,0   100) 'SONY    ' 'CD-ROM CDU5211  ' 'YYS7' Removable
>         CD-ROM
>         1,1,0   101) 'Memorex ' 'DVD+/-RW Dual-X1' '1.05' Removable
>         CD-ROM
>         1,2,0   102) *
>         1,3,0   103) *
>         1,4,0   104) *
>         1,5,0   105) *
>         1,6,0   106) *
>         1,7,0   107) *

   Do you have atapicam and the requisite peripherals in your kernel?
Example below:

# ATA and ATAPI devices
device          ata
device          atadisk                 # ATA disk drives
device          atapicd                 # ATAPI CDROM drives
device          atapicam
options         ATA_STATIC_ID           #Static device numbering

# SCSI peripherals
device          scbus           # SCSI bus (required for SCSI)
device          cd              # CD
device          pass            # Passthrough device (direct SCSI access)
#device         da              # Needed for USB umass disk access

-Mike




[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]