Re: Memory leaks in c/pthread libraries

2024-06-06 Thread J . Hannken-Illjes
h dead pthreads and the mapped stacks are the memory leak observed. -- J. Hannken-Illjes - hann...@mailbox.org p2.c Description: Binary data 001_pthread_revert.diff Description: Binary data signature.asc Description: Message signed with OpenPGP

Re: I have botched my disklabel. Can I recover my data?

2022-03-15 Thread J. Hannken-Illjes
t; ### START > > Tue Mar 15 10:16:49 GMT 2022 > Starting root file system check: > Can't open /dev/rld0a: Device not configured Take a look at /sbin/scan_ffs aka. /rescue/scan_ffs. -- J. Hannken-Illjes - hann...@mailbox.org signature.asc Description: Message signed with OpenPGP

Re: Default group on ZFS

2021-12-20 Thread J. Hannken-Illjes
et/dist/uts/common/fs/zfs/zfs_acl.c:1664 f. > > -- we don't: Should I send-pr? Looks like the attached diff is sufficient. Will you commit or should I? -- J. Hannken-Illjes - hann...@mailbox.org zfs_acl.c.diff Description: Binary data signature.asc Description: Message signed with OpenPGP

Re: mount_union(8) vs. open(O_RDWR)

2021-12-06 Thread J. Hannken-Illjes
> On 5. Dec 2021, at 22:07, Greg A. Woods wrote: > > At Sun, 5 Dec 2021 10:38:54 +0100, "J. Hannken-Illjes" > wrote: > Subject: Re: mount_union(8) vs. open(O_RDWR) >> >> There are (up to) three vnodes involved: >> >> - The union vnode at

Re: mount_union(8) vs. open(O_RDWR)

2021-12-05 Thread J. Hannken-Illjes
> On 5. Dec 2021, at 08:52, Greg A. Woods wrote: > > At Sat, 4 Dec 2021 10:25:27 +0100, "J. Hannken-Illjes" > wrote: > Subject: Re: mount_union(8) vs. open(O_RDWR) >> >> Ok some comments: >> >> - union_copyup() works and is needed fo

Re: mount_union(8) vs. open(O_RDWR)

2021-12-04 Thread J. Hannken-Illjes
64] union_newsize: utmpx: upper size now 0 > [ 4.3602577] union_newsize: utmpx: upper size now 520 > [ 4.3602577] union_newsize: utmpx: upper size now 1040 > [ 4.3602577] union_newsize: utmpx: upper size now 1560 > [ 4.3742532] union_newsize: utmpx: upper size now 2080 > init: kernel security level changed from 0 to 1 > [ 4.4112513] union_newsize: utmpx: upper size now 2600 > > > -- > Greg A. Woods > > Kelowna, BC +1 250 762-7675 RoboHack > Planix, Inc. Avoncote Farms Ok some comments: - union_copyup() works and is needed for regular nodes only. - it copies the node attributes up so checking the access on the (copied) upper node should be sufficient. - the switch() on top checks for read-only mounted upper layer, not the lower layer. The attached diff just copies up in the VWRITE/VREG case and this should be sufficient -- please give it a try. -- J. Hannken-Illjes - hann...@mailbox.org 002_union_access.diff Description: Binary data signature.asc Description: Message signed with OpenPGP

Re: mount_union(8) vs. open(O_RDWR)

2021-12-02 Thread J. Hannken-Illjes
ys/fs/union/union_vnops.c::union_access(): /* * Check access permission on the union vnode. * The access check being enforced is to check * against both the underlying vnode, and any * copied vnode. This ensures that no additional * file permissions are given away simply because * the user caused an implicit file copy. */ int union_access(void *v) As the underlying node is on a ro-mounted file system this will always fail with EROFS if the underlying node exists. Maybe we should check for read access on the underlying file system, copy up and then check the upper node. -- J. Hannken-Illjes - hann...@mailbox.org signature.asc Description: Message signed with OpenPGP

Re: ZFS chroot cannot open dev nodes

2020-02-13 Thread J. Hannken-Illjes
s. > > Same on -current from 15 minutes ago, but I guess it was expected. Please try again with Rev. 1.57 of src/external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vnops.c -- J. Hannken-Illjes - hann...@eis.cs.tu-bs.de - TU Braunschweig signature.asc Description: Message signed with OpenPGP

Re: Zfs on NetBSD

2019-07-27 Thread J. Hannken-Illjes
UTC 2019 > mkre...@mkrepro.netbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC amd64 While "zfs status" is wrong as there is no command "status" the ZFS module should be loaded automatically and you should get a usage from running this command. You have "/dev/zfs"

Re: Did netbsd ever support force remount readonly for root?

2018-06-23 Thread J. Hannken-Illjes
> On 23. Jun 2018, at 10:44, Manuel Bouyer wrote: > > On Sat, Jun 23, 2018 at 01:35:59AM -0400, Dan LaBell wrote: >> Did Netbsd, ever support force remount readonly for root? > > I'm not sure it's fully supported. On NetBSD-8 "mount -f -r -u /" shoul

Re: pcmcia scsi

2017-07-31 Thread J. Hannken-Illjes
come a quirk. Could you try an unmodified kernel with option PCMCIAVERBOSE and post the dmesg? -- J. Hannken-Illjes - hann...@eis.cs.tu-bs.de - TU Braunschweig (Germany)

Re: [NetBSD 8.0] Another panic in ffs_newvnode()

2017-07-09 Thread J. Hannken-Illjes
> On 9. Jul 2017, at 12:09, BERTRAND Joël wrote: > > J. Hannken-Illjes a écrit : >> Is the /usr file system UFS1 or UFS2, output of dumpfs could help. > > FFSv2 with log (and async flag). Ok, UFS2 with dynamic inode initialisation. Did your machine ever crash since

Re: [NetBSD 8.0] Another panic in ffs_newvnode()

2017-07-09 Thread J. Hannken-Illjes
e 0x2f20 (chr, sticky, suid, sgid, mode rr-), looks like garbage. I suppose fsck will not complain about unallocated garbage inodes. Is the /usr file system UFS1 or UFS2, output of dumpfs could help. -- J. Hannken-Illjes - hann...@eis.cs.tu-bs.de - TU Braunschweig (Germany)

7.0 loosing IPV6 prefix route after 30 days

2016-08-01 Thread J. Hannken-Illjes
gives: fd23:6e0f:e899:a7b4::/64 if=cas0 flags=LO vltime=2592000, pltime=604800, expired, ref=1 No advertising router but here the prefix route fd23:6e0f:e899:a7b4::/64 exists. File /etc/rc.conf has "dhcpcd=YES", no network config, no "ip6mode". Dhcpcd is "6.7.1". A

Re: locking crash using coda

2016-06-21 Thread J. Hannken-Illjes
> On 20 Jun 2016, at 06:04, Brett Lymn wrote: > > On Fri, Jun 17, 2016 at 10:51:44AM +0200, J. Hannken-Illjes wrote: >> >> This assertion is from 2015/03/27, last change to coda was 2015/09/06. >> > > What can I say? $REALLIFE has been interferi

Re: locking crash using coda

2016-06-17 Thread J. Hannken-Illjes
ly never locks vnodes before it calls vnode operations using c_ovp. This is a bug. -- J. Hannken-Illjes - hann...@eis.cs.tu-bs.de - TU Braunschweig (Germany)

Re: mmap and MAP_FIXED

2016-05-12 Thread J. Hannken-Illjes
hen it seems to be unmapped? sys_mmap() found in sys/uvm/uvm_mmap.c tests FIXED maps for (values for amd64 in parentheses) for addr >= VM_MIN_ADDRESS (0) and addr+size <= VM_MAXUSER_ADDRESS (0x7f80) You try a value above VM_MAXUSER_ADDRESS: 0x00040000 &g

Re: file corruption with 6.1.4

2016-02-16 Thread J. Hannken-Illjes
CPU mode to see if it helps > - Switching file systems > - Trying different versions of netbsd (6.1.5?) > > Suggestions? I suspect I need something that maintains binary compatibility > with the 6 series. If the system has tmpfs (tmpfs /tmp tmpfs rw) this could be ticket #1365 (http://releng.netbsd.org/cgi-bin/req-6.cgi?show=1365). -- J. Hannken-Illjes - hann...@eis.cs.tu-bs.de - TU Braunschweig (Germany)

Re: [NetBSD-7] Panic in nfsd

2016-01-05 Thread J. Hannken-Illjes
directories here. Please post full dmesg. -- J. Hannken-Illjes - hann...@eis.cs.tu-bs.de - TU Braunschweig (Germany)

Re: NetBSD 7.0 amd64 boot failure on KVM

2016-01-01 Thread J. Hannken-Illjes
protocol) > esiop_intr: I shouldn't be there ! This is esiop: Enhanced Symbios Logic/NCR 53c8xx SCSI driver. How did you configure the disk(s) on the kvm host, driver/bus? -- J. Hannken-Illjes - hann...@eis.cs.tu-bs.de - TU Braunschweig (Germany)

Re: NetBSD/amd64 7.0 domU freezes while running pbulk.sh (was Re: Raspberry Pi 2, nfs mount hangs after some time)

2015-11-26 Thread J. Hannken-Illjes
> > 2086 1 3 14 100 a0003eca46a0 qmgr nfsrcv > 677 1 3 5 0 a0003dd6fa40syslogd nfsrcv > 0 131 3 3 200 a0003d75d140 nfskqpoll nfsrcv Looks like a NFS problem, too many threads in nfsrcv...

Re: Booting from raid0g?

2015-02-19 Thread J. Hannken-Illjes
On 19 Feb 2015, at 12:41, Hauke Fath wrote: > On Thu, 19 Feb 2015 12:15:33 +0100, J. Hannken-Illjes wrote: >> I use this entry in boot.cfg: >> >> menu=Boot alternate:multiboot netbsd console=com console_speed=57600 >> root=raid0h > > Hm - would this load th

Re: Booting from raid0g?

2015-02-19 Thread J. Hannken-Illjes
oot netbsd -a", and then select raid0g, but this > requires manual intervention. How can I permanently specify the > selection in boot.cfg(5)? -- J. Hannken-Illjes - hann...@eis.cs.tu-bs.de - TU Braunschweig (Germany)

Re: invalid page header on postgres using gpt/dkctl

2014-06-03 Thread J. Hannken-Illjes
2884736 > sectors > sd0: fabricating a geometry > sd0: mbr partition exceeds disk size I would call this an error message. > sd0: GPT GUID: c4b3e41f-d14b-11e3-950f-00259084a564 > dk0 at sd0: c4b3e43c-d14b-11e3-950f-00259084a564 > sd0: tagged queueing > > Derrick Lobo -- J. Hannken-Illjes - hann...@eis.cs.tu-bs.de - TU Braunschweig (Germany)

Re: reset with fss on 5.1.2

2013-02-25 Thread J. Hannken-Illjes
On Feb 25, 2013, at 4:20 PM, Greg Troxel wrote: > Check src/doc/CHANGES-5.2 in the head of netbsd-5. I believe there was > a pullup that addressed this. Or at least to netbsd-6. NetBSD-5.1.2 is missing the attached diff. 5.2 and on should have it. -- J. Hannken-Illjes - hann...@eis