DSBMC/DSBMD

Sorry, dmesg hatte ich vergessen:

Code:
# dmesg
Copyright (c) 1992-2017 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 11.1-RELEASE-p4 #0: Tue Nov 14 06:12:40 UTC 2017
    root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
FreeBSD clang version 4.0.0 (tags/RELEASE_400/final 297347) (based on LLVM 4.0.0)
VT(vga): resolution 640x480
CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 6400+ (3214.65-MHz K8-class CPU)
  Origin="AuthenticAMD"  Id=0x40f33  Family=0xf  Model=0x43  Stepping=3
  Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
  Features2=0x2001<SSE3,CX16>
  AMD Features=0xea500800<SYSCALL,NX,MMX+,FFXSR,RDTSCP,LM,3DNow!+,3DNow!>
  AMD Features2=0x1f<LAHF,CMP,SVM,ExtAPIC,CR8>
  SVM: NAsids=64
real memory  = 2147483648 (2048 MB)
avail memory = 2017312768 (1923 MB)
Event timer "LAPIC" quality 100
ACPI APIC Table: <Nvidia NVDAACPI>
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
FreeBSD/SMP: 1 package(s) x 2 core(s)
random: unblocking device.
ACPI BIOS Warning (bug): Optional FADT field Pm2ControlBlock has valid Length but zero Address: 0x0000000000000000/0x1 (20170303/tbfadt-796)
ioapic0: Changing APIC ID to 2
ioapic0 <Version 1.1> irqs 0-23 on motherboard
SMP: AP CPU #1 Launched!
Cuse v0.1.34 @ /dev/cuse
random: entropy device external interface
kbd1 at kbdmux0
netmap: loaded module
module_register_init: MOD_LOAD (vesa, 0xffffffff80f5b220, 0) error 19
nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms  384.90  Tue Sep 19 17:29:32 PDT 2017
nexus0
vtvga0: <VT VGA driver> on motherboard
cryptosoft0: <software crypto> on motherboard
acpi0: <Nvidia NVDAACPI> on motherboard
acpi0: Power Button (fixed)
cpu0: <ACPI CPU> on acpi0
cpu1: <ACPI CPU> on acpi0
attimer0: <AT timer> port 0x40-0x43 on acpi0
Timecounter "i8254" frequency 1193182 Hz quality 0
Event timer "i8254" frequency 1193182 Hz quality 100
hpet0: <High Precision Event Timer> iomem 0xfeff0000-0xfeff03ff irq 0,8 on acpi0
device_attach: hpet0 attach returned 12
atrtc0: <AT realtime clock> port 0x70-0x73 on acpi0
Event timer "RTC" frequency 32768 Hz quality 0
Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pcib0: Length mismatch for 4 range: 81 vs 7f
pci0: <ACPI PCI bus> on pcib0
pci0: <memory, RAM> at device 0.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 1.0 on pci0
isa0: <ISA bus> on isab0
pci0: <memory, RAM> at device 1.2 (no driver attached)
ohci0: <nVidia nForce MCP61 USB Controller> mem 0xfe02f000-0xfe02ffff irq 21 at device 2.0 on pci0
usbus0 on ohci0
usbus0: 12Mbps Full Speed USB v1.0
ehci0: <NVIDIA nForce MCP61 USB 2.0 controller> mem 0xfe02e000-0xfe02e0ff irq 22 at device 2.1 on pci0
usbus1: EHCI version 1.0
usbus1 on ehci0
usbus1: 480Mbps High Speed USB v2.0
pcib1: <ACPI PCI-PCI bridge> at device 4.0 on pci0
pci1: <ACPI PCI bus> on pcib1
fwohci0: <VIA Fire II (VT6306)> port 0xcc00-0xcc7f mem 0xfdeff000-0xfdeff7ff irq 19 at device 6.0 on pci1
fwohci0: OHCI version 1.10 (ROM=1)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 00:01:6c:20:00:24:d1:87
fwohci0: Phy 1394a available S400, 2 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0: <IEEE1394(FireWire) bus> on fwohci0
fwohci0: Initiate bus reset
fwohci0: fwohci_intr_core: BUS reset
fwohci0: PhysicalUpperBound register is not implemented.  Physical memory access is limited to the first 4GB
fwohci0: PhysicalUpperBound = 0x00000000
fwohci0: fwohci_intr_core: node_id=0x00000000, SelfID Count=1, CYCLEMASTER mode
firewire0: 1 nodes, maxhop <= 0 cable IRM irm(0)  (me)
ohci1: firewire0: <OPTi 82C861 (FireLink) USB controller>bus manager 0
mem 0xfdefe000-0xfdefefff irq 16 at device 7.0 on pci1
usbus2 on ohci1
usbus2: 12Mbps Full Speed USB v1.0
hdac0: <NVIDIA MCP61 HDA Controller> mem 0xfe028000-0xfe02bfff irq 23 at device 5.0 on pci0
atapci0: <nVidia nForce MCP61 UDMA133 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f at device 6.0 on pci0
ata0: <ATA channel> at channel 0 on atapci0
ata1: <ATA channel> at channel 1 on atapci0
nfe0: <NVIDIA nForce MCP61 Networking Adapter> port 0xec00-0xec07 mem 0xfe02d000-0xfe02dfff irq 20 at device 7.0 on pci0
miibus0: <MII bus> on nfe0
rlphy0: <RTL8201L 10/100 media interface> PHY 13 on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto, auto-flow
nfe0: Ethernet address: 00:15:58:98:75:5a
atapci1: <nVidia nForce MCP61 SATA300 controller> port 0x9f0-0x9f7,0xbf0-0xbf3,0x970-0x977,0xb70-0xb73,0xd800-0xd80f mem 0xfe02c000-0xfe02cfff irq 21 at device 8.0 on pci0
ata2: <ATA channel> at channel 0 on atapci1
ata3: <ATA channel> at channel 1 on atapci1
pcib2: <ACPI PCI-PCI bridge> at device 9.0 on pci0
pci2: <ACPI PCI bus> on pcib2
vgapci0: <VGA-compatible display> port 0xbc00-0xbc7f mem 0xfb000000-0xfbffffff,0xd0000000-0xdfffffff,0xee000000-0xefffffff irq 16 at device 0.0 on pci2
nvidia0: <GeForce GTX 750> on vgapci0
vgapci0: child nvidia0 requested pci_enable_io
vgapci0: child nvidia0 requested pci_enable_io
vgapci0: Boot video device
hdac1: <NVIDIA (0x0fbc) HDA Controller> mem 0xfcffc000-0xfcffffff irq 16 at device 0.1 on pci2
pcib3: <ACPI PCI-PCI bridge> at device 11.0 on pci0
pci3: <ACPI PCI bus> on pcib3
pcib4: <ACPI PCI-PCI bridge> at device 12.0 on pci0
pci4: <ACPI PCI bus> on pcib4
acpi_tz0: <Thermal Zone> on acpi0
fdc0: <floppy drive controller> port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
uart1: <16550 or compatible> port 0x2f8-0x2ff irq 3 on acpi0
ppc0: <Parallel 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
orm0: <ISA Option ROM> at iomem 0xd0000-0xd3fff on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
powernow0: <PowerNow! K8> on cpu0
powernow1: <PowerNow! K8> on cpu1
fuse-freebsd: version 0.4.4, FUSE ABI 7.8
Timecounters tick every 1.000 msec
nvme cam probe device init
hdacc0: <Realtek ALC861 HDA CODEC> at cad 0 on hdac0
hdaa0: <Realtek ALC861 Audio Function Group> at nid 1 on hdacc0
pcm0: <Realtek ALC861 (Analog 2.0+HP/2.0)> at nid 11,15 and 13,16,17,12 on hdaa0
pcm1: <Realtek ALC861 (Onboard Digital)> at nid 18 on hdaa0
hdacc1: <NVIDIA (0x0060) HDA CODEC> at cad 0 on hdac1
hdaa1: <NVIDIA (0x0060) Audio Function Group> at nid 1 on hdacc1
pcm2: <NVIDIA (0x0060) (HDMI/DP 8ch)> at nid 4 on hdaa1
pcm3: <NVIDIA (0x0060) (HDMI/DP 8ch)> at nid 5 on hdaa1
pcm4: <NVIDIA (0x0060) (HDMI/DP 8ch)> at nid 6 on hdaa1
pcm5: <NVIDIA (0x0060) (HDMI/DP 8ch)> at nid 7 on hdaa1
ugen1.1: <nVidia EHCI root HUB> at usbus1
ugen0.1: <nVidia OHCI root HUB> at usbus0
uhub0: <nVidia EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus1
uhub1: <nVidia OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
ugen2.1: <OPTi OHCI root HUB> at usbus2
uhub2: <OPTi OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus2
ada0 at ata2 bus 0 scbus2 target 0 lun 0
ada0: <SAMSUNG HD160JJ WU100-41> ATA-7 SATA 2.x device
ada0: Serial Number S08HJ1QL907862
ada0: 300.000MB/s transfers (SATA 2.x, UDMA5, PIO 8192bytes)
uhub2: ada0: 152627MB (312581808 512 byte sectors)
2 ports with 2 removable, self powered
ada1 at ata3 bus 0 scbus3 target 0 lun 0
ada1: <SAMSUNG HD160JJ WU100-41> ATA-7 SATA 2.x device
ada1: Serial Number S08HJ1QL907857
ada1: 300.000MB/s transfers (SATA 2.x, UDMA5, PIO 8192bytes)
ada1: 152627MB (312581808 512 byte sectors)
cd1 at ata0 bus 0 scbus0 target 1 lun 0
cd1: <_NEC DVD_RW ND-3520A 1.04> Removable CD-ROM SCSI device
cd1: 33.300MB/s transfers (UDMA2, ATAPI 12bytes, PIO 65534bytes)
cd1: Attempt to query device size failed: NOT READY, Medium not present
cd0 at ata0 bus 0 scbus0 target 0 lun 0
cd0: <PIONEER DVD-ROM DVD-106 1.22> Removable CD-ROM SCSI device
cd0: 66.700MB/s transfers (UDMA4, ATAPI 12bytes, PIO 65534bytes)
cd0: Attempt to query device size failed: NOT READY, Medium not present
Trying to mount root from ufs:/dev/ada0p2 [rw]...
uhub1: 8 ports with 8 removable, self powered
ugen2.2: <Hewlett-Packard hp scanjet scanner> at usbus2
linprocfs registered
uhub0: 8 ports with 8 removable, self powered
random: harvesting attach, 8 bytes (4 bits) from uhub0
ugen0.2: <SEM USB Keyboard> at usbus0
ukbd0 on uhub1
ukbd0: <SEM USB Keyboard, class 0/0, rev 1.10/1.10, addr 2> on usbus0
kbd2 at ukbd0
kbd2: ukbd0, generic (0), config:0x0, flags:0x3d0000
random: harvesting attach, 8 bytes (4 bits) from ukbd0
ugen0.3: <hp photosmart 7600 series> at usbus0
umass0 on uhub1
umass0: <hp photosmart 7600 series, class 0/0, rev 2.00/1.00, addr 3> on usbus0
umass0:  SCSI over Bulk-Only; quirks = 0x0000
umass0:4:0: Attached to scbus4
random: harvesting attach, 8 bytes (4 bits) from umass0
pass4 at umass-sim0 bus 0 scbus4 target 0 lun 0
pass4: <HP photosmart 7600 1.00> Removable Direct Access SCSI-2 device
pass4: 1.000MB/s transfers
GEOM: new disk da0
da0 at umass-sim0 bus 0 scbus4 target 0 lun 0
da0: <HP photosmart 7600 1.00> Removable Direct Access SCSI-2 device
da0: 1.000MB/s transfers
da0: Attempt to query device size failed: NOT READY, Medium not present
da0: quirks=0x2<NO_6_BYTE>
da0: Delete methods: <NONE(*),ZERO>
(da0:umass-sim0:0:0:0): PREVENT ALLOW MEDIUM REMOVAL not supported.
ugen0.4: <RAPTOR-GAMING RAPTOR-GAMING LM1> at usbus0
nfe0: link state changed to DOWN
nfe0: link state changed to UP
uhid0 on uhub1
uhid0: <SEM USB Keyboard, class 0/0, rev 1.10/1.10, addr 2> on usbus0
random: harvesting attach, 8 bytes (4 bits) from uhid0
ulpt0 on uhub1
ulpt0: <hp photosmart 7600 series, class 0/0, rev 2.00/1.00, addr 3> on usbus0
ulpt0: using bi-directional mode
random: harvesting attach, 8 bytes (4 bits) from ulpt0
ulpt0: offline
ums0 on uhub1
ums0: <RAPTOR-GAMING RAPTOR-GAMING LM1, class 0/0, rev 1.10/51.04, addr 4> on usbus0
ums0: 5 buttons and [XYZ] coordinates ID=0
random: harvesting attach, 8 bytes (4 bits) from ums0
Linux x86-64 ELF exec handler installed
nvidia-modeset: Allocated GPU:0 (GPU-47f2ec2f-fb5a-da76-d847-cd55ff75de31) @ PCI:0000:02:00.0
WARNING pid 1157 (python2.7): ioctl sign-extension ioctl ffffffff80087467
ata0: FAILURE - odd-sized DMA transfer attempt 5 % 2
ata0: setting up DMA failed
ata0: FAILURE - odd-sized DMA transfer attempt 5 % 2
ata0: setting up DMA failed
ata0: FAILURE - odd-sized DMA transfer attempt 5 % 2
ata0: setting up DMA failed
ata0: FAILURE - odd-sized DMA transfer attempt 5 % 2
ata0: setting up DMA failed
ata0: FAILURE - odd-sized DMA transfer attempt 5 % 2
ata0: setting up DMA failed
ata0: FAILURE - odd-sized DMA transfer attempt 5 % 2
ata0: setting up DMA failed
ata0: FAILURE - odd-sized DMA transfer attempt 5 % 2
ata0: setting up DMA failed
ata0: FAILURE - odd-sized DMA transfer attempt 5 % 2
ata0: setting up DMA failed
pid 1347 (xsane), uid 1001: exited on signal 11
ata0: FAILURE - odd-sized DMA transfer attempt 5 % 2
ata0: setting up DMA failed
ata0: FAILURE - odd-sized DMA transfer attempt 5 % 2
ata0: setting up DMA failed
ata0: FAILURE - odd-sized DMA transfer attempt 5 % 2
ata0: setting up DMA failed
ata0: FAILURE - odd-sized DMA transfer attempt 5 % 2
ata0: setting up DMA failed
nvidia-modeset: Freed GPU:0 (GPU-47f2ec2f-fb5a-da76-d847-cd55ff75de31) @ PCI:0000:02:00.0
nvidia-modeset: Allocated GPU:0 (GPU-47f2ec2f-fb5a-da76-d847-cd55ff75de31) @ PCI:0000:02:00.0
WARNING pid 1505 (python2.7): ioctl sign-extension ioctl ffffffff80087467
cd9660: Joliet Extension (Level 3)
(cd1:ata0:0:1:0): READ(10). CDB: 28 00 00 04 7f 9a 00 00 01 00
(cd1:ata0:0:1:0): CAM status: SCSI Status Error
(cd1:ata0:0:1:0): SCSI status: Check Condition
(cd1:ata0:0:1:0): SCSI sense: ILLEGAL REQUEST asc:64,0 (Illegal mode for this track)
(cd1:ata0:0:1:0): Error 6, Unretryable error
(cd1:ata0:0:1:0): cddone: got error 0x6 back
(cd1:ata0:0:1:0): READ(10). CDB: 28 00 00 04 7f 5d 00 00 04 00
(cd1:ata0:0:1:0): CAM status: SCSI Status Error
(cd1:ata0:0:1:0): SCSI status: Check Condition
(cd1:ata0:0:1:0): SCSI sense: ILLEGAL REQUEST asc:64,0 (Illegal mode for this track)
(cd1:ata0:0:1:0): Error 6, Unretryable error
(cd1:ata0:0:1:0): cddone: got error 0x6 back
(cd1:ata0:0:1:0): READ(10). CDB: 28 00 00 04 7f 9a 00 00 01 00
(cd1:ata0:0:1:0): CAM status: SCSI Status Error
(cd1:ata0:0:1:0): SCSI status: Check Condition
(cd1:ata0:0:1:0): SCSI sense: ILLEGAL REQUEST asc:64,0 (Illegal mode for this track)
(cd1:ata0:0:1:0): Error 6, Unretryable error
(cd1:ata0:0:1:0): cddone: got error 0x6 back
(cd1:ata0:0:1:0): READ(10). CDB: 28 00 00 04 7f 9b 00 00 01 00
(cd1:ata0:0:1:0): CAM status: SCSI Status Error
(cd1:ata0:0:1:0): SCSI status: Check Condition
(cd1:ata0:0:1:0): SCSI sense: ILLEGAL REQUEST asc:64,0 (Illegal mode for this track)
(cd1:ata0:0:1:0): Error 6, Unretryable error
(cd1:ata0:0:1:0): cddone: got error 0x6 back
(cd1:ata0:0:1:0): READ(10). CDB: 28 00 00 04 7f 9b 00 00 01 00
(cd1:ata0:0:1:0): CAM status: SCSI Status Error
(cd1:ata0:0:1:0): SCSI status: Check Condition
(cd1:ata0:0:1:0): SCSI sense: ILLEGAL REQUEST asc:64,0 (Illegal mode for this track)
(cd1:ata0:0:1:0): Error 6, Unretryable error
(cd1:ata0:0:1:0): cddone: got error 0x6 back
(cd1:ata0:0:1:0): READ(10). CDB: 28 00 00 04 7f 9b 00 00 01 00
(cd1:ata0:0:1:0): CAM status: SCSI Status Error
(cd1:ata0:0:1:0): SCSI status: Check Condition
(cd1:ata0:0:1:0): SCSI sense: ILLEGAL REQUEST asc:64,0 (Illegal mode for this track)
(cd1:ata0:0:1:0): Error 6, Unretryable error
(cd1:ata0:0:1:0): cddone: got error 0x6 back
(cd1:ata0:0:1:0): READ(10). CDB: 28 00 00 04 7f 9b 00 00 01 00
(cd1:ata0:0:1:0): CAM status: SCSI Status Error
(cd1:ata0:0:1:0): SCSI status: Check Condition
(cd1:ata0:0:1:0): SCSI sense: ILLEGAL REQUEST asc:64,0 (Illegal mode for this track)
(cd1:ata0:0:1:0): Error 6, Unretryable error
(cd1:ata0:0:1:0): cddone: got error 0x6 back
(cd1:ata0:0:1:0): READ(10). CDB: 28 00 00 04 7f 9b 00 00 01 00
(cd1:ata0:0:1:0): CAM status: SCSI Status Error
(cd1:ata0:0:1:0): SCSI status: Check Condition
(cd1:ata0:0:1:0): SCSI sense: ILLEGAL REQUEST asc:64,0 (Illegal mode for this track)
(cd1:ata0:0:1:0): Error 6, Unretryable error
(cd1:ata0:0:1:0): cddone: got error 0x6 back
(cd1:ata0:0:1:0): READ(10). CDB: 28 00 00 04 7f 9a 00 00 01 00
(cd1:ata0:0:1:0): CAM status: SCSI Status Error
(cd1:ata0:0:1:0): SCSI status: Check Condition
(cd1:ata0:0:1:0): SCSI sense: ILLEGAL REQUEST asc:64,0 (Illegal mode for this track)
(cd1:ata0:0:1:0): Error 6, Unretryable error
(cd1:ata0:0:1:0): cddone: got error 0x6 back
(cd1:ata0:0:1:0): READ(10). CDB: 28 00 00 04 7f 5d 00 00 04 00
(cd1:ata0:0:1:0): CAM status: SCSI Status Error
(cd1:ata0:0:1:0): SCSI status: Check Condition
(cd1:ata0:0:1:0): SCSI sense: ILLEGAL REQUEST asc:64,0 (Illegal mode for this track)
(cd1:ata0:0:1:0): Error 6, Unretryable error
(cd1:ata0:0:1:0): cddone: got error 0x6 back
(cd1:ata0:0:1:0): READ(10). CDB: 28 00 00 04 7f 9a 00 00 01 00
(cd1:ata0:0:1:0): CAM status: SCSI Status Error
(cd1:ata0:0:1:0): SCSI status: Check Condition
(cd1:ata0:0:1:0): SCSI sense: ILLEGAL REQUEST asc:64,0 (Illegal mode for this track)
(cd1:ata0:0:1:0): Error 6, Unretryable error
(cd1:ata0:0:1:0): cddone: got error 0x6 back
(cd1:ata0:0:1:0): READ(10). CDB: 28 00 00 04 7f 9b 00 00 01 00
(cd1:ata0:0:1:0): CAM status: SCSI Status Error
(cd1:ata0:0:1:0): SCSI status: Check Condition
(cd1:ata0:0:1:0): SCSI sense: ILLEGAL REQUEST asc:64,0 (Illegal mode for this track)
(cd1:ata0:0:1:0): Error 6, Unretryable error
(cd1:ata0:0:1:0): cddone: got error 0x6 back
(cd1:ata0:0:1:0): READ(10). CDB: 28 00 00 04 7f 9b 00 00 01 00
(cd1:ata0:0:1:0): CAM status: SCSI Status Error
(cd1:ata0:0:1:0): SCSI status: Check Condition
(cd1:ata0:0:1:0): SCSI sense: ILLEGAL REQUEST asc:64,0 (Illegal mode for this track)
(cd1:ata0:0:1:0): Error 6, Unretryable error
(cd1:ata0:0:1:0): cddone: got error 0x6 back
(cd1:ata0:0:1:0): READ(10). CDB: 28 00 00 04 7f 9b 00 00 01 00
(cd1:ata0:0:1:0): CAM status: SCSI Status Error
(cd1:ata0:0:1:0): SCSI status: Check Condition
(cd1:ata0:0:1:0): SCSI sense: ILLEGAL REQUEST asc:64,0 (Illegal mode for this track)
(cd1:ata0:0:1:0): Error 6, Unretryable error
(cd1:ata0:0:1:0): cddone: got error 0x6 back
(cd1:ata0:0:1:0): READ(10). CDB: 28 00 00 04 7f 9b 00 00 01 00
(cd1:ata0:0:1:0): CAM status: SCSI Status Error
(cd1:ata0:0:1:0): SCSI status: Check Condition
(cd1:ata0:0:1:0): SCSI sense: ILLEGAL REQUEST asc:64,0 (Illegal mode for this track)
(cd1:ata0:0:1:0): Error 6, Unretryable error
(cd1:ata0:0:1:0): cddone: got error 0x6 back
cd9660: Joliet Extension (Level 1)
ugen1.2: <Corsair Flash Voyager> at usbus1
umass1 on uhub0
umass1: <Corsair Flash Voyager, class 0/0, rev 2.00/11.00, addr 2> on usbus1
umass1:  SCSI over Bulk-Only; quirks = 0x4000
umass1:5:1: Attached to scbus5
random: harvesting attach, 8 bytes (4 bits) from umass1
(probe0:umass-sim1:1:0:0): Down reving Protocol Version from 2 to 0?
pass5 at umass-sim1 bus 1 scbus5 target 0 lun 0
pass5: <Corsair Flash Voyager 1100> Removable Direct Access SCSI device
pass5: Serial Number A500000000026183
pass5: 40.000MB/s transfers
GEOM: new disk da1
da1 at umass-sim1 bus 1 scbus5 target 0 lun 0
da1: <Corsair Flash Voyager 1100> Removable Direct Access SCSI device
da1: Serial Number A500000000026183
da1: 40.000MB/s transfers
da1: 3872MB (7929856 512 byte sectors)
da1: quirks=0x2<NO_6_BYTE>
da1: Delete methods: <NONE(*),ZERO>
(da1:umass-sim1:1:0:0): PREVENT ALLOW MEDIUM REMOVAL not supported.
#

Code:
# tail -100 /var/log/dsbmd.log
dsbmd: getfs(): fread(): No error: 0
dsbmd: Client with UID 1001 connected on Wed Nov 22 21:10:52 2017
dsbmd: Client with UID 1001 disconnected on Wed Nov 22 21:10:52 2017
dsbmd: Client with UID 1001 connected on Wed Nov 22 21:10:58 2017
dsbmd: Mounting of /dev/pseudo00 by UID 1001 failed: No error: 0 on Wed Nov 22 21:11:06 2017
dsbmd: chown(/dev/pseudo00): No such file or directory on Wed Nov 22 21:11:06 2017
dsbmd: Client with UID 1001 disconnected on Wed Nov 22 21:11:06 2017
dsbmd: dsbmd exited on Wed Nov 22 21:13:20 2017
dsbmd: dsbmd started on Tue Nov 28 10:26:43 2017
dsbmd: ioctl(/dev/cd0, CDRIOCREADSPEED): Device not configured on Tue Nov 28 10:26:43 2017
dsbmd: ioctl(/dev/cd1, CDRIOCREADSPEED): Device not configured on Tue Nov 28 10:26:43 2017
dsbmd: getfs(): fread(): No error: 0
dsbmd: getfs(): fread(): Input/output error
dsbmd: getfs(): Input/output error
dsbmd: getfs(): fread(): No error: 0
dsbmd: dsbmd exited on Tue Nov 28 10:28:17 2017
dsbmd: dsbmd started on Tue Nov 28 10:28:17 2017
dsbmd: ioctl(/dev/cd0, CDRIOCREADSPEED): Device not configured on Tue Nov 28 10:28:18 2017
dsbmd: ioctl(/dev/cd1, CDRIOCREADSPEED): Device not configured on Tue Nov 28 10:28:18 2017
dsbmd: getfs(): fread(): No error: 0
dsbmd: getfs(): fread(): Input/output error
dsbmd: getfs(): Input/output error
dsbmd: getfs(): fread(): No error: 0
dsbmd: Client with UID 1001 connected on Tue Nov 28 10:32:23 2017
dsbmd: dsbmd exited on Tue Nov 28 10:39:00 2017
dsbmd: dsbmd started on Tue Nov 28 10:40:10 2017
dsbmd: ioctl(/dev/cd0, CDRIOCREADSPEED): Device not configured on Tue Nov 28 10:40:10 2017
dsbmd: ioctl(/dev/cd1, CDRIOCREADSPEED): Device not configured on Tue Nov 28 10:40:10 2017
dsbmd: getfs(): fread(): No error: 0
dsbmd: getfs(): fread(): Input/output error
dsbmd: getfs(): Input/output error
dsbmd: getfs(): fread(): No error: 0
dsbmd: Client with UID 1001 connected on Tue Nov 28 10:41:38 2017
dsbmd: Device /dev/da1 mounted on /media/da1 by UID 1001 on Tue Nov 28 10:41:38 2017
dsbmd: dsbmd exited on Tue Nov 28 11:46:49 2017
dsbmd: dsbmd started on Thu Dec  7 11:26:15 2017
dsbmd: ioctl(/dev/cd0, CDRIOCREADSPEED): Device not configured on Thu Dec  7 11:26:15 2017
dsbmd: ioctl(/dev/cd1, CDRIOCREADSPEED): Device not configured on Thu Dec  7 11:26:15 2017
dsbmd: getfs(): fread(): No error: 0
dsbmd: getfs(): fread(): Input/output error
dsbmd: getfs(): Input/output error
dsbmd: getfs(): fread(): No error: 0
dsbmd: Client with UID 1001 connected on Thu Dec  7 11:26:38 2017
dsbmd: Device /dev/da1 mounted on /media/da1 by UID 1001 on Thu Dec  7 11:27:07 2017
dsbmd: Client with UID 1001 disconnected on Thu Dec  7 11:29:44 2017
dsbmd: dsbmd exited on Thu Dec  7 11:30:58 2017
dsbmd: dsbmd started on Thu Dec  7 11:38:24 2017
dsbmd: ioctl(/dev/cd0, CDRIOCREADSPEED): Device not configured on Thu Dec  7 11:38:25 2017
dsbmd: ioctl(/dev/cd1, CDRIOCREADSPEED): Device not configured on Thu Dec  7 11:38:25 2017
dsbmd: getfs(): fread(): No error: 0
dsbmd: getfs(): fread(): Input/output error
dsbmd: getfs(): Input/output error
dsbmd: getfs(): fread(): No error: 0
dsbmd: Client with UID 1001 connected on Thu Dec  7 11:39:29 2017
dsbmd: Device /dev/da0 mounted on /media/da0 by UID 1001 on Thu Dec  7 11:39:29 2017
dsbmd: Client with UID 1001 disconnected on Thu Dec  7 11:39:43 2017
dsbmd: Client with UID 1001 connected on Thu Dec  7 11:39:56 2017
dsbmd: chown(/dev/pseudo00): No such file or directory on Thu Dec  7 11:40:20 2017
dsbmd: Device /dev/da0 mounted on /media/da0 by UID 1001 on Thu Dec  7 11:42:08 2017
dsbmd: Device /dev/da0s2 mounted on /media/ANACONDA by UID 1001 on Thu Dec  7 11:42:33 2017
dsbmd: Device /dev/da0s1 mounted on /media/da0s1 by UID 1001 on Thu Dec  7 11:42:57 2017
dsbmd: Client with UID 1001 disconnected on Thu Dec  7 13:20:12 2017
dsbmd: dsbmd exited on Thu Dec  7 13:21:19 2017
dsbmd: dsbmd started on Thu Dec  7 19:24:03 2017
dsbmd: ioctl(/dev/cd0, CDRIOCREADSPEED): Device not configured on Thu Dec  7 19:24:03 2017
dsbmd: ioctl(/dev/cd1, CDRIOCREADSPEED): Device not configured on Thu Dec  7 19:24:03 2017
dsbmd: getfs(): fread(): No error: 0
dsbmd: getfs(): fread(): Input/output error
dsbmd: getfs(): Input/output error
dsbmd: getfs(): fread(): No error: 0
dsbmd: Client with UID 1001 connected on Thu Dec  7 19:24:42 2017
dsbmd: Client with UID 1001 disconnected on Thu Dec  7 19:25:27 2017
dsbmd: Client with UID 1001 connected on Thu Dec  7 19:28:49 2017
dsbmd: Client with UID 1001 disconnected on Thu Dec  7 19:28:49 2017
dsbmd: Client with UID 1001 connected on Thu Dec  7 19:28:57 2017
dsbmd: Device /dev/da1s1 mounted on /media/da1s1 by UID 1001 on Thu Dec  7 19:44:14 2017
dsbmd: Device /dev/da1 mounted on /media/da1 by UID 1001 on Thu Dec  7 19:45:02 2017
dsbmd: Device /dev/da1s2 mounted on /media/ANACONDA by UID 1001 on Thu Dec  7 19:45:19 2017
dsbmd: Device /dev/da1s1 mounted on /media/da1s1 by UID 1001 on Thu Dec  7 19:45:33 2017
dsbmd: dsbmd exited on Thu Dec  7 20:21:29 2017
dsbmd: dsbmd started on Fri Dec  8 03:32:03 2017
dsbmd: ioctl(/dev/cd1, CDRIOCREADSPEED): Device not configured on Fri Dec  8 03:32:03 2017
dsbmd: getfs(): fread(): No error: 0
dsbmd: getfs(): fread(): Input/output error
dsbmd: getfs(): Input/output error
dsbmd: getfs(): fread(): No error: 0
dsbmd: ioctl(/dev/cd0, CDRIOCREADSPEED): Device not configured on Fri Dec  8 03:32:03 2017
dsbmd: Client with UID 1001 connected on Fri Dec  8 03:32:46 2017
dsbmd: Device /dev/da1 mounted on /media/da1 by UID 1001 on Fri Dec  8 03:33:20 2017
dsbmd: Device /dev/da1s1 mounted on /media/da1s1 by UID 1001 on Fri Dec  8 03:33:50 2017
dsbmd: Client with UID 1001 disconnected on Fri Dec  8 03:53:59 2017
dsbmd: dsbmd exited on Fri Dec  8 03:54:16 2017
dsbmd: dsbmd started on Sat Dec  9 17:51:19 2017
dsbmd: ioctl(/dev/cd0, CDRIOCREADSPEED): Device not configured on Sat Dec  9 17:51:19 2017
dsbmd: ioctl(/dev/cd1, CDRIOCREADSPEED): Device not configured on Sat Dec  9 17:51:19 2017
dsbmd: getfs(): fread(): No error: 0
dsbmd: getfs(): fread(): Input/output error
dsbmd: getfs(): Input/output error
dsbmd: getfs(): fread(): No error: 0
dsbmd: dsbmd exited on Sat Dec  9 17:57:22 2017
#
 
Danke.
Kannst Du bitte nochmal dsbmd per service dsbmd start starten, eine CD/DVD einlegen, und dann einen USB-Stick einstecken? Anschließend bitte nochmal die Ausgabe von tail -1 /var/log/dsbmd.log posten.
 
Code:
# service hald stop
Stopping hald.
Waiting for PIDS: 1011.
# service dsbmd onestart
Starting dsbmd.
# tail -1 /var/log/dsbmd.log
dsbmd: getfs(): fread(): No error: 0
 
Code:
# tail -100 /var/log/dsbmd.log
dsbmd: dsbmd exited on Tue Nov 28 10:28:17 2017
dsbmd: dsbmd started on Tue Nov 28 10:28:17 2017
dsbmd: ioctl(/dev/cd0, CDRIOCREADSPEED): Device not configured on Tue Nov 28 10:28:18 2017
dsbmd: ioctl(/dev/cd1, CDRIOCREADSPEED): Device not configured on Tue Nov 28 10:28:18 2017
dsbmd: getfs(): fread(): No error: 0
dsbmd: getfs(): fread(): Input/output error
dsbmd: getfs(): Input/output error
dsbmd: getfs(): fread(): No error: 0
dsbmd: Client with UID 1001 connected on Tue Nov 28 10:32:23 2017
dsbmd: dsbmd exited on Tue Nov 28 10:39:00 2017
dsbmd: dsbmd started on Tue Nov 28 10:40:10 2017
dsbmd: ioctl(/dev/cd0, CDRIOCREADSPEED): Device not configured on Tue Nov 28 10:40:10 2017
dsbmd: ioctl(/dev/cd1, CDRIOCREADSPEED): Device not configured on Tue Nov 28 10:40:10 2017
dsbmd: getfs(): fread(): No error: 0
dsbmd: getfs(): fread(): Input/output error
dsbmd: getfs(): Input/output error
dsbmd: getfs(): fread(): No error: 0
dsbmd: Client with UID 1001 connected on Tue Nov 28 10:41:38 2017
dsbmd: Device /dev/da1 mounted on /media/da1 by UID 1001 on Tue Nov 28 10:41:38 2017
dsbmd: dsbmd exited on Tue Nov 28 11:46:49 2017
dsbmd: dsbmd started on Thu Dec  7 11:26:15 2017
dsbmd: ioctl(/dev/cd0, CDRIOCREADSPEED): Device not configured on Thu Dec  7 11:26:15 2017
dsbmd: ioctl(/dev/cd1, CDRIOCREADSPEED): Device not configured on Thu Dec  7 11:26:15 2017
dsbmd: getfs(): fread(): No error: 0
dsbmd: getfs(): fread(): Input/output error
dsbmd: getfs(): Input/output error
dsbmd: getfs(): fread(): No error: 0
dsbmd: Client with UID 1001 connected on Thu Dec  7 11:26:38 2017
dsbmd: Device /dev/da1 mounted on /media/da1 by UID 1001 on Thu Dec  7 11:27:07 2017
dsbmd: Client with UID 1001 disconnected on Thu Dec  7 11:29:44 2017
dsbmd: dsbmd exited on Thu Dec  7 11:30:58 2017
dsbmd: dsbmd started on Thu Dec  7 11:38:24 2017
dsbmd: ioctl(/dev/cd0, CDRIOCREADSPEED): Device not configured on Thu Dec  7 11:38:25 2017
dsbmd: ioctl(/dev/cd1, CDRIOCREADSPEED): Device not configured on Thu Dec  7 11:38:25 2017
dsbmd: getfs(): fread(): No error: 0
dsbmd: getfs(): fread(): Input/output error
dsbmd: getfs(): Input/output error
dsbmd: getfs(): fread(): No error: 0
dsbmd: Client with UID 1001 connected on Thu Dec  7 11:39:29 2017
dsbmd: Device /dev/da0 mounted on /media/da0 by UID 1001 on Thu Dec  7 11:39:29 2017
dsbmd: Client with UID 1001 disconnected on Thu Dec  7 11:39:43 2017
dsbmd: Client with UID 1001 connected on Thu Dec  7 11:39:56 2017
dsbmd: chown(/dev/pseudo00): No such file or directory on Thu Dec  7 11:40:20 2017
dsbmd: Device /dev/da0 mounted on /media/da0 by UID 1001 on Thu Dec  7 11:42:08 2017
dsbmd: Device /dev/da0s2 mounted on /media/ANACONDA by UID 1001 on Thu Dec  7 11:42:33 2017
dsbmd: Device /dev/da0s1 mounted on /media/da0s1 by UID 1001 on Thu Dec  7 11:42:57 2017
dsbmd: Client with UID 1001 disconnected on Thu Dec  7 13:20:12 2017
dsbmd: dsbmd exited on Thu Dec  7 13:21:19 2017
dsbmd: dsbmd started on Thu Dec  7 19:24:03 2017
dsbmd: ioctl(/dev/cd0, CDRIOCREADSPEED): Device not configured on Thu Dec  7 19:24:03 2017
dsbmd: ioctl(/dev/cd1, CDRIOCREADSPEED): Device not configured on Thu Dec  7 19:24:03 2017
dsbmd: getfs(): fread(): No error: 0
dsbmd: getfs(): fread(): Input/output error
dsbmd: getfs(): Input/output error
dsbmd: getfs(): fread(): No error: 0
dsbmd: Client with UID 1001 connected on Thu Dec  7 19:24:42 2017
dsbmd: Client with UID 1001 disconnected on Thu Dec  7 19:25:27 2017
dsbmd: Client with UID 1001 connected on Thu Dec  7 19:28:49 2017
dsbmd: Client with UID 1001 disconnected on Thu Dec  7 19:28:49 2017
dsbmd: Client with UID 1001 connected on Thu Dec  7 19:28:57 2017
dsbmd: Device /dev/da1s1 mounted on /media/da1s1 by UID 1001 on Thu Dec  7 19:44:14 2017
dsbmd: Device /dev/da1 mounted on /media/da1 by UID 1001 on Thu Dec  7 19:45:02 2017
dsbmd: Device /dev/da1s2 mounted on /media/ANACONDA by UID 1001 on Thu Dec  7 19:45:19 2017
dsbmd: Device /dev/da1s1 mounted on /media/da1s1 by UID 1001 on Thu Dec  7 19:45:33 2017
dsbmd: dsbmd exited on Thu Dec  7 20:21:29 2017
dsbmd: dsbmd started on Fri Dec  8 03:32:03 2017
dsbmd: ioctl(/dev/cd1, CDRIOCREADSPEED): Device not configured on Fri Dec  8 03:32:03 2017
dsbmd: getfs(): fread(): No error: 0
dsbmd: getfs(): fread(): Input/output error
dsbmd: getfs(): Input/output error
dsbmd: getfs(): fread(): No error: 0
dsbmd: ioctl(/dev/cd0, CDRIOCREADSPEED): Device not configured on Fri Dec  8 03:32:03 2017
dsbmd: Client with UID 1001 connected on Fri Dec  8 03:32:46 2017
dsbmd: Device /dev/da1 mounted on /media/da1 by UID 1001 on Fri Dec  8 03:33:20 2017
dsbmd: Device /dev/da1s1 mounted on /media/da1s1 by UID 1001 on Fri Dec  8 03:33:50 2017
dsbmd: Client with UID 1001 disconnected on Fri Dec  8 03:53:59 2017
dsbmd: dsbmd exited on Fri Dec  8 03:54:16 2017
dsbmd: dsbmd started on Sat Dec  9 17:51:19 2017
dsbmd: ioctl(/dev/cd0, CDRIOCREADSPEED): Device not configured on Sat Dec  9 17:51:19 2017
dsbmd: ioctl(/dev/cd1, CDRIOCREADSPEED): Device not configured on Sat Dec  9 17:51:19 2017
dsbmd: getfs(): fread(): No error: 0
dsbmd: getfs(): fread(): Input/output error
dsbmd: getfs(): Input/output error
dsbmd: getfs(): fread(): No error: 0
dsbmd: dsbmd exited on Sat Dec  9 17:57:22 2017
dsbmd: dsbmd started on Sun Dec 10 21:02:16 2017
dsbmd: getfs(): fread(): No error: 0
dsbmd: getfs(): fread(): Input/output error
dsbmd: getfs(): Input/output error
dsbmd: getfs(): fread(): No error: 0
dsbmd: ioctl(/dev/cd1, CDRIOCREADSPEED): Device not configured on Sun Dec 10 21:02:16 2017
dsbmd: ioctl(/dev/cd0, CDRIOCREADSPEED): Device not configured on Sun Dec 10 21:02:16 2017
dsbmd: dsbmd exited on Sun Dec 10 21:03:27 2017
dsbmd: dsbmd started on Sun Dec 10 21:10:01 2017
dsbmd: ioctl(/dev/cd0, CDRIOCREADSPEED): Device not configured on Sun Dec 10 21:10:01 2017
dsbmd: ioctl(/dev/cd1, CDRIOCREADSPEED): Device not configured on Sun Dec 10 21:10:01 2017
dsbmd: getfs(): fread(): No error: 0
dsbmd: getfs(): fread(): Input/output error
dsbmd: getfs(): Input/output error
dsbmd: getfs(): fread(): No error: 0
#
 
Code:
# fetch https://github.com/mrclksr/DSBMD/archive/debug.zip && unzip debug.zip && cd DSBMD-debug && make
# service dsbmd stop
# ./dsbmd -f > /tmp/dsbmd.log

Als User an einer anderen Konsole:
Code:
% dsbmc-cli -a

Dann wieder eine CD/DVD einlegen. Anschließend einen USB-Stick einstecken. Schließlich /tmp/dsbmd.log hier posten.
 
Hi Holger,

Ich habe erst mal für dsbmc eine ignore-Variable eingeführt, mit der Du durch Kommata getrennte Gerätenamen/Mountpoints eintragen kannst.

Beispiel ~/.config/DSB/dsbmc/config:
Code:
ignore = "/var/run/user/1001/gvfs"

Bauanleitung
Code:
# fetch https://github.com/mrclksr/DSBMC/archive/master.zip
# unzip master.zip
# cd DSBMC-master && make install

Hallo Marcel,

eine kurze Rückmeldung:

Klappt hervorragrend, vielen Dank :)
 
Habe mal den Inhalt des Terminals hier gepostet. /tmp/dsbmd.log ist leer.

Code:
# service hald stop
Stopping hald.
# fetch https://github.com/mrclksr/DSBMD/archive/debug.zip && unzip debug.zip && cd DSBMD-debug && make
fetch: https://github.com/mrclksr/DSBMD/archive/debug.zip: size of remote file is not known
debug.zip                                               56 kB  221 kBps 00m01s
Archive:  debug.zip
   creating: DSBMD-debug/
extracting: DSBMD-debug/LICENSE 
extracting: DSBMD-debug/Makefile 
extracting: DSBMD-debug/README 
extracting: DSBMD-debug/THANKS 
extracting: DSBMD-debug/common.c 
extracting: DSBMD-debug/common.h 
extracting: DSBMD-debug/config.c 
extracting: DSBMD-debug/config.h 
   creating: DSBMD-debug/dsbcfg/
extracting: DSBMD-debug/dsbcfg/dsbcfg.c 
extracting: DSBMD-debug/dsbcfg/dsbcfg.h 
extracting: DSBMD-debug/dsbmd.c 
extracting: DSBMD-debug/dsbmd.conf 
extracting: DSBMD-debug/dsbmd.h 
extracting: DSBMD-debug/fs.c 
extracting: DSBMD-debug/fs.h 
   creating: DSBMD-debug/rc.d/
extracting: DSBMD-debug/rc.d/dsbmd.tmpl 
extracting: DSBMD-debug/readme.mdoc 
cc -o dsbmd -Wall -O2 -pipe  -DPROGRAM=\"dsbmd\" -DPATH_DSBMD_LOG=\"/var/log/dsbmd.log\" -DPATH_PID_FILE=\"/var/run/dsbmd.pid\" -DPATH_DSBMD_SOCKET=\"/var/run/dsbmd.socket\" -DPATH_CONFIG=\"/usr/local/etc/dsbmd.conf\" dsbmd.c config.c dsbcfg/dsbcfg.c fs.c common.c -lgeom -lcam -lpthread -lutil -lkiconv -lusb
sed -e 's|@PATH_PROGRAM@|/usr/local/libexec/dsbmd|g'  -e 's|@PATH_PIDFILE@|/var/run/dsbmd.pid|g'  < rc.d/dsbmd.tmpl > rc.d/dsbmd
# service dsbmd stop
Cannot 'stop' dsbmd. Set dsbmd_enable to YES in /etc/rc.conf or use 'onestop' instead of 'stop'.
# service dsbmd onestop
dsbmd not running? (check /var/run/dsbmd.pid).
# ./dsbmd -f > /tmp/dsbmd.log
dsbmd: dsbmd started on Mon Dec 11 19:35:08 2017
dsbmd: 991: if ((fd = open(dev, O_RDONLY | O_NONBLOCK)) == -1)

dsbmd: 999: if ((int)size == -blksz || (int)size == -1)

dsbmd: 1001: media = false;

dsbmd: 1012: (void)close(fd);

dsbmd: 1014: return (media);

dsbmd: 991: if ((fd = open(dev, O_RDONLY | O_NONBLOCK)) == -1)

dsbmd: 999: if ((int)size == -blksz || (int)size == -1)

dsbmd: 1001: media = false;

dsbmd: 1012: (void)close(fd);

dsbmd: 1014: return (media);

dsbmd: ioctl(/dev/cd0, CDRIOCREADSPEED): Device not configured on Mon Dec 11 19:35:08 2017
dsbmd: 991: if ((fd = open(dev, O_RDONLY | O_NONBLOCK)) == -1)

dsbmd: 999: if ((int)size == -blksz || (int)size == -1)

dsbmd: 1001: media = false;

dsbmd: 1012: (void)close(fd);

dsbmd: 1014: return (media);

dsbmd: 991: if ((fd = open(dev, O_RDONLY | O_NONBLOCK)) == -1)

dsbmd: 999: if ((int)size == -blksz || (int)size == -1)

dsbmd: 1001: media = false;

dsbmd: 1012: (void)close(fd);

dsbmd: 1014: return (media);

dsbmd: 991: if ((fd = open(dev, O_RDONLY | O_NONBLOCK)) == -1)

dsbmd: 999: if ((int)size == -blksz || (int)size == -1)

dsbmd: 1001: media = false;

dsbmd: 1012: (void)close(fd);

dsbmd: 1014: return (media);

dsbmd: ioctl(/dev/cd1, CDRIOCREADSPEED): Device not configured on Mon Dec 11 19:35:08 2017
dsbmd: 991: if ((fd = open(dev, O_RDONLY | O_NONBLOCK)) == -1)

dsbmd: 999: if ((int)size == -blksz || (int)size == -1)

dsbmd: 1001: media = false;

dsbmd: 1012: (void)close(fd);

dsbmd: 1014: return (media);

dsbmd: 991: if ((fd = open(dev, O_RDONLY | O_NONBLOCK)) == -1)

dsbmd: 999: if ((int)size == -blksz || (int)size == -1)

dsbmd: 1008: else {

dsbmd: 1009: media = true;

dsbmd: 1012: (void)close(fd);

dsbmd: 1014: return (media);

dsbmd: getfs(): fread(): No error: 0
dsbmd: getfs(): fread(): Input/output error
dsbmd: getfs(): Input/output error
dsbmd: getfs(): fread(): No error: 0
dsbmd: 991: if ((fd = open(dev, O_RDONLY | O_NONBLOCK)) == -1)

dsbmd: 999: if ((int)size == -blksz || (int)size == -1)

dsbmd: 1001: media = false;

dsbmd: 1012: (void)close(fd);

dsbmd: 1014: return (media);

dsbmd: 512: if (polling && difftime(time(NULL), polltime) >= spoll)

dsbmd: 513: polltime = do_poll();

dsbmd: 1044: if ((error = pthread_mutex_trylock(&pollqueue[i]->mtx)) != 0)

dsbmd: 1049: if (has_media(pollqueue[i]->dev)) {

dsbmd: 991: if ((fd = open(dev, O_RDONLY | O_NONBLOCK)) == -1)

dsbmd: 999: if ((int)size == -blksz || (int)size == -1)

dsbmd: 1001: media = false;

dsbmd: 1012: (void)close(fd);

dsbmd: 1014: return (media);

dsbmd: 1071: }

dsbmd: 1072: pthread_mutex_unlock(&pollqueue[i]->mtx);

dsbmd: 1044: if ((error = pthread_mutex_trylock(&pollqueue[i]->mtx)) != 0)

dsbmd: 1049: if (has_media(pollqueue[i]->dev)) {

dsbmd: 991: if ((fd = open(dev, O_RDONLY | O_NONBLOCK)) == -1)

dsbmd: 999: if ((int)size == -blksz || (int)size == -1)

dsbmd: 1001: media = false;

dsbmd: 1012: (void)close(fd);

dsbmd: 1014: return (media);

dsbmd: 1071: }

dsbmd: 1072: pthread_mutex_unlock(&pollqueue[i]->mtx);

dsbmd: 534: process_devd_event(ev);

dsbmd: 534: process_devd_event(ev);

dsbmd: 534: process_devd_event(ev);

dsbmd: 534: process_devd_event(ev);

dsbmd: 534: process_devd_event(ev);

dsbmd: 534: process_devd_event(ev);

dsbmd: 512: if (polling && difftime(time(NULL), polltime) >= spoll)

dsbmd: 513: polltime = do_poll();

dsbmd: 1044: if ((error = pthread_mutex_trylock(&pollqueue[i]->mtx)) != 0)

dsbmd: 1049: if (has_media(pollqueue[i]->dev)) {

dsbmd: 991: if ((fd = open(dev, O_RDONLY | O_NONBLOCK)) == -1)

dsbmd: 999: if ((int)size == -blksz || (int)size == -1)

dsbmd: 1001: media = false;

dsbmd: 1012: (void)close(fd);

dsbmd: 1014: return (media);

dsbmd: 1071: }

dsbmd: 1072: pthread_mutex_unlock(&pollqueue[i]->mtx);

dsbmd: 1044: if ((error = pthread_mutex_trylock(&pollqueue[i]->mtx)) != 0)

dsbmd: 1049: if (has_media(pollqueue[i]->dev)) {

dsbmd: 991: if ((fd = open(dev, O_RDONLY | O_NONBLOCK)) == -1)

dsbmd: 999: if ((int)size == -blksz || (int)size == -1)

dsbmd: 1001: media = false;

dsbmd: 1012: (void)close(fd);

dsbmd: 1014: return (media);

dsbmd: 1071: }

dsbmd: 1072: pthread_mutex_unlock(&pollqueue[i]->mtx);

dsbmd: 534: process_devd_event(ev);

dsbmd: 534: process_devd_event(ev);

dsbmd: 534: process_devd_event(ev);

dsbmd: 534: process_devd_event(ev);

dsbmd: 534: process_devd_event(ev);

dsbmd: 534: process_devd_event(ev);

dsbmd: 534: process_devd_event(ev);

dsbmd: 534: process_devd_event(ev);

dsbmd: 512: if (polling && difftime(time(NULL), polltime) >= spoll)

dsbmd: 513: polltime = do_poll();

dsbmd: 1044: if ((error = pthread_mutex_trylock(&pollqueue[i]->mtx)) != 0)

dsbmd: 1049: if (has_media(pollqueue[i]->dev)) {

dsbmd: 991: if ((fd = open(dev, O_RDONLY | O_NONBLOCK)) == -1)

dsbmd: 999: if ((int)size == -blksz || (int)size == -1)

dsbmd: 1001: media = false;

dsbmd: 1012: (void)close(fd);

dsbmd: 1014: return (media);

dsbmd: 1071: }

dsbmd: 1072: pthread_mutex_unlock(&pollqueue[i]->mtx);

dsbmd: 1044: if ((error = pthread_mutex_trylock(&pollqueue[i]->mtx)) != 0)

dsbmd: 1049: if (has_media(pollqueue[i]->dev)) {

dsbmd: 991: if ((fd = open(dev, O_RDONLY | O_NONBLOCK)) == -1)

dsbmd: 999: if ((int)size == -blksz || (int)size == -1)

dsbmd: 1001: media = false;

dsbmd: 1012: (void)close(fd);

dsbmd: 1014: return (media);

dsbmd: 1071: }

dsbmd: 1072: pthread_mutex_unlock(&pollqueue[i]->mtx);

dsbmd: 534: process_devd_event(ev);

dsbmd: 534: process_devd_event(ev);

dsbmd: 534: process_devd_event(ev);

dsbmd: 534: process_devd_event(ev);

dsbmd: 534: process_devd_event(ev);

dsbmd: 534: process_devd_event(ev);

dsbmd: 534: process_devd_event(ev);

dsbmd: 534: process_devd_event(ev);

dsbmd: 891: (void)pthread_mutex_lock(&dev_mtx);

dsbmd: 893: add_device(devdevent.cdev);

dsbmd: 895: (void)pthread_mutex_unlock(&dev_mtx);

dsbmd: 534: process_devd_event(ev);

dsbmd: 512: if (polling && difftime(time(NULL), polltime) >= spoll)

dsbmd: 513: polltime = do_poll();

dsbmd: 1044: if ((error = pthread_mutex_trylock(&pollqueue[i]->mtx)) != 0)

dsbmd: 1049: if (has_media(pollqueue[i]->dev)) {

dsbmd: 991: if ((fd = open(dev, O_RDONLY | O_NONBLOCK)) == -1)

dsbmd: 999: if ((int)size == -blksz || (int)size == -1)

dsbmd: 1001: media = false;

dsbmd: 1012: (void)close(fd);

dsbmd: 1014: return (media);

dsbmd: 1071: }

dsbmd: 1072: pthread_mutex_unlock(&pollqueue[i]->mtx);

dsbmd: 1044: if ((error = pthread_mutex_trylock(&pollqueue[i]->mtx)) != 0)

dsbmd: 1049: if (has_media(pollqueue[i]->dev)) {

dsbmd: 991: if ((fd = open(dev, O_RDONLY | O_NONBLOCK)) == -1)

dsbmd: 999: if ((int)size == -blksz || (int)size == -1)

dsbmd: 1001: media = false;

dsbmd: 1012: (void)close(fd);

dsbmd: 1014: return (media);

dsbmd: 1071: }

dsbmd: 1072: pthread_mutex_unlock(&pollqueue[i]->mtx);

dsbmd: 534: process_devd_event(ev);

dsbmd: 534: process_devd_event(ev);

dsbmd: 534: process_devd_event(ev);

dsbmd: 534: process_devd_event(ev);

dsbmd: 534: process_devd_event(ev);

dsbmd: 534: process_devd_event(ev);

dsbmd: 534: process_devd_event(ev);

dsbmd: 534: process_devd_event(ev);

dsbmd: 512: if (polling && difftime(time(NULL), polltime) >= spoll)

dsbmd: 513: polltime = do_poll();

dsbmd: 1044: if ((error = pthread_mutex_trylock(&pollqueue[i]->mtx)) != 0)

dsbmd: 1049: if (has_media(pollqueue[i]->dev)) {

dsbmd: 991: if ((fd = open(dev, O_RDONLY | O_NONBLOCK)) == -1)

dsbmd: 999: if ((int)size == -blksz || (int)size == -1)

dsbmd: 1001: media = false;

dsbmd: 1012: (void)close(fd);

dsbmd: 1014: return (media);

dsbmd: 1071: }

dsbmd: 1072: pthread_mutex_unlock(&pollqueue[i]->mtx);

dsbmd: 1044: if ((error = pthread_mutex_trylock(&pollqueue[i]->mtx)) != 0)

dsbmd: 1049: if (has_media(pollqueue[i]->dev)) {

dsbmd: 991: if ((fd = open(dev, O_RDONLY | O_NONBLOCK)) == -1)

dsbmd: 999: if ((int)size == -blksz || (int)size == -1)

dsbmd: 1001: media = false;

dsbmd: 1012: (void)close(fd);

dsbmd: 1014: return (media);

dsbmd: 1071: }

dsbmd: 1072: pthread_mutex_unlock(&pollqueue[i]->mtx);

dsbmd: 534: process_devd_event(ev);

dsbmd: 534: process_devd_event(ev);

dsbmd: 534: process_devd_event(ev);

dsbmd: 534: process_devd_event(ev);

dsbmd: 534: process_devd_event(ev);

dsbmd: 534: process_devd_event(ev);

dsbmd: 534: process_devd_event(ev);

dsbmd: 534: process_devd_event(ev);

dsbmd: 512: if (polling && difftime(time(NULL), polltime) >= spoll)

dsbmd: 513: polltime = do_poll();

dsbmd: 1044: if ((error = pthread_mutex_trylock(&pollqueue[i]->mtx)) != 0)

dsbmd: 1049: if (has_media(pollqueue[i]->dev)) {

dsbmd: 991: if ((fd = open(dev, O_RDONLY | O_NONBLOCK)) == -1)

dsbmd: 999: if ((int)size == -blksz || (int)size == -1)

dsbmd: 1001: media = false;

dsbmd: 1012: (void)close(fd);

dsbmd: 1014: return (media);

dsbmd: 1071: }

dsbmd: 1072: pthread_mutex_unlock(&pollqueue[i]->mtx);

dsbmd: 1044: if ((error = pthread_mutex_trylock(&pollqueue[i]->mtx)) != 0)

dsbmd: 1049: if (has_media(pollqueue[i]->dev)) {

dsbmd: 991: if ((fd = open(dev, O_RDONLY | O_NONBLOCK)) == -1)

dsbmd: 999: if ((int)size == -blksz || (int)size == -1)

dsbmd: 1001: media = false;

dsbmd: 1012: (void)close(fd);

dsbmd: 1014: return (media);

dsbmd: 1071: }

dsbmd: 1072: pthread_mutex_unlock(&pollqueue[i]->mtx);

dsbmd: 534: process_devd_event(ev);

dsbmd: 534: process_devd_event(ev);

dsbmd: 534: process_devd_event(ev);

dsbmd: 534: process_devd_event(ev);

dsbmd: 534: process_devd_event(ev);

dsbmd: 534: process_devd_event(ev);

dsbmd: 534: process_devd_event(ev);

dsbmd: Client with UID 1001 connected on Mon Dec 11 19:35:41 2017
dsbmd: 534: process_devd_event(ev);

dsbmd: 512: if (polling && difftime(time(NULL), polltime) >= spoll)

dsbmd: 513: polltime = do_poll();

dsbmd: 1044: if ((error = pthread_mutex_trylock(&pollqueue[i]->mtx)) != 0)

dsbmd: 1049: if (has_media(pollqueue[i]->dev)) {

dsbmd: 991: if ((fd = open(dev, O_RDONLY | O_NONBLOCK)) == -1)

dsbmd: 999: if ((int)size == -blksz || (int)size == -1)

dsbmd: 1001: media = false;

dsbmd: 1012: (void)close(fd);

dsbmd: 1014: return (media);

dsbmd: 1071: }

dsbmd: 1072: pthread_mutex_unlock(&pollqueue[i]->mtx);

dsbmd: 1044: if ((error = pthread_mutex_trylock(&pollqueue[i]->mtx)) != 0)

dsbmd: 1049: if (has_media(pollqueue[i]->dev)) {

dsbmd: 991: if ((fd = open(dev, O_RDONLY | O_NONBLOCK)) == -1)

dsbmd: 999: if ((int)size == -blksz || (int)size == -1)

dsbmd: 1001: media = false;

dsbmd: 1012: (void)close(fd);

dsbmd: 1014: return (media);

dsbmd: 1071: }

dsbmd: 1072: pthread_mutex_unlock(&pollqueue[i]->mtx);

dsbmd: 534: process_devd_event(ev);

dsbmd: 534: process_devd_event(ev);

dsbmd: 534: process_devd_event(ev);

dsbmd: 534: process_devd_event(ev);

dsbmd: 534: process_devd_event(ev);

dsbmd: 534: process_devd_event(ev);

dsbmd: 534: process_devd_event(ev);

dsbmd: 534: process_devd_event(ev);

dsbmd: 512: if (polling && difftime(time(NULL), polltime) >= spoll)

dsbmd: 513: polltime = do_poll();

dsbmd: 1044: if ((error = pthread_mutex_trylock(&pollqueue[i]->mtx)) != 0)

dsbmd: 1049: if (has_media(pollqueue[i]->dev)) {

dsbmd: 991: if ((fd = open(dev, O_RDONLY | O_NONBLOCK)) == -1)

dsbmd: 999: if ((int)size == -blksz || (int)size == -1)

dsbmd: 1001: media = false;

dsbmd: 1012: (void)close(fd);

dsbmd: 1014: return (media);

dsbmd: 1071: }

dsbmd: 1072: pthread_mutex_unlock(&pollqueue[i]->mtx);

dsbmd: 1044: if ((error = pthread_mutex_trylock(&pollqueue[i]->mtx)) != 0)

dsbmd: 1049: if (has_media(pollqueue[i]->dev)) {

dsbmd: 991: if ((fd = open(dev, O_RDONLY | O_NONBLOCK)) == -1)

dsbmd: 999: if ((int)size == -blksz || (int)size == -1)

dsbmd: 1001: media = false;

dsbmd: 1012: (void)close(fd);

dsbmd: 1014: return (media);

dsbmd: 1071: }

dsbmd: 1072: pthread_mutex_unlock(&pollqueue[i]->mtx);

dsbmd: 534: process_devd_event(ev);

dsbmd: 534: process_devd_event(ev);

dsbmd: 534: process_devd_event(ev);

dsbmd: 534: process_devd_event(ev);

dsbmd: 534: process_devd_event(ev);

dsbmd: 534: process_devd_event(ev);

dsbmd: 534: process_devd_event(ev);

dsbmd: 534: process_devd_event(ev);

dsbmd: 512: if (polling && difftime(time(NULL), polltime) >= spoll)

dsbmd: 513: polltime = do_poll();

dsbmd: 1044: if ((error = pthread_mutex_trylock(&pollqueue[i]->mtx)) != 0)

dsbmd: 1049: if (has_media(pollqueue[i]->dev)) {

dsbmd: 991: if ((fd = open(dev, O_RDONLY | O_NONBLOCK)) == -1)

dsbmd: 999: if ((int)size == -blksz || (int)size == -1)

dsbmd: 1001: media = false;

dsbmd: 1012: (void)close(fd);

dsbmd: 1014: return (media);

dsbmd: 1071: }

dsbmd: 1072: pthread_mutex_unlock(&pollqueue[i]->mtx);

dsbmd: 1044: if ((error = pthread_mutex_trylock(&pollqueue[i]->mtx)) != 0)

dsbmd: 1049: if (has_media(pollqueue[i]->dev)) {

dsbmd: 991: if ((fd = open(dev, O_RDONLY | O_NONBLOCK)) == -1)

dsbmd: 999: if ((int)size == -blksz || (int)size == -1)

dsbmd: 1001: media = false;

dsbmd: 1012: (void)close(fd);

dsbmd: 1014: return (media);

dsbmd: 1071: }

dsbmd: 1072: pthread_mutex_unlock(&pollqueue[i]->mtx);

dsbmd: 534: process_devd_event(ev);

dsbmd: 534: process_devd_event(ev);

dsbmd: 534: process_devd_event(ev);

dsbmd: 534: process_devd_event(ev);

dsbmd: 534: process_devd_event(ev);

dsbmd: 534: process_devd_event(ev);

dsbmd: 534: process_devd_event(ev);

dsbmd: 534: process_devd_event(ev);

dsbmd: 512: if (polling && difftime(time(NULL), polltime) >= spoll)

dsbmd: 513: polltime = do_poll();

dsbmd: 1044: if ((error = pthread_mutex_trylock(&pollqueue[i]->mtx)) != 0)

dsbmd: 1049: if (has_media(pollqueue[i]->dev)) {

dsbmd: 991: if ((fd = open(dev, O_RDONLY | O_NONBLOCK)) == -1)

dsbmd: 999: if ((int)size == -blksz || (int)size == -1)

dsbmd: 1001: media = false;

dsbmd: 1012: (void)close(fd);

dsbmd: 1014: return (media);

dsbmd: 1071: }

dsbmd: 1072: pthread_mutex_unlock(&pollqueue[i]->mtx);

dsbmd: 1044: if ((error = pthread_mutex_trylock(&pollqueue[i]->mtx)) != 0)

dsbmd: 1049: if (has_media(pollqueue[i]->dev)) {

dsbmd: 991: if ((fd = open(dev, O_RDONLY | O_NONBLOCK)) == -1)

dsbmd: 999: if ((int)size == -blksz || (int)size == -1)

dsbmd: 1001: media = false;

dsbmd: 1012: (void)close(fd);

dsbmd: 1014: return (media);

dsbmd: 1071: }

dsbmd: 1072: pthread_mutex_unlock(&pollqueue[i]->mtx);

dsbmd: 534: process_devd_event(ev);

dsbmd: 534: process_devd_event(ev);

dsbmd: 534: process_devd_event(ev);

dsbmd: 534: process_devd_event(ev);

dsbmd: 534: process_devd_event(ev);

dsbmd: 534: process_devd_event(ev);

dsbmd: 534: process_devd_event(ev);

dsbmd: 534: process_devd_event(ev);

dsbmd: 512: if (polling && difftime(time(NULL), polltime) >= spoll)

dsbmd: 513: polltime = do_poll();

dsbmd: 1044: if ((error = pthread_mutex_trylock(&pollqueue[i]->mtx)) != 0)

dsbmd: 1049: if (has_media(pollqueue[i]->dev)) {

dsbmd: 991: if ((fd = open(dev, O_RDONLY | O_NONBLOCK)) == -1)

dsbmd: 999: if ((int)size == -blksz || (int)size == -1)

dsbmd: 1001: media = false;

dsbmd: 1012: (void)close(fd);

dsbmd: 1014: return (media);

dsbmd: 1071: }

dsbmd: 1072: pthread_mutex_unlock(&pollqueue[i]->mtx);

dsbmd: 1044: if ((error = pthread_mutex_trylock(&pollqueue[i]->mtx)) != 0)

dsbmd: 1049: if (has_media(pollqueue[i]->dev)) {

dsbmd: 991: if ((fd = open(dev, O_RDONLY | O_NONBLOCK)) == -1)

dsbmd: 999: if ((int)size == -blksz || (int)size == -1)

dsbmd: 1001: media = false;

dsbmd: 1012: (void)close(fd);

dsbmd: 1014: return (media);

dsbmd: 1071: }

dsbmd: 1072: pthread_mutex_unlock(&pollqueue[i]->mtx);

dsbmd: 534: process_devd_event(ev);

dsbmd: 534: process_devd_event(ev);

dsbmd: 534: process_devd_event(ev);

dsbmd: 534: process_devd_event(ev);

dsbmd: 534: process_devd_event(ev);

dsbmd: 534: process_devd_event(ev);

dsbmd: 534: process_devd_event(ev);

dsbmd: 534: process_devd_event(ev);

dsbmd: 512: if (polling && difftime(time(NULL), polltime) >= spoll)

dsbmd: 513: polltime = do_poll();

dsbmd: 1044: if ((error = pthread_mutex_trylock(&pollqueue[i]->mtx)) != 0)

dsbmd: 1049: if (has_media(pollqueue[i]->dev)) {

dsbmd: 991: if ((fd = open(dev, O_RDONLY | O_NONBLOCK)) == -1)

dsbmd: 999: if ((int)size == -blksz || (int)size == -1)

dsbmd: 1008: else {

dsbmd: 1009: media = true;

dsbmd: 1012: (void)close(fd);

dsbmd: 1014: return (media);

dsbmd: 1051: if (!pollqueue[i]->has_media) {

dsbmd: 1054: pollqueue[i]->has_media = true;

dsbmd: 1056: pthread_mutex_unlock(&pollqueue[i]->mtx);

dsbmd: 1058: return (pollqueue[i++]);

dsbmd: 1024: (void)pthread_mutex_lock(&dev_mtx);

dsbmd: 1026: update_device(devp);

dsbmd: 1084: if (devp->has_media) {

dsbmd: 1086: if (pthread_mutex_lock(&devp->mtx) != 0)

dsbmd: 1093: if (devp->iface->type == IF_TYPE_CD) {

dsbmd: 1094: devp->st = get_storage_type(devp->dev);

dsbmd: 991: if ((fd = open(dev, O_RDONLY | O_NONBLOCK)) == -1)

dsbmd: 999: if ((int)size == -blksz || (int)size == -1)

dsbmd: 1008: else {

dsbmd: 1009: media = true;

dsbmd: 1012: (void)close(fd);

dsbmd: 1014: return (media);

dsbmd: 991: if ((fd = open(dev, O_RDONLY | O_NONBLOCK)) == -1)

dsbmd: 999: if ((int)size == -blksz || (int)size == -1)

dsbmd: 1008: else {

dsbmd: 1009: media = true;

dsbmd: 1012: (void)close(fd);

dsbmd: 1014: return (media);
 
/tmp/dsbmd.log ist leer.
Ich bin ein Narr. Richtig wäre gewesen
Code:
# sh -c './dsbmd -f 2> /tmp/dsbmd.log'

Da das bisherige Design etwas schwierig zu debuggen ist, habe ich mich für ein Einfacheres entschieden, das komplett auf Threads verzichtet, die im Fall von dsbmd nur unnötige und kaum zu rechtfertigende Komplexität mit sich bringen.

Ich lade alle ein, fleißig zu testen:
Code:
# fetch http://freeshell.de/~mk/download/dsbmd-nothr-0.1.tgz && tar xf dsbmd-nothr-0.1.tgz && cd dsbmd-nothr-0.1 && make
# service dsbmd stop
# ./dsbmd

Vielleicht hast Du hiermit mehr Glück, @cabriofahrer . Auf jeden Fall sollte es damit einfacher sein, Problemen auf den Grund zu gehen.
 
Hm, kriege hier wieder keinen brauchbaren Inhalt. Könntest Du bitte noch mal jetzt alle richtigen Schritte posten und davon ausgehend, dass dsbmd nicht schon läuft? Denn ich nehme an, es soll nicht schon oder noch laufen, wenn man mit "fetch http: ..." loslegt, oder?

Code:
# service dsbmd onestop
dsbmd not running? (check /var/run/dsbmd.pid).
# fetch http://freeshell.de/~mk/download/dsbmd-nothr-0.1.tgz && tar xf dsbmd-nothr-0.1.tgz && cd dsbmd-nothr-0.1 && make
dsbmd-nothr-0.1.tgz                           100% of   45 kB  552 kBps 00m00s
cc -o dsbmd -Wall -O2 -pipe  -DPROGRAM=\"dsbmd\" -DPATH_DSBMD_LOG=\"/var/log/dsbmd.log\" -DPATH_PID_FILE=\"/var/run/dsbmd.pid\" -DPATH_DSBMD_SOCKET=\"/var/run/dsbmd.socket\" -DPATH_CONFIG=\"/usr/local/etc/dsbmd.conf\" dsbmd.c config.c dsbcfg/dsbcfg.c fs.c common.c -lgeom -lcam -lpthread -lutil -lkiconv -lusb
sed -e 's|@PATH_PROGRAM@|/usr/local/libexec/dsbmd|g'  -e 's|@PATH_PIDFILE@|/var/run/dsbmd.pid|g'  < rc.d/dsbmd.tmpl > rc.d/dsbmd
# ./dsbmd
# ps -x
PID TT  STAT      TIME COMMAND
   0  -  DLs    0:08.81 [kernel]
   1  -  SLs    0:00.01 /sbin/init --
   2  -  DL     0:00.00 [crypto]
   3  -  DL     0:00.00 [crypto returns]
   4  -  DL     0:01.21 [cam]
   5  -  IL     0:00.00 [fw0_probe]
   6  -  DL     0:00.00 [fdc0]
   7  -  DL     0:00.00 [soaiod1]
   8  -  DL     0:00.00 [soaiod2]
   9  -  DL     0:00.00 [soaiod3]
  10  -  DL     0:00.00 [audit]
  11  -  RL   455:05.59 [idle]
  12  -  WL     0:44.20 [intr]
  13  -  DL     0:00.49 [geom]
  14  -  DL     0:01.93 [usb]
  15  -  DL     0:00.00 [soaiod4]
  16  -  DL     0:00.00 [sctp_iterator]
  17  -  DL     0:00.72 [rand_harvestq]
  18  -  DL     0:00.15 [acpi_thermal]
  19  -  DL     0:00.01 [acpi_cooling0]
  20  -  DL     0:02.34 [pagedaemon]
  21  -  DL     0:00.00 [vmdaemon]
  22  -  DL     0:00.00 [pagezero]
  23  -  DL     0:00.38 [bufdaemon]
  24  -  DL     0:00.09 [bufspacedaemon]
  25  -  DL     0:02.33 [syncer]
  26  -  DL     0:00.06 [vnlru]
206  -  Is     0:00.00 adjkerntz -i
433  -  Is     0:00.01 dhclient: nfe0 [priv] (dhclient)
510  -  Is     0:05.03 /usr/sbin/moused -p /dev/ums0 -t auto -I /var/run/moused.ums0.pid
523  -  Ss     0:01.75 /sbin/devd
596  -  Ss     0:00.56 /usr/sbin/syslogd -s
789  -  I      0:00.05 /usr/local/sbin/console-kit-daemon --no-daemon
829  -  Ss     0:00.48 /usr/sbin/ntpd -c /etc/ntp.conf -p /var/run/ntpd.pid -f /var/db/ntpd.drift
897  -  Is     0:00.04 /usr/local/sbin/cupsd -C /usr/local/etc/cups/cupsd.conf -s /usr/local/etc/cups/cups-files.conf
936  -  Is     0:00.00 /usr/sbin/sshd
939  -  Ss     0:00.13 sendmail: accepting connections (sendmail)
946  -  Is     0:00.03 /usr/sbin/cron -s
1955  -  S      0:00.11 ./dsbmd
1009 v0  Is     0:00.01 login [pam] (login)
1073 v0  I+     0:00.00 -sh (sh)
1079 v0  I      0:00.01 /usr/local/bin/kdm
1083 v0  S      2:35.11 /usr/local/bin/X -br -novtswitch -quiet :0 -nolisten tcp -auth /var/run/xauth/A:0-TgC78d (Xorg)
1085 v0  I      0:00.00 kdm: :0 (kdm)
1010 v1  Is+    0:00.00 /usr/libexec/getty Pc ttyv1
1011 v2  Is+    0:00.00 /usr/libexec/getty Pc ttyv2
1012 v3  Is+    0:00.00 /usr/libexec/getty Pc ttyv3
1013 v4  Is+    0:00.00 /usr/libexec/getty Pc ttyv4
1014 v5  Is+    0:00.00 /usr/libexec/getty Pc ttyv5
1015 v6  Is+    0:00.00 /usr/libexec/getty Pc ttyv6
1016 v7  Is+    0:00.00 /usr/libexec/getty Pc ttyv7
1618  3  I      0:00.01 su
1619  3  S      0:00.01 su (sh)
1956  3  R+     0:00.00 ps -x
# ps -x | grep dsbmd
1955  -  S      0:00.12 ./dsbmd
# sh -c './dsbmd -f 2> /tmp/dsbmd.log'
# more /tmp/dsbmd.log
dsbmd: dsbmd is already running.
# service dsbmd stop
Cannot 'stop' dsbmd. Set dsbmd_enable to YES in /etc/rc.conf or use 'onestop' instead of 'stop'.
# service dsbmd onestop
dsbmd not running? (check /var/run/dsbmd.pid).
# sh -c './dsbmd -f 2> /tmp/dsbmd.log'
# more /tmp/dsbmd.log
dsbmd: dsbmd is already running.
#
 
Die Ausgabe ist mit dieser Version erst mal egal. Starte dsbmc-cli -a und schau mal, ob dsbmd jetzt ordnungsgemäß funktioniert. Wenn nicht, werde ich davon später mal eine Debug-Version machen, deren Ausgabe Du dann hier mal posten kannst.
 
Der neue Code zum testen ist da:
Code:
# fetch http://freeshell.de/~mk/download/dsbmd-nothr-0.2.tgz && tar xf dsbmd-nothr-0.2.tgz && cd dsbmd-nothr-0.2
# make install
# service dsbmd restart

Sollte es Probleme geben, könnte Ihr einfach die 0.5 wieder installieren:
Code:
# cd /usr/ports/sysutils/dsbmd
# make deinstall
# make install
Würde mich über Eure Rückmeldung freuen.
 
dsbmc muss dann anschließend neu gestartet werden, weil er die Verbindung zum Server verliert, wenn dieser neu gestartet wird.

bei mir hatte vorher schon alles funktioniert und das ist nun nicht anders geworden. Alles, was ich auf die Schnelle testen konnte, ging wie erwartet.
Das neue Feature mit Verhinderung des Aufpoppens beim .gvfs begrüße ich sehr. Das ist ein echt störendes Zeug und ich würde es am liebsten komplett loswerden. Allerdings, mit der Anzeige durch dsbmc wurde ich auch darauf aufmerksam und konnte den Mist dann immer beseitigen. Nun wird irgendwann irgendwas auf diesen Mountpoint eingebunden, was ich gar nicht haben möchte, nicht genau weiß, was es macht und wozu das gut ist. Alle meine Programme funktionieren nämlich auch ohne dieses Zeugs. Für mich deshalb mal wieder eine der vielen, unsinnigen Abhängigkeiten. Aber das ist eine andere Diskussion.
 
Danke, @pit234a .

dsbmd-nothr-0.3 ist bereit zum testen

Neuerungen
  • Viele Bugfixes.
  • Ext2/3 und Ext4 können jetzt separat behandelt werden.
  • Blockierende/hängende Mount-Befehle werden von DSBMD nach einem konfigurierbaren Zeitfenster abgeschossen. (*)
  • Mit der neuen Konfigurationsvariablen mntchk_interval kann angegeben werden, wie viele Sekunden vergangen sein müssen, bevor DSBMD die Mount-Tabelle wieder abfragt.
  • Mit der neuen Konfigurationsvariablen procmaxwait kann angegeben werden, wie lange DSBMD wartet, bis ein blockierender Mountbefehl abgeschossen wird.

(*) Bei meinen aggressiven Tests habe ich dsbmc-cli -a laufen lassen und dabei immer wieder im angeschlossenen Smartphone zwischen Datenübertragung und Laden gewechselt. Irgendwann hing simple-mtpfs und blockierte damit auch DSBMD, was der Grund war, weshalb so eine Funktion nützlich ist.

Bauanleitung:
Code:
# fetch http://freeshell.de/~mk/download/dsbmd-nothr-0.3.tgz && tar xf dsbmd-nothr-0.3.tgz && cd dsbmd-nothr-0.3
# make install
# service dsbmd restart
Und wie @pit234a bereits erwähnte, müssen anschließend natürlich alles Clients, die dsbmd nutzen, neu gestartet werden.
 
einfach Wahnsinn!
echt super Arbeit und wieder überraschend für mich, an was man alles noch so denken kann. Wo es bei mir doch schon lange gar keine Wünsche mehr offen hatte.
 
So, habe mal wieder Zeit gehabt zum Testen:

Code:
# service hald stop
Stopping hald.
Waiting for PIDS: 1046.
# fetch http://freeshell.de/~mk/download/dsbmd-nothr-0.3.tgz && tar xf dsbmd-nothr-0.3.tgz && cd dsbmd-nothr-0.3
dsbmd-nothr-0.3.tgz                           100% of   45 kB  513 kBps 00m00s
# make install
cc -o dsbmd -Wall -O2 -pipe  -DPROGRAM=\"dsbmd\" -DPATH_DSBMD_LOG=\"/var/log/dsbmd.log\" -DPATH_PID_FILE=\"/var/run/dsbmd.pid\" -DPATH_DSBMD_SOCKET=\"/var/run/dsbmd.socket\" -DPATH_CONFIG=\"/usr/local/etc/dsbmd.conf\" dsbmd.c config.c dsbcfg/dsbcfg.c fs.c common.c -lgeom -lcam -lpthread -lutil -lkiconv -lusb
sed -e 's|@PATH_PROGRAM@|/usr/local/libexec/dsbmd|g'  -e 's|@PATH_PIDFILE@|/var/run/dsbmd.pid|g'  < rc.d/dsbmd.tmpl > rc.d/dsbmd
install -s -m 555 dsbmd /usr/local/libexec
install -m 555 rc.d/dsbmd /usr/local/etc/rc.d
install -m 0644 dsbmd.conf /usr/local/etc/dsbmd.conf.sample
if [ ! -f /usr/local/etc/dsbmd.conf ]; then  install -m 0644 dsbmd.conf /usr/local/etc;  fi
mkdir: /usr/local/share/doc/dsbmd: File exists
*** Error code 1 (ignored)
install -m 0644 README /usr/local/share/doc/dsbmd
# service dsbmd onestart
Starting dsbmd.

Anschließend dsbmc-cli -a gestartet und es wird wieder keine Daten-CD gemountet, danach auch kein USB-Stick. Ich würde ja fragen, ob meine Hardware vielleicht zu alt ist, aber mit HAL gibt es schließlich keine Probleme.
 
Hi @cabriofahrer ,

danke für's Testen! Wenn Du wieder etwas Zeit findest:
Code:
# fetch http://freeshell.de/~mk/download/dsbmd-nothr-0.4.tgz && tar xf dsbmd-nothr-0.4.tgz && cd dsbmd-nothr-0.4
# make
# sh -c './dsbmd -f 2> dsbmd.log
Anschließend als User wieder dsbmc-cli -a starten, und eine Daten-CD einlegen. Sollte es nicht gehen, setze bitte mal poll_interval = 0 in /usr/local/etc/dsbmd.conf, und starte dsbmd wie folgt aus dem Verzeichnis dsbmd-nothr-0.4:
Code:
# sh -c './dsbmd -f 2> dsbmd-nopoll.log
Schließlich wieder den Test mit dsbmc-cli -a ausführen, und den Inhalt der Logdateien posten.
 
Sorry, aber so startet dsbmc-cli -a leider nicht:

Code:
# service hald stop
Stopping hald.
Waiting for PIDS: 1011.
# fetch http://freeshell.de/~mk/download/dsbmd-nothr-0.4.tgz && tar xf dsbmd-nothr-0.4.tgz && cd dsbmd-nothr-0.4
dsbmd-nothr-0.4.tgz                           100% of   46 kB  554 kBps 00m00s
# make
# sh -c './dsbmd -f 2> dsbmd.log
>

Anderes Terminal:

Code:
$ dsbmc-cli -a &
$ dsbmc-cli: Error: uconnect(/var/run/dsbmd.socket)

[1]   Done(1)                 dsbmc-cli -a
 
Ich würde nochmal alle bitten (@cabriofahrer : bitte erst mal die 0.4 testen), die neue Version zu testen. Besonders würde mich interessieren, ob MMCs ordnungsgemäß funktionieren, und ob Blu-rays erkannt werden. Letztere werden von DSBMC noch nicht berücksichtigt, daher muss man sich per nc -U /var/run/dsbmd.socket verbinden, um zu sehen, ob sie erscheinen. Dann auch mal versuchen, ob sie sich mounten lassen, wobei man den Befehl mount /dev/cd0 (oder eben das entspr. Gerät) in der nc-Session absetzt.

Bauanleitung:
Code:
# fetch http://freeshell.de/~mk/download/dsbmd-nothr-0.5.tgz && tar xf dsbmd-nothr-0.5.tgz && cd dsbmd-nothr-0.5
# make install
# service dsbmd restart
 
Code:
# service hald stop
Stopping hald.
Waiting for PIDS: 1035.
# fetch http://freeshell.de/~mk/download/dsbmd-nothr-0.4.tgz && tar xf dsbmd-nothr-0.4.tgz && cd dsbmd-nothr-0.4
dsbmd-nothr-0.4.tgz  100% of  46 kB  507 kBps 00m00s
# make
# sh -c './dsbmd -f 2> dsbmd.log'

Bis hier keine Fehlermeldung, aber wieder:

Code:
$ dsbmc-cli -a &
$ dsbmc-cli: Error: uconnect(/var/run/dsbmd.socket)

[1]   Done(1)                 dsbmc-cli -a
 
Es könnte sein, dass dsbmd noch nicht bereit war, Verbindungen anzunehmen. Einfach noch mal versuchen, dsbmc-cli -a zu starten.
 
Hallo Marcel !

Folgendes gemacht :

# fetch http://freeshell.de/~mk/download/dsbmd-nothr-0.5.tgz && tar xf dsbmd-nothr-0.5.tgz && cd dsbmd-nothr-0.5
# make install
# service dsbmd restart
# reboot

Ergebniss :

nc -U /var/run/dsbmd.socket
+:dev=/dev/pseudo00:fs=fuse:volid=home:mntpt=/mnt/windows/home:type=HDD:cmds=mount,unmount
+:dev=/dev/pseudo01:fs=fuse:volid=work:mntpt=/mnt/windows/work:type=HDD:cmds=mount,unmount
+:dev=/dev/pseudo02:fs=fuse:volid=system:mntpt=/mnt/windows/system:type=HDD:cmds=mount,unmount
+:dev=/dev/pseudo03:fs=fuse:volid=linux:mntpt=/mnt/linux:type=HDD:cmds=mount,unmount
+:dev=/dev/pseudo04:fs=fuse:volid=gvfs:mntpt=/var/run/user/1001/gvfs:type=HDD:cmds=mount,unmount
+:dev=/dev/da0s1:fs=msdosfs:volid=BIGONE:mntpt=/media/BIGONE:type=USBDISK:cmds=mount,unmount,eject
=

Bei eingelegter Blue-Ray , die sich mit vlc auch abspielen lässt !

Gruss
 
Besten Dank für die Rückmeldung, @bluescreen !

Ich habe mich jetzt durch die UDF-Specs gequält, und werde meine Erkenntnisse bald in Code gießen können. Da mir kein BR-Laufwerk zur Verfügung steht, würde ich mich sehr über Testdaten freuen. Dazu einfach die ersten paar Sektoren einer Blu-ray auslesen, und mir per Mail an mk(gekringeltes 'a')freeshell(Punkt)de schicken.

Code:
# dd if=/dev/cd0 bs=2048 count=300 | bzip2 blu-ray-testdata.img.bz2
 
@cabriofahrer :

Beim nächsten Test, bitte dsbmc-cli wie folgt starten:
Code:
% sh -c 'while [ true ]; do dsbmc-cli -a && break; sleep 1; done'

dsbmd fragt erst alle installierten Speichergeräte ab, bevor Verbindungen angenommen werden. Wenn z.B. ein störrisches, langsames CD-LW lange auf eine Antwort warten lässt, kann der Vorgang entsprechend länger dauern.
 
Zurück
Oben