[kde-freebsd] K3B device issue
Don Wilde
dwilde1 at gmail.com
Sun Mar 9 15:27:59 CET 2008
On Sun, Mar 9, 2008 at 5:31 AM, Ion-Mihai Tetcu <itetcu at freebsd.org> wrote:
> On Sat, 8 Mar 2008 19:49:07 -0600
> "Don Wilde" <dwilde1 at gmail.com> wrote:
>
> > Hello, all -
> >
> > I have a 6.3-STABLE system on a Dell Inspiron 6000. My problem is
> > that K3B is not recognizing my DVD device although it's clear in
> > dmesg. I have aloased the device acd0 to dvd and rdvd
> > via /etc/devfs.conf (and a reboot) as described in the Handbook. My
> > kernel has both ATAPI and SCSI command drivers enabled, and I can
> > mount data DVDs to the filesystem satisfactorily.
> >
> > I know it can work, because DesktopBSD was able to set it up properly
> > using the same raw codebase.
> >
> > What have I not done correctly? The k3b site has no help, and I looked
> > through the last four months of your mailing list archives without
> > success. Sorry if this is distracting you from useful work, and
> > thanks in advance!!!
>
> Did you do all that pkg-message tell you to ? Do you have cam support ?
>
> Check your kernel/klds for
> # SCSI peripherals
> device scbus # SCSI bus (required for SCSI)
> device da # Direct Access (disks)
> device cd # CD
> device pass # Passthrough device (direct SCSI access)
> and cam.
>
> Please start k3b from the console and if it doesn't provide you enough
> hints to find the problem post the output here together with your
> kernel config, kldstat and ll /dev/cd*
>
> No juice, Ion-Mihai.
First off, thanks for the detailed response and a list of what you need.
Things I've tried:
All entries from pkg-message implemented, including unsafe ones.
Running from su - console: unsuccessful, could n't connect to X even with
-display=0.0
Logging in as root to KDM and running: same error.
Booting with/without blank dvd in drive: no diff, dmesg shows blank medium
detected
Error is that everything seems to work except that it can't see the medium
in the drive.
One final clue: when k3b run as local user, following message shows up in
shutdown sequence (after kde exits)
acd0: WARNING unknown CMD 0xac read data overrun 24 > 8
several times. These seem to correspond (maybe?) to this:
QGDict::hashKeyString: Invalid null key
QGDict::hashKeyString: Invalid null key
k3b: ERROR: : couldn't create slave : Unable to create io-slave:
klauncher said: Unknown protocol ''.
k3b:
(K3bDevice::DeviceManager) request for empty device!
It does seem to detect the medium, based on what I see in k3b console log,
but it never gets to the point where it acknowledges in the GUI that it's
found it.
Thanks in advance for your assistance! :D
########################################
# output of k3b run as local user
[din at freelynx /usr/home/din]$ k3b
[din at freelynx /usr/home/din]$ kdecore (KAction): WARNING:
KActionCollection::KActionCollection( QObject *parent, const char *name,
KInstance *instance )
k3b: (K3bCdrecordProgram) could not start /opt/schily/bin
k3b: (K3bMkisofsProgram) could not start /opt/schily/bin
k3b: (K3bCdrecordProgram) could not start /home/din/bin
k3b: (K3bMkisofsProgram) could not start /home/din/bin
k3b: (K3bExternalBinManager) Cdrecord 2.1 features: gracetime, overburn,
cdtext, clone, tao, cuefile, xamix, suidroot, plain-atapi, hacked-atapi,
audio-stdin, burnfree
k3b: (K3bExternalBinManager) 2 1 -1 seems to be cdrecord version >= 1.11a02,
using burnfree instead of burnproof
k3b: (K3bExternalBinManager) seems to be cdrecord version >= 1.11a31,
support for Just Link via burnfree driveroption
(BSDDeviceScan) number of matches 12
(BSDDeviceScan) periph: cd0
(BSDDeviceScan) periph: pass0
(BSDDeviceScan) add device /dev/cd0:2:0:0 (/dev/pass0)
(K3bDevice::Device) /dev/cd0: init()
(K3bDevice::openDevice) open device /dev/pass0 succeeded.
(K3bDevice::openDevice) open device /dev/pass0 succeeded.
(K3bDevice::ScsiCommand) transport command 12, length: 6
(K3bDevice::ScsiCommand) transport command 46, length: 10
(K3bDevice::Device) /dev/cd0 feature: CD Mastering
(K3bDevice::ScsiCommand) transport command 46, length: 10
(K3bDevice::Device) /dev/cd0 feature: CD Track At Once
(K3bDevice::ScsiCommand) transport command 46, length: 10
(K3bDevice::Device) /dev/cd0 feature: CD-RW Media Write Support
(K3bDevice::ScsiCommand) transport command 46, length: 10
(K3bDevice::ScsiCommand) transport command 46, length: 10
(K3bDevice::Device) /dev/cd0 feature: DVD+R
(K3bDevice::ScsiCommand) transport command 46, length: 10
(K3bDevice::Device) /dev/cd0 feature: DVD+RW
(K3bDevice::ScsiCommand) transport command 46, length: 10
(K3bDevice::ScsiCommand) transport command 46, length: 10
(K3bDevice::Device) /dev/cd0 feature: DVD+R Double Layer
(K3bDevice::ScsiCommand) transport command 46, length: 10
(K3bDevice::ScsiCommand) transport command 46, length: 10
(K3bDevice::ScsiCommand) transport command 46, length: 10
(K3bDevice::Device) /dev/cd0 feature: DVD-R/-RW Write
(K3bDevice::ScsiCommand) transport command 46, length: 10
(K3bDevice::Device) /dev/cd0 feature: Rigid Restricted Overwrite
(K3bDevice::ScsiCommand) transport command 46, length: 10
(K3bDevice::ScsiCommand) transport command 46, length: 10
(K3bDevice::ScsiCommand) transport command 46, length: 10
(K3bDevice::ScsiCommand) transport command 46, length: 10
(K3bDevice::ScsiCommand) transport command 46, length: 10
(K3bDevice::openDevice) open device /dev/pass0 succeeded.
(K3bDevice::openDevice) open device /dev/pass0 succeeded.
(K3bDevice::ScsiCommand) transport command 5a, length: 10
(K3bDevice::ScsiCommand) transport command 5a, length: 10
(K3bDevice::Device) /dev/cd0: dataLen: 60
(K3bDevice::Device) /dev/cd0: checking for TAO
(K3bDevice::ScsiCommand) transport command 55, length: 10
(K3bDevice::Device) /dev/cd0: checking for SAO
(K3bDevice::ScsiCommand) transport command 55, length: 10
(K3bDevice::Device) /dev/cd0: checking for SAO_R96P
(K3bDevice::ScsiCommand) transport command 55, length: 10
(K3bDevice::Device) /dev/cd0: checking for SAO_R96R
(K3bDevice::ScsiCommand) transport command 55, length: 10
(K3bDevice::Device) /dev/cd0: checking for RAW_R16
(K3bDevice::ScsiCommand) transport command 55, length: 10
(K3bDevice::Device) /dev/cd0: checking for RAW_R96P
(K3bDevice::ScsiCommand) transport command 55, length: 10
(K3bDevice::Device) /dev/cd0: checking for RAW_R96R
(K3bDevice::ScsiCommand) transport command 55, length: 10
(K3bDevice::ScsiCommand) transport command 5a, length: 10
(K3bDevice::ScsiCommand) transport command 5a, length: 10
(K3bDevice::ScsiCommand) transport command 0, length: 6
(K3bDevice::ScsiCommand) transport command 46, length: 10
(K3bDevice::ScsiCommand) transport command 0, length: 6
(K3bDevice::ScsiCommand) transport command 46, length: 10
(K3bDevice::ScsiCommand) transport command ac, length: 12
(K3bDevice::Device) /dev/cd0: GET PERFORMANCE dataLen = 56
(K3bDevice::ScsiCommand) transport command ac, length: 12
(K3bDevice::Device) /dev/cd0: GET PERFORMANCE successful with reported
length: 52
(K3bDevice::Device) /dev/cd0: Number of supported write speeds via GET
PERFORMANCE: 3
(K3bDevice::Device) /dev/cd0 : 8310 KB/s
(K3bDevice::Device) /dev/cd0 : 5540 KB/s
(K3bDevice::Device) /dev/cd0 : 3324 KB/s
(K3bDevice::DeviceManager) setting current write speed of device /dev/cd0 to
8310
k3b: [void K3bMediaCache::clearDeviceList()]
(K3bDevice::DeviceManager) found config entry for devicetype: _NEC DVD+-RW
ND-6650A
(K3bDevice::openDevice) open device /dev/pass0 succeeded.
(K3bDevice::ScsiCommand) transport command 0, length: 6
(K3bDevice::openDevice) open device /dev/pass0 succeeded.
(K3bDevice::openDevice) open device /dev/pass0 succeeded.
(K3bDevice::ScsiCommand) transport command 0, length: 6
(K3bDevice::ScsiCommand) transport command 46, length: 10
(K3bDevice::ScsiCommand) transport command 51, length: 10
(K3bDevice::ScsiCommand) transport command 51, length: 10
(K3bDevice::ScsiCommand) transport command 0, length: 6
(K3bDevice::ScsiCommand) transport command 46, length: 10
(K3bDevice::ScsiCommand) transport command ad, length: 12
(K3bDevice::ScsiCommand) transport command ad, length: 12
First sec data area: 43:41:33 (LBA 196608) (402653184
Last sec data area: 553:42:61 (LBA 2491711) (5103024128 Bytes)
Last sec layer 1: 00:00:00 (LBA 0) (0 Bytes)
Layer 1 length: 00:00:01 (LBA 1) (2048 Bytes)
Layer 2 length: 553:42:61 (LBA 2491711) (5103024128 Bytes)
(K3bDevice::ScsiCommand) transport command 0, length: 6
(K3bDevice::ScsiCommand) transport command 46, length: 10
(K3bDevice::ScsiCommand) transport command 51, length: 10
(K3bDevice::ScsiCommand) transport command 51, length: 10
(K3bDevice::ScsiCommand) transport command ad, length: 12
(K3bDevice::ScsiCommand) transport command ad, length: 12
(K3bDevice::ScsiCommand) transport command 52, length: 10
(K3bDevice::ScsiCommand) transport command 52, length: 10
k3b: (K3bMedium) found medium:
k3b: =====================================================
DiskInfo:
Mediatype: DVD+R
Current Profile: DVD+R
Disk state: complete
Empty: 0
Rewritable: 0
Appendable: 0
Sessions: 2
Tracks: 2
Layers: 1
Capacity: 63:20:72 (LBA 285072) (583827456 Bytes)
Remaining size: 00:00:00 (LBA 0) (0 Bytes)
Used Size: 63:20:72 (LBA 285072) (583827456 Bytes)
k3b: =====================================================
(K3bDevice::openDevice) open device /dev/pass0 succeeded.
(K3bDevice::openDevice) open device /dev/pass0 succeeded.
(K3bDevice::ScsiCommand) transport command 0, length: 6
(K3bDevice::ScsiCommand) transport command 46, length: 10
(K3bDevice::ScsiCommand) transport command 46, length: 10
(K3bDevice::ScsiCommand) transport command 51, length: 10
(K3bDevice::ScsiCommand) transport command 51, length: 10
(K3bDevice::ScsiCommand) transport command 52, length: 10
(K3bDevice::ScsiCommand) transport command 52, length: 10
(K3bDevice::ScsiCommand) transport command 52, length: 10
(K3bDevice::ScsiCommand) transport command 52, length: 10
(K3bDevice::ScsiCommand) transport command 52, length: 10
(K3bDevice::ScsiCommand) transport command 52, length: 10
(K3bDevice::openDevice) open device /dev/pass0 succeeded.
(K3bDevice::ScsiCommand) transport command 0, length: 6
k3b: (K3bCdrecordProgram) could not start /opt/schily/bin
(K3bDevice::openDevice) open device /dev/pass0 succeeded.
(K3bDevice::ScsiCommand) transport command 46, length: 10
k3b: (K3bMkisofsProgram) could not start /opt/schily/bin
(K3bDevice::openDevice) open device /dev/pass0 succeeded.
(K3bDevice::ScsiCommand) transport command ac, length: 12
(K3bDevice::Device) /dev/cd0: GET PERFORMANCE dataLen = 56
(K3bDevice::openDevice) open device /dev/pass0 succeeded.
(K3bDevice::ScsiCommand) transport command ac, length: 12
(K3bDevice::Device) /dev/cd0: GET PERFORMANCE successful with reported
length: 52
(K3bDevice::Device) /dev/cd0: Number of supported write speeds via GET
PERFORMANCE: 3
(K3bDevice::Device) /dev/cd0 : 8310 KB/s
(K3bDevice::Device) /dev/cd0 : 5540 KB/s
(K3bDevice::Device) /dev/cd0 : 3324 KB/s
(K3bDevice::openDevice) open device /dev/pass0 succeeded.
(K3bDevice::openDevice) open device /dev/pass0 succeeded.
(K3bDevice::ScsiCommand) transport command bb, length: 12
(K3bDevice::ScsiCommand) transport command 28, length: 10
(K3bDevice::ScsiCommand) transport command 28, length: 10
(K3bDevice::ScsiCommand) transport command 28, length: 10
(K3bDevice::ScsiCommand) transport command 28, length: 10
(K3bDevice::ScsiCommand) transport command 28, length: 10
(K3bDevice::ScsiCommand) transport command 28, length: 10
(K3bDevice::ScsiCommand) transport command 28, length: 10
k3b: (K3bMedium) found volume id from start sector 284768: '051217_1530'
k3b: (K3bCdrecordProgram) could not start /home/din/bin
k3b: (K3bMkisofsProgram) could not start /home/din/bin
k3b: (K3bExternalBinManager) Cdrecord 2.1 features: gracetime, overburn,
cdtext, clone, tao, cuefile, xamix, suidroot, plain-atapi, hacked-atapi,
audio-stdin, burnfree
k3b: (K3bExternalBinManager) 2 1 -1 seems to be cdrecord version >= 1.11a02,
using burnfree instead of burnproof
k3b: (K3bExternalBinManager) seems to be cdrecord version >= 1.11a31,
support for Just Link via burnfree driveroption
Devices:
------------------------------
Blockdevice: /dev/cd0
Generic device:
Vendor: _NEC
Description: DVD+-RW ND-6650A
Version: 102C
Write speed: 8310
Profiles: DVD-ROM, DVD-R Sequential, DVD-RW Restricted Overwrite,
DVD-RW Sequential, DVD+RW, DVD+R, DVD+R Dual Layer, CD-ROM, CD-R, CD-RW
Read Cap: DVD-ROM, DVD-R, DVD-R Sequential, DVD-RW, DVD-RW Restricted
Overwrite, DVD-RW Sequential, DVD+RW, DVD+R, DVD+R Dual Layer, CD-ROM, CD-R,
CD-RW
Write Cap: DVD-R, DVD-R Sequential, DVD-RW, DVD-RW Restricted
Overwrite, DVD-RW Sequential, DVD+RW, DVD+R, DVD+R Dual Layer, CD-R, CD-RW
Writing modes: SAO, TAO, RAW, SAO/R96P, SAO/R96R, RAW/R16, RAW/R96P,
RAW/R96R, Restricted Overwrite
Reader aliases: /dev/cd0
------------------------------
kdecore (KAction): WARNING: KActionCollection::operator+=(): function is
severely deprecated.
(K3bDevice::openDevice) open device /dev/pass0 succeeded.
(K3bDevice::ScsiCommand) transport command 0, length: 6
k3b: (K3bFileTreeView::addCdDeviceBranches)
k3b: (K3bFileTreeView::addCdDeviceBranches) done
k3b: (K3bFileTreeView::addCdDeviceBranches)
k3b: (K3bFileTreeView::addCdDeviceBranches) done
k3b: (K3bCore) System problems:
k3b: - none -
(K3bDevice::openDevice) open device /dev/pass0 succeeded.
(K3bDevice::ScsiCommand) transport command 0, length: 6
(K3bDevice::DeviceManager) request for empty device!
k3b: (K3bProjectManager) adding doc /DataDVD0
(K3bDevice::openDevice) open device /dev/pass0 succeeded.
(K3bDevice::ScsiCommand) transport command 0, length: 6
(K3bDevice::openDevice) open device /dev/pass0 succeeded.
(K3bDevice::ScsiCommand) transport command 0, length: 6
(K3bDevice::openDevice) open device /dev/pass0 succeeded.
(K3bDevice::ScsiCommand) transport command 0, length: 6
QGDict::hashKeyString: Invalid null key
QGDict::hashKeyString: Invalid null key
k3b: ERROR: : couldn't create slave : Unable to create io-slave:
klauncher said: Unknown protocol ''.
k3b:
(K3bDevice::DeviceManager) request for empty device!
(K3bDevice::openDevice) open device /dev/pass0 succeeded.
(K3bDevice::ScsiCommand) transport command 0, length: 6
(K3bDevice::openDevice) open device /dev/pass0 succeeded.
(K3bDevice::ScsiCommand) transport command 0, length: 6
(K3bDevice::openDevice) open device /dev/pass0 succeeded.
(K3bDevice::ScsiCommand) transport command 0, length: 6
(K3bDevice::openDevice) open device /dev/pass0 succeeded.
(K3bDevice::ScsiCommand) transport command 0, length: 6
k3b: [void K3bMediaCache::clearDeviceList()]
k3b: [void K3bMediaCache::clearDeviceList()] waiting for info thread
/dev/cd0 to finish
k3b: Waiting for thread 0x8284d40
k3b: Thread waiting done.
k3b: [void K3bMediaCache::clearDeviceList()]
#######################################
# end of k3b output
###############
###################
# kernel conf
#
# LYNX -- config file for i386 Dell Inpiron 6000 w/ 1.6 GHz Celeron & 1GB
#
#
# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.429.2.15 2007/12/15 06:03:43
scottl Exp $
machine i386
cpu I586_CPU
cpu I686_CPU
ident LYNX
# To statically compile in device wiring instead of /boot/device.hints
#hints "GENERIC.hints" # Default places to look for
devices.
makeoptions DEBUG=-g # Build kernel with gdb(1) debug
symbols
options SCHED_4BSD # 4BSD scheduler
options PREEMPTION # Enable kernel thread preemption
options INET # InterNETworking
# options INET6 # IPv6 communications protocols
options FFS # Berkeley Fast Filesystem
options SOFTUPDATES # Enable FFS soft updates support
options UFS_ACL # Support for access control lists
options UFS_DIRHASH # Improve performance on big
directories
options MD_ROOT # MD is a potential root device
# options NFSCLIENT # Network Filesystem Client
# options NFSSERVER # Network Filesystem Server
# options NFS_ROOT # NFS usable as /, requires
NFSCLIENT
options MSDOSFS # MSDOS Filesystem
options CD9660 # ISO 9660 Filesystem
options PROCFS # Process filesystem (requires
PSEUDOFS)
options PSEUDOFS # Pseudo-filesystem framework
options GEOM_GPT # GUID Partition Tables.
options COMPAT_43 # Compatible with BSD 4.3 [KEEP
THIS!]
options COMPAT_FREEBSD4 # Compatible with FreeBSD4
options COMPAT_FREEBSD5 # Compatible with FreeBSD5
options SCSI_DELAY=3000 # Delay (in ms) before probing SCSI
options KTRACE # ktrace(1) support
options SYSVSHM # SYSV-style shared memory
options SYSVMSG # SYSV-style message queues
options SYSVSEM # SYSV-style semaphores
options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time
extensions
options KBD_INSTALL_CDEV # install a CDEV entry in /dev
options ADAPTIVE_GIANT # Giant mutex is adaptive.
device apic # I/O APIC
# Bus support.
device pci
# Floppy drives
device fdc
# ATA and ATAPI devices
device ata
device atadisk # ATA disk drives
# device ataraid # ATA RAID drives
device atapicd # ATAPI CDROM drives
device atapicam
device atapifd # ATAPI floppy drives
device atapist # ATAPI tape drives
options ATA_STATIC_ID # Static device numbering
# SCSI peripherals
device scbus # SCSI bus (required for SCSI)
device ch # SCSI media changers
device da # Direct Access (disks)
device sa # Sequential Access (tape etc)
device cd # CD
device pass # Passthrough device (direct SCSI access)
device ses # SCSI Environmental Services (and SAF-TE)
# atkbdc0 controls both the keyboard and the PS/2 mouse
device atkbdc # AT keyboard controller
device atkbd # AT keyboard
device psm # PS/2 mouse
device kbdmux # keyboard multiplexer
device vga # VGA video card driver
device splash # Splash screen and screen saver support
# syscons is the default console driver, resembling an SCO console
device sc
# Enable this for the pcvt (VT220 compatible) console driver
#device vt
#options XSERVER # support for X server on a vt console
#options FAT_CURSOR # start with block cursor
device agp # support several AGP chipsets
# Power management support (see NOTES for more options)
#device apm
# Add suspend/resume support for the i8254.
device pmtimer
# PCCARD (PCMCIA) support
# PCMCIA and cardbus bridge support
device cbb # cardbus (yenta) bridge
device pccard # PC Card (16-bit) bus
device cardbus # CardBus (32-bit) bus
# Serial (COM) ports
device sio # 8250, 16[45]50 based serial ports
# Parallel port
device ppc
device ppbus # Parallel port bus (required)
device lpt # Printer
device plip # TCP/IP over parallel
device ppi # Parallel port interface device
#device vpo # Requires scbus and da
# PCI Ethernet NICs that use the common MII bus controller code.
# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
device miibus # MII bus support
device bfe # Broadcom BCM440x 10/100 Ethernet
# Wireless NIC cards
device wlan # 802.11 support
device wlan_wep # 802.11 WEP support
device wlan_ccmp # 802.11 CCMP support
device wlan_tkip # 802.11 TKIP support
device iwi
device firmware
# sound system
device speaker
device sound
device snd_ich
# Pseudo devices.
device loop # Network loopback
device random # Entropy device
device ether # Ethernet support
device sl # Kernel SLIP
device ppp # Kernel PPP
device tun # Packet tunnel.
device pty # Pseudo-ttys (telnet etc)
device md # Memory "disks"
#device gif # IPv6 and IPv4 tunneling
#device faith # IPv6-to-IPv4 relaying (translation)
# The `bpf' device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
# Note that 'bpf' is required for DHCP.
device bpf # Berkeley packet filter
# USB support
device uhci # UHCI PCI->USB interface
device ohci # OHCI PCI->USB interface
device ehci # EHCI PCI->USB interface (USB 2.0)
device usb # USB Bus (required)
#device udbp # USB Double Bulk Pipe devices
device ugen # Generic
device uhid # "Human Interface Devices"
device ukbd # Keyboard
device ulpt # Printer
device umass # Disks/Mass storage - Requires scbus and da
device ums # Mouse
device ural # Ralink Technology RT2500USB wireless NICs
device urio # Diamond Rio 500 MP3 player
device uscanner # Scanners
# FireWire support
device firewire # FireWire bus code
device sbp # SCSI over FireWire (Requires scbus and da)
###############################
# end kernel conf file
#################################
#################################
# kldstat
Id Refs Address Size Name
1 21 0xc0400000 3bc6b0 kernel
2 1 0xc07bd000 e6e4 if_iwi.ko
3 1 0xc07cc000 4b88 atapicam.ko
4 1 0xc07d1000 5c6cc acpi.ko
5 1 0xc5031000 19000 linux.ko
6 1 0xc51cd000 2000 snake_saver.ko
7 1 0xc53df000 1e000 radeon.ko
8 1 0xc53fd000 e000 drm.ko
############################
# ll /dev/cd*
crw-rw-rw- 1 root operator - 0, 101 Mar 9 08:09 /dev/cd0
lrwxr-xr-x 1 root wheel - 4 Mar 9 08:09 /dev/cdrom -> acd0
# dvd and rdvd also aliased to acd0
###########################
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kde-freebsd/attachments/20080309/ffcef710/attachment-0001.html
More information about the kde-freebsd
mailing list