On Mon, Jul 10, 2023 at 12:39:39AM +, Emmanuel Dreyfus wrote:
> Sometime one has to resize a filesystem. For FFS, we have resize_fss(8),
> but how to proceed if the FFS filesystem is inside a RAID-1 RAIDframe set?
> Here you will find some procedures that I sucessfully tested.
This h
ot}
# Make sure resize_ffs finds libc.so.12
export LD_LIBRARY_PATH=/tmp/
/tmp/resize_ffs -y /dev/r${root}
# Check new size
mount /dev/${root} /mnt
df -h /mnt
umount /mnt
# Reboot into normal operations
reboot
--
Emmanuel Dreyfus
m...@netbsd.org
Identifier "Cherry keyboard"
Driver "kbd"
#MatchVendor "Cherry GmbH"
#MatchProduct "CHERRY Wired Keyboard"
#MatchUSBID "046a:c097"
MatchProduct "CHERRY"
Option "XkbRules" "evdev"
Option "XkbModel" "macintosh"
Option "XkbLayout" "fr"
Option "XkbOptions" "grp:alt_shift_toggle,terminate_alt_bksp"
EndSection
--
Emmanuel Dreyfus
m...@netbsd.org
4 bytes @ 0x47 value 0
tzh_ttisstdcnt 4 bytes @ 0x4b value 0
tzh_leapcnt4 bytes @ 0x4f value 0
tzh_timecnt4 bytes @ 0x53 value 0x65 = 101 in decimal
tzh_timecnt is "coded number of transition times". How do I find 1108 for
tzh_timecnt?
--
Emmanuel Dreyfus
m...@netbsd.org
Martin Husemann wrote:
> But overall: clearly a bug in gnustep, version 1 format files are obsolete.
A patch that fixes enough of the situation so that SOGo stops breaking
gmtoffsets:
https://savannah.gnu.org/bugs/index.php?60952
--
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
m...@netbsd.org
.|
Why is the header duplicated with a different content at offset 0x33?
--
Emmanuel Dreyfus
m...@netbsd.org
;|crash -w
Obviously it would be nicer if a sysctl existed for that, but at
least you have a workaround to save your day if your import fail after
an upgrade.
--
Emmanuel Dreyfus
m...@netbsd.org
Emmanuel Dreyfus wrote:
> I got some success with PF and the static-port keyword:
> nat on pppoe0 inet from 10.0.0.0/24 -> ( pppoe0:0 ) static-port
>
> The Nintendo Switch reports a B grade. (...)
>
> The setup has a setback: from time to time, all NAT-ed traffic ge
Emmanuel Dreyfus wrote:
> For multiplayer games, the Nintendo Switch requires some behavior from
> the NAT, which is assessed by a mark from A to F in the Switch network
> test.
>
> Anyone had some success configuring an IPfilter NAT to get a grade
> better than D? Or pe
?
--
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
m...@netbsd.org
s from this:
https://www.draisberghof.de/usb_modeswitch/
--
Emmanuel Dreyfus
m...@netbsd.org
ss1
I did not notice the umass1 at once. It leads to a fake CD-ROM with drivers
for Linux and Windows, but this is not exactly what I am looking for...
--
Emmanuel Dreyfus
m...@netbsd.org
* at uhub? flags 1
to force ugen handling?
--
Emmanuel Dreyfus
m...@netbsd.org
Emmanuel Dreyfus wrote:
> - in UEFI mode, bootstrap does not read boot.cfg and while it sees the
> GPT partitions, it is unable to access a RAID that has a GPT inside. It
> can access a RAID that has a disklabel inside, though, but that does not
> help for > 2 TB.
Reading the
Emmanuel Dreyfus wrote:
> I try to boot NetBSD/Xen from a GPT, with little success.
>
> I understand NetBSD EFI bootstrap does not support multiboot, so I
> should use BIOS boot.
That poins seems false, I found multiboot code in EFI boot after all.
I made some progress: it seems t
count=1|hexdump -C|tail -2
1f0 aa55
200
--
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
m...@netbsd.org
01 PMBR (active)
1 11721045134 Unused
11721045135 32 Sec GPT table
117210451671 Sec GPT header
Fortunately, gpt recover wd2 did its job.
--
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
m...@netbsd.org
eed 115200, ioaddr 0, console
com0
But I think it does not even reach that stage, since the BIOS just skips
the disk.
--
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
m...@netbsd.org
it the first
priority, but it just skips to the next one.
I wonder if "PBR is not bootable: Bad magic number" may be at fault
here. Any idea?
--
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
m...@netbsd.org
brings this:
** /dev/rdk0
** File system is already clean
** Last Mounted on /home
** Phase 1 - Check Blocks and Sizes
too many inodes 18446744073709551615
Any advice better than restoring backups?
--
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
m...@netbsd.org
Emmanuel Dreyfus wrote:
> # ldd /usr/pkg/bin/screen-4.6.2
> ldd: /usr/pkg/bin/screen-4.6.2: invalid ELF class 2; expected 1
>
> What does that mean? It seems to happen on amd64 but not on i386.
Replying to myself: This is an amd64 binary on a i386 userland, as a
result of a bo
/bin/screen-4.6.2
# ldd /usr/pkg/bin/screen-4.6.2
ldd: /usr/pkg/bin/screen-4.6.2: invalid ELF class 2; expected 1
What does that mean? It seems to happen on amd64 but not on i386.
--
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
m...@netbsd.org
tables and skip raid
> headers. Agreed that you and I don't understand it, but it seems
> obviously tractable.
It seems to happen in src/sys/arch/i386/stand/lib/biosdisk.c
But adding the ability to read a GPT inside RAIDframe partition will
require some code refactoring.
--
Emmanuel Dr
Greg Troxel wrote:
> Right, but this is just code that isn't written, and it seems like it
> could not be that hard.
Adding GPT support to primary bootstrap (bootxx) seems straightforward,
but I still wonder about secondary boostrap (boot).
--
Emmanuel Dreyfus
http://hcpnet.free.fr/
GPT, and bootloaders cannot cope
with it in a RAID 1.
--
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
m...@netbsd.org
it can describe a 6
TB filesystem?
--
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
m...@netbsd.org
32 -1 ) * 4K bytes of
> filesystem size, even with those old labelling methods.
You mean I edit the disklabel, change bytes/sector from 512 to 4096, and
recompute everything with the new block size?
Will that work with an existing filesystem (without the need to run
newfs again)?
--
Emmanu
Martin Husemann wrote:
> You can use the raw disk partition as only partition
Well, resize_ffs will not cope with that. Even with the -s flag, it
fails to act on a big (> 2 TB) raid0d.
--
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
m...@netbsd.org
Greg Troxel wrote:
> Another question is why you have a gpt inside the RAID1, rather than
> just a filesystem
My understanding is that without a GPT inside the RAID1, you have no way
to get a filesystem bigger than 2 TB.
--
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
m...@netbsd.org
g (set by gpt biosboot) just there for that
purpose?
--
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
m...@netbsd.org
rmance.
--
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
m...@netbsd.org
rt=34 /dev/rdk1 bootxx_ffsv2
installboot(8) could detect the GPT-inside-RAID1 situation, inspect the
GPT and set the appropriate value correctly.
Opinions?
--
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
m...@netbsd.org
o will fstat, so keep going */
if (fd == -1 || fstat(fd, ) == -1)
return "Can't open /boot\r\n";
+ putstr("found!\n");
biosdev = (uint32_t)sb.st_size;
#if 0
if (biosdev > SECONDARY_MAX_LOAD)
--
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
m...@netbsd.org
1 Sec GPT header
# dkctl raid0 listwedges
/dev/rraid0d: 1 wedge:
dk6: root, 11687488543 blocks at 64, type: ffs
# mount NAME=root /mnt
# ls -l /mnt/boot
-r--r--r-- 1 root wheel 74616 May 29 14:27 /mnt/boot
--
Emmanuel Dreyfus
m...@netbsd.org
On Tue, Sep 25, 2018 at 11:54:24AM +, Emmanuel Dreyfus wrote:
> I am trying to get sound output from the built-in speaker of
> a hdaudio system. The jack outputs sound, but so far I had
> no success with the speaker;
It was a bug in hdaudio: the code in hdafg_disable_unassoc()
30
config
0x221105f
nid
33
--
Emmanuel Dreyfus
m...@netbsd.org
600
2 Feb 03:42:25 ntpdate[15369]: step time server 192.0.2.20 offset
-10.022205 sec
Is there something wrong in the configuration, or do I misunderstand
kerninfo output?
--
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
m...@netbsd.org
? Or are there pitfalls I missed there?
--
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
m...@netbsd.org
ture is also to crunchgen(1) binaries to reduce
memory footprint, which is interesting when booting a kernel with
ramdisk. It works nicely, but is not documented very much.
--
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
m...@netbsd.org
suggest kevent is somehow involved.
--
Emmanuel Dreyfus
m...@netbsd.org
anyone?
--
Emmanuel Dreyfus
m...@netbsd.org
On Fri, Mar 11, 2016 at 07:37:01AM +0100, Timo Buhrmester wrote:
> It just completed one entire dump this way with no crash.
> That hadn't happened in 6 days. Hmm.
My experience of the thing is that it is not reproductible. I
will backup fine for weeks and sometimes crash.
--
Em
when I added snapshots to the mix.
--
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
m...@netbsd.org
2679 164 153
498074652680 143 147
498074652682 154 163
498074652683 144 142
498074652684 56 151
498138882045 62 0
498138882046 40 0
498138882047 60 0
498138882048 60 0
--
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
m...@netbsd.org
ing wrong anywhere.
Should the disk content be exactly the same? Does it make sense to
compare the whole 500 GB for differences?
--
Emmanuel Dreyfus
m...@netbsd.org
rupted on both disks
I have trouble to find an explanation of how both events occurend.
--
Emmanuel Dreyfus
m...@netbsd.org
b0 65 70 74 00 00 |!..P...ept..|
01d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ||
Anyone has advice on how to cope with this? It seems I have to reinstall MBR,
but since I had two idenpendant corruptions, I fear more widespread damage.
--
Emmanuel Dreyfus
http
On Fri, Sep 11, 2015 at 10:43:50AM +0200, Manuel Bouyer wrote:
> Are you sur ICH7 supports AHCI ?
You are right, This is 82801GB (vendorId 8086, productId 27c0)
and it is not listed as supporting AHCI:
http://www.intel.com/support/fr/chipsets/imsm/sb/CS-012304.htm
--
Emmanuel Dreyfu
, NetBSD-7.0_RC3 and latest current, the
status looks identical.
Does ICH7 remains unsupported in AHCI mode, or did I miss a trick?
--
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
m...@netbsd.org
using fts(3)?
--
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
m...@netbsd.org
Emmanuel Dreyfus m...@netbsd.org wrote:
Yes, I tried porting lsyncd to NetBSD: you quickly hit kern.maxfiles
because it needs to open a file descriptor for every single node monitored.
To be clear: this is a limitation of the kqueue interface, hence
specific to NetBSD.
--
Emmanuel Dreyfus
directory.
--
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
m...@netbsd.org
in limits.h. Anyone
encountered this? Is there other workarounds than rebuilding libpthread
with a higher PTHREAD_KEYS_MAX? In an ideal world, we could throttle on
failure, instead of exitting.
--
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
m...@netbsd.org
.
--
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
m...@netbsd.org
to give it another try, here are my patches so far:
http://ftp.espci.fr/shadow/manu/julia-0.3-netbsd-20150223.patch
--
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
m...@netbsd.org
:1411
Backtrace stopped: frame did not save the PC
(gdb) frame 6
#6 0x7f7ff520d26e in getframeaddr (level=2) at stacktraverse.c:153
153 case 2: return __builtin_frame_address(3);
--
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
m...@netbsd.org
Joerg Sonnenberger jo...@britannica.bec.de wrote:
From GCC itself, e.g.
/usr/lib/gcc/x86_64-linux-gnu/4.8/include/unwind.h.
But not on netbsd-6, right?
--
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
m...@netbsd.org
On Fri, Feb 20, 2015 at 11:36:48AM +0100, Martin Husemann wrote:
So ifdef and port it to our libunwind ;-)
Where is the documentation?
--
Emmanuel Dreyfus
m...@netbsd.org
On Fri, Feb 20, 2015 at 11:12:02AM +0100, Martin Husemann wrote:
On Fri, Feb 20, 2015 at 09:56:46AM +, Emmanuel Dreyfus wrote:
A native build would requires porting GNU libunwind.
Why?
The code contains things like this (in julia-0.3/src/task.c):
DLLEXPORT size_t rec_backtrace_ctx
;
unw_word_t ip;
size_t n=0;
unw_init_local(cursor, uc);
do {
if (n = maxsize)
break;
if (unw_get_reg(cursor, UNW_REG_IP, ip) 0) {
break;
}
data[n++] = ip;
} while (unw_step(cursor) 0);
return n;
}
--
Emmanuel Dreyfus
may prefer the standalone paper in open-access:
http://arxiv.org/abs/1407.2168
--
Emmanuel Dreyfus
m...@netbsd.org
Emmanuel Dreyfus m...@netbsd.org wrote:
I experiment 10 GE link with ixb(4), but the result is really weak: The
two machines have a direct link through a SFTP+ câble, and copying a file
over NFS I get a throughput of 1.8 Mb/s, which is less than 2% of the
link capacity. Any idea of where
is an adequate value? I tried raising up this without much improvemet:
kern.sbmax=67108864
net.inet.tcp.sendbuf_max=1048576
net.inet.tcp.recvbuf_max=1048576
--
Emmanuel Dreyfus
m...@netbsd.org
I quote myself here:
On Wed, Jul 02, 2014 at 02:05:53PM +, Emmanuel Dreyfus wrote:
TCP connection established.
Packet size 1k bytes: 114938 KByte/s Tx, 114816 KByte/s Rx.
Packet size 2k bytes: 114924 KByte/s Tx, 114868 KByte/s Rx.
Packet size 4k bytes: 114871 KByte/s Tx, 114901
, 114868 KByte/s Rx.
Packet size 4k bytes: 114871 KByte/s Tx, 114901 KByte/s Rx.
Packet size 8k bytes: 114877 KByte/s Tx, 114900 KByte/s Rx.
Packet size 16k bytes: 114882 KByte/s Tx, 114914 KByte/s Rx.
Packet size 32k bytes: 114881 KByte/s Tx, 114905 KByte/s Rx.
Done.
--
Emmanuel Dreyfus
m
Network Driver,
Version - 2.3.10
ixg1: clearing prefetchable bit
ixg1: interrupting at ioapic0 pin 19
ixg1: PCI Express Bus: Speed 2.5Gb/s Width x8
--
Emmanuel Dreyfus
m...@netbsd.org
On Tue, Jul 01, 2014 at 09:15:45AM +0200, Stephan wrote:
did you measure raw TCP and UDP throughput using iperf or netperf?
No, this was a file copy over NFS.
--
Emmanuel Dreyfus
m...@netbsd.org
Hisashi T Fujinaka ht...@twofifty.com wrote:
No, this was a file copy over NFS.
Step one, don't use NFS.
What should I use instead?
--
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
m...@netbsd.org
?
--
Emmanuel Dreyfus
m...@netbsd.org
: 512, numBlocks: 488259200
RAID Level: 1
Autoconfig: Yes
Root partition: No
Last configured as: raid1
Parity status: clean
Reconstruction is 100% complete.
Parity Re-write is 100% complete.
Copyback is 100% complete.
--
Emmanuel Dreyfus
m...@netbsd.org
On Tue, May 13, 2014 at 08:20:24AM +, Emmanuel Dreyfus wrote:
Right, this is not a NFS performance problem, but a RAIDframe performance
probleme [RAIDframe introduces a 300% performance hit]
I found this:
https://zhadum.org.uk/2008/07/25/raid-and-file-system-performance-tuning
it. The underlying hardward hence
seems fine.
--
Emmanuel Dreyfus
m...@netbsd.org
1.60
--
Emmanuel Dreyfus
m...@netbsd.org
Emmanuel Dreyfus m...@netbsd.org wrote:
Right, this is not a NFS performance problem, but a RAIDframe performance
problem.
I found the problem: disk cache not enabled on one of the RAID
controllers. Now I have:
On a non RAID partition:
# time dd if=/dev/zero of=/var/crash/z bs=1024k count
with the underlying disks.
Read performance is fine everywhere, the problem was only for writes.
But I found it, it was a disk cache problem.
--
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
m...@netbsd.org
parameters to tweak?
--
Emmanuel Dreyfus
m...@netbsd.org
performance down, a raise from 9216 to 655360 did not change anything.
--
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
m...@netbsd.org
0.26s system
--
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
m...@netbsd.org
192.0.2.20
--
Emmanuel Dreyfus
m...@netbsd.org
without virtio-rng
drivers). On a generic host it should return almost instantly.
If I understand correctly, the only problem for keys generated in
a NetBSD domU is performances? If there is not enough randomness,
it will just wait?
--
Emmanuel Dreyfus
m...@netbsd.org
. The warning suggests pseudorandom
generator could be kinked. Is it safe to generate keys?
--
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
m...@netbsd.org
in NetBSD/i386 that
has been fixed. Or if it is a hardxare problem, -current has a workaround.
It would be worth identifying the relevant change, and pull it up to
netbsd-6 if possible.
--
Emmanuel Dreyfus
m...@netbsd.org
with an amd64 kernel.
And memtest found no defect. Is it possible there is a memory related bug
in NetBSD-6.0/i386 ? The GENERIC kernel was only able to see 2 GB of memory
while 8 were installed, perhaps that is a hint something is rotten?
--
Emmanuel Dreyfus
m...@netbsd.org
is not 2GB...
--
Emmanuel Dreyfus
m...@netbsd.org
with the i386 kernel being unstable on
that machine.
--
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
m...@netbsd.org
watchdog timers:
ipmi0, 0 second period
I uderstand this meaans it is not used.
But maybe you should try to replace RAM too ...
I will try that, but shouldn't I get some panics if the RAM setup was bad?
--
Emmanuel Dreyfus
m...@netbsd.org
.
But the system does not reboot off powerd decision, it just reboots just
like if someone pressed the reset button (which is not the case, I know
it since it rebooted while I was there)
--
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
m...@netbsd.org
cause a panic, and therefore I focused on
finding a hardware problem. but now I have replaced every bit of the
machine except disk and RAM, I am not sure of that point anymore.
--
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
m...@netbsd.org
Hi
What are the performance implications of using -o log on a fs that is
remounted using mount_null? Is there any trouble with using -o log on
both mount? e.g.:
mount -o rw,log /dev/wd1a /foo
mount -tnull -o rw,log /foo /bar
--
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
m...@netbsd.org
hardware RAID feature, it
is just to connect a SAS LTO drive.
--
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
m...@netbsd.org
Emmanuel Dreyfus m...@netbsd.org wrote:
I cannot beleive Xorg is so broken on netbsd-6 branch that I cannot
configure ant X card. What is wrong with Xorg -configure?
Resolved: Just running startx or xdm works, which means Xorg is fine
without a config file. But I need to adjust minor things
with the above file installed:
http://ftp.espci.fr/shadow/x/Xorg-run.log
I cannot beleive Xorg is so broken on netbsd-6 branch that I cannot
configure ant X card. What is wrong with Xorg -configure?
--
Emmanuel Dreyfus
m...@netbsd.org
Hi
I have a NFS server that exhibit a high load (20-30) when supporting
about 30 clients, while there is no apparent bottleneck: low disck
activity, CPU idle most of the time, plenty of available RAM.
Of course service is crapy, with many timouts. Any hint of what can be
going on?
--
Emmanuel
On Tue, Sep 17, 2013 at 12:54:59PM +, Emmanuel Dreyfus wrote:
I have a NFS server that exhibit a high load (20-30) when supporting
about 30 clients, while there is no apparent bottleneck: low disck
activity, CPU idle most of the time, plenty of available RAM.
Of course service is crapy
Thor Lancelot Simon t...@panix.com wrote:
Indeed you may want reboot -n!
Does it make a difference with just reboot (without -n) if the
filesystem is mounted read-only?
--
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
m...@netbsd.org
by i386/x86/xen code.
What is the way around this problem?
--
Emmanuel Dreyfus
m...@netbsd.org
to install a newer libpciaccess from pkgsrc, without succes.
I get the same result with various PCI cards, wether being ATI radeon
or Matrox. The built in AGP card works fine with X.
Any hint?
--
Emmanuel Dreyfus
m...@netbsd.org
97 matches
Mail list logo