Hello,
after suspend from console (X not running) the laptop boots when pressing the
power button in sleep state. (I did not test with X.)
How can this be debugged or is it already clear from dmesg that resume from
suspend is not supported for this laptop?
Carsten
13)
ACPI: LPIT 0xC8F
> >Yes. I open the files, then do many mmap->munmap in a loop (for large
> >files--I don't map the whole file at once), then use futimes then close.
>
> Can't you use fsync() then?
But fsync also does an immediate physical write and hence blocks the process.
But msync with MS_ASYNC seems to do t
Greg Troxel wrote:
> My first question is always: What does POSIX say?
POSIX says:
"The last data modification and last file status change timestamps of a file
that is mapped with MAP_SHARED and PROT_WRITE shall be marked for update at
some point in the interval between a write reference to t
Eduardo Horvath wrote:
> Is the file descriptor still open at the time of the munmap?
Yes. I open the files, then do many mmap->munmap in a loop (for large files--I
don't map the whole file at once), then use futimes then close.
Carsten
chris...@astron.com (Christos Zoulas) wrote:
> How often should it be updated?
Only once on munmap? If it is updated at an unpredictable time it makes
something like utime(2) senseless (since it is changed anyway). Always use
msync is a performance issue for e.g. "cp -p ..." (so I think cp(1)
Brett Lymn wrote:
> Try using msync with the invalidate option, that should push the pages
> out to disk.
That works, thank you!
The msync does now block and hence slow down the application, but the sync is
an advantage in the special case I use it.
But in general a sync should not be mandator
Hello,
when I copy a file with mmap:
- open both files
- mmap both files
- copy with memcpy
- setting mtime with futimes
- close both files
the time is set correctly and stays correctly for several seconds. But when I
do a sync(1) the time is updated to the current time! Also when I first close
My reply mails did arrive in wrong order
> For normal use, always use shutdown(8) ("shutdown -p now" to power
> off the system as close to immediately as is consistent with a clean
> shutdown).
Oops, thank you, that's it! I can't test it now but this will solve the issue.
Thanks,
Carsten
> That happens when the seed is loaded, rndctl -L deletes the file when
> it extracts the seed from it (you really only want to use it once.)
> See rndctl(8)
Ok, then it's "random_seed start" that deletes it, that makes sense.
I'm using NetBSD-CURRENT amd64 from October 30th. So is your other ma
... random_seed start/stop works perfectly when called manually. So the
question is why it isn't called on shutdown (I always use "halt -p" to stop the
system, rarly I use "reboot").
Carsten
> Do you happen to have do_rcshutdown=NO in rc.conf ?
>
> random_seed needs the rc.d script to run at system shutdown to save the
> seed for the next boot. You wouldn't want the file just left there
> unchanged, or it would not be very random (after a while anyway...)
No, rcshutdown is only se
Hello,
during boot I always get the message "random_seed: /var/db/entropy-file: Not
present". random_seed is (of course) enabled in /etc/default/rc.conf. When I
type "/etc/rc.d/random_seed stop" the file /var/db/entropy-file is written and
found on the next boot. But later the file is delete
Hi,
amd64 port is missing in latest snapshots on
ftp://nyftp.netbsd.org/pub/NetBSD-daily/HEAD/
Is this due to a bug in the snaphost build?
--Carsten
Hi Travis and Joachim,
> If you're ok to download the full installation sets, e.g. you could use
> these ones:
>
> ftp://nyftp.netbsd.org/pub/NetBSD-daily/netbsd-7/201505031900Z/images/NetBSD
> -7.0_BETA-amd64-install.img.gz
> ftp://nyftp.netbsd.org/pub/NetBSD-daily/HEAD/201505041130Z/images/NetB
> On most machines it works to just dd the .iso to the usb stick.
Unfortunately it does not work on my machine. It does recognize the USB stick
as a floppy disk, then fails to boot it.
So again--could a boot.img could be provided e.g. for some mainstream ports
like amd64? Or a conversion script
Hello,
on ftp://nyftp.netbsd.org/pub/NetBSD-daily ISO images of snapshots (e.g. named
boot.iso) can be found. Would it be possible to also add something like
boot.img which can be copied to a USB stick? If one often installs new snaphots
on "bare metal" it is more comfortable to use a USB stick
Hello,
resume from suspend does not work on a DELL LATITUDE E6540
with NetBSD 7.99.9 (GENERIC.201504161510Z).
Independend of the value of hw.acpi.sleep.vbios the laptop
reboots on resume. dmesg is:
ACPI Display Output Device
acpiout1: brightness levels: [5-100]
acpiout2 at acpivga1 (DVI, 0x0302)
Hello,
I forgot to do "disklable -eI cgd1" after encryption. Now it works.
Hello,
if I encrypt a device with
cgdconfig -V re-enter cgd1 /dev/wd0e
then unconfigure it:
cgdconfig -u cgd1
and then try to decrypt it:
cgdconfig cgd1 /dev/wd0e
The password is not excepted. What can be the reason?
Carsten
Hello,
is it possible to use pkgin on CURRENT?
I did not find "pub/pkgsrc/packages/NetBSD/amd64/7.99.9".
Carsten
> Maybe it is
> http://gnats.netbsd.org/46483
>
> If you suspend from sysinst, what is in
> /etc/resolv.conf and in /targetroot/etc/resolv.conf ?
They both don't exist.
So I did use an IP address, then it works.
The problem then is to change the path to e.g.
pub/NetBSD-daily/HEAD/201504061010Z
Hello,
I try to install 201504051500Z/amd64/installation/cdrom/boot.iso. After network
config FTP install says:
ftp: Can't lookup 'ftp.netbsd.org:ftp': Temporary failure in name resolution
Name server is 8.8.8.8
Ping works. What can be the problem?
Carsten
22 matches
Mail list logo