Re: [NEW] sysutils/fuse-exfat-1.1.0

2014-12-15 Thread Helg Bredow
> Hi All,
>
> This is a port of the FUSE exFAT implementation for OpenBSD. It enabled 
> reading and writing of SDXC cards, USB thumb drives etc. that have been 
> formatted as exFAT. This is my first port so let me know if I should make any 
> changes, files installed to the correct locations etc.
>
> To create an exFAT file system you'll need exfat-utils, which I've also 
> ported.
>
> I've tested on amd64.
>
> Regards
>
> helg 


Is anyone able to test this as well as exfat-utils? I also don't have commit 
access so if it's OK can somebody please do the honours?


Thanks.   

[NEW] sysutils/exfat-utils-1.1.1

2014-12-13 Thread Helg Bredow
Hi All,
This port provides utilities for working with the exFAT file systems. Not all 
of them are fully functional but mkexfatfs enabled formatting of devices/drives.
Tested on amd64.
Regards,helg  

exfat-utils.tar.gz
Description: GNU Zip compressed data


[NEW] sysutils/fuse-exfat-1.1.0

2014-12-13 Thread Helg Bredow
Hi All,
This is a port of the FUSE exFAT implementation for OpenBSD. It enabled reading 
and writing of SDXC cards, USB thumb drives etc. that have been formatted as 
exFAT. This is my first port so let me know if I should make any changes, files 
installed to the correct locations etc.
To create an exFAT file system you'll need exfat-utils, which I've also ported.
I've tested on amd64.
Regardshelg   

fuse-exfat.tar.gz
Description: GNU Zip compressed data


Re: [bug?] sysutils/ntfs-3g

2013-12-31 Thread Helg Bredow

> From: xx...@msn.com
> To: ports@openbsd.org
> Subject: [bug?] sysutils/ntfs-3g
> Date: Tue, 31 Dec 2013 21:46:34 +0500
>
> Hi,
>
> I'm pretty new to OpenBSD and was pretty keen to try out the new ntfs fuse 
> driver and while it appears to be working OK, it dumps core when I unmount 
> the filesystem. I've included the gdb output but don't know how to compile 
> with debug symbols so if that would help, let me know how to do it and I'll 
> send the new gdb output.
>
> I'm running on i386 with the SP kernel installed from the latest snapshot 
> from my local mirror on the 31 Dec 2013.
>
> Any troubleshooting tips would be appreciated.
>
> Regards,
> helg
>
> $uname -a
> OpenBSD hp.my.domain 5.4 GENERIC#201 i386
>
> $ sudo gdb ntfs-3g -c /ntfs-3g.core
> GNU gdb 6.3
> Copyright 2004 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you are
> welcome to change it and/or distribute copies of it under certain conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB. Type "show warranty" for details.
> This GDB was configured as "i386-unknown-openbsd5.4"...
> (no debugging symbols found)
>
> Core was generated by `ntfs-3g'.
> Program terminated with signal 11, Segmentation fault.
> (no debugging symbols found)
> Loaded symbols for /usr/local/bin/ntfs-3g
> Reading symbols from /usr/lib/libfuse.so.1.1...done.
> Loaded symbols for /usr/lib/libfuse.so.1.1
> Reading symbols from /usr/local/lib/libntfs-3g.so.0.0...done.
> Loaded symbols for /usr/local/lib/libntfs-3g.so.0.0
> Reading symbols from /usr/lib/libc.so.73.0...done.
> Loaded symbols for /usr/lib/libc.so.73.0
> Reading symbols from /usr/libexec/ld.so...done.
> Loaded symbols for /usr/libexec/ld.so
> #0 0x1989c169 in ?? () from /usr/local/bin/ntfs-3g
>
> $ ntfs-3g -o debug,no_detach /dev/wd0i /mnt
> Version 2013.1.13 external FUSE 26
> Mounted /dev/wd0i (Read-Write, label "", NTFS 3.1)
> Cmdline options: debug,no_detach
> Mount options: 
> allow_other,nonempty,relatime,fsname=/dev/wd0i,blkdev,blksize=4096
> Ownership and permissions disabled, configuration type 1
> Unmounting /dev/wd0i ()
> Segmentation fault (core dumped)
>
> $ cat /var/run/dmesg.boot
> OpenBSD 5.4-current (GENERIC) #201: Sat Dec 28 17:05:53 MST 2013
> dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
> cpu0: Intel(R) Pentium(R) M processor 1.80GHz ("GenuineIntel" 686-class) 1.80 
> GHz
> cpu0: 
> FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,PBE,EST,TM2,PERF
> real mem = 1038544896 (990MB)
> avail mem = 1009700864 (962MB)
> mainbus0 at root
> bios0 at mainbus0: AT/286+ BIOS, date 03/15/06, BIOS32 rev. 0 @ 0xfd760, 
> SMBIOS rev. 2.31 @ 0xdf010 (28 entries)
> bios0: vendor Hewlett-Packard version "F.23" date 03/15/2006
> bios0: Hewlett-Packard HP Pavilion dv1000 (PV325PA#ABG)
> acpi0 at bios0: rev 0
> acpi0: sleep states S0 S3 S4 S5
> acpi0: tables DSDT FACP HPET APIC APIC BOOT SSDT SSDT
> acpi0: wakeup devices PCIB(S5) LAN_(S5) PS2K(S3) PSM1(S3) PSM2(S3) USB0(S3) 
> USB1(S3) USB2(S3) USB7(S3)
> acpitimer0 at acpi0: 3579545 Hz, 24 bits
> acpihpet0 at acpi0: counter not incrementing
> acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
> cpu0 at mainbus0: apid 0 (boot processor)
> mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
> cpu0: apic clock running at 99MHz
> ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins
> acpiprt0 at acpi0: bus 0 (PCI0)
> acpiprt1 at acpi0: bus 2 (PCIB)
> acpiec0 at acpi0
> acpicpu0 at acpi0: C3, C2, C1, PSS
> acpitz0 at acpi0: critical temperature is 95 degC
> acpiac0 at acpi0: AC unit online
> acpibat0 at acpi0: BAT0 model "JM-6" serial 5339212963 type LION oem 
> "Hewlett-Packard"
> acpibtn0 at acpi0: LID0
> acpibtn1 at acpi0: SLPB
> acpivideo0 at acpi0: GFX0
> bios0: ROM list: 0xc/0xce00! 0xcd000/0x1000 0xdf000/0x1000! 
> 0xe/0x4000!
> cpu0: Enhanced SpeedStep 1796 MHz: speeds: 1800, 1600, 1400, 1200, 1000, 800, 
> 600 MHz
> pci0 at mainbus0 bus 0: configuration mode 1 (bios)
> pchb0 at pci0 dev 0 function 0 "Intel 82855GM Host" rev 0x02
> "Intel 82855GM Memory" rev 0x02 at pci0 dev 0 function 1 not configured
> "Intel 82855GM Config" rev 0x02 at pci0 dev 0 function 3 not configured
> vga1 at pci0 dev 2 function 0 "Intel 82855GM Video" rev 0x02
> intagp0 at vga1
> agp0 at intagp0: aperture at 0xe800, size 0x800
> inteldrm0 at vga1
> drm0 at inteldrm0
> inteldrm0: 1280x768
> wsdisplay0 at vga1 mux 1: console (std, vt100 emulation)
> wsdisplay0: screen 1-5 added (std, vt100 emulation)
> "Intel 82855GM Video" rev 0x02 at pci0 dev 2 function 1 not configured
> uhci0 at pci0 dev 29 function 0 "Intel 82801DB USB" rev 0x03: apic 1 int 16
> uhci1 at pci0 dev 29 function 1 "Intel 82801DB USB" rev 0x03: apic 1 int 19
> uhci2 at pci0 dev 29 function 2 "Intel 82801DB USB" rev 0x03: apic 1 int 18
> ehci0 at pci0 dev 29 function 7 "Intel 82

[bug?] sysutils/ntfs-3g

2013-12-31 Thread Helg Bredow
Hi,

I'm pretty new to OpenBSD and was pretty keen to try out the new ntfs fuse 
driver and while it appears to be working OK, it dumps core when I unmount the 
filesystem. I've included the gdb output but don't know how to compile with 
debug symbols so if that would help, let me know how to do it and I'll send the 
new gdb output.

I'm running on i386 with the SP kernel installed from the latest snapshot from 
my local mirror on the 31 Dec 2013.

Any troubleshooting tips would be appreciated.

Regards,
helg

$uname -a
OpenBSD hp.my.domain 5.4 GENERIC#201 i386

$ sudo gdb ntfs-3g -c /ntfs-3g.core 
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-unknown-openbsd5.4"...
(no debugging symbols found)

Core was generated by `ntfs-3g'.
Program terminated with signal 11, Segmentation fault.
(no debugging symbols found)
Loaded symbols for /usr/local/bin/ntfs-3g
Reading symbols from /usr/lib/libfuse.so.1.1...done.
Loaded symbols for /usr/lib/libfuse.so.1.1
Reading symbols from /usr/local/lib/libntfs-3g.so.0.0...done.
Loaded symbols for /usr/local/lib/libntfs-3g.so.0.0
Reading symbols from /usr/lib/libc.so.73.0...done.
Loaded symbols for /usr/lib/libc.so.73.0
Reading symbols from /usr/libexec/ld.so...done.
Loaded symbols for /usr/libexec/ld.so
#0  0x1989c169 in ?? () from /usr/local/bin/ntfs-3g

$ ntfs-3g -o debug,no_detach /dev/wd0i /mnt
Version 2013.1.13 external FUSE 26
Mounted /dev/wd0i (Read-Write, label "", NTFS 3.1)
Cmdline options: debug,no_detach
Mount options: 
allow_other,nonempty,relatime,fsname=/dev/wd0i,blkdev,blksize=4096
Ownership and permissions disabled, configuration type 1
Unmounting /dev/wd0i ()
Segmentation fault (core dumped) 

$ cat /var/run/dmesg.boot
OpenBSD 5.4-current (GENERIC) #201: Sat Dec 28 17:05:53 MST 2013
    dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Pentium(R) M processor 1.80GHz ("GenuineIntel" 686-class) 1.80 
GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,PBE,EST,TM2,PERF
real mem  = 1038544896 (990MB)
avail mem = 1009700864 (962MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 03/15/06, BIOS32 rev. 0 @ 0xfd760, SMBIOS 
rev. 2.31 @ 0xdf010 (28 entries)
bios0: vendor Hewlett-Packard version "F.23" date 03/15/2006
bios0: Hewlett-Packard HP Pavilion dv1000 (PV325PA#ABG)
acpi0 at bios0: rev 0
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP HPET APIC APIC BOOT SSDT SSDT
acpi0: wakeup devices PCIB(S5) LAN_(S5) PS2K(S3) PSM1(S3) PSM2(S3) USB0(S3) 
USB1(S3) USB2(S3) USB7(S3)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: counter not incrementing
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 99MHz
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 2 (PCIB)
acpiec0 at acpi0
acpicpu0 at acpi0: C3, C2, C1, PSS
acpitz0 at acpi0: critical temperature is 95 degC
acpiac0 at acpi0: AC unit online
acpibat0 at acpi0: BAT0 model "JM-6" serial 5339212963 type LION oem 
"Hewlett-Packard"
acpibtn0 at acpi0: LID0
acpibtn1 at acpi0: SLPB
acpivideo0 at acpi0: GFX0
bios0: ROM list: 0xc/0xce00! 0xcd000/0x1000 0xdf000/0x1000! 0xe/0x4000!
cpu0: Enhanced SpeedStep 1796 MHz: speeds: 1800, 1600, 1400, 1200, 1000, 800, 
600 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Intel 82855GM Host" rev 0x02
"Intel 82855GM Memory" rev 0x02 at pci0 dev 0 function 1 not configured
"Intel 82855GM Config" rev 0x02 at pci0 dev 0 function 3 not configured
vga1 at pci0 dev 2 function 0 "Intel 82855GM Video" rev 0x02
intagp0 at vga1
agp0 at intagp0: aperture at 0xe800, size 0x800
inteldrm0 at vga1
drm0 at inteldrm0
inteldrm0: 1280x768
wsdisplay0 at vga1 mux 1: console (std, vt100 emulation)
wsdisplay0: screen 1-5 added (std, vt100 emulation)
"Intel 82855GM Video" rev 0x02 at pci0 dev 2 function 1 not configured
uhci0 at pci0 dev 29 function 0 "Intel 82801DB USB" rev 0x03: apic 1 int 16
uhci1 at pci0 dev 29 function 1 "Intel 82801DB USB" rev 0x03: apic 1 int 19
uhci2 at pci0 dev 29 function 2 "Intel 82801DB USB" rev 0x03: apic 1 int 18
ehci0 at pci0 dev 29 function 7 "Intel 82801DB USB" rev 0x03: apic 1 int 23
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb0 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0x83
pci1 at ppb0 bus 2
rl0 at pci1 dev 0 function 0 "Realtek 8139" rev 0x10: apic 1 int 16, address 
00:00:9f:b3:99:0b
rlphy0 at rl0 phy 0: RTL internal PHY
iwi0 at pci1 dev 6 funct