Re: SMP kernels /w POLLING enabled - combination garbles(syncer?) console line message(s) on reboot



Steven Hartland wrote:
----- Original Message ----- From: "Chargen" <chargen@xxxxxxxxx>
To: <freebsd-current@xxxxxxxxxxx>
Sent: Saturday, January 26, 2008 4:36 AM
Subject: 7cur: SMP kernels /w POLLING enabled - combination garbles(syncer?) console line message(s) on reboot


7cur: SMP kernels /w POLLING enabled - combination garbles (syncer?) console
line message(s) on reboot

SMP kernel with POLLING enabled garbles one or more of the last lines in
console after issuing the {reboot} command

options DEVICE_POLLING
options HZ=1000

with or without sysctl -w kern.polling.enable=1 or sysctl -w
kern.polling.enable=0

The garbled lines are between 'shutting down bufdaemon' and 'all buffs
synced' (after 'bufdaemon', I presume these are the syncer, 'Syncing
disks, vnodes synced' lines)

I found it only reproducable with SMP /apic enabled kernel. Console messages
after issuing reboot on UP kernels with polling_enabled are readable.

Note: polling wasn't manually set on any device (tested on UP and SMP
kernels) e.g.: no ifconfig em0 polling


Funny you should say that. Noticed that last night when rebooting one of
our new 7.0 machines but assumed it was a one off remote console corruption.

Just tested this again and its not. So I can confirm the corruption here
on 7.0-PRERELEASE amd64 without polling.

It's harmless (actually a sign of increased concurrency); two threads are running printf concurrently. Add options PRINTF_BUFR_SIZE=[...] if you don't want to see this.

Kris
_______________________________________________
freebsd-current@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: SMP kernels /w POLLING enabled - combination garbles(syncer?) console line message(s) on reb
    ... Subject: 7cur: SMP kernels /w POLLING enabled - combination garblesconsole line messageon reboot ...
    (freebsd-current)
  • Re: CHKDSK errors
    ... They do ask for a reboot to run the test. ... These sometimes fix errors but ... to install the command console, ... from the files located on your disk: ...
    (microsoft.public.windowsxp.general)
  • Re: RedHat security
    ... > Nearly every time I set up a RedHat distribution ... If someone is physically at the console, ... any user can reboot the system. ... password on the BIOS, and a password for the boot loader to reduce this ease ...
    (comp.os.linux.security)
  • Re: RedHat security
    ... > Nearly every time I set up a RedHat distribution ... If someone is physically at the console, ... any user can reboot the system. ... password on the BIOS, and a password for the boot loader to reduce this ease ...
    (comp.os.linux.security)
  • Invalid inode and missing files
    ... the /nsr/logs/daemon.raw file to see what NetWorker was doing. ... the logical thing to do was reboot it, ... I tried doing a "df -k" at the console prompt. ... but when it got to /nsr it hung. ...
    (SunManagers)