Re: calendar (1) - patch to correct error description

2020-10-29 Thread Julian H. Stacey
Here's another 2 calendar errors, presumably cpp, that manifest in 12.2-STABLE,
that 9.2-RELEASE gets right.

Man calendar:
Empty lines and lines protected by the C commenting syntax
(/* ...  */) are ignored.

--- Input ~/.calendar/calendar
friday  fish
/*
 * Oct 21   AAA
 */
friday  and chips
---12.2-STABLE output
Oct 30* and chips
Oct 30  AAA
Oct 30* fish
Oct 31  AAA
---9.2-RELEASE output
Oct 30* and chips
Oct 30* fish
---

Error 1:Why does it emit AAA ?
Error 2:Why twice ?
Puzzle: Doesnt happen if you change Oct above to Aug inside the comment.

(PS both do a nasty stack unstack, which may look familiar to us
programmers, but looks silly to normal peopler, inverting fish & chips)

Cheers,
-- 
Julian Stacey, Consultant Sys. Eng. BSD Linux Unix, http://berklix.com/jhs/cv/
Crash Brexit profits financial speculators in cabinet damaging Britain.
UK stole 3.7 million votes from Brits abroad 700 K in EU http://stolenvotes.uk
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: calendar (1) - patch to correct error description

2020-10-28 Thread Julian H. Stacey
Hi Stefan
> Am 28.10.20 um 13:02 schrieb Julian H. Stacey:
> > man calendar states:
> >"The calendar internal cpp does not correctly do #ifndef and will discard
> >the rest of the file if a #ifndef is triggered."
> > That is wrong, as proved by test file:
> > ---
> > // Test data for ~/.calendar/calendar
> > *   bla0
> > #ifdef DEBUG1
> > * 28bla1
> > #endif
> > #ifdef DEBUG2
> > * 28bla2
> > #endif
> > #ifndef DEBUG3
> > * 28bla3
> > #endif
> > #define DEBUG4 TRUE
> > #ifndef DEBUG4
> > * 28bla4
> > #endif
> > * 28bla5
> > ---
> > Produces:
> > ---
> > Oct 28  bla5
> > Oct 28  bla4
> > Oct 28  bla3
> > Oct 28  bla2
> > Oct 28  bla1
> > ---
> > Correction:
> >The calendar internal cpp ignores directives #ifdef , #ifndef and #endif 
> > ,
> >and simply including intervening text regardless.
> 
> Hi Julian,
> 
> no, the calendar program worked as documented, see the BUGS section of
> the man-page:
> 
> .Sh BUGS
> The
> .Nm
> internal cpp does not correctly do #ifndef and will discard the rest-of 
> the file if a #ifndef is triggered.-It also has a maximum of 50 include 
> file and/or 100 #defines and only recognises #include, #define and
> #ifndef.

Ah OK, here's 2 test cases
---Ex 1
* 29bla1
#ifndef RAINEY
* 29bla4
#endif
* 29bla5
--- Ex 2
* 29bla1
#define RAINEY YES
#ifndef RAINEY
* 29bla4
#endif
* 29bla5
---

They both produce:
---
Oct 29  bla5
Oct 29  bla4
Oct 29  bla1
---
Where manual misleads with:
"internal cpp ... will discard the rest-of the file if a
#ifndef is triggered"
Triggered or not, that #ifndef to cpp seems not discard rest of file.


> There is no mention of #ifdef being supported ...

OK, I just assumed that would be supported if #ifndef was.


> And your "#ifndef DEBUG4" did not trigger, since the whole line after
> #define is used as the identifier, in your case "DEBUG4 TRUE".

There lies the problem, Thanks !
Nasty, I dont recall anything called cpp aka C Pre Processor ever being
that limited, back to 1983 on a C compiler that ran on CP/M,
where masses of other C things were broken.  Best that calendar
not call it cpp at all, as name misleads.

OK, tested with
---
* 29bla1
#define RAINEY
#ifndef RAINEY
* 29bla4
#endif
* 29bla5
---
& got
---
Oct 29  bla5
Oct 29  bla1
---
& finaly in this special case current manual correctly reports a bug.


> This is not obvious from reading the man-page and it might be more
> intuitive, if the identifier was only the word up to the first blank,

Yes

> but the code in the calendar program does just strip off leading and 
> trailing white-space. It might be too late to change this behavior.

Hopefully not too late. 
Either way, Ameliorations:
- Do a global edit in manual from "cpp" to "pre-processor"
  to remove expectation of similarity to cpp.
- Define in manual exactly how the pre-processor handles defines.


> I have updated the code in -CURRENT to support #ifdef (MFC in 3 days)

Nice 


> and I plan to add supported for nested conditions in -CURRENT 

Nice


> (not
> sure whether that should be merged to -STABLE, though).

Probably yes ?


> I could change the #define and #if/ifndef to only consider the first
> following word, but do not plan to do that at this time.

Would be good if you did, silently swallowing space seperated text
as extended name of a define instead of value of define, is not
intuitive, At least document if you have no time to change it please ?

Fixing documenting & extanding a pp in calendar could become like
re-inventing the wheel ?  As a cpp is in src/ & not ports, can't
calendar use popen(/usr/bin/cpp) & save work ?  Looks like there's
enough work to do in main calendar without extra work of a custom
pre processor ?

Thanks for copy of your reply to Greg Balfour's off list mail, ref
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205580
which notes:
"This patch is against 11.4-RELEASE.  Note that it requires
the installation of the devel/tradcpp port/package."

I agree your policy point, FreeBSD can't use a port as dependency
to build calendar, while calendar is still build by src/ world.  (&
not just for Free, but Net & Open BSD etc will have similiar views
I presume)

I don't know which cpp's from where might have been looked at in the past,

> Regards, STefan

Thanks !

Cheers,
-- 
Julian Stacey, Consultant Sys. Eng. BSD Linux Unix, http://berklix.com/jhs/cv/
Crash Brexit profits financial speculators in cabinet damaging Britain.
UK stole 3.7 million votes from Brits abroad 700 K in EU http://stolenvotes.uk
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


calendar (1) - patch to correct error description

2020-10-28 Thread Julian H. Stacey
man calendar states:
  "The calendar internal cpp does not correctly do #ifndef and will discard
  the rest of the file if a #ifndef is triggered."
That is wrong, as proved by test file:
---
// Test data for ~/.calendar/calendar 
*   bla0
#ifdef DEBUG1
* 28bla1
#endif
#ifdef DEBUG2
* 28bla2
#endif
#ifndef DEBUG3
* 28bla3
#endif
#define DEBUG4 TRUE
#ifndef DEBUG4
* 28bla4
#endif
* 28bla5
---
Produces:
---
Oct 28  bla5
Oct 28  bla4
Oct 28  bla3
Oct 28  bla2
Oct 28  bla1
---
Correction:
  The calendar internal cpp ignores directives #ifdef , #ifndef and #endif ,
  and simply including intervening text regardless.
Patch built Wed Oct 28 12:39:27 CET 2020
on .ctm_status src-12 914 .svn_revision 366896 :
---
http://www.berklix.com/~jhs/src/bsd/fixes/freebsd/src/gen/usr.bin/calendar/calendar.1.ifdef.REL=12.2-STABLE.diff
*** 12.2-STABLE/src/usr.bin/calendar/calendar.1 Wed Oct 21 01:14:23 2020
--- new-generic/src/usr.bin/calendar/calendar.1 Wed Oct 28 12:33:12 2020
***
*** 323,330 
  .Sh BUGS
  The
  .Nm
! internal cpp does not correctly do #ifndef and will discard the rest
! of the file if a #ifndef is triggered.
  It also has a maximum of 50 include file and/or 100 #defines
  and only recognises #include, #define and
  #ifndef.
--- 323,330 
  .Sh BUGS
  The
  .Nm
! internal cpp ignores directives #ifdef , #ifndef and #endif ,
! and simply including intervening text regardless.
  It also has a maximum of 50 include file and/or 100 #defines
  and only recognises #include, #define and
  #ifndef.
---

Later I could file this with send-pr, but before that I'm chasing
another calendar cpp error (maybe which cpp is used may need to be
considered, & that might reflect into discussion of which cpp used
on which BSDs)

Cheers,
-- 
Julian Stacey, Consultant Sys. Eng. BSD Linux Unix, http://berklix.com/jhs/cv/
Crash Brexit profits financial speculators in cabinet damaging Britain.
UK stole 3.7 million votes from Brits abroad 700 K in EU http://stolenvotes.uk
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


/sys/modules fail when built by src.conf MODULES_WITH_WORLD="YES"

2019-06-18 Thread Julian H. Stacey
Hi stable@,
In  12.0-STABLE .svn_revision 349133 .ctm_status src-12 318
4 /sys/modules/ efirt iflib nvdimm tpm 
all fail when built by src.conf MODULES_WITH_WORLD="YES"

Can someon confirm please ? : cd /sys/modules ; make -i ; make -i

In current I reported similar (but just 1 module (sdio), not 4)
https://lists.freebsd.org/pipermail/freebsd-current/2019-June/073602.html

Same cause I presume:
MODULES_WITH_WORLD is off by default, so if commiters to /sys fail to 
assert MODULES_WITH_WORLD="YES" they wont detect breaking modules.

To stop breaking /sys/modules FreeBSD could enable MODULES_WITH_WORLD by
default, & leave those who want a faster compile to turn it off.

Compare how out of date your modules are compared with your kernel :
cd /boot ; ls -l modules ; ls -l kernel/kernel

Cheers,
Julian
-- 
Julian Stacey, Consultant Systems Engineer, BSD Linux Unix, Munich Aachen Kent
 Brexit ref. stole votes from 700,000 Brits in EU; 1.9 M young, more remainers
 had no vote; 1.3 M old mostly leavers died.  Advert lies paid by noses in the
 trough; some foreign funders fined. New referendum now! http://stolenvotes.uk
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: FreeBSD flood of 8 breakage announcements in 3 mins.

2019-05-15 Thread Julian H. Stacey
Thanks Will,
You make some good points, but all depend on variant circustances.

I prefer to be informed ASAP, to make my own decisons with max info ASAP,
Not delayed.  I want freebsd.org to Not Delay fix announcements into batches.

If other admins want to delay being told told to do upgrades until
there's lots more to consider & upgrade, they can dummy the delay
their receive end, just filtering announcements into their own
special box they read once per period.

As soon as exploits are in the wild, some will exploit,
not announcing until binary updates are ready gives black hats more time.


>  Whatever other negative things you can say about them, I don't hear 
> enterprise admins begging that Microsoft/Oracle/whoever would dribble out 
> patches one at a time each week instead of combining them like they do; it 
> seems like it works just fine for everyone else.

MS make lots of money from the addicted cluless, despite MS loosers
frequently complain eg that PCs are locked up again in mid auto
update & owner can't shut down to catch a plane or train. MS servers
I avoid like the plague.

PS Here seems (*) an example of something in text config didnt even
need to wait for src/ let alone bin. * Not sure, I'll try it later,
got to dash off line.

https://lists.freebsd.org/pipermail/freebsd-announce/2019-May/001878.html
] IV.  Workaround
] Use 'restrict noquery' in the ntpd configuration to limit addresses that
] can send mode 6 queries.

Cheers,
Julian
-- 
Julian Stacey, Consultant Systems Engineer, BSD Linux Unix, Munich Aachen Kent
 http://stolenvotes.uk  Brexit ref. stole votes from 700,000 Brits in EU.
 Lies bought; Groups fined; 1.9 M young had no vote, 1.3 M old leavers died.
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: FreeBSD flood of 8 breakage announcements in 3 mins.

2019-05-15 Thread Julian H. Stacey
Kurt Jaeger wrote:
> Hi!
> 
> > > > Alternative is to for announcers to do Less work: 
> > > > Send each announcement when ready.
> 
> > > The problem is not the announcement, the problem is providing
> > > the freebsd-update.
> 
> > > If announcements are send when ready, and the freebsd-update is
> > > not ready, therefore, the timeframes to attack systems with unpatched
> > > problems are much longer.
> 
> > True as far as that goes for binary users, but often source patches
> > are available faster, which begs the question: when to announce ?
> > When there's diffs ? When diffs are commited to src/ (used to be the norm 
> > *) ?
> > When there's some binary update ? 
> > Whne a whole bunch of 8 arrive in 3 minutes ? Gasp !
> 
> Now I understand why you bring this up.
> 
> I guess the majority of users are using the binary update path.

Hmm, a distinct possibility, that could be a problem delaying announcements.

> Maybe re@ can explain how the process is for these steps ?

I assumed re@ (periodicaly overworked team who presumably collapse
in appreciated exhaustion after valuable work rolling releases),
were [largely] different people?

Cheers,
Julian
-- 
Julian Stacey, Consultant Systems Engineer, BSD Linux Unix, Munich Aachen Kent
 http://stolenvotes.uk  Brexit ref. stole votes from 700,000 Brits in EU.
 Lies bought; Groups fined; 1.9 M young had no vote, 1.3 M old leavers died.
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: FreeBSD flood of 8 breakage announcements in 3 mins.

2019-05-15 Thread Julian H. Stacey
Hi, Reference:
> From: Kurt Jaeger 
> Date: Wed, 15 May 2019 17:38:36 +0200

Kurt Jaeger wrote:
> Hi!
> 
> > > > PR headline : "FreeBSD flood of 8 breakage announcements in 3 mins."
> > > > 
> > > > https://lists.freebsd.org/pipermail/freebsd-announce/2019-May/date.html
> > > > 
> > > > Volunteers who contribute actual fixes are very much appreciated;
> > > > But those styled as 'management' who delay announcements to batch floods
> > > > damage us.
> > > 
> > > 8 announcements and one freebsd-update is easier on the
> > > admin and the re-team than 8 announcements and 8 freebsd-update runs.
> > > 
> > > That's probably why they are batched. Because all of the fixes
> > > are bundled in one update.
> > > 
> > > If the re-team-capacity is limited, what would be the alternative?
> 
> > Alternative is to for announcers to do Less work: 
> > Send each announcement when ready.
> 
> The problem is not the announcement, the problem is providing
> the freebsd-update.
> 
> If announcements are send when ready, and the freebsd-update is
> not ready, therefore, the timeframes to attack systems with unpatched
> problems are much longer.

True as far as that goes for binary users, but often source patches
are available faster, which begs the question: when to announce ?
When there's diffs ? When diffs are commited to src/ (used to be the norm *) ?
When there's some binary update ? 
Whne a whole bunch of 8 arrive in 3 minutes ? Gasp !

* I happen to use src/ never use freebsd-update.
Equally bound to be some who use binary updates & not source

Cheers,
Julian
-- 
Julian Stacey, Consultant Systems Engineer, BSD Linux Unix, Munich Aachen Kent
 http://stolenvotes.uk  Brexit ref. stole votes from 700,000 Brits in EU.
 Lies bought; Groups fined; 1.9 M young had no vote, 1.3 M old leavers died.
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: FreeBSD flood of 8 breakage announcements in 3 mins.

2019-05-15 Thread Julian H. Stacey
Hi, Reference:
> From: Alan Somers 
> Date: Wed, 15 May 2019 08:32:26 -0600

Alan Somers wrote:
> On Wed, May 15, 2019 at 8:26 AM Julian H. Stacey  wrote:
> >
> > Hi core@,
> > cc hackers@ & stable@
> >
> > PR headline : "FreeBSD flood of 8 breakage announcements in 3 mins."
> >
> > https://lists.freebsd.org/pipermail/freebsd-announce/2019-May/date.html
> >
> > Volunteers who contribute actual fixes are very much appreciated;
> > But those styled as 'management' who delay announcements to batch floods
> > damage us. As they've previously refused to stop, it's time to sack them.
> >
> > Just send each announcement out when ready, no delays to batch them.
> > No sys admins can deal with 8 in 3 mins:
> >   Especially on multiple systems & releases.  Recipients start
> >   mitigating, then more flood in, & need review which are
> >   most urgent to interrupt to;  While also avoiding sudden upgrades
> >   to many servers & releases, to minimise disturbing server users,
> >   bosses & customers.
> >
> > Cheers,
> > Julian
> > --
> > Julian Stacey, Consultant Systems Engineer, BSD Linux Unix, Munich Aachen 
> > Kent
> >  http://stolenvotes.uk  Brexit ref. stole votes from 700,000 Brits in EU.
> >  Lies bought; Groups fined; 1.9 M young had no vote, 1.3 M old leavers died.
> 
> I disagree, Julian.  I think SAs are easier to deal with when they're
> batched.  True, I can't fix the first one in less than 3 minutes.  But
> then I probably wouldn't even notice it that fast.  Batching them all
> together means fewer updates and reboots.

Batching also means some of these vulnerabilities could have been 
fixed earlier & less of a surge of demand on recipient admins time.

An admin can find time to ameliorate 1 bug, not 8 suddenly together.
Avoidance is called planning ahead. Giving warning of a workload.
Like an admin plans ahead & announces an outage schedule for planned upgrade.

Suddenly dumping 8 on admins causes overload on admin manpower.
8 reason for users to approach admin in parallel & say
"FreeBSD seems riddled, how long will all the sudden unplanned
 outages take ?  Should we just dump it ?"
Dont want negative PR & lack of management.

Cheers,
Julian
-- 
Julian Stacey, Consultant Systems Engineer, BSD Linux Unix, Munich Aachen Kent
 http://stolenvotes.uk  Brexit ref. stole votes from 700,000 Brits in EU.
 Lies bought; Groups fined; 1.9 M young had no vote, 1.3 M old leavers died.
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: FreeBSD flood of 8 breakage announcements in 3 mins.

2019-05-15 Thread Julian H. Stacey
Kurt Jaeger wrote:
> Hi!
> 
> > PR headline : "FreeBSD flood of 8 breakage announcements in 3 mins."
> > 
> > https://lists.freebsd.org/pipermail/freebsd-announce/2019-May/date.html
> > 
> > Volunteers who contribute actual fixes are very much appreciated;
> > But those styled as 'management' who delay announcements to batch floods
> > damage us.
> 
> 8 announcements and one freebsd-update is easier on the
> admin and the re-team than 8 announcements and 8 freebsd-update runs.
> 
> That's probably why they are batched. Because all of the fixes
> are bundled in one update.
> 
> If the re-team-capacity is limited, what would be the alternative?

Alternative is to for announcers to do Less work: 
Send each announcement when ready.
Do not do extra work delaying, storing, batch announcing.
Announcements to recipients not delayed, without flooding.

> 
> -- 
> p...@opsec.eu+49 171 3101372One year to go !
> 

Cheers,
Julian
-- 
Julian Stacey, Consultant Systems Engineer, BSD Linux Unix, Munich Aachen Kent
 http://stolenvotes.uk  Brexit ref. stole votes from 700,000 Brits in EU.
 Lies bought; Groups fined; 1.9 M young had no vote, 1.3 M old leavers died.
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


FreeBSD flood of 8 breakage announcements in 3 mins.

2019-05-15 Thread Julian H. Stacey
Hi core@,
cc hackers@ & stable@

PR headline : "FreeBSD flood of 8 breakage announcements in 3 mins."

https://lists.freebsd.org/pipermail/freebsd-announce/2019-May/date.html

Volunteers who contribute actual fixes are very much appreciated;
But those styled as 'management' who delay announcements to batch floods
damage us. As they've previously refused to stop, it's time to sack them.

Just send each announcement out when ready, no delays to batch them.
No sys admins can deal with 8 in 3 mins:
  Especially on multiple systems & releases.  Recipients start
  mitigating, then more flood in, & need review which are
  most urgent to interrupt to;  While also avoiding sudden upgrades
  to many servers & releases, to minimise disturbing server users,
  bosses & customers.

Cheers,
Julian
-- 
Julian Stacey, Consultant Systems Engineer, BSD Linux Unix, Munich Aachen Kent
 http://stolenvotes.uk  Brexit ref. stole votes from 700,000 Brits in EU.
 Lies bought; Groups fined; 1.9 M young had no vote, 1.3 M old leavers died.
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: ZFS...

2019-05-02 Thread Julian H. Stacey
Hi, Reference:
> From: "N.J. Mann" 
> Date: Thu, 02 May 2019 18:18:16 +0100

"N.J. Mann" wrote:
> Hi,
> 
> 
> On Friday, May 03, 2019 03:00:05 +1000 Michelle Sullivan  
> wrote:
> >>> I am sorry to hear about your loss of data, but where does the 11kV come 
> >>> from?
> >>> I can understand 415V, i.e. two phases in contact, but the type of 
> >>> overhead
> >>> lines in the pictures you reference are three phase each typically 240V to
> >>> neutral and 415V between two phases.
> >>> 
> >> Bottom lines on the power pole are normal 240/415 .. top lines are the 
> >> 11KV distribution network.
> > 
> > Oh and just so you know,  it’s sorta impossible to get 415 down a 240v 
> > connection
> 
> No it is not.  As I said, if two phases come into contact you can have 415v 
> between
> live and neutral.

With 3 phase:
- 415 between each of the 3 live phases
- 240 between neutral & the 3 live phases
(To visualise: draw a circle of radius 12 cm, mark off dots on circle at
 120 degrees. measure between dots: 20.75cm, Neutral is compass hole in paper )

PS UK/Britain was nominal 240V, but EU inc UK is now nominal 230V +10%/-6%
https://en.wikipedia.org/wiki/Mains_electricity#Standardisation

Cheers,
Julian
-- 
Julian Stacey, Consultant Systems Engineer, BSD Linux Unix, Munich Aachen Kent
 http://stolenvotes.uk  Brexit ref. stole votes from 700,000 Brits in EU.
 Lies bought; Campaigns fined; 1.9 M young had no vote, 1.3 M old leavers dead.
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: Bug reports.

2019-01-25 Thread Julian H. Stacey
> This is Shayne I seen your links and would like to be on your mailing list
> Im a user of freebsd-stable

Hi, Join here https://lists.freebsd.org/mailman/listinfo/freebsd-stable

Cheers,
Julian
-- 
Julian Stacey, Consultant Systems Engineer, BSD Linux Unix, Munich Aachen Kent
 1st referendum Stole 700,000 votes from British in EU, 3.7 million globally,
 1.9 M too young to vote, 1.3 M died, mostly leavers.  Fraud, fines & lies.
 Honest Ref. Now !  Revoke Art. 50 for now to buy time to plan to avoid chaos.
http://exitbrexit.uk/#email_your_mp
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: FCP-0101: Deprecating most 10/100 Ethernet drivers

2018-10-24 Thread Julian H. Stacey
"Rodney W. Grimes" wrote:
> We could add that once the document is submitted to core
> any change to it between submitting and vote by core requires
> core to be involved, even if it is simply an ack of a change
> has been made to what was submitted.

Yes !

Cheers,
Julian
-- 
Julian Stacey, Computer Consultant, Systems Engineer, BSD Linux Unix, Munich.
 Brexit referendum stole 3,700,000 Brits votes abroad, inc. 700,000 in EU.
 Campaign lies, criminal funding, economy & pound down. Time for an honest ref.
http://exitbrexit.ukhttps://www.peoples-vote.uk/petition
https://eci.ec.europa.eu/002/public/#/initiative
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: FCP-0101: Deprecating most 10/100 Ethernet drivers

2018-10-23 Thread Julian H. Stacey
Hi, Reference:
> From: Brooks Davis 
> Date: Tue, 23 Oct 2018 22:10:37 +

Brooks Davis wrote:
> 
> --lrZ03NoBR/3+SXJZ
> Content-Type: text/plain; charset=us-ascii
> Content-Disposition: inline
> Content-Transfer-Encoding: quoted-printable
> 
> On Tue, Oct 23, 2018 at 11:33:35PM +0200, Julian H. Stacey wrote:
> > > I'd also suggest that rl stands in stark contrast to the cs, wb, sn, sm=
> c,
> > > sf, tl, tx and vr drivers, which nobody has mentioned in this thread, a=
> nd
> > > which I doubt are in use in any FreeBSD system of any age today.
> >=20
> > vr is used by my TV driver laptop:
> > http://www.berklix.com/~jhs/hardware/laptops/novatech-8355/
> > vr0: flags=3D8843 metric 0 mtu 15=
> 00
> > options=3D82808
> > ether 00:40:d0:5e:26:38
> > inet 192.168.91.65 netmask 0xff00 broadcast 192.168.91.255
> > media: Ethernet autoselect (100baseTX  pause,txpause>)
> > status: active
> >=20
> > Which currently runs 8.4-RELEASE & eg xrandr, but I'll upgrade soon
> > when I also configure it to receive from a raspberry-pi TV VPN server.
> 
> The above was a typo.  vr is on the the STAY list.

Great, Thanks.

Cheers,
Julian
-- 
Julian Stacey, Computer Consultant, Systems Engineer, BSD Linux Unix, Munich.
 Brexit referendum stole 3,700,000 Brits votes abroad, inc. 700,000 in EU.
 Campaign lies, criminal funding, economy & pound down. Time for an honest ref.
http://exitbrexit.ukhttps://www.peoples-vote.uk/petition
https://eci.ec.europa.eu/002/public/#/initiative
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: FCP-0101: Deprecating most 10/100 Ethernet drivers

2018-10-23 Thread Julian H. Stacey
Doug Hardie wrote:
> I have a number of production servers that only have bge and I don't see that 
> listed in either category.  None of them are running FreeBSD 12 yet as it has 
> not been released.  Also there are some with rl.  Those are add-on boards so 
> they could be changed, but would require extensive effort as the machines are 
> about a 4 hour drive from here and would require reconfiguration (an error 
> prone process when you are tired).

bge is also used by my main laptop with current Oct 15 18:33 /boot/kernel/kernel

bge0: flags=8843 metric 0 mtu 1500

options=c019b
media: Ethernet autoselect (1000baseT )

Doug, I think bge must be safe as man 4 bge:
"bge - Broadcom BCM57xx/BCM590x Gigabit/Fast Ethernet driver"
& Brooks proposal was ... "a plan to deprecate most 10/100 Ethernet drivers"

Cheers,
Julian
-- 
Julian Stacey, Computer Consultant, Systems Engineer, BSD Linux Unix, Munich.
 Brexit referendum stole 3,700,000 Brits votes abroad, inc. 700,000 in EU.
 Campaign lies, criminal funding, economy & pound down. Time for an honest ref.
http://exitbrexit.ukhttps://www.peoples-vote.uk/petition
https://eci.ec.europa.eu/002/public/#/initiative
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: FCP-0101: Deprecating most 10/100 Ethernet drivers

2018-10-23 Thread Julian H. Stacey
> I'd also suggest that rl stands in stark contrast to the cs, wb, sn, smc,
> sf, tl, tx and vr drivers, which nobody has mentioned in this thread, and
> which I doubt are in use in any FreeBSD system of any age today.

vr is used by my TV driver laptop:
http://www.berklix.com/~jhs/hardware/laptops/novatech-8355/
vr0: flags=8843 metric 0 mtu 1500
options=82808
ether 00:40:d0:5e:26:38
inet 192.168.91.65 netmask 0xff00 broadcast 192.168.91.255
media: Ethernet autoselect (100baseTX 
)
status: active

Which currently runs 8.4-RELEASE & eg xrandr, but I'll upgrade soon
when I also configure it to receive from a raspberry-pi TV VPN server.

Cheers,
Julian
-- 
Julian Stacey, Computer Consultant, Systems Engineer, BSD Linux Unix, Munich.
 Brexit referendum stole 3,700,000 Brits votes abroad, inc. 700,000 in EU.
 Campaign lies, criminal funding, economy & pound down. Time for an honest ref.
http://exitbrexit.ukhttps://www.peoples-vote.uk/petition
https://eci.ec.europa.eu/002/public/#/initiative
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: FCP-0101: Deprecating most 10/100 Ethernet drivers

2018-10-05 Thread Julian H. Stacey
Thanks for the reply warner,

Warner Losh wrote:
> On Fri, Oct 5, 2018 at 8:46 AM Julian H. Stacey  wrote:
> 
> > > >>> Please direct replies to freebsd-arch <<<
> > >
> > > FCP-01010 (https://github.com/freebsd/fcp/blob/master/fcp-0101.md)
> > > outlines a plan to deprecate most 10/100 Ethernet drivers in FreeBSD 12
> > > and remove them in FreeBSD 13 to reduce the burden of maintaining and
> > > improving the network stack.  We have discussed this within the
> > > core team and intend to move forward as proposed.  We are solictiting
> > > feedback on the list of drivers to be excepted from removal.
> > >
> > > The current list of drivers slated for REMOVAL is:
> > >
> > > ae, bfe, bm, cs, dme, ed, ep, ex, fe, pcn, rl, sf, smc, sn,
> > > ste, tl, tx, txp, vx, wb, xe
> >
> > I have many hosts using ed & rl, several using ep, & at least one
> > using xe or ex.  That's just from memory, maybe other drivers in peril.
> >
> 
> Later in the thread rl was removed from the list.

That's a partial relief.


> What systems are you running ed, ex and/or xe on? So far I've heard no
> reports of people using the latter two in about a decade.

I can look more later, but for a quick partial reply:
I keep an incomplete ad hoc occasionaly/rarely updated list of logs,
useful for odd questions such as this, so I can run quick checks

cd ~/tech/log/dmesg ;grep ed0: * */* | grep port # ... vi
dual film flip lapn loft slim wind
cd ~/tech/log/ifconfig ; grep ed0: * */*
dual film flip lapl loft park rain snow wall wind

cd ~/tech/log/dmesg ;grep xe0: * */*
lapd lapo
cd ~/tech/log/ifconfig ; grep xe0: * */*
nothing

cd ~/tech/log/dmesg ;grep ex0: * */*
nothing
cd ~/tech/log/ifconfig ; grep ex0: * */*
nothing

Hosts above are custom PCs no model numbers, but these are standard laptops:
 xe: lapd: Digital HiNote Ultra2000 
http://www.berklix.com/~jhs/hardware/digital/
 ed: lapl: Toshiba Libretto 70CT
http://www.berklix.com/~jhs/hardware/toshiba/libretto/
 ed: lapn: Dell Latitude XPi P133ST 
http://berklix.com/~jhs/hardware/laptops/dell_latitude_xpi_p133st
 xe: lapo: Novatech (MiTAC) 8355
http://www.berklix.com/~jhs/hardware/laptops/novatech-8355/

( PS ed0 is also used by Hewlett Packard Network ScanJet 5 a multi sheet
feeder with FreeBSD built inside, however that's stuck on a seriously
old release, still a great device though - http://berklix.com/scanjet/ )

PS My master kernel config from pre 4.11 to current:
http://www.berklix.com/~jhs/src/bsd/fixes/FreeBSD/src/jhs/sys/amd64/conf/HOLZ

So quick summary:
ex: I dont seem to use
ed: I use on many of my hosts, not just those above, & I have some 
spare 
to stick in to any PCI or ISA box I work on if needed.
ed & xe I also have on pcmcia & cardbus, so they move around between 
laptops.


> Unless the functionality of drivers is sub-sumed in to other drivers,
> > stripping all those drivers would motivate some to never upgrade
> > again, or dump FreeBSD for a more conservative BSD, or fork FreeBSD etc.
> >
> 
> You could also create a port/pkg for them and assume the burden of
> maintenance yourself.

Didn't know drivers could be farmed out to ports/, sounds like a
recipe for breakage sooner or later.


> > Stripping dead code helps developers play easier, but stripping
> > live code is offensive.  Some who periodicaly propose code demolitions
> > forget that many users of FreeBSD don't subscribe lists, except
> > maybe announce, as too busy, maintaining FreeBSD on networks ...
> > until their nets don't work.
> >
> 
> I think in this case there will be plenty of warning. They will upgrade to
> 12, one assumes, and see the deprecation message in their new kernel logs.
> There's going to be about a 6 month window between when this is announced
> and when it happens to collect evidence that removal is unwarranted, to
> show they are still in use by enough people to justify their on-going (yes
> non-zero) cost to keep in the tree. There's over 2 years before they will
> be removed from a released version: also plenty of time to build a case
> that they are in use and/or upgrade to different, supported NICs. If you
> look at the rest of the thread, you'll see several people have made
> compelling cases and/or provided evidence of continued use into the future
> to keep the drivers in the tree. Evidence will save them, but harsh words
> will not.
> 
> I think expecting people to blindly maintain code on the off chance someone
> is still using is offensive as well. We must weigh the costs of continuing
> with the benefits those cost provide. We don't have good s

Re: FCP-0101: Deprecating most 10/100 Ethernet drivers

2018-10-05 Thread Julian H. Stacey
> >>> Please direct replies to freebsd-arch <<<
> 
> FCP-01010 (https://github.com/freebsd/fcp/blob/master/fcp-0101.md)
> outlines a plan to deprecate most 10/100 Ethernet drivers in FreeBSD 12
> and remove them in FreeBSD 13 to reduce the burden of maintaining and
> improving the network stack.  We have discussed this within the
> core team and intend to move forward as proposed.  We are solictiting
> feedback on the list of drivers to be excepted from removal.
> 
> The current list of drivers slated for REMOVAL is:
> 
> ae, bfe, bm, cs, dme, ed, ep, ex, fe, pcn, rl, sf, smc, sn,
> ste, tl, tx, txp, vx, wb, xe

I have many hosts using ed & rl, several using ep, & at least one
using xe or ex.  That's just from memory, maybe other drivers in peril.

Unless the functionality of drivers is sub-sumed in to other drivers,
stripping all those drivers would motivate some to never upgrade
again, or dump FreeBSD for a more conservative BSD, or fork FreeBSD etc.

Stripping dead code helps developers play easier, but stripping
live code is offensive.  Some who periodicaly propose code demolitions
forget that many users of FreeBSD don't subscribe lists, except
maybe announce, as too busy, maintaining FreeBSD on networks ...
until their nets don't work.

Cheers,
Julian
-- 
Julian Stacey, Computer Consultant, Systems Engineer, BSD Linux Unix, Munich
 Brexit: 3,700,000 stolen votes in 1st referendum inc. 700,000 from Brits in EU
 Campaign lies & criminal funding, economy & pound down: New referendum needed.
http://exitbrexit.uk
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: FreeBSD 11.2-RC1 Now Available

2018-06-03 Thread Julian H. Stacey
George Mitchell wrote:
> 
> On 06/01/18 21:31, Glen Barber wrote:
> > [...]
> > If you would like to use SVN to do a source based update of an existing=
> 
> > system, use the "stable/11" branch.
> > [...]
> 
> So what's releng/11.2, chopped liver?  -- George

"Chopped liver" ... American colloquialism ... might mean "not useful" ?
( Asking for those who learnt English in eg China, Romania, ... & England ;-) )

Cheers,
Julian
-- 
Julian Stacey, Computer Consultant, Systems Engineer, BSD Linux Unix, Munich
 Brexit Referendum stole 3,700,000 votes, inc. 700,000 from British in EU.
 UK Govt. lied it's "democratic" in Article 50 letter to EU paragraph 3.
Petition for votes: http://berklix.eu/queen/
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: memory leak in Init 10.3-STABLE .svn_revision 304147 ?

2018-03-03 Thread Julian H. Stacey
Hi, Reference:
> From: Eugene Grosbein <eu...@grosbein.net>
> Date: Sat, 3 Mar 2018 23:48:42 +0700

Eugene Grosbein wrote:
> 03.03.2018 23:33, Julian H. Stacey wrote:
> 
> > Eugene Grosbein wrote:
> >> 03.03.2018 23:11, Julian H. Stacey wrote:
> >>
> >>> Oops!  I got Subject & body wrong s/inetd/init/ !
> >>>
> >>> Was:memory leak in inetd 10.3-STABLE .svn_revision 304147 ?
> >>> Should be:  memory leak in init 10.3-STABLE .svn_revision 304147 ?
> >>
> >> There is no evidence that /sbin/init has memory leak (nor inetd), what 
> >> makes you think so?
> > 
> > I got back about 500M of wap after kill -HUP 1
> 
> There may be plenty of reasons for that apart from init's "memory leak"
> and init does not even show in the top. Please share your /etc/ttys file.

console noneunknown off secure
ttyv0   "/usr/libexec/getty Pc" xterm   on  secure
ttyv1   "/usr/libexec/getty Pc" xterm   on  secure
ttyv2   "/usr/libexec/getty Pc" xterm   on  secure
ttyv3   "/usr/libexec/getty Pc" xterm   off  secure
ttyv4   "/usr/libexec/getty Pc" xterm   off  secure
ttyv5   "/usr/libexec/getty Pc" xterm   off  secure
ttyv6   "/usr/libexec/getty Pc" xterm   off  secure
ttyv7   "/usr/libexec/getty Pc" xterm   off  secure
ttyv8   "/usr/local/bin/xdm -nodaemon"  xterm   off secure
ttyu0   "/usr/libexec/getty 3wire"  vt100   onifconsole secure
ttyu1   "/usr/libexec/getty 3wire"  vt100   onifconsole secure
ttyu2   "/usr/libexec/getty 3wire"  vt100   onifconsole secure
ttyu3   "/usr/libexec/getty 3wire"  vt100   onifconsole secure
dcons   "/usr/libexec/getty std.9600"   vt100   off secure

Cheers,
Julian
-- 
Julian Stacey, Computer Consultant, Systems Engineer, BSD Linux Unix, Munich
 Brexit Referendum stole 3,700,000 votes, inc. 700,000 from British in EU.
 UK Govt. lied it's "democratic" in Article 50 letter to EU paragraph 3.
Petition for votes: http://berklix.eu/queen/
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: memory leak in Init 10.3-STABLE .svn_revision 304147 ?

2018-03-03 Thread Julian H. Stacey
Eugene Grosbein wrote:
> 03.03.2018 23:11, Julian H. Stacey wrote:
> 
> > Oops!  I got Subject & body wrong s/inetd/init/ !
> > 
> > Was:memory leak in inetd 10.3-STABLE .svn_revision 304147 ?
> > Should be:  memory leak in init 10.3-STABLE .svn_revision 304147 ?
> 
> There is no evidence that /sbin/init has memory leak (nor inetd), what makes 
> you think so?

I got back about 500M of wap after kill -HUP 1


> Pleas show output of "top -ores -d1" command.

last pid: 57791;  load averages:  0.39,  0.52,  0.48   up 547+03:40:39 17:31:32
41 processes:  2 running, 39 sleeping
CPU: % user, % nice, % system, % interrupt, % idle
Mem: 32M Active, 1160M Inact, 388M Wired, 108K Cache, 212M Buf, 391M Free
Swap: 614M Total, 79M Used, 535M Free, 12% Inuse

  PID USERNAMETHR PRI NICE   SIZERES STATETIMEWCPU COMMAND
47677 bind  4  200 74956K 28088K kqread 231:10   0.00% named
35591 mailman   1  200   113M 18968K select  47:57   0.00% python2.
35590 mailman   1  200   112M 16120K select  50:09   0.00% python2.
35588 mailman   1  200   112M 15588K select  51:08   0.00% python2.
35592 mailman   1  200   108M 14928K select  51:53   0.00% python2.
  579 root  1  200 21900K 13812K select 867:23   0.00% ntpd
35593 mailman   1  200   107M 13564K select  50:30   0.00% python2.
35589 mailman   1  200   108M 13432K select  54:56   0.00% python2.
96114 root  1  200   101M 11388K select   8:20   0.00% vmtoolsd
35587 mailman   1  200   106M 10832K wait 0:01   0.00% python2.
57188 www   1  200   147M  9708K lockf0:01   0.00% httpd
57337 www   1  200   147M  9692K select   0:01   0.00% httpd
57335 www   1  200   147M  9672K lockf0:01   0.00% httpd
57616 www   1  200   147M  9660K select   0:00   0.00% httpd
57365 www   1  200   147M  9652K select   0:00   0.00% httpd
57613 www   1  200   147M  9648K kqread   0:00   0.00% httpd
78720 root  1  200   147M  9512K select   0:40   0.00% httpd



Cheers,
Julian
-- 
Julian Stacey, Computer Consultant, Systems Engineer, BSD Linux Unix, Munich
 Brexit Referendum stole 3,700,000 votes, inc. 700,000 from British in EU.
 UK Govt. lied it's "democratic" in Article 50 letter to EU paragraph 3.
Petition for votes: http://berklix.eu/queen/
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


memory leak in Init 10.3-STABLE .svn_revision 304147 ?

2018-03-03 Thread Julian H. Stacey
Oops!  I got Subject & body wrong s/inetd/init/ !

Was:memory leak in inetd 10.3-STABLE .svn_revision 304147 ?
Should be:  memory leak in init 10.3-STABLE .svn_revision 304147 ?

Hi sta...@freebsd.org

I think I have found a memory leak with init on 10.3-STABLE
(server runs in a VM); server ran out of swap.

top
Mem: 34M Active, 791M Inact, 387M Wired, 200K Cache, 212M Buf, 759M Free
Swap: 614M Total, 605M Used, 8744K Free, 98% Inuse

uptime
 4:47PM  up 544 days,  2:56, 2 users, load averages: 0.26, 0.30, 0.32

uname -a
FreeBSD slim.domain 10.3-STABLE FreeBSD 10.3-STABLE #0: Tue
Aug 16 18:09:22 CEST 2016
jhs@slim.domain:/usr/obj/usr/src/sys/GENERIC  amd64

First I just commented out a few trivial getty as a start, ran 
kill -HUP 1 and was surprised to get loads of swap back:
swapinfo
Device  1K-blocks UsedAvail Capacity
/dev/da0p3 62873681056   54768013%

( Before I ran `kill -9  541` after seeing this:
  PID USERNAMETHR PRI NICE   SIZERES STATETIMEWCPU COMMAND
  541 root  2  520   769M   103M select  28.4H   0.00% vmtoolsd
but it didn't gain me swap space, hence next the `kill -HUP 1`
which I had first avoided, as server is remote. 
Restarting vmtoolsd leaves swapinfo unchanged. )

top
CPU:  0.8% user,  0.0% nice,  3.1% system,  0.0% interrupt, 96.1% idle
Mem: 32M Active, 711M Inact, 383M Wired, 176K Cache, 216M Buf, 846M Free
Swap: 614M Total, 79M Used, 535M Free, 12% Inuse

/var/log/dmesg.today  858 x swap_pager_getswapspace

In case someone asks me to de specific debugging, that server has:
cd /usr/src
cat .svn_revision  304147
cat .ctm_status src-10 1304
Though I'm wary of a reboot with a debug kernel in case it hangs,
as it's a remote live server.

(So I guess an ideal world would have someone say
there used to be a leak but it was fixed long since.)

PS Below there's an intriguing "Swap: 32G",
presumably coming from hypervisor outside my server.

-
BEFORE
top
last pid: 91299;  load averages:  0.62,  0.68,  0.49  up 543+22:18:42
12:09:35
47 processes:  1 running, 46 sleeping

Mem: 34M Active, 791M Inact, 387M Wired, 200K Cache, 212M Buf, 759M Free
Swap: 614M Total, 605M Used, 8744K Free, 98% Inuse

  PID USERNAMETHR PRI NICE   SIZERES STATETIMEWCPU COMMAND
  541 root  2  520   769M   103M select  28.4H   0.00% vmtoolsd
  579 root  1  200 21900K 13812K select 862:04   0.00% ntpd
47677 bind  4  200 74956K 27996K kqread 227:10   0.00% named
  411 root  1  200 14524K  1708K select 124:23   0.00% syslogd
  313 root  1  200 13656K   536K select 121:22   0.00% devd
63839 root  1  200 51512K  4852K select  61:12   0.00% sendmail
35589 mailman   1  200   108M 13168K select  53:29   0.00% python2.
35592 mailman   1  200   108M 14852K select  50:27   0.00% python2.
35588 mailman   1  200   112M 15384K select  49:43   0.00% python2.
35593 mailman   1  200   107M 13344K select  49:10   0.00% python2.
35590 mailman   1  200   112M 15272K select  48:49   0.00% python2.
35591 mailman   1  200   113M 18564K select  46:37   0.00% python2.
  651 root  1  200 61316K  4116K select  17:21   0.00% sshd
  676 root  1  200 16624K  2228K nanslp  11:02   0.00% cron
63843 smmsp 1  200 26480K  4048K pause0:30   0.00% sendmail
35594 mailman   1  200   106M  5932K select   0:27   0.00% python2.
78594 root  1  200 16832K  2576K kqread   0:15   0.00% dovecot
78720 root  1  200   147M  9512K select   0:09   0.00% httpd

-

IMMEDIATELY BEFORE
last pid: 12063;  load averages:  0.02,  0.06,  0.07   up 360+17:30:09 12:05:23
23 processes:  1 running, 22 sleeping
CPU:  0.0% user,  0.0% nice,  0.1% system,  0.0% interrupt, 99.9% idle
Mem: 242M Active, 18G Inact, 12G Wired, 161M Cache, 240M Free
ARC: 8578M Total, 3785M MFU, 809M MRU, 59K Anon, 227M Header, 3758M Other
Swap: 32G Total, 200M Used, 32G Free

  PID USERNAME   THR PRI NICE   SIZERES STATE   C   TIMEWCPU COMMAN
97336 bind11  200   109M 30084K kqread  4  57:01   0.00% named
 1544 root 1  200 14536K   656K select  7  10:19   0.00% syslog
47145 root 1  200 41596K  3008K select  2   7:42   0.00% sendma
22566 root 1  200 16836K  1324K kqread  6   7:00   0.00% doveco
22567 root 1  200 21264K  1176K kqread  6   2:28   0.00% doveco
 1704 root 1  200 34636K   744K select  2   1:31   0.00% sshd
 6181 root 1  200   149M  7192K select  4   1:00   0.00% httpd
 1764 root 1  200 18752K   708K select  2   0:47   0.00% 

memory leak in inetd 10.3-STABLE .svn_revision 304147 ?

2018-03-01 Thread Julian H. Stacey
Hi sta...@freebsd.org

I think I have found a memory leak with inetd on 10.3-STABLE
(server runs in a VM); server ran out of swap.

top
Mem: 34M Active, 791M Inact, 387M Wired, 200K Cache, 212M Buf, 759M Free
Swap: 614M Total, 605M Used, 8744K Free, 98% Inuse

uptime
 4:47PM  up 544 days,  2:56, 2 users, load averages: 0.26, 0.30, 0.32

uname -a
FreeBSD slim.domain 10.3-STABLE FreeBSD 10.3-STABLE #0: Tue
Aug 16 18:09:22 CEST 2016
jhs@slim.domain:/usr/obj/usr/src/sys/GENERIC  amd64

First I just commented out a few trivial getty as a start, ran 
kill -HUP 1 and was surprised to get loads of swap back:
swapinfo
Device  1K-blocks UsedAvail Capacity
/dev/da0p3 62873681056   54768013%

( Before I ran `kill -9  541` after seeing this:
  PID USERNAMETHR PRI NICE   SIZERES STATETIMEWCPU COMMAND
  541 root  2  520   769M   103M select  28.4H   0.00% vmtoolsd
but it didn't gain me swap space, hence next the `kill -HUP 1`
which I had first avoided, as server is remote. 
Restarting vmtoolsd leaves swapinfo unchanged. )

top
CPU:  0.8% user,  0.0% nice,  3.1% system,  0.0% interrupt, 96.1% idle
Mem: 32M Active, 711M Inact, 383M Wired, 176K Cache, 216M Buf, 846M Free
Swap: 614M Total, 79M Used, 535M Free, 12% Inuse

/var/log/dmesg.today  858 x swap_pager_getswapspace

In case someone asks me to de specific debugging, that server has:
cd /usr/src
cat .svn_revision  304147
cat .ctm_status src-10 1304
Though I'm wary of a reboot with a debug kernel in case it hangs,
as it's a remote live server.

(So I guess an ideal world would have someone say
there used to be a leak but it was fixed long since.)

PS Below there's an intriguing "Swap: 32G",
presumably coming from hypervisor outside my server.

-
BEFORE
top
last pid: 91299;  load averages:  0.62,  0.68,  0.49  up 543+22:18:42
12:09:35
47 processes:  1 running, 46 sleeping

Mem: 34M Active, 791M Inact, 387M Wired, 200K Cache, 212M Buf, 759M Free
Swap: 614M Total, 605M Used, 8744K Free, 98% Inuse

  PID USERNAMETHR PRI NICE   SIZERES STATETIMEWCPU COMMAND
  541 root  2  520   769M   103M select  28.4H   0.00% vmtoolsd
  579 root  1  200 21900K 13812K select 862:04   0.00% ntpd
47677 bind  4  200 74956K 27996K kqread 227:10   0.00% named
  411 root  1  200 14524K  1708K select 124:23   0.00% syslogd
  313 root  1  200 13656K   536K select 121:22   0.00% devd
63839 root  1  200 51512K  4852K select  61:12   0.00% sendmail
35589 mailman   1  200   108M 13168K select  53:29   0.00% python2.
35592 mailman   1  200   108M 14852K select  50:27   0.00% python2.
35588 mailman   1  200   112M 15384K select  49:43   0.00% python2.
35593 mailman   1  200   107M 13344K select  49:10   0.00% python2.
35590 mailman   1  200   112M 15272K select  48:49   0.00% python2.
35591 mailman   1  200   113M 18564K select  46:37   0.00% python2.
  651 root  1  200 61316K  4116K select  17:21   0.00% sshd
  676 root  1  200 16624K  2228K nanslp  11:02   0.00% cron
63843 smmsp 1  200 26480K  4048K pause0:30   0.00% sendmail
35594 mailman   1  200   106M  5932K select   0:27   0.00% python2.
78594 root  1  200 16832K  2576K kqread   0:15   0.00% dovecot
78720 root  1  200   147M  9512K select   0:09   0.00% httpd

-

IMMEDIATELY BEFORE
last pid: 12063;  load averages:  0.02,  0.06,  0.07   up 360+17:30:09 12:05:23
23 processes:  1 running, 22 sleeping
CPU:  0.0% user,  0.0% nice,  0.1% system,  0.0% interrupt, 99.9% idle
Mem: 242M Active, 18G Inact, 12G Wired, 161M Cache, 240M Free
ARC: 8578M Total, 3785M MFU, 809M MRU, 59K Anon, 227M Header, 3758M Other
Swap: 32G Total, 200M Used, 32G Free

  PID USERNAME   THR PRI NICE   SIZERES STATE   C   TIMEWCPU COMMAN
97336 bind11  200   109M 30084K kqread  4  57:01   0.00% named
 1544 root 1  200 14536K   656K select  7  10:19   0.00% syslog
47145 root 1  200 41596K  3008K select  2   7:42   0.00% sendma
22566 root 1  200 16836K  1324K kqread  6   7:00   0.00% doveco
22567 root 1  200 21264K  1176K kqread  6   2:28   0.00% doveco
 1704 root 1  200 34636K   744K select  2   1:31   0.00% sshd
 6181 root 1  200   149M  7192K select  4   1:00   0.00% httpd
 1764 root 1  200 18752K   708K select  2   0:47   0.00% inetd
 1749 root 1  200 16632K   468K nanslp  2   0:39   0.00% cron
47148 smmsp1  200 29096K  2148K pause   2   0:02   0.00% sendma
11064 www  1 

Re: omitting make installkernel in an upgarde between 2 x 10-stable

2016-09-09 Thread Julian H. Stacey
> > From:   "Julian H. Stacey" <j...@berklix.com>
> > Date:   Sun, 04 Sep 2016 13:37:26 +0200
> 
> "Julian H. Stacey" wrote:
> > Hi stable@ people
> > In a jail,  uname -r 10.3-RELEASE-p4, I started 
> > cd /usr/src ; make buildworld,
> > then realised per
> >   https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html
> > I will not be able to 
> > make installkernel ; reboot 
> > preceeding
> > make installworld
> > Am I on route to shooting myself in the foot ?
> 
> It survived. No shot foot :-)

Thanks to all for all replies
Matt S, Miroslav L, David W, Warren B, Jakub(off list) :-)

Cheers,
Julian
--
Julian Stacey, BSD Linux Unix Sys Eng Consultant Munich
 Reply below, Prefix '> '. Plain text, No .doc, base64, HTML, quoted-printable.
 http://berklix.eu/brexit/#stolen_votes
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: omitting make installkernel in an upgarde between 2 x 10-stable

2016-09-04 Thread Julian H. Stacey
Hi, Reference:
> From:     "Julian H. Stacey" <j...@berklix.com>
> Date: Sun, 04 Sep 2016 13:37:26 +0200

"Julian H. Stacey" wrote:
> Hi stable@ people
> In a jail,  uname -r 10.3-RELEASE-p4, I started 
>   cd /usr/src ; make buildworld,
> then realised per
>   https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html
> I will not be able to 
>   make installkernel ; reboot 
> preceeding
>   make installworld
> Am I on route to shooting myself in the foot ?

It survived. No shot foot :-)

Cheers,
Julian
--
Julian Stacey, BSD Linux Unix Sys Eng Consultant Munich
 Reply below, Prefix '> '. Plain text, No .doc, base64, HTML, quoted-printable.
 http://berklix.eu/brexit/#stolen_votes
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


omitting make installkernel in an upgarde between 2 x 10-stable

2016-09-04 Thread Julian H. Stacey
Hi stable@ people
In a jail,  uname -r 10.3-RELEASE-p4, I started 
cd /usr/src ; make buildworld,
then realised per
  https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html
I will not be able to 
make installkernel ; reboot 
preceeding
make installworld
Am I on route to shooting myself in the foot ?
It's a live server BTW though I'm admin of all, & lightly loaded.

Cheers,
Julian
-- 
Julian Stacey, BSD Linux Unix Sys Eng Consultant Munich
 Reply below, Prefix '> '. Plain text, No .doc, base64, HTML, quoted-printable.
 http://berklix.eu/brexit/#stolen_votes
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: Auto-mounting USB NTFS formatted devices on FreeBSD 10.2 and HEAD

2016-01-25 Thread Julian H. Stacey
Kevin Oberman wrote:
> Since the removal of NTFS support, it is unclear how to get USB drives
> formatted as NTFS (or ExFAT) to automatically mount. Prior to FreeBSD 10 it
> was possible to replace /sbin/mount_ntfs with a script that would generate
> appropriate options and exec /usr/local/sbin/ntfs-3g and let HAL fire up
> mount_ntfs, but that no longer works as mount_ntfs is no longer used and
> mount(8) no longer treats '-t ntfs' as special.
> 
> It would appear that automount(8) would be the right magic, but it's not
> obvious to me how to configure it to recognize that an NTFS device has been
> connected to a USB port (as opposed to msdosfs) and to use ntfs-3g to do
> the actual mount. I assume that the same issue exists for ExFAT.
> 
> Does anyone have an idea of what magic is required in the auto_master or
> elsewhere to make this work in conjunction with devd? I'd really like to
> avid using hald, if possible.

I use devd to auto mount USB NTFS, I just it works with 10.2-RELEASE
& an NTFS USB connected drive, here's a chunk from my

http://www.berklix.com/~jhs/src/bsd/fixes/FreeBSD/src/jhs/etc/devd/berklix.conf

   action  "sleep 10; \
 rm -f /devusb/acer300; \
 ln -s /dev/`echo $device-name|sed -e s/umass/da/`s1 \
/devusb/acer300.1; \
 ln -s /dev/`echo $device-name|sed -e s/umass/da/`s2 \
/devusb/acer300.2; \
 ln -s /dev/`echo $device-name|sed -e s/umass/da/`s3 \
/devusb/acer300.3; \
 mkdir -p /media/acer300.2; mkdir -p /media/acer300.3; \
 chmod 777 /media/acer300.*; \
 chown jhs:staff /media/acer300.*; \
 ntfsfix /devusb/acer300.2 ; \
 ntfs-3g -o ro /devusb/acer300.2 /media/acer300.2;  \
 ntfsfix /devusb/acer300.3 ; \
 ntfs-3g -o ro /devusb/acer300.3 /media/acer300.3" ;

Now I'll read man 8 automount & other people's alternate solutions
on the thread :-)

Cheers,
Julian
--
Julian Stacey,  BSD Linux Unix Sys. Eng. Consultant Munich http://berklix.eu
 Mail plain text,  No quoted-printable, HTML, base64, MS.doc.
 Prefix old lines '> '  Reply below old, like play script.  Break lines by 80.
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: fat32 question

2015-09-20 Thread Julian H. Stacey
Tomoaki AOKI wrote:
> According to "Real Hardware Gotchas" section in [1], FAT32 fs creation
> of FreeBSD seems to have some problems.
> 
> Try formatting by the hardware you're going to transfer files from
> FreeBSD, if available. Once formatted by other OS, read/write/delete
> files in FAT32 formatted media would be OK with FreeBSD.
> 
> If not, and if the file you want to transfer is small enough, partition
> the media and use FAT16. (The safest maximum is 32MB, but maybe under
> 2GB would be OK.)
> 
> [1] https://wiki.freebsd.org/UEFI

Zoran, re Brandon's "won't understand it any more."
Dont despair & discard stick, you can rebuild the MBR: man fdisk
from memory start with fdisk -i -B /dev/da0 

sometimes I then remove & reinsert or even reboot, to make certain
the OS has the new numbers.  I don't recall I've needed to reduce
from FAT32 to FAT16.

Ive not read the uefi page as happily no boxes are uefi here,
but I've often created FAT32 partitions, my notes at
http://www.berklix.com/~jhs/src/bsd/fixes/FreeBSD/src/jhs/etc/devd/berklix.conf

The advice about letting the other native MS FAT device format if it will,
is quickest solution though.

PS Max size of FAT32 = 2TB
https://en.wikipedia.org/wiki/File_Allocation_Table#FAT32

> 
> 
> On Sun, 20 Sep 2015 06:55:19 +0200
> Zoran Kolic  wrote:
> 
> > I have a device to which I'd like to connect otg cable
> > and insert 16gb usb stick. Tried "newfs_msdos -F32 /dev/da0".
> > Mounted, copied files. The device does not see the file
> > system at all.
> > Any idea what to do further? Another option might be extfs.
> > Best regards
> > 
> >   Zoran




Cheers,
Julian
--
Julian Stacey, BSD Linux Unix C Sys Eng Consultant Munich http://berklix.com
 Reply after previous text, like a play - Not before, which looses context.
 Indent previous text with "> " Insert new lines before 80 chars.
 Send plain text, Not quoted-printable, Not HTML, Not ms.doc, Not base64.
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: [SOLVED] Re: Shutdown problem with an USB memory stick as ZFS cache device

2013-07-17 Thread Julian H. Stacey
Maurizio Vairani wrote:
 On 17/07/2013 11:50, Ronald Klop wrote:
  On Wed, 17 Jul 2013 10:27:09 +0200, Maurizio Vairani 
  maurizio.vair...@cloverinformatica.it wrote:
 
  Hi all,
 
 
  on a Compaq Presario laptop I have just installed the latest stable
 
 
  #uname -a
 
  FreeBSD presario 9.2-PRERELEASE FreeBSD 9.2-PRERELEASE #0: Tue Jul 16 
  16:32:39 CEST 2013 root@presario:/usr/obj/usr/src/sys/GENERIC  amd64
 
 
  For speed up the compilation I have added to the pool, tank0,  a 
  SanDisk memory stick as cache device with the command:
 
 
  # zpool add tank0 cache /dev/da0
 
 
  But when I shutdown the laptop the process will halt with this screen 
  shot:
 
 
  http://www.dump-it.fr/freebsd-screen-shot/2f9169f18c7c77e52e873580f9c2d4bf.jpg.html
   
 
 
 
  and I need to press the power button for more than 4 seconds to 
  switch off the laptop.
 
  The problem is always reproducible.
 
  Does sysctl hw.usb.no_shutdown_wait=1 help?
 
  Ronald.
 Thank you Ronald it works !
 
 In /boot/loader.conf added the line
 hw.usb.no_shutdown_wait=1
 
 Maurizio

I wonder (from ignorance as I dont use ZFS yet),
if that merely masks the symptom or cures the fault ?

Presumably one should use a ZFS command to disassociate whatever
might have the cache open ?  (in case something might need to be
written out from cache, if it was a writeable cache ?)

I too had a USB shutdown problem (non ZFS, now solved)  several people
made useful comments on shutdown scripts etc, so I'm cross referencing:

http://lists.freebsd.org/pipermail/freebsd-mobile/2013-July/012803.html

Cheers,
Julian
-- 
Julian Stacey, BSD Unix Linux C Sys Eng Consultant, Munich http://berklix.com
 Reply below not above, like a play script.  Indent old text with  .
 Send plain text.  No quoted-printable, HTML, base64, multipart/alternative.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: captive Portal Pfsense + FreeRadius + MySQL DBMS

2012-12-12 Thread Julian H. Stacey
Amitabh Kant wrote:
 On Wed, Dec 12, 2012 at 3:14 PM, Shiv. Nath
 prabh...@digital-infotech.netwrote:
 
 
  Dear Friends Greetings,
 
  i have a question for you, i am sure someone can help. The pfsense captive
  portal is up and running. Time countdown vouchers are working without
  issue, such as 30m, 45m, 1h  so on.
 
  However, I'd like to set up a download quota of 200MB per voucher. but
  then you need to login with a username and password, instead of vouchers.
  but I haven't found a way to generate username  password when generating
  vouchers. is there someone who managed to get this working? At the moment
  vouchers are only for time based login.
 
  any clue, little information or document reference would be greatly
  appreciated.
 
  Thanks / Prabhpal S.
 
 
 This is a question that will best answered on either pfSense mailing list
 or their online forums.

 original poster already posted to l...@lists.pfsense.org 
Cross posted (Ugh!) twice (Ugh!) from 2 different addresses
at 07:13:24 - (08:13 CET)  09:44:27 - (10:44 CET)
to l...@lists.pfsense.org, freebsd-stable@freebsd.org
  l...@lists.pfsense.org is described as pfSense support and discussion by
http://lists.pfsense.org/mailman/listinfo/

 If you need to ask freebsd, use freebsd-general
 mailing list

A non existant list name.

 where someone might have an idea.
 Amitabh

There is no freebsd-gene...@freebsd.org
http://lists.freebsd.org/mailman/listinfo
Includes:
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
http://lists.freebsd.org/mailman/listinfo/freebsd-pf
freebsd-stable@freebsd.org is fairly general, though
freebsd-hack...@freebsd.org is more general.

Cheers,
Julian
-- 
Julian Stacey, BSD Unix Linux C Sys Eng Consultant, Munich http://berklix.com
 Reply below not above, like a play script.  Indent old text with  .
 Send plain text. Not: HTML, multipart/alternative, base64, quoted-printable.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: Will we get a RELEASE-9.1 for Christmas?

2012-12-12 Thread Julian H. Stacey
Hi,
Reference:
 From: Ronald Klop ronald-freeb...@klop.yi.org 
 Date: Tue, 11 Dec 2012 17:38:13 +0100 
 Message-id:   op.wo5u5zxq8527sy@ronaldradial.versatec.local 

Ronald Klop wrote:
 On Tue, 11 Dec 2012 17:18:44 +0100, Mark Saad nones...@longcount.org  
 wrote:
 
  So what is the short summary ?
 
 The short summary is that nobody knows. The people who can know anything  
 don't say much more than it's ready when it's ready


Cos theyre doubtless working full time on it  no time to answer inanne noise.

 and the rest of the  
 people guess from information from various e-mails and other sources which  
 reliability can be doubted.

Only stuff I count is URLs.


 cynicalAnd the last few days people are saying that you have to donate  
 to the freebsd foundation if you want a release or better information.  
 ;-)/cynical

Last paragraph completely False. 

Cheers,
Julian
-- 
Julian Stacey, BSD Unix Linux C Sys Eng Consultant, Munich http://berklix.com
 Reply below not above, like a play script.  Indent old text with  .
 Send plain text. Not: HTML, multipart/alternative, base64, quoted-printable.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: Will we get a RELEASE-9.1 for Christmas?

2012-12-12 Thread Julian H. Stacey
A.J. 'Fonz' van Werven wrote:

 Christmas comes early this year: there hasn't been an official announce-
 ment yet and perhaps not all mirrors have synced yet, but I've seen the
 ISOs on the NL mirror, so it looks like 9.1-RELEASE is out now.

Yup, ftp2.de.freebsd.org also has i386  amd64, (I didnt look for other cpus)

Cheers,
Julian
-- 
Julian Stacey, BSD Unix Linux C Sys Eng Consultant, Munich http://berklix.com
 Reply below not above, like a play script.  Indent old text with  .
 Send plain text. Not: HTML, multipart/alternative, base64, quoted-printable.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: Will we get a RELEASE-9.1 for Christmas?

2012-12-09 Thread Julian H. Stacey
Brett Glass wrote:
 At 07:42 AM 12/9/2012, Dimitry Andric wrote:
 
 It has nothing to do with clang; it is not the default compiler for 9.1,
 and will never be for the 9.x series.  Using it to compile your system
 (or ports) is entirely optional.
 
 I am actually eagerly awaiting a completely un-GNUed toolchain. But I am
 glad that this is not the holdup. I just need to plan my time so that I get
 a vacation SOMETIME this season and also keep my commitments. Alas, there
 have been no updates to the projected schedule or to the To Do list to
 help me out.
 
 --Brett Glass

Hi those eagerly awaiting,
Re-read Eitan's post of Sun, 9 Dec 2012 09:04:25 -0500 (15:04 CET)

Those with knowledge, time  enthusiasm can already build
their own 9.1-RELEASE from released public sources.  No longer need to wait.

As I wrote 3 local friends Fri, 07 Dec 2012 08:37:20 +0100
] In case you'r waiting to upgrade any production servers to latest release:
]  {
]  Although FreeBSD-9.1-RELEASE has not been announced yet, it's available:
]  in (ctm distributed) CVS tree (I admit I havent converted to use svn yet)
]   grep RELENG_9_1_0_RELEASE 
/pub/FreeBSD/development/FreeBSD-CVS/src/Makefile,v
]  I am exporting with
]   cvs -R export -r RELENG_9_1_0_RELEASE  src # du=867 M tgz=149 M
]  ports  doc have not been tagged yet, they will later be:
]   cvs -R export -r RELEASE_9_1_0 ports   # du=... M tgz=... M
]   cvs -R export -r RELEASE_9_1_0 doc 
]  
]  The .iso images are not in ftp.freebsd.org or eg ftp2.de.freebsd.org yet,
]( I havent bothered to look for packages as I dont use them, I always
]compile my own ports)
]  I assume the delay to announce release is 'cos they're still recovering 
]  from their security intrusion  still rebuilding packages after
]http://www.freebsd.org/news/2012-compromise.html
]  
]  freebsd.org also have sigbus issues with cvsup (affecting send-pr),
]  may also be slowing build cluster
]
http://lists.freebsd.org/pipermail/freebsd-hackers/2012-December/041352.html

Clue to a quick check with CVS is/was
grep RELENG_9_1_0_RELEASE /usr/cvs/src/Makefile,v
grep RELEASE_9_1_0 /usr/cvs/ports/Makefile,v
but as CVS is about to disappear, what's a quick check for svn ?

Compliments to re@ team who have doubtless been working very hard,
probably on a problematic cluster base.  Hopefully there'll be less
When ? questions that might distract re@, now people realise it's
tagged  you can build yourself if you're in a rush.

ports/ is also tagged  available:
From: Thomas Abthorpe portmgr-secret...@freebsd.org
Date: Sun, 9 Dec 2012 19:59:09 +
To: po...@freebsd.org
(though no tag for that yet in preceeding cvs-cur 19073 )

Those who want this lot must wait till announcement (a few days I guess)
  binaries compiled at freebsd.org
+ for all architectures, 
+ packages build on freebsd.org cluster
+ docs 
+ iso's built
+ all ftp'd from master server to mirror servers globaly
+ Release Notes written by re@ team who are doubtless
  tired,  working flat out ;-)
+ all of that work to be done on a freebsd cluster that was 
  compromised  needed to be checked before the relase rolled,

Cheers,
Julian
-- 
Julian Stacey, BSD Unix Linux C Sys Eng Consultant, Munich http://berklix.com
 Reply below not above, like a play script.  Indent old text with  .
 Send plain text. Not: HTML, multipart/alternative, base64, quoted-printable.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: ZFS corruption due to lack of space?

2012-11-12 Thread Julian H. Stacey
Peter Jeremy wrote:
 On 2012-Nov-02 09:30:04 -, Steven Hartland kill...@multiplay.co.uk wr=
 ote:
 From: Peter Jeremy pe...@rulingia.com
  Many years ago, I wrote a simple utility that fills a raw disk with
  a pseudo-random sequence and then verifies it.  This sort of tool
 
 Sounds useful, got a link?
 
 Sorry, no.  I never released it.  But writing something like it is
 quite easy.

I wrote

http://berklix.com/~jhs/src/bsd/jhs/bin/public/testblock/

There's no pseudo random, but sufficient for my media test needs,
There's a bunch of similar tools in ports/
(but I wrote mine before FreeBSD existed so I've never looked).

Cheers,
Julian
-- 
Julian Stacey, BSD Unix Linux C Sys Eng Consultant, Munich http://berklix.com
 Reply below not above, like a play script.  Indent old text with  .
 Send plain text. Not: HTML, multipart/alternative, base64, quoted-printable.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: Removing CVS from base

2012-08-24 Thread Julian H. Stacey
John Baldwin wrote:
 On Thursday, August 23, 2012 3:41:03 pm Peter Wemm wrote:
  * Don't expect to see any 10.0-alpha/beta/rc/release/stable to *ever*
  make it to an official cvs tree.  It's probably time to move a
  freebsd-ified cvs from head to ports.
 
 I think this is a bit premature.  Just because we are moving away from
 using CVS as FreeBSD's scm doesn't mean CVS isn't a useful
 general-purpose tool still.  For smaller repositories that don't need
 fancier things like branches, CVS is quite useful and far lighter weight.
 
 I could see moving csup out to ports, but not necessarily CVS.

Agreed.  Principle of least suprise.
CVS seems a standard Unix tool  source archive format,
something people from other Unix distribs might expect by default.
 ( Like SCCs once was, between the mists of PWB, forward  beyond
   a BSD-4.23 Symmetric 375 (ex Bill Jollitz of 386BSD)

For those of us that have [had to] work with lots of different Unix
flavours, it's a PITA having gratuitious extra UNIX variant
weirdnesses; (This missing here, that missing or renamed there etc).
No need to make standard FreeBSD base awkward for people
visiting from other Unixes.

To avoid making 7.4M of src/contrib/cvs We have WITHOUT_CVS in man src.conf.

Cheers,
Julian
-- 
Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com
 Reply below not above, cumulative like a play script,  indent with  .
 Format: Plain text. Not HTML, multipart/alternative, base64, quoted-printable.
 Mail from Yahoo  Hotmail to be dumped @Berklix.  http://berklix.org/yahoo/
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: t_delta too long / too short messages?

2012-08-21 Thread Julian H. Stacey
 t_delta 15.fe49d775fc69de00 too short
 t_delta 16.03698e84842065e0 too long

Hi Rainer,
I saw these on one of my old systems, I think it was a 7.4-rel laptop,
/* Dell Latitude XPi P133ST
 * http://berkli.com/~jhs/hardware/laptops/dell_latitude_xpi_p133st
 * CPU: Pentium/P54C (133.64-MHz 586-class CPU)
 * Origin = GenuineIntel Id = 0x52c Stepping = 12
 * Features=0x1bfFPU,VME,DE,PSE,TSC,MSR,MCE,CX8
 * real memory  = 58720256 (56 MB)
 * avail memory = 43507712 (41 MB)
 */
It didnt seem to stop the system running OK.
Maybe it's your VM running slow, ie a small % time slice,
or too big time slices between VMs ?
(PS sorry, I can't boot my system to look again, dead disk on it).

Cheers,
Julian
-- 
Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com
 Reply below not above, cumulative like a play script,  indent with  .
 Format: Plain text. Not HTML, multipart/alternative, base64, quoted-printable.
 Mail from Yahoo  Hotmail to be dumped @Berklix.  http://berklix.org/yahoo/
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: Heavy fs corruption with 9.0-RELEASE

2012-03-06 Thread Julian H. Stacey
Xin Li wrote:
 On 03/05/12 14:12, Arnaud Lacombe wrote:
  Hi,
  
  I've been running a couple of system with 9.0-RELEASE since it is
  out. All the system were installed through the standard
  installation procedure. After unclean reboot, either crash or
  power-failure, I get a huge amount of really bad filesystem
  corruption (read: silent, fs-wide, corruptions). This happens
  with either i386 or amd64 build. Systems involved use compact flash
  as their system permanent storage medium.
 [...]
  I do not see this behavior when running 9.0-RELEASE on top of a 
  7.4-RELEASE userland (including FS). I've seen this behavior on 
  various CF, so a single bad card is unlikely to be the culprit.

Various sizes  manufacturers of CF ?
Or merely CF from same source ?
If the latter, could be a batch fault.
Try CF cards from different manufacturers. 
Remember though manufacturers may detect batch faults  not sell them,
they may still be sold anyway !

  Criminals exist  mislabelling happens.  eg 2 tales:

My family once had a number of USB sticks, 1 each, (2 Gig each
costing 50 GBP (a lot of money, but not exorbitant then) at a
Sunday computer market in UK), most were faulty with BSD  MS,
I wondered if they might have been rejects from manufacturer,
scheduled for destruction,  some criminal might have `rescued'
them from the crusher,  sold them on.)

A German magazine (CT) reported on placebo cache chips some
years back, chips with pins but no silicon inside.


Cheers,
Julian
-- 
Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com
 Reply below not above, cumulative like a play script,  indent with  .
 Format: Plain text. Not HTML, multipart/alternative, base64, quoted-printable.
Mail from @yahoo dumped @berklix.  http://berklix.org/yahoo/
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: Heavy fs corruption with 9.0-RELEASE

2012-03-06 Thread Julian H. Stacey
Thierry Thomas wrote:
 Le mar  6 mar 12 à 10:41:16 +0100, Julian H. Stacey j...@berklix.com
  écrivait :
 
  A German magazine (CT) reported on placebo cache chips some
  years back, chips with pins but no silicon inside.
 
 This one is original, at least:
 http://www.facebook.com/photo.php?fbid=296226443776598set=a.133588036707107.25033.109123525820225type=1ref=nf
 
 (Sorry, it might require a FB account)

It does not require a facebook account.
I burst out laughing when I saw the pictures,
I reccomend others look,
Thanks Thierry for posting the URL :-)

Cheers,
Julian
-- 
Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com
 Reply below not above, cumulative like a play script,  indent with  .
 Format: Plain text. Not HTML, multipart/alternative, base64, quoted-printable.
Mail from @yahoo dumped @berklix.  http://berklix.org/yahoo/
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: recommendations for laptop and desktop

2011-07-14 Thread Julian H. Stacey
Zoran Kolic wrote:
  Zoran's comments that http://laptop.bsdgroup.de/freebsd/ is 'obsolete' 
  are a bit misplaced regarding older kit that some of us use by choice or 
  necessity (eg my 2.5 Thinkpad T23s :) 
 
 Sorry for the word chosen in this case. I use one even older
 lapper, HP nx9020, with real 4:3 screen, matte. I'm ready to
 write about it. The only problem is that it is not possible
 to find anymore. So, no use.

Theres a difference between  have / find / buy / receive a laptop ;-)
So it's still nice to docu. older hardware if they supports BSD,
because sometimes people get old laptops thrust upon them :-)
Here take this thing, I'm not using, I've heard you say BSD
 is more efficient than MS, so maybe'll get some use out of it
Then you get home with it  look it up on the web ... :-)

Cheers,
Julian
-- 
Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com
 Reply below, not above;  Indent with  ;  Cumulative like a play script.
 Format: Plain text. Not HTML, multipart/alternative, base64, quoted-printable.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: recommendations for laptop and desktop

2011-07-13 Thread Julian H. Stacey
 I agree that a wiki would be ideal, but it would require active management.
 That's the real issue.
 
 It's also the reason wiki.FreeBSD.org would not be practical. I might be
 able to admin such a wiki, but I have no place to put it.  But I'm retired,
 so I should have time.
 
 R. Kevin Oberman, Network Engineer
 Retired
 kob6...@gmail.com

You have time but no space ?  I have space but no time. So if you want,
I could install a wiki  turn it over to you to run.
I just set up DNS for http://wiki.berklix,org/laptops/
to a static web page till I put up a wiki
Next I need to decide which wiki stuff from ports to install.
Suggestions welcome.

However, maybe the team at
http://laptop.bsdgroup.de/freebsd/index.html?action=laptop_submit_form just
needs a bit of help upgrading their form  weeding / ordering their
database ?  ie start by adding 7.[34] 8.[0-2]  etc to form You could
ask them. BTW Axel Gruner on foot of that page by chance is in same
town as me, you could contact him  ask.

Alternatively there is http://wiki.freebsd.org
You could see if they'll give you space there.
I seem to recall it's for developers though, no docu.
so might be difficult to get access. Up to you.

Cheers,
Julian
-- 
Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com
 Reply below, not above;  Indent with  ;  Cumulative like a play script.
 Format: Plain text. Not HTML, multipart/alternative, base64, quoted-printable.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: recommendations for laptop and desktop

2011-07-13 Thread Julian H. Stacey
Vladimir Zorin wrote:
 On Wed, Jul 13, 2011 at 8:47 PM, Kevin Oberman kob6...@gmail.com wrote:
  On Jul 13, 2011 7:31 AM, Zoran Kolic zko...@sbb.rs wrote:
 
   There is this list for laptops:
   http://laptop.bsdgroup.de/freebsd/
 
  Been there. Seen that. Obsolete.
  My very idea would be to have recent models in some kind
  of wiki. I believe that at least hundred guys on the list
  could post quality articles on the subject regarding lap-
  tops they regurarly use.
 
   See the recent thread on the freebsd-mobile list with subject Laptop
  recommendations?
 
  Mostly older stuff recommended. Hard to find or I dislike
  what I see on the review for particular model.
  Thank you for answering my question.
 
                               Zoran
 
  I agree that a wiki would be ideal, but it would require active management.
  That's the real issue.
 
  It's also the reason wiki.FreeBSD.org would not be practical. I might be
  able to admin such a wiki, but I have no place to put it.  But I'm retired,
  so I should have time.
 
 I would gladly host such a wiki on my freebsd vds. It would be perfect
 though if it is not a php/perl/python/ruby-driven wiki =)
 But I suspect there are not that many fans of lua/ansi c solutions, so
 I guess I can tolerate php in a separate jail =)
 
 Best regards, Vladimir Zorin

Sounds like Vladimir's further ahead, re hosting in a jail, so Kevin
O, if you want to go ahead, sounds like Vladimitr can get you up
faster than I can.

I would suggest though, that whoever does it, we should try to
co-operate with the predecessor compatibility lists such as
http://laptop.bsdgroup.de/freebsd/ Probably all they really need
adding is some list by date last seen on sale in shops function,
+ maybe some wiki function.

Cheers,
Julian
-- 
Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com
 Reply below, not above;  Indent with  ;  Cumulative like a play script.
 Format: Plain text. Not HTML, multipart/alternative, base64, quoted-printable.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: NFS - DNS fail stops boot in mountlate

2011-01-07 Thread Julian H. Stacey
 I've seen a regression in 8 at work where NFS mounts seem to fail on DNS on 
 every boot (we have a small number of mounts,  10) whereas 7 worked fine on 
 every boot.  I haven't tracked it down yet, but 8 is certainly more fragile 
 than 7 for mounting NFS on boot.

/etc/defaults/rc.conf has   nfs_server_flags=-u -t -n 4

Once I had a server with example /etc/rc.conf -n 10 
 had problems when I added partions beyond eg 10 ...
so I suggest check rc.conf against fstab  /etc/exports

Cheers,
Julian
-- 
Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com
Mail plain text;  Not quoted-printable, or HTML or base 64.
Avoid top posting, it cripples itemised cumulative responses.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: NFS - DNS fail stops boot in mountlate

2011-01-07 Thread Julian H. Stacey
Hi,
Reference:
 From: John Baldwin j...@freebsd.org 
 Date: Fri, 7 Jan 2011 11:03:35 -0500 
 Message-id:   201101071103.35500@freebsd.org 

John Baldwin wrote:
 On Friday, January 07, 2011 10:29:22 am Julian H. Stacey wrote:
   I've seen a regression in 8 at work where NFS mounts seem to fail on DNS 
   on 
   every boot (we have a small number of mounts,  10) whereas 7 worked fine 
   on 
   every boot.  I haven't tracked it down yet, but 8 is certainly more 
   fragile 
   than 7 for mounting NFS on boot.
  
  /etc/defaults/rc.conf has   nfs_server_flags=-u -t -n 4
  
  Once I had a server with example /etc/rc.conf -n 10 
   had problems when I added partions beyond eg 10 ...
  so I suggest check rc.conf against fstab  /etc/exports
 
 That should not matter for establishing mounts.  Also, keep in mind that 7
 worked fine with the same settings.  In fact, I'm just booting an 8 kernel
 on the same 7 userland currently and it's only the 8 kernel that has the
 problem (a pure 8 system also has the same symptoms, so it's not a problem
 due to mixing a 7 world with 8 kernel).
 
 -- 
 John Baldwin


OK, I have no /etc/fstab direct invoked NFS mounts,
Just AMD  NFS invoked (on mixed net of Releases: 8,7,6,4
I guess my DNS has longer to start (or my AMD+NFS falls back
to other hosts already running DNS)
Good luck tracing it.

Cheers,
Julian
-- 
Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com
Mail plain text;  Not quoted-printable, or HTML or base 64.
Avoid top posting, it cripples itemised cumulative responses.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: www/chromium ignores proxy settings [SEC=UNCLASSIFIED]

2010-11-24 Thread Julian H. Stacey
Reference:
 From: Wilkinson, Alex alex.wilkin...@dsto.defence.gov.au 
 Date: Tue, 23 Nov 2010 15:04:42 +0800 

Wilkinson, Alex wrote:
 
 0n Mon, Nov 22, 2010 at 02:19:32PM +, Tom Evans wrote: 
 
 On Mon, Nov 22, 2010 at 2:00 PM, Alexander Logvinov a...@logvinov.com 
 wrote:
  ??Use ??chrome --proxy-server=http://proxy:3128/; :)
 That didn't work either, it would not even make any connections then.
 With '--proxy-server=proxy:3128' though, it works correctly!
 It would still be nice to be able to set these options in the right
 place in the gui, and have them work :)
 
 Try: --proxy-pac-url=http://proxy-server:port;
 
 Work for me.
 
-Alex

Man chrome:
--proxy-server=host:port
  Specify the HTTP/SOCKS4/SOCKS5 proxy server to use for requests.
  This overrides any environment variables or settings picked  via
  the  options  dialog.

--proxy-pac-url=URL
  Specify  proxy autoconfiguration URL.  Overrides any environment
  variables or settings picked via the options dialog.

These do not work here:
chrome --proxy-pac-url=http://gate:80;
chrome --proxy-pac-url=http://gate:80
Not suprising, I suppose the URL should not contain '' and perhaps
the URL should be some some auto config server hook I am not supplying.

Tom, This works here:
chrome --proxy-server=gate:80

My env:
8.0-RELEASE 
amd64 
chromium-6.0.472.63 from 
FreeBSD/branches/-current/ports/www/chromium
printenv | grep -i proxy
http_proxy=http://gate.js.berklix.net:80
all_proxy=http://gate.js.berklix.net
My proxy env vars are not being imported properly,
 setting on command line is ugly, but no time for more now,
possibly a bug/feature in chrome ? I never tried chrome before.

Cheers,
Julian
-- 
Julian Stacey: BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com
Mail plain text;  Not HTML, quoted-printable  base 64 spam formats.
Avoid top posting, it cripples itemised cumulative responses.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: www/chromium ignores proxy settings [SEC=UNCLASSIFIED]

2010-11-24 Thread Julian H. Stacey
 From: Jeremy Chadwick free...@jdc.parodius.com 

Jeremy Chadwick wrote:
 On Wed, Nov 24, 2010 at 11:51:13AM +0100, Julian H. Stacey wrote:
  Wilkinson, Alex wrote:
   
   0n Mon, Nov 22, 2010 at 02:19:32PM +, Tom Evans wrote: 
   
   On Mon, Nov 22, 2010 at 2:00 PM, Alexander Logvinov 
   a...@logvinov.com wrote:
??Use ??chrome --proxy-server=http://proxy:3128/; :)
   That didn't work either, it would not even make any connections then.
   With '--proxy-server=proxy:3128' though, it works correctly!
   It would still be nice to be able to set these options in the right
   place in the gui, and have them work :)
   
   Try: --proxy-pac-url=http://proxy-server:port;
   
   Work for me.
   
  -Alex
  
  Man chrome:
  --proxy-server=host:port
Specify the HTTP/SOCKS4/SOCKS5 proxy server to use for 
  requests.
This overrides any environment variables or settings picked  
  via
the  options  dialog.
  
  --proxy-pac-url=URL
Specify  proxy autoconfiguration URL.  Overrides any 
  environment
variables or settings picked via the options dialog.
  
  These do not work here:
  chrome --proxy-pac-url=http://gate:80;
  chrome --proxy-pac-url=http://gate:80
  Not suprising, I suppose the URL should not contain '' and perhaps
  the URL should be some some auto config server hook I am not supplying.
 
 Correct.  You need to reference a PAC file for the browser to
 read/parse: http://en.wikipedia.org/wiki/Proxy_auto-config

Thanks. I will read, but later.


 I can show you an example .pac file if you want; I use one to define
 what domain names my browser visits should be siphoned through a proxy
 (SSH tunnel to work) or directly via the Internet.

Sounds interesting/educational :-).


 If what you're looking for is an HTTP or HTTPS-based proxy, you should
 be using --proxy-server, specifying the FQDN or local hostname of the
 server and what TCP port the proxy daemon is configured to accept
 requests from (e.g. port 80, or port 3128 in most cases, ex. squid).
 
  printenv | grep -i proxy
  http_proxy=http://gate.js.berklix.net:80
  all_proxy=http://gate.js.berklix.net
  My proxy env vars are not being imported properly,
   setting on command line is ugly, but no time for more now,
  possibly a bug/feature in chrome ? I never tried chrome before.
 
 There is a very bad assumption being made here (so far by two people).
 
 There is absolutely nothing that requires or guarantees a piece of
 software will import or make use of *_proxy environment variables.  The
 software has to explicitly state it honours and respects these, and
 provide documentation stating what it expects the syntax to be.
 
 The only two pieces of software I've encountered which honours these is
 perl's LWP::UserAgent (and friends), and curl.

man 3 fetch

Notes from my .cshrc :
# man ftp:
#   http_proxy  URL of HTTP proxy to use when making HTTP URL requests
# Chimera:
#   all_proxy is default proxy host for all protocols
# Lynx: does not use all_proxy, does use http_proxy  ftp_proxy,
#also /etc/local/lynx.cfg Env vars take precedence.

 I imagine lynx and some other software honours them as well, but again,
 assuming software honours them (or properly parses them for that matter)
 isn't reasonable.
 
 Is there any confirmed documentation that Google Chrome honours and
 makes use of *_proxy environment variables?  I see some random Linux
 user forum posts claiming it does, but there's caveats to their use
 apparently (see post from disciple; X users will probably want to read
 this post):
 
 http://www.murga-linux.com/puppy/viewtopic.php?t=50196

There:
 disciple writes:
Google Chrome obeys the following environment variables: 
all_proxy 
Shorthand for specifying all of http_proxy, https_proxy,
ftp_proxy http_proxy, https_proxy, ftp_proxy The proxy
servers used for HTTP, HTTPS, and FTP. Note: because Gnome/KDE
proxy settings may propagate into these variables in some
terminals, this variable is ignored (in preference for
actual system proxy settings) when running under Gnome or
KDE. Use the command-line flags to set these when you want
to force their values.

(IMO Nasty, having host wide over-ride user pref; bug to fix bug is a bug.)

  A user (didik) suggests add a wrapper to provide env var.

Chrome uses a different syntax eg host:port
rather than http://host:port I'm familiar with on other tools above

Chrome is new, I guess we have to expect odd features initially If
anyone here knows chrome authors, or is a regular chrome user (I
am not) they're welcome to pass along a suggestion to both add a
wrapper  conform *_proxy syntax as per other pre-existing tools
eg fetch (3).

Cheers,
Julian
-- 
Julian Stacey: BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com
Mail

Re: Policy for removing working code

2010-09-10 Thread Julian H. Stacey
Vadim Goncharov wrote:
 Hi Scot Hetzel! 
 
 On Thu, 9 Sep 2010 04:18:52 -0500; Scot Hetzel wrote about 'Re: Policy for 
 removing working code':
 
  We can't e-mail announce@ every time something is going to
  be removed. šThat would be way too much spam for that list.
 
  That may depend on how often something substantial is removed :)
 
  I do think stable@ is a good place to e-mail ...
 
  Good, perhaps even necessary, but is it sufficient? šThose
  following a -STABLE branch are expected to read stable@, but
  what about those who are following a security branch?
 
  If someone is following a RELENG_X (a.k.a -STABLE) or a RELENG_X_Y (a
  errata fix branch), then they should be reading the stable@ list.
 
 True for RELENG_X, but not for RELENG_X_Y. They shouldn't, because all
 information for security/errata fix branch go to announce@, they don't
 need to read all noise in stable@ just for this. And, what is more important,
 they in fact don't do. So announce@ is the only choice from purely practical
 means.

One option could be a new list perhaps called eg one of
features@
advisories@
notifications@
feature-notifications@
to carry heads up notification of future feature changes / removals.
Its would be more traffic than
announce@
but much lower traffic than
stable@
FreeBSD already has the precedent of
security-notifications@

Cheers,
Julian
-- 
Julian Stacey: BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com
 Mail plain text,  Not HTML, quoted-printable  base 64 dumped with spam.
Avoid top posting, It cripples itemised cumulative responses.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: HEADS UP: FreeBSD 6.4 and 8.0 EoLs coming soon

2010-09-07 Thread Julian H. Stacey
 P.S. why is security@ in cc: ?


Original announcement:
 Message-id: 4c7e71dc.1040...@freebsd.org
 From: FreeBSD Security Officer cperc...@freebsd.org
 Date: Wed, 01 Sep 2010 08:31:40 -0700 (17:31 CEST)
 To: FreeBSD Stable freebsd-stable@freebsd.org,
   freebsd security freebsd-secur...@freebsd.org

All respondents (I happened to be first, Wed, 01 Sep 2010 18:09:33
+0200) retained stable@  security@

Wed, 01 Sep 2010 21:36:02 +0200 I added:
 i...@freebsd.org : I just re-subscribed (used to be on long ago)

Now it's know Hans Petter Selasky hsela...@c2i.net has a code
stack to try,   Robert Watson has posted it'd be welcome ... etc,
I guess its up to us ISDN users to install, try,  discuss on a new
thread on isdn@

Cheers,
Julian
-- 
Julian Stacey: BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com
 Mail plain text,  Not HTML, quoted-printable  base 64 dumped with spam.
Avoid top posting, It cripples itemised cumulative responses.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: HEADS UP: FreeBSD 6.4 and 8.0 EoLs coming soon

2010-09-01 Thread Julian H. Stacey
 On November 30th, FreeBSD 6.4 and FreeBSD 8.0 will have reached their

FreeBSD -7  -8 do not support ISDN I'm told. 
So 6.4 is the last working FreeBSD ISDN.

DSL is faster than ISDN, but
Losing ISDN would be unfortunate:
- Not all can get DSL speed, if they live far from phone exchange.
- ISDN allows one more security (caller ID comes from phone company),
  additional to whatever crypto keys/passwords.
- ISDN on the PC allows one to have Name (via lookup of number) of phone
  caller  which incoming destination number received call, show up on an
  X Term - I've had that with FreeBSD over 10+ years now :-) Could
  easily be hooked to a database springing up a a custome xterm
  according  to calling customer ID, called number  time of day
  (all being used to select which service info ) But if we drop ISDN ...!

Could FreeBSD reinsert ISDN back into current/8/7 support ?
Perhaps via:
- a student SOC project ?
- FreeBSD foundation paying a FreeBSD consultant (I know one who has the
  expertise already, has the time,  could use some money (I don't mean me,
   he didn't aske me to post this, it'll come as a suprise to him :-)
- Or whatever other method to get ISDN back in kernel ?

Cheers,
Julian
-- 
Julian Stacey: BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com
 Mail plain text,  Not HTML, quoted-printable  base 64 dumped with spam.
Avoid top posting, It cripples itemised cumulative responses.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: HEADS UP: FreeBSD 6.4 and 8.0 EoLs coming soon

2010-09-01 Thread Julian H. Stacey
 FreeBSD -7  -8 do not support ISDN I'm told. 
 So 6.4 is the last working FreeBSD ISDN.

 Could FreeBSD reinsert ISDN back into current/8/7 support ?
 Perhaps via:
 - a student SOC project ?
 - FreeBSD foundation paying a FreeBSD consultant (I know one who has the
   expertise already, has the time,  could use some money (I don't mean me,
he didn't aske me to post this, it'll come as a suprise to him :-)
 - Or whatever other method to get ISDN back in kernel ?

It seems code exists :-)

http://old.nabble.com/ISDN4BSD-on-8-current-td23919925.html
ISDN4BSD package has been updated to compile on FreeBSD
8-current

http://www.selasky.org/hans_petter/isdn4bsd/

Apparently needs massaging into main FreeBSD tree.

Cheers,
Julian
-- 
Julian Stacey: BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com
 Mail plain text,  Not HTML, quoted-printable  base 64 dumped with spam.
Avoid top posting, It cripples itemised cumulative responses.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: HEADS UP: FreeBSD 6.4 and 8.0 EoLs coming soon

2010-09-01 Thread Julian H. Stacey
Hans Petter Selasky wrote:
 On Wednesday 01 September 2010 18:53:46 Julian H. Stacey wrote:
   FreeBSD -7  -8 do not support ISDN I'm told.
   So 6.4 is the last working FreeBSD ISDN.
   
   Could FreeBSD reinsert ISDN back into current/8/7 support ?
   Perhaps via:
   - a student SOC project ?
   - FreeBSD foundation paying a FreeBSD consultant (I know one who has the
   
 expertise already, has the time,  could use some money (I don't mean
 me,  he didn't aske me to post this, it'll come as a suprise to him
 :-)
   
   - Or whatever other method to get ISDN back in kernel ?
  
  It seems code exists :-)
  
  http://old.nabble.com/ISDN4BSD-on-8-current-td23919925.html
  ISDN4BSD package has been updated to compile on FreeBSD
  8-current
  
  http://www.selasky.org/hans_petter/isdn4bsd/
  
  Apparently needs massaging into main FreeBSD tree.
 
 I agree that my I4B code should be re-written somewhat before committed. 
 Possibly we should update the API's present too, to support IP-telephony 
 aswell.
 
 --HPS

Sorry, I didn't know your code existed, till I was told  searched, Great !
I'll build a new PC soonish to try with current (my gates are 6.2  6.4 now).
i...@freebsd.org : I just re-subscribed (used to be on long ago).

Cheers,
Julian
-- 
Julian Stacey: BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com
 Mail plain text,  Not HTML, quoted-printable  base 64 dumped with spam.
Avoid top posting, It cripples itemised cumulative responses.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: HEADS UP: FreeBSD 6.4 and 8.0 EoLs coming soon

2010-09-01 Thread Julian H. Stacey
Hi,
Reference:
 From: vol...@vwsoft.com 
 Date: Wed, 01 Sep 2010 23:10:32 +0200 
 Message-id:   4c7ec148.9040...@vwsoft.com 

vol...@vwsoft.com wrote:
 [trimmed cc list]
 
 Julian,
 
 On 09/01/10 18:09, Julian H. Stacey wrote:
  On November 30th, FreeBSD 6.4 and FreeBSD 8.0 will have reached their
 
  FreeBSD -7  -8 do not support ISDN I'm told.
  So 6.4 is the last working FreeBSD ISDN.
 
 Somebody told you wrong.

Or I maybe misheard.

 There's still i4b code in 7-STABLE. It's been axed out for 8-CURRENT 
 short before 8.0-R. So you may want to run 7.x if you depend on ISDN 
 (AFAIK it's still in a working condition for 7).

Thanks Volker, I've started upgrading a box 7.2 to 7.3-rel then will
insert card  try. Any tech issues thay may arise I'll raise on isdn@

Cheers,
Julian
-- 
Julian Stacey: BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com
 Mail plain text,  Not HTML, quoted-printable  base 64 dumped with spam.
Avoid top posting, It cripples itemised cumulative responses.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


sysistall bsdlabel failure with amd64 FreeBSD-8.1-RC2-amd64-dvd1.iso

2010-07-13 Thread Julian H. Stacey
Hi stable@,
with amd64 FreeBSD-8.1-RC2-amd64-dvd1.iso
sysinstall failed to correctly repartition a previously partitioned disc.
fdisk however correctly wrote the new slices to the disk,
but sysinstall did not pick up the new slices, so we had to enter fixit
 overwrite beginning of disk with
dd if=/dev/zero of=/dev/ad0 bs=1024 count=100
PS sysinstall saw /dev/ad0  /dev/ad0a 

Cheers,
Julian
--
Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com
Mail plain text.  Not HTML, Not quoted-printable, Not Base64.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: sysistall bsdlabel failure with amd64 FreeBSD-8.1-RC2-amd64-dvd1.iso

2010-07-13 Thread Julian H. Stacey
Hi,
Reference:
 From: Dimitry Andric dimi...@andric.com 
 Date: Tue, 13 Jul 2010 20:01:41 +0200 
 Message-id:   4c3caa05.6080...@andric.com 

Dimitry Andric wrote:
 On 2010-07-13 19:01, Julian H. Stacey wrote:
  with amd64 FreeBSD-8.1-RC2-amd64-dvd1.iso
  sysinstall failed to correctly repartition a previously partitioned disc.
  fdisk however correctly wrote the new slices to the disk,
  but sysinstall did not pick up the new slices, so we had to enter fixit
   overwrite beginning of disk with
  dd if=/dev/zero of=/dev/ad0 bs=1024 count=100
  PS sysinstall saw /dev/ad0  /dev/ad0a 
 
 Were those partitions 'dangerously dedicated'

Yes probably, I can't be certain though, as recent FreeBSD fudges /aliases
ad0s1a to ad0a if s1 is active fdisk slice.


 and created by an older
 (pre-8.x) sysinstall?

Yes definately. Most Probably on my 8.0-rel i386 laptop
Definately not on the laptop I was trying with 8.1-RC2.

Cheers,
Julian
-- 
Julian Stacey: BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com
Mail plain text.  Not HTML, Not quoted-printable, Not Base64.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: sysistall bsdlabel failure with amd64 FreeBSD-8.1-RC2-amd64-dvd1.iso

2010-07-13 Thread Julian H. Stacey
Dimitry Andric wrote:
 On 2010-07-13 23:09, Julian H. Stacey wrote:
  Were those partitions 'dangerously dedicated'
  
  Yes probably, I can't be certain though, as recent FreeBSD fudges /aliases
  ad0s1a to ad0a if s1 is active fdisk slice.
 
 IIRC, in FreeBSD before 8 you got both ad0s1a and ad0a in /dev, when you
 had DD partitions, but since GEOM_BSD was replaced by GEOM_PART_BSD this
 is no longer the case.

OK, I havent read up on GEOM_PART_BSD beyond I think noticing config 
inserts it in kernel, without needing to be in config file.

 As far as I have tried out, it is no longer possible to use sysinstall
 to actually install on a DD partition, neither with 8.1 nor with
 -current.  Sysinstall simply does not allow you to directly label a
 'raw' disk, you must make an MBR partition first.
 
 I usually just start a fixit shell from the DVD, run bsdlabel
 directly on the target device, newfs it, and unpack the distributions
 myself...

Yes, sounds reasonable, what I'd do for an external, (but as this
disk is for laptop internal, I'm happy to use fdisk to give me a
2nd rescue boot).


  Yes definately. Most Probably on my 8.0-rel i386 laptop
  Definately not on the laptop I was trying with 8.1-RC2.
 
 Did that latter laptop also show the same problem?

No , my Toshiba Satellite S5100-603 running i386 8.0-rel had no
problem labelling (via external USB enclosure) discs inc the disk
I then Installed inside the Novatech today to install with 8.1-RC2.

What was preventing FreeBSD-8.1-RC2 install on the Novatech Laptop
was a BIOS boot sector protect mechanism which seemed strangely labelled:

The BIOS (Insyde Software SCU) had option Security - Hard Disk
Boot Sector with 2 states available: not ticked, or underscore.
We had previously left it as Underscore, 
wrongly assuming that meant no boot sector protection.
it actually means silently discard boot sector changes I think.
Now it's ticked,
(which we had wrongl assumed meant boot sector protect)
it allowed install  boot from disc of FreeBSD (after complaint on
first boot (but not on subsequent boots) of boot sector content change.

Thanks for your help :-)

Cheers,
Julian
-- 
Julian Stacey: BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com
Mail plain text.  Not HTML, Not quoted-printable, Not Base64.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: *BSD meetup, London May 27th

2010-05-20 Thread Julian H. Stacey
Hi,
Reference:
 From: Adrian Chadd adr...@freebsd.org 
 Date: Thu, 20 May 2010 20:17:13 +0800 
 Message-id:   aanlktilnrjex4u4ybe_jvj4vfzq5bkwq5oryu_sp7...@mail.gmail.com 

Adrian Chadd wrote:
 Is there a single place where all these various BSD user groups are listed?
 
 If not, how about a wiki page?

For FreeBSD, Question/propose that on  user-gro...@freebsd.org :-)
That list could probably best advise what list to ask for Net  Open (if any).

 
 adrian
 
 On 19 May 2010 00:11, Julian H. Stacey j...@berklix.com wrote:
  Hi,
  Reference:
  From:         Michal mic...@ionic.co.uk
  Date:         Tue, 18 May 2010 10:50:01 +0100
  Message-id:   4bf262c9.2040...@ionic.co.uk
 
  Michal wrote:
  On 16/05/2010 20:27, Owain Ainsworth wrote:
   On Sat, May 15, 2010 at 11:38:34PM +0100, Edd Barrett wrote:
   On Tue, May 11, 2010 at 1:44 PM, Sevan / Venture37 
   ventur...@gmail.com wrote:
   Hi Guys
   Some of us are meeting at the Barrowboy  Banker by London bridge on
   the 27th this month, 7pm
   More details here:
   http://mailman.uk.freebsd.org/pipermail/ukfreebsd/2010-May/012735.html
 
  FYI these lists exist:
         freebsd-user-gro...@freebsd.org
         freebsd-us...@uk.freebsd.org
         manches...@bsdgroups.org.uk
                 # I remembered a london group too,
                 # but http: fails , whois bsdgroups.org.uk  shows Sam Smith
                 # as owner, nslookup shows dead server.
 
  Cheers,
  Julian
  --
  Julian Stacey: BSD Unix Linux C Sys Eng Consultants Munich http://berklixcom
  Mail plain text,  Not HTML quoted-printable Base64 
  http://www.asciiribbon.org
  ___
  freebsd-stable@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-stable
  To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org
 
 
 


Cheers,
Julian
-- 
Julian Stacey: BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com
Mail plain text,  Not HTML quoted-printable Base64 http://www.asciiribbon.org
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: *BSD meetup, London May 27th

2010-05-18 Thread Julian H. Stacey
Hi,
Reference:
 From: Michal mic...@ionic.co.uk 
 Date: Tue, 18 May 2010 10:50:01 +0100 
 Message-id:   4bf262c9.2040...@ionic.co.uk 

Michal wrote:
 On 16/05/2010 20:27, Owain Ainsworth wrote:
  On Sat, May 15, 2010 at 11:38:34PM +0100, Edd Barrett wrote:
  On Tue, May 11, 2010 at 1:44 PM, Sevan / Venture37 ventur...@gmail.com 
  wrote:
  Hi Guys
  Some of us are meeting at the Barrowboy  Banker by London bridge on
  the 27th this month, 7pm
  More details here:
  http://mailman.uk.freebsd.org/pipermail/ukfreebsd/2010-May/012735.html

FYI these lists exist:
freebsd-user-gro...@freebsd.org
freebsd-us...@uk.freebsd.org
manches...@bsdgroups.org.uk 
# I remembered a london group too, 
# but http: fails , whois bsdgroups.org.uk  shows Sam Smith
# as owner, nslookup shows dead server.

Cheers,
Julian
-- 
Julian Stacey: BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com
Mail plain text,  Not HTML quoted-printable Base64 http://www.asciiribbon.org
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: FreeBSD Release 8.0 floppy images

2010-05-11 Thread Julian H. Stacey
Hi,
Mark Linimon wrote:
 You can still build them.  They just won't be built by default.

Trying that now on 8.0-RELEASE amd64 Thanks.


Ken Smith wrote:

 building them now
 fails due to another of the handful of reasons we wanted
 to abandon floppies
 ...
 the 'livefs'
 one can't and it recently started overflowing.

I hope that's stable or current  not 8.0-RELEASE.


 Those reasons combined with the fact I can't even test
 them any more all combined to convince the developer
 community 8.0 was a reasonable point to let floppy
 support fall by the wayside.

Thanks for the reply.
Understandable that developers hosts have lost interest in floppies.
But a lot of old servers  laptops used as spare terminas etc may
have floppy  ether but no cdrom or USB, inc eg this laptop running 7.2:
http://www.berklix.org/~jhs/hardware/laptops/dell_latitude_xpi_p133st/

I suspect people who live near you may sometime offer to drop off
a spare old PC with a floppy ;-)

Cheers,
Julian
-- 
Julian Stacey: BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com
Mail plain text,  Not HTML quoted-printable Base64 http://www.asciiribbon.org
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: FreeBSD Release 8.0 floppy images

2010-05-10 Thread Julian H. Stacey
  As for floppies building, it was turned off intentionally starting from 8.0.
  See http://svn.freebsd.org/viewvc/base?view=revisionrevision=188437

I looked earlier at URL above earlier, but just 
kensmith(CC added)
Log Message: Turn off the building of boot floppies for amd64/i386.
No reason in there, why or URL pointer to a list discussion.


 I'm guessing that this because of resource constraints (getting
 everything to fit)?  I assume that if it was just that folks weren't
 using them, it would be easy to keep them.  A few data points:

Seconded.

Ken, 
I'd suggest it would be good to commit  post a comment why removed.
It will later affect rescue capability of some older servers when
they get upgraded, (I guess many/most legacy production servers
still are 7.*, at least till 8.1 comes out).
Thanks

Cheers,
Julian
-- 
Julian Stacey: BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com
Mail plain text,  Not HTML quoted-printable Base64 http://www.asciiribbon.org
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: 7.3: instant panic upon connecting a umass

2010-04-07 Thread Julian H. Stacey
Hi,
Reference:
 From: Mikhail T. mi+t...@aldan.algebra.com 
 Date: Wed, 07 Apr 2010 00:26:46 -0400 
 Message-id:   4bbc0986.3080...@aldan.algebra.com 

Mikhail T. wrote:
 Jeremy Chadwick ÎÁÐÉÓÁ×(ÌÁ):
  Regarding your problem: it likely has nothing to do with SMP, so don't
  worry about that aspect of it.
 Thanks for the reassuring response, Jeremy. If this is not about SMP,
 then there is a (bad) regression -- the 7.2-kernel from March 5 never
 crashed this way... I connected the same phone numerous times, as well
 as the camera...


I wonder if it's eg a corrupt FS not being fsck'd first ?  Did you
try patching out your devd.conf entry,  running by hand each stage
of whatever is listed in there for that USB device ?

Cheers,
Julian
-- 
Julian Stacey: BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com
Mail plain text,  Not HTML quoted-printable Base64 http://www.asciiribbon.org
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: 7.3: instant panic upon connecting a umass

2010-04-07 Thread Julian H. Stacey
Andriy Gapon wrote:
 on 07/04/2010 14:20 Julian H. Stacey said the following:
  I wonder if it's eg a corrupt FS not being fsck'd first ?
 
 Have you given a look to the backtrace that Mikhail had posted?

Not looked.  It was a URL, not text in mail.


 I think that it answers your question.

If I wasn't tired  out of depth, :-)
If mine was crashing, I'd first comment out devd entry to 
identify  state to list what command fails, before trying kgdb.

I see
http://aldan.algebra.com/~mi/tmp/usb-crash.txt
has
Loaded symbols for /opt/modules/fuse.ko
man mount_fusefs 

Oh well, not used Fuse, 
I've got my own crashes on 7  8.0-REL to amuse me ;-)
(mine from an encrypted usn stick with:
sync ... manual umount ... remove media ... then 
devd.conf with
detach  1000 ...
action  gbde detach /dev/da0s2 ;...
)

Cheers,
Julian
-- 
Julian Stacey: BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com
Mail plain text,  Not HTML quoted-printable Base64 http://www.asciiribbon.org
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: Broken multimedia/dvdauthor repaired at last

2009-11-29 Thread Julian H. Stacey
Hi,
Reference:
 From: Harald Weis ha...@free.fr 
 Date: Sun, 29 Nov 2009 16:43:14 +0100 
 Message-id:   20091129154314.ga2...@pollux.local.net 

Harald Weis wrote:
 I just found a way to ''repair'' dvdauthor which is broken since several
 months.
 It suffices to comment two lines - 1082 and 1083 - in subreader.c like
 so:
   //fribidi_set_mirroring (FRIBIDI_TRUE);
   //fribidi_set_reorder_nsm (FRIBIDI_FALSE);
 
 # cd /usr/ports/multimedia/dvdauthor
 # make
 This produces the error message. Change subreader.c as said.
 # vi work/dvdauthor-0.6.14/src/subreader.c
 # make install
 
 It works for me. Don't know what is missing now. But lxdvdrip which
 requires dvdauthor is working as usual. :)
 
 Hope it helps everybody else.

Please use send-pr so this will be seen by those who can commit your fix.

Cheers,
Julian
-- 
Julian Stacey: BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com
Mail plain text not quoted-printable, HTML or Base64:  http://asciiribbon.org
  Vote For Smoke Free Bavarian Pubs Restaurants http://berklix.org/~jhs/nim/
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: FreeBSD jails in the Asia region

2009-11-15 Thread Julian H. Stacey
Hi,
Reference:
 From: Tomas G t...@gransee.dk 
 Date: Sun, 15 Nov 2009 15:27:15 +0100 
 Message-id:   9be2333e6a7a4956a1fd5cc287233...@tomaslaptop 

Tomas G wrote:
 Hello,
 
 I am trying to find a hosting provider that sells FreeBSD jails 
 in the Asia region. I would prefer both v4 and v6 connectivity, 
 but that is not a requirement. I need full root access to the
 jail, similar to what JohnCompanies and RootBSD are offering,
 only in Asia. Any recommendations ?
 I would prefer a jail since they are usually cheaper than a
 full-blown server, but if anyone can recommend affordable 
 alternatives I am listening. I would prefer a recent FreeBSD
 version, like 7.x.
 
 Thank you in advance!
 
 Best regards,
 Tomas
 
 PS. My apologies if this is the incorrect forum for this question.

See http://www.freebsd.org/commercial/isp.html
If nothing there try asking on list freebsd-...@freebsd.org


Cheers,
Julian
-- 
Julian Stacey: BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com
Mail plain text not quoted-printable, HTML or Base64:  http://asciiribbon.org
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: Source level upgrade from 4.9 to CURRENT..

2009-09-15 Thread Julian H. Stacey
Hi,
Reference:
 From: Rom Albuquerque a_rom...@hotmail.com 
 Date: Tue, 15 Sep 2009 17:38:16 + 
 Message-id:   snt114-w81d034e5efd1695113d57ed...@phx.gbl 

Rom Albuquerque wrote:
 
 
 
  Hi folks. Need help in doing the following, but first want to check 
 and see if it is feasible with the latest Release, or if I'm just going to 
 be spinning my wheels on this one. 
 
 The Objective.
 ==
 
  I have a FreeBSD 4.9-RELEASE system which I want to upgrade to 7.X 
 from the source level. Had a bunch of problems installing 7.1-RELEASE from 
 the CD distribution I got from freebsdmall.com. Several problems that 
 could not mount the CD at the time of installation causing sysinstall
 to halt. So, 4.9 is installed and working, is there a source level
 backward compatibility issue between 7.x and anything older than 6.0 ?
 In other words, upgrading from the sources with such an old
 distribution is a doable task ?  
 
 
 Your response is greatly appreciated. 
 
 Many thanks. 
 
  
 
 --Rom
 a_romolo at hotmail (dot) com

I recently upgraded lots of hosts from 4.10  4.11  5  6 to 7.2,
So many to keep track I needed my 
http://www.berklix.com/~jhs/txt/upgrade.html

I `just' moved in the binaries from CD alongside, flipped the directory
contents, rebooted, then built new custom kernels  make world  rebuilt
ports.
But I didnt do some cross compile from 4 to 7, too much like hard work that!

So quite possible to upgrade without repartitioning disc
 reloading data.  But you might want a bigger root. You might want
a newer FFS for performance (can't remember when that came in).
... there'll doubtless be a few other `Gotchas' so if you have problems/
not enough experience/ get stuck. the safe way is a back up,  reinstall.
Well, a back up's not exactly a foolish precaution anyway ;-)

Good luck.

Cheers,
Julian
-- 
Julian Stacey: BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com
  Mail ASCII plain text not HTML  Base64.  http://asciiribbon.org
  Virused Microsoft PCs cause spam. http://berklix.com/free/
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: Testing the list

2008-04-24 Thread Julian H. Stacey
=?ISO-8859-1?Q?Szemer=E9dy_G=E1bor?= wrote:
 Testing the list only!Sorry
 ___
 freebsd-stable@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-stable
 To unsubscribe, send any mail to [EMAIL PROTECTED]

Do not do that. There is a test list for tests ! [EMAIL PROTECTED]

Julian
-- 
Julian Stacey: BSDUnixLinux C Prog Admin SysEng Consult Munich www.berklix.com
Mail just Ascii plain text.  HTML  Base64 text are spam.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Testing the list

2008-04-24 Thread Julian H. Stacey
=?ISO-8859-1?Q?Szemer=E9dy_G=E1bor?= wrote:
 Julian H. Stacey wrote:
  =?ISO-8859-1?Q?Szemer=E9dy_G=E1bor?= wrote:

  Testing the list only!Sorry
  ___
  freebsd-stable@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-stable
  To unsubscribe, send any mail to [EMAIL PROTECTED]
  
 
  Do not do that. There is a test list for tests ! [EMAIL PROTECTED]
 
  Julian

 Ok! I was not testing my email but the list! Few days I did not get any 
 digest!
 Sorry again!

OK, I don't know about digests, but this shows list non-digested traffic.
  http://lists.freebsd.org/pipermail/freebsd-stable/2008-April/date.html

Julian
-- 
Julian Stacey: BSDUnixLinux C Prog Admin SysEng Consult Munich www.berklix.com
Mail just Ascii plain text.  HTML  Base64 text are spam.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: RELEASE discs ISO images (for future)

2008-03-07 Thread Julian H. Stacey
   To: freebsd-stable@freebsd.org
This sybject has nothing to do with [EMAIL PROTECTED]
   Cc: [EMAIL PROTECTED]
Posting to 2 FreeBSD lists is deprecated. 
hackers@ is for releases.

Attempting to shrink to one list, this posted with:
To: [EMAIL PROTECTED]
bcc: freebsd-stable@freebsd.org, 
Reply-To: [EMAIL PROTECTED]

Vadim Goncharov wrote:
 Hi!
 
 7.0-RELEASE images came out with FIVE disks - disc 1 to 3 and separate LiveFS
 and docs. What do they contain? I can guess that 2 and 3 are pure packages so
 I don't need to download them if I want to compile out from ports. And in
 previous releases I had to download the disc1 ONLY as it had LiveFS also -
 a very good improvement since 4.x times where disc2 with only LiveFS, mostly
 useless all the time, took separate disk.
 
 But now release announcement says that for LiveFS I need TWO disks - both
 disc1 and livefs disk. WHY? Why not to pack they both to a single disc1,
 this was very comfortable.
 
 I suspect this separation is due to sizes od docs etc. - but CD drives can now
 handle even 700 MBs of data, and disc1 for i386 occupies only 509M, though
 disc2 is 694M, yes.
 
 May be it is desirable to compress docs and other base system parts with
 bzip2 -9 instead of gzip?
 
 P.S. And may be it is good also to resurrect miniinst disk for
 Depenguinator project? :)


 
 -- 
 WBR, Vadim Goncharov. ICQ#166852181   mailto:[EMAIL PROTECTED]
 [Moderator of RU.ANTI-ECOLOGY][FreeBSD][http://antigreen.org][LJ:/nuclight]
 
 ___
 freebsd-stable@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-stable
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 


Julian
-- 
Julian Stacey: BSDUnixLinux C Prog Admin SysEng Consult Munich www.berklix.com
Mail just Ascii plain text.  HTML  Base64 is spam.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ad0 READ_DMA TIMEOUT errors on install of 7.0-RELEASE

2008-03-02 Thread Julian H. Stacey
Jeremy Chadwick wrote:
 On Wed, Feb 27, 2008 at 01:20:50PM -0700, Scott Long wrote:
  I'd like to attack these driver problems.  What I need is to spend a
  couple of days with an affected system that can reliably reproduce the
  problem, instrumenting and testing the driver.  I have a number of
  theories about what might be going wrong, but nothing that I'm
  definitely sure about.  If you are willing to set up your system with
  remote power and remote serial, and if we knew a reliable way to
  reproduce the problem, I could probably have the problem identified and
  fixed pretty quickly.
 
 Scott, I just wanted to take a moment to publicly thank you for stepping
 up to the plate on this one.  I have a feeling that most of these
 reports will have to be dealt with on a case-by-case basis, but despite
 that, I really do apprecaite you offering to take this one.  Thank you
 very, very much.
 
 In regards to my experience with said problem, I haven't been able to
 reproduce the errors I saw on January 25th:
 
 http://lists.freebsd.org/pipermail/freebsd-stable/2008-January/040013.html
 
 I do need to get the box in question into our datacenter and set up our
 remaining dev/test box to do nothing but hard I/O between ZFS and UFS
 for hours (or days) on end to see if I can reproduce it.  There's an
 entry in the FreeBSD ZFS wiki about this problem, but there's a
 possibility the issue I saw is different than what another user reported
 (his result was a panic, my result was a machine that locked up hard
 after letting FreeBSD report DMA errors for some time).  That user's
 post is here:
 
 http://lists.freebsd.org/pipermail/freebsd-stable/2008-January/040047.html

I have 2 laptops running 7 
http://www.berklix.com/~jhs/hardware/digital/dmesg/
http://www.berklix.com/~jhs/hardware/laptops/dell_latitude_xpi_p133st/
http://www.berklix.com/~jhs/hardware/laptops/#loader.conf
that wont boot without 
/boot/loader.conf hw.ata.ata_dma=0

 If you are willing to set up your system with remote power and remote serial
Sorry, I can't offer that easily
( Would need to remove laptop battery, move laptop
   UPS to another site, set up serial of UPS to a net
  server  prob v. little to no chance of BIOS  serial console)
I could easily test any patches though, made against 7.0-stable
(sorry no current partition on there currently - small disc.)

Julian
-- 
Julian Stacey: BSDUnixLinux C Prog Admin SysEng Consult Munich www.berklix.com
Mail just Ascii plain text.  HTML  Base64 is spam.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 7.0-RELEASE Available

2008-03-01 Thread Julian H. Stacey
Matthew Seaman wrote:
 [EMAIL PROTECTED] wrote:
 
  On behalf of the FreeBSD Project thanks for your interest in FreeBSD.
  We hope you enjoy the new release.
  
  I've just spent the whole morning installing it on my office desktop.
  
  It was an awful experience: installing packages from the three CDs kept 
  making
  me switch from one CD to the other then to the previous one before the next 
  one
  again...
  All in all about twenty-times !!! (sometimes just for ONE package, for 
  Christ's
  sake !)
  It was particularly annoying, especially with those Linux guys around 
  sneering
  when comparing it to their smooth install.
 
 People in the know, and those with reasonable network bandwidth, generally
 use either the 'boot only' or just the 'disk 1' CDs to install a pretty
 minimal system, and then install packages, run cvsup, use freebsd updates
 etc. from the net.  It's a  whole lot smoother than juggling CDs.
 
   Cheers,
 
   Matthew

[ A shame about the package disc jockey effect,  if anyone has
time to fix it, great, but meantime ... ] Some of those facing a
big package install sequence won't have net access (desert island
effect : security firewall locked tight / high coms cost etc ) ..
solution for them :
Minimal install as Matthew suggested, then load all cdroms
on hard disc, all packages in one directory, then run
sysinstall or pkg_install from multi user base.




Julian
-- 
Julian Stacey: BSDUnixLinux C Prog Admin SysEng Consult Munich www.berklix.com
Mail just Ascii plain text.  HTML  Base64 is spam.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 6.3 update and process freeze

2008-02-22 Thread Julian H. Stacey
Dirk Meyer wrote:
 Gil Bidon schrieb:,
 
  Since i've updated my machine to FreeBSD 6.3 some process randomly start
  using 100% CPU or are locked to STOP state (in top).
  
  Is there a known solution / patch ? Except the rollback :)
 
 I see this for mail/antivirus-milter too.
 But I have not been able to trace it down,
 the machine is remote and locks up fully.
 On normal load it runs fine,
 Maybe an resource-limit is not enforced?
 
 It looks similar to the nagios thread problem.
 
 kind regards Dirk

Watch out for evil mailman !
Default settings in crontab have locked up servers for 5 years 
http://www.berklix.com/~jhs/src/bsd/fixes/FreeBSD/ports/gen/mail/mailman/

Julian
-- 
Julian Stacey: BSDUnixLinux C Prog Admin SysEng Consult Munich www.berklix.com
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: dmesg : no output on 1 of 2 7-stable boxes

2008-02-14 Thread Julian H. Stacey
Oliver Fromme wrote:
 Hello Julian,
 
 I'm sorry this is a late reply, but I noticed your post
 on the freebsd-stable list just now.
   One of 2 laptops running 7-stable shows nothing with dmesg, (other is OK).
 Did you try dmesg -a?

Thanks Oliver,
Yes, but after posting I think, (Been a while can't remember),
Symptom stopped after cd /usr/local/lib; mv wine wine.MV (a bad port !).
It was filling console buf with junk.

 The dmesg buffer is a circular buffer containing both
 kernel output and console output.  However, dmesg
 displays only the kernel output.  If there was lots of
 console output, it filled all of the dmesg buffer,
 so dmesg displays nothing (all of the kernel output
 was overwritten by console output).  dmesg -a will
 display everything, i.e. kernel + console output.

Some of that description could usefuly be added to `man dmesg` ?
Might some commiter wnat to hack a few words in ?  Or do we neeed
a formal send-pr (that a commiter would rephrase likely anyway, so
best skip the send-pr ? ).

 If dmesg -a doesn't print anything either, I'm afraid
 I have no idea what might be wrong.  Well, you could try
 sysctl -b kern.msgbuf which will retrieve the raw
 contents of the dmesg buffer.
 
  - I tried loader.confkern.msgbuf=64000
 
 I think it must be a multiple of the pages size, i,e,
 4K = 4096 on FreeBSD/i386.  I usually set it to 65536
 or 131072.

Ah! Certainly plausible re. 2 base N.
On 7.0PRERELEASE I see
kern.msgbuf= sundry text diagnostsics
so seems inappropriate to set that var to a number.  I see
kern.consmsgbuf_size: 8192
so tried in /boot/loader.conf
kern.consmsgbuf_size=4096
but even reducing size failed to vary size (enlarging had earlier failed) 
Some clue in sys/kern/tty_cons.c:666
I See 
kern.msgbuf_clear: Clear kernel message buffer
kern.msgbuf: Contents of kernel message buffer
Puzzled on syntax to set size in loader.conf ?
-- 
Julian Stacey.  BSD Unix Linux Net Consultant, Munich.  http://berklix.com
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: finstall alpha3

2008-02-06 Thread Julian H. Stacey
Ivan Voras wrote:
 As some of you may already know, I'm working on a graphical installer
 for FreeBSD 7, which was started as a Google SoC 2007 project but still
 continues. 

10+ years back when Jordan did first pre= X, 24x80 graphical installer,
soon afer he'd finished a blind chap posted ~So how do I install ?~
Answer then: ~Get a friend do it for you, or abandon FreeBSD  use NetBSD~

NetBSD still have Ascii installer, so more attractive to some.  Idea
for another SOC project : An automated tool that could descramble
all the glitz of [arbitrary ?] graphics tools back to something
sensible / Ascii, a bit like what OCR does for printed paper.

No doubt a bew grraphical installer might be nice (if X is reliable
which it often is Not,  don't rely on VESA either on old hardware),
but just so's we don't forget blind too,  amazingly they
use computers (with expensive interfaces).

Also visually impaired do too, the later simply with simple text
xterms with Monster fonts, rather than graphics I presume.

-- 
Julian Stacey.  BSD Unix Linux Net Consultant, Munich.  http://berklix.com
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: finstall alpha3

2008-02-06 Thread Julian H. Stacey
Henri Hennebert wrote:
 Julian Stacey wrote:
  Henri Hennebert wrote 2 emails with same common text
  To: Julian H. Stacey [EMAIL PROTECTED]
  Date: Wed, 06 Feb 2008 15:20:38 +0100
  Message-ID: [EMAIL PROTECTED]
  The first private shouting got answered.  Then came
  To: freebsd-stable@freebsd.org
  Date: Wed, 06 Feb 2008 15:25:57 +0100
  Message-id: [EMAIL PROTECTED]
  Assume Henri is too young  to remember first graphical installer.
 
 Thank you! I'm 60 this year :-) and using FreeBSD since 2.1. Xenix since 
   88 IIRC. My point is that a graphical installer may be usefull, that's 
 all.

Chuckle :-) Looks like we reach agreement :-))

-- 
Julian Stacey.  BSD Unix Linux Net Consultant, Munich.  http://berklix.com
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


dmesg : no output on 1 of 2 7-stable boxes

2008-01-26 Thread Julian H. Stacey
One of 2 laptops running 7-stable shows nothing with dmesg, (other is OK).
Needs fresh eyes please, as I've already checked all this:
   - Text is in /var/log/messages, readable to normal users.
   - df shows enough disc
   - I patched out all of loader.conf, except essential hw.ata.ata_dma=0
(that was to remove any *verbose* that might be overflowing
   - I tried loader.confkern.msgbuf=64000   
   - Tried a Generic kernel
   - I've recompiled  installed dmesg  kernels
   - Haven't done a make world (slow box), but repeated make all ; make install
 with each day's new source.
   - Both hosts running same /usr/src from yesterday:
   /pub/FreeBSD/development/CTM/src-7/src-7.0102.gz
   Jan 25 15:25 TZ=GMT+01:00
   - cd /etc;grep dmesg *
rc.conf:dmesg_enable=YES  # Save dmesg(8) to /var/run/dmesg.boot
Binary file rc.d matches# Just the standard /etc/rc.d/dmesg
rc.local:/sbin/dmesg  /tmp/dmesg.rc.local
# -rw-r--r--  1 root  wheel  0 Jan 25 14:01 /tmp/dmesg.rc.local
   - mergemaster -sicvP 
Any ideas please ?
Julian
--
Julian Stacey.  Munich Consultant: BSD Linux Unix.  http://berklix.com
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ad0: TIMEOUT - WRITE_DMA type errors with 7.0-RC1

2008-01-25 Thread Julian H. Stacey
Jeremy Chadwick wrote:
  wondering if this is a known issue.  Note that smartctl does not report
  errors logged and gives a PASSED to the drive.  I am running at
  UDMA100 ATA.  Also, if it matters, I am using ZFS.

 Can you please provide output of the following:
 
 * smartctl -a /dev/ad0

From ports/sysutils/smartmontools I presume ?
( Asking as I also have a DMA prob. to solve, at present
needing hw.ata.ata_dma=0 in /boot/loader.conf to boot,
( interuptions on sound on 7-stable, though no ZFS here)).
smartctl:
Not installed by /usr/src-7
No /usr/ports/*/smartctl
Clues found with locate for ports:
  sysutils/munin-node/files/patch-hddtemp_smartctl.in
  sysutils/sensors-applet/files/smartctl-helper.c
  sysutils/sensors-applet/files/smartctl-sensors-interface.c
  sysutils/sensors-applet/files/smartctl-sensors-interface.h

  sysutils/munin-main   # Not really ?
  ports/sysutils/sensors-applet - ports/sysutils/smartmontools

-- 
Julian Stacey. Munich Computer Consultant, BSD Unix C Linux. http://berklix.com
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: New KTR trace for mouse freezing/stuttering in 7.0-RC1

2008-01-24 Thread Julian H. Stacey
Joe Peterson wrote:
 In an attempt to track down this mouse freezing/stuttering (i.e. jerky
 mouse movement) behavior in FreeBSD 7.0-RC1, I have come up with a
 reliable way to cause it to happen, and I have created a longer trace
 showing the results.  Note that I am using the ULE scheduler.

Have you tried not touching the mouse  playing mp3 music
do you also hear sound interruptions after a few minutes ?

As well as the people talking re. mouse (BTW Kris asked current@
recently if anyone had time to look at Giant lock); Others hear
sound interruptions: I wonder if there may be some commonality as
well as/beyond mouse locking, in scheduling/locking etc.  I've heard
sound interuptions on kernels with both schedulers, (but my hosts
are sensitive as slow  with DMA off (else wont boot),  I must
review my configs some more).

-- 
Julian Stacey. Munich Computer Consultant, BSD Unix C Linux. http://berklix.com
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Cannot mount a nfs share after doing a snapshot

2008-01-09 Thread Julian H. Stacey
Julian H. Stacey wrote:
 I too saw mountd / exports just fail on 2 systems upgraded in last
 days from 7RC4 to newest 7 Stable (CTM src-7 80, received here Jan
 6 15:15 CEST=GMT+01:00).  I am not using .snap snapshot.  My other
 AMD  NFS on other FreeBSD-4  6 hosts remains OK.
 AMD  NFS as client  server was working till then. I just upgraded src/
  rebooted  exports failed.
 
 messages:
   mountd[563]: can't change attributes for /
   mountd[563]: bad exports list line / host1 host2 host3
 
 named seems to resolve hosts OK though. (my usual first suspect :-)
 
 su; mount_nfs lapd:/usr /mnt
   [udp] lapd:/usr: Permission denied
 
 Maybe changed hosts/pam/ssh/inetd type root auth defaults between RC4  now ?

My mistake.  Fixed here by running mergemaster -sicvP 
 removing ::1 from my /etc/hosts to avoid IPV6.  

-- 
Julian Stacey. Munich Computer Consultant, BSD Unix C Linux. http://berklix.com
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 6.3-PRERELEASE desktop system periodically freezes momentarily

2008-01-08 Thread Julian H. Stacey

 By running glxgears the problem is easily witnessed, also by maintaining

To save others hunting sources which have migrated between FreeBSD releasess:

FreeBSD/releases/4.11-RELEASE/ports
x11/XFree86-4-clients/pkg-plist:bin/glxgears
x11/xorg-clients/pkg-plist:bin/glxgears

FreeBSD/releases/6.2-RELEASE/ports
x11/XFree86-4-clients/files/manpages: glxgears.1 \
x11/XFree86-4-clients/pkg-plist:bin/glxgears
x11/xorg-clients/files/manpages:  glxgears.1 \
x11/xorg-clients/pkg-plist:bin/glxgears

FreeBSD/branches/-current/ports
graphics/mesa-demos/Makefile:XDEMO_PROGS= glthreads glxcontexts 
glxdemo glxgears glxgears_fbconfig \
builds OK on 7-Stable
x11/XFree86-4-clients/files/manpages: glxgears.1 \
x11/XFree86-4-clients/pkg-plist:bin/glxgears
XFree86-clients-4.5.0_4 is part of XFree86 and you
have xorg set for X11 distribution. 
-- 
Julian Stacey. Munich Computer Consultant, BSD Unix C Linux. http://berklix.com
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Cannot mount a nfs share after doing a snapshot

2008-01-07 Thread Julian H. Stacey
I too saw mountd / exports just fail on 2 systems upgraded in last
days from 7RC4 to newest 7 Stable (CTM src-7 80, received here Jan
6 15:15 CEST=GMT+01:00).  I am not using .snap snapshot.  My other
AMD  NFS on other FreeBSD-4  6 hosts remains OK.
AMD  NFS as client  server was working till then. I just upgraded src/
 rebooted  exports failed.

messages:
  mountd[563]: can't change attributes for /
  mountd[563]: bad exports list line / host1 host2 host3

named seems to resolve hosts OK though. (my usual first suspect :-)

su; mount_nfs lapd:/usr /mnt
[udp] lapd:/usr: Permission denied

Maybe changed hosts/pam/ssh/inetd type root auth defaults between RC4  now ?
-- 
Julian Stacey. Munich Computer Consultant, BSD Unix C Linux. http://berklix.com
Ihr Rauch = mein allergischer Kopfschmerz. Dump cigs 4 snuff.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


7-Stable/sys/modules/xfs fails to make from world

2008-01-03 Thread Julian H. Stacey

Submitter-Id:  current-users
Originator:Julian H. Stacey [EMAIL PROTECTED]
Organization:  http://berklix.com
Confidential:  no 
Synopsis:  7-Stable/sys/modules/xfs fails to make from world
Severity:  serious 
Priority:  medium 
Category:  kern
Class: change-request 
Release:   FreeBSD 7.0-PRERELEASE i386
Environment:
System: FreeBSD lapn.js.berklix.net 7.0-PRERELEASE FreeBSD 7.0-PRERELEASE #0: 
Mon Dec 31 19:01:25 CET 2007 [EMAIL 
PROTECTED]:/usr/src/sys/i386/compile/GENERIC  i386


Description:

7-Stable/sys/modules/xfs fails to make from world
Been like that a few days (while my slow host made world) as:
 It's now Thu Jan  3 12:54:35 CET 2008,
  from CTM delta dates of reception 
  ( Yes acknowledging ctm is Push whereas cvsup is Pull, 
   so a delay of maybe 12/24 hours).
Bad between src-7.0075  src-7.0077.
 Dec 30 12:12 /pub/FreeBSD/development/CTM/src-7/src-7.0075.gz
 Jan  1 10:52 /pub/FreeBSD/development/CTM/src-7/src-7.0076.gz
 Jan  2 08:49 /pub/FreeBSD/development/CTM/src-7/src-7.0077.gz

With a src/ based on src-7.0075
 cd /usr/src  ; make world # ...
  === sys/modules/xfs (depend)
  @ - /usr/src/sys
  machine - /usr/src/sys/i386/include
  awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -p
  awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -q
  awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -h
  make: don't know how to make xfsrtstubs.c. Stop
  *** Error code 2
  Stop in /usr/src/sys/modules.
 find . -name xfsrtstubs.c  # Nothing
 # UPDATE ...
 ctm -v /pub/FreeBSD/development/CTM/src-7/src-7.0.gz
 cd /sys/modules/xfs ; make clean ; make # Still Fails
 # Also fails on another 7.0-PRERELEASE host (though that hasnt gone through 
 # the rigour of a make world.

How-To-Repeat:
make world on stable-7
Fix:




*** 7.0-PRERELEASE-src-7.0077/src/sys/modules/xfs/Makefile.oThu Jan  3 
12:38:06 2008
.--- new/src/sys/modules/xfs/Makefile   Thu Jan  3 12:43:32 2008
***
*** 54,62 
xfs_iget.c \
xfs_attr_leaf.c \
xfs_attr.c \
-   xfsrtstubs.c \
-   xfsquotasstubs.c \
-   xfsdmapistubs.c \
xfs_dmops.c \
xfs_qmops.c \
xfs_mountops.c \
--- 54,59 
***
*** 81,86 
--- 78,87 
kmem.c \
kdb.c
  
+ # xfsrtstubs.c \
+ # xfsquotasstubs.c \
+ # xfsdmapistubs.c \
+ 
  SRCS+=opt_ddb.h
  
  .include bsd.kmod.mk

This patch  follow up at:
http://berklix.com/~jhs/src/bsd/fixes/freebsd/src/gen/sys/modules/xfs/Makefile.REL=ALL.diff
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 7.0BETA4 ../cc_tools/insn-attrtab.c compiles forever

2007-12-31 Thread Julian H. Stacey
Sorry for delay (travelling), 
Answers to 1 private mail  2 list posted replies further below, 
first my original posting for reference:

 Anyone else noticed on 7.0BETA4 ( hence Ive cc'd re@)
 
 This runs forever:
 
 === cc_int (all)
 Warning: Object directory not changed from original 
 /usr/src/gnu/usr.bin/cc/cc_int
 cc -O2 -fno-strict-aliasing -march=i586  -DIN_GCC -DHAVE_CONFIG_H 
 -DPREFIX=\/usr\ -I/usr/src/gnu/usr.bin/cc/cc_int/../cc_tools 
 -I/usr/src/gnu/usr.bin/cc/cc_int/../cc_tools 
 -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc 
 -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/config 
 -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcclibs/include 
 -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcclibs/libcpp/include 
 -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcclibs/libdecnumber  
 -c ../cc_tools/insn-attrtab.c
  
 With or without -pipe  with or without /usr/obj
 All the rest of /usr/src compiles OK though.
 
 FreeBSD lapn.js.berklix.net 7.0-BETA4 FreeBSD 7.0-BETA4 #0: Sun Dec 16 
 09:18:21 CET 2007 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/GENERIC  
 i386

--

From: Michael Voorhis Wed, 19 Dec 2007 21:11:25 -0500 (Thu 03:11 CET):

 What sort of machine do you have?  I seem to recall that compile-line
 taking an age, but not forever.  It takes a while to finish on my
 Thinkpad t42, which is a
 
Pentium(R) M processor 1.70GHz (1694.51-MHz 686-class CPU)

This an old laptop with small slow disc:
  http://www.berklix.com/~jhs/hardware/laptops/dell_latitude_xpi_p133st/
  CPU: Pentium/P54C (133.64-MHz 586-class CPU)
  avail memory = 43507712 (41 MB)
  /boot/loader.conf:
hw.ata.ata_dma=0
hw.ata.wc=0
  swapinfo
Device  1K-blocks UsedAvail Capacity
/dev/ad0s1b102400101569224410%
/dev/md0   10101448985610%

--

From: Ivan Voras [EMAIL PROTECTED] Thu, 20 Dec 2007 11:47:57 +0100

 I did see some weird behaviour while compiling gcc, though I don't
 remember if it's the same file (looks like it). They usually disappeared
 after removing CPUTYPE and -O2 from compiler flags.

My /etc/make.conf just has   CFLAGS += -march=i586
I assume -O2 is coming out of /usr/src/ gcc itself.

--

From: Nikos Ntarmos [EMAIL PROTECTED] Thu, 20 Dec 2007 13:33:31 +0200

 I'd bet you're seeing some serious thrashing there. I've come across at
 least one other user having problems with that particular part of
 buildworld and -O2/-Os optimization levels. Seems like gcc4 is quite the
 memory hog so I don't know whether something can be done, other than
 either adding more RAM, trying to tweak swappiness, or taking a break
 while this thing compiles itself.

Yes, on return from travels, I powered up, left it running for day[s?]
looked again  finally it had finished. 
Now trying from BETA4 to 7-Stable.

Seems your right about gcc4  memory hog.
(-pipe by default makes it even worse, subject of another thread).

Thanks all.
-- 
Julian Stacey. Munich Computer Consultant, BSD Unix C Linux. http://berklix.com
Ihr Rauch = mein allergischer Kopfschmerz. Dump cigs 4 snuff.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 7.0BETA4 /usr/src/gnu/usr.bin/cc/cc_int Thrashes

2007-12-18 Thread Julian H. Stacey
 Has 7.0-BETA4 perhaps wrongly got a -pipe in the .mk macros ?
 Please someone with generic 7.0BETA4 check with eg:
   A single line /etc/make.conf
   CFLAGS += -Dzonk=bla
   ~/tmp/Makefile
   tst:
   @echo XX ${CFLAGS} YY
   make tst
   XX -O2 -fno-strict-aliasing -pipe -Dzonk=bla  YY
 Is pipe coming from generic mk/ ?
 Or from my local hacked version  ?
 Could someone test please:
   My /usr/src is no longer generic, on a very slow CPU, SLIP
   linked, building rest of src/  I'm about to go away, 
   will miss the 7-RELEASE date, but -pipe should not be in
   generic, needs to be a host dependent choice. )

Error found. I will send-pr.  Patch below stored in :
http://berklix.com/~jhs/src/bsd/fixes/FreeBSD/src/gen/share/mk/sys.mk.REL=ALL.diff

pipe should not be on by default as
- It cripples machines with limited memory.
- Pipe can be enabled by any memory rich host in /etc/make.conf with:
CFLAGS += -pipe
- Man cc lists how to turn it on but not off.
- Man cc also notes assembler problems 

*** /pub/FreeBSD/branches/-current/src/share/mk/sys.mk.orig Tue Dec 18 
15:11:26 2007
--- /pub/FreeBSD/branches/-current/src/share/mk/sys.mk  Tue Dec 18 15:12:23 2007
***
*** 36,44 
  .else
  CC?=  cc
  .if ${MACHINE_ARCH} == arm
! CFLAGS?=  -O -fno-strict-aliasing -pipe
  .else
! CFLAGS?=  -O2 -fno-strict-aliasing -pipe
  .endif
  .if defined(NO_STRICT_ALIASING)
  CFLAGS+=  -fno-strict-aliasing
--- 36,44 
  .else
  CC?=  cc
  .if ${MACHINE_ARCH} == arm
! CFLAGS?=  -O -fno-strict-aliasing
  .else
! CFLAGS?=  -O2 -fno-strict-aliasing
  .endif
  .if defined(NO_STRICT_ALIASING)
  CFLAGS+=  -fno-strict-aliasing

*** 6.2-RELEASE/src/share/mk/sys.mk.origTue Sep 18 09:32:40 2007
--- 6.2-RELEASE/src/share/mk/sys.mk Tue Dec 18 15:21:09 2007
***
*** 35,41 
  CFLAGS?=  -O
  .else
  CC?=  cc
! CFLAGS?=  -O2 -fno-strict-aliasing -pipe
  .endif
  
  CXX   ?=  c++
--- 35,41 
  CFLAGS?=  -O
  .else
  CC?=  cc
! CFLAGS?=  -O2 -fno-strict-aliasing
  .endif
  
  CXX   ?=  c++

-- 
Julian Stacey. Munich Computer Consultant, BSD Unix C Linux. http://berklix.com
Ihr Rauch = mein allergischer Kopfschmerz. Dump cigs 4 snuff.
-- 
Julian Stacey. Munich Computer Consultant, BSD Unix C Linux. http://berklix.com
Ihr Rauch = mein allergischer Kopfschmerz. Dump cigs 4 snuff.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 7.0BETA4 cannot install. acd0: TIMEOUT - READ_BIG retrying (1 retry left)

2007-12-09 Thread Julian H. Stacey
Robert Gray wrote:
 I've tried to install both 
 7.0-BETA4-i386-bootonly.iso and 
 7.0-BETA4-i386-disc1.iso
 
 on a Dell Optiplex 745, Model# DCTR with
 
 acd0: CDROM TSSTcorp CD-ROM TS-L162C/DE05 at ata3-master UDMA33
 
 The booting doesn't get past the acd0: TIMEOUT - READ_BIG retrying
 error.
 
 6.2 installs fine.
 
 Any ideas on what to try?


Possibly Key 3 = Safe mode (before USA or country), which includes, ref my
http://www.berklix.com/~jhs/hardware/laptops/#loader.conf
the equivalent of loader command
set hw.ata.atapi_dma=0

Please let me know if anything on my page above helps you,
please also let me know if you discover other magic Not on my page.
(I'm fighting a heap of old laptops, persuading them to upgrade :-))


-- 
Julian Stacey. Munich Computer Consultant, BSD Unix C Linux. http://berklix.com
Ihr Rauch = mein allergischer Kopfschmerz. Dump cigs 4 snuff.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: installation problems of FreeBSD 7 beta 2 on Dell D610 (multiboot con solaris, linux, winxp)

2007-11-29 Thread Julian H. Stacey
Julian H. Stacey wrote:
 Julian H. Stacey wrote:
   Stefano  stable@
   I saw similar installing 7.0-BETA3 on my Digital HiHote Ultra
  ..
   I'll look for right syntax. eg maybe hw.ata.ata_dma=0 etc starting
   in my http://www.berklix.com/~jhs/hardware/laptops/#loader.conf
  
  Safe mode (Hit Key 3 after it asks for boot floppy 2nd time 
  (Im using floppy as my cd drive doesnt like my cd-rw media, just cd-r)
  This sets hw.ata.ata_dma to 0, with this my laptop is now in middle
  of a minimal install, reading distrib via a pcmcia ep0 ethernet.
 
 Although that enables disk writes, Pcmcia ep0 runs slow, 23KB/s, timing
 out  install has died repeatedly.  I tried reducing commands used in
   bootsafekey of /sys/boot/forth/beastie.4th:
   http://www.berklix.com/~jhs/hardware/laptops/#bootsafekey
 By avoiding `3'  just using
   set hw.ata.ata_dma
   boot
 Still its a slow 23K. Still ep0 dies. Install fails.

7.0-BETA3 on Digital HiHote Ultra 2000 could not install via pcmcia ep0. 
I minimal installed from cdrom,
Booted multiuser with 3 = Safe Boot,
Edited /boot/loader.conf from
hint.acpi.0.disabled=1
to
# hint.acpi.0.disabled=1
hw.ata.ata_dma=0
Rebooted.
Cdrom sysinstall-ed all distribution sets (except essential bin
 kernels) for a full native platform,  now making /usr/src/
It can mount the 5.1 partition  5.1 can mount the 7.0,
so Stefano, do try hw.ata.ata_dma=0

Pcmcia ep0 ethernet remains unusable, ping 1.5 to 28 seconds  drop outs,
but that's an issue I'll pursue/ report on [EMAIL PROTECTED]
-- 
Julian Stacey. Munich Computer Consultant, BSD Unix C Linux. http://berklix.com
Ihr Rauch = mein allergischer Kopfschmerz. Dump cigs 4 snuff.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: installation problems of FreeBSD 7 beta 2 on Dell D610 (multiboot con solaris, linux, winxp)

2007-11-28 Thread Julian H. Stacey
Julian H. Stacey wrote:
 
  Stefano  stable@
  I saw similar installing 7.0-BETA3 on my Digital HiHote Ultra
 ..
  I'll look for right syntax. eg maybe hw.ata.ata_dma=0 etc starting
  in my http://www.berklix.com/~jhs/hardware/laptops/#loader.conf
 
 Safe mode (Hit Key 3 after it asks for boot floppy 2nd time 
   (Im using floppy as my cd drive doesnt like my cd-rw media, just cd-r)
 This sets hw.ata.ata_dma to 0, with this my laptop is now in middle
 of a minimal install, reading distrib via a pcmcia ep0 ethernet.

Although that enables disk writes, Pcmcia ep0 runs slow, 23KB/s, timing
out  install has died repeatedly.  I tried reducing commands used in
bootsafekey of /sys/boot/forth/beastie.4th:
http://www.berklix.com/~jhs/hardware/laptops/#bootsafekey
By avoiding `3'  just using
set hw.ata.ata_dma
boot
Still its a slow 23K. Still ep0 dies. Install fails.

-- 
Julian Stacey. Munich Computer Consultant, BSD Unix C Linux. http://berklix.com
Ihr Rauch = mein allergischer Kopfschmerz. Dump cigs 4 snuff.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: installation problems of FreeBSD 7 beta 2 on Dell D610 (multiboot con solaris, linux, winxp)

2007-11-27 Thread Julian H. Stacey
Stefano Spinucci wrote:
 I encountered some problems installing FreeBSD 7 beta 2 on my Dell
 D610 laptop, on the original 60 gb hd; the hd is formatted as follows:
 - primary 1, 15 gb, ntfs for Windows XP
 - primary 2, 15 gb, solaris for Open Solaris
 - primary 3, 10 gb, fat32 for FreeBSD
 - extended, 20 gb, 3 partitions for linux
 
 I tried to install FreeBSD many times, but after the geometry error
 (the geometry is however correctly recognized), FDISK doesn't find any
 partition and the space is shown as free, unpartitioned.
 
 I tried to set the partition type for FreeBSD to FAT16, FAT32, FreeBSD
 and I also reformatted the partition many times, but with no success.
 
 have you any idea???

Stefano  stable@

Your symptoms seem likely laptop specific, so if you remain stuck,
later try mobile@

I saw similar installing 7.0-BETA3 on my Digital HiHote Ultra
2000 laptop: it recognised the 5G laptop disc, but did Not recognise
the 3 x FreeBSD-5.1-RELEASE boot partitions that work OK there.

So I thought, OK, abandon installing on an fdisk partition, install
on whole disk.  It went through partitioning, then failed to find
its file system.  5.1 was still intact  booted.  I assume it's my
laptop ATA interface, seen that problem before.  FreeBSD for old
hardware often needs extra instructions manually to loader to tell
WD/ATA (/or ep0) to run in a more conservative mode.

I'll look for right syntax. eg maybe hw.ata.ata_dma=0 etc starting
in my http://www.berklix.com/~jhs/hardware/laptops/#loader.conf

/Soapbox:
This frequent `FreeBSD defaults to need high end modern
hardware' is bad for publicity, newbies who dont know where
to look will tell friends: I gave up  went Linux.

( For those who might say buy high end, No! spare old
laptop sufficient for Xterm + mp3 + LAN for stereo in living
room, leaving main laptop free for more demanding things.
Plus not all can afford latest, + conservation, green etc,
...  just needs more generous install defaults. )

FreeBSD has improved elsewhere though on old hardware: The
same laptop that failed to go beyond 5.1 without losing
ep0, now sees ep0 in 7.0-BETA3 install.
End Soapbox/

-- 
Julian Stacey. Munich Computer Consultant, BSD Unix C Linux. http://berklix.com
Ihr Rauch = mein allergischer Kopfschmerz. Dump cigs 4 snuff.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: installation problems of FreeBSD 7 beta 2 on Dell D610 (multiboot con solaris, linux, winxp)

2007-11-27 Thread Julian H. Stacey

 Stefano  stable@
 I saw similar installing 7.0-BETA3 on my Digital HiHote Ultra
...
 I'll look for right syntax. eg maybe hw.ata.ata_dma=0 etc starting
 in my http://www.berklix.com/~jhs/hardware/laptops/#loader.conf

Safe mode (Hit Key 3 after it asks for boot floppy 2nd time 
(Im using floppy as my cd drive doesnt like my cd-rw media, just cd-r)
This sets hw.ata.ata_dma to 0, with this my laptop is now in middle
of a minimal install, reading distrib via a pcmcia ep0 ethernet.
Good luck.

-- 
Julian Stacey. Munich Computer Consultant, BSD Unix C Linux. http://berklix.com
Ihr Rauch = mein allergischer Kopfschmerz. Dump cigs 4 snuff.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Schedule for 6.3R is a 404

2007-11-23 Thread Julian H. Stacey
Mike Jakubik wrote Tue, 20 Nov 2007 18:26:22 -0500 (Wed 00:26 CET):
 Just an FYI, http://www.freebsd.org/releases/6.3R/schedule.html returns 
 a 404. This is linked from http://www.freebsd.org/releases/.

Still so at Fri Nov 23 14:52:46 CET 2007
Ive cc'd [EMAIL PROTECTED]

-- 
Julian Stacey. Munich Computer Consultant, BSD Unix C Linux. http://berklix.com
Ihr Rauch = mein allergischer Kopfschmerz. Dump cigs 4 snuff.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Software for distribution of configuration files and changes

2007-11-20 Thread Julian H. Stacey
 Karl M. Joch wrote:
  Hello,
 
  i have searched alot for a software to:
 
  - distribut configuration files from one master to different
  systems - maintain configuration files on one machine for all
  systemes and then send it out - push the files, not download them
  like cvsup - maintaining files for all systems and files only
  affecting one system
 
  any ideas and hints would be greatly appreziatet.
 
 
 Have you looked at aegis (aegis.sf.net)?

One way is to use eg:
rlogin master_host ; su
cd /site; rdist -M 20 -P /usr/bin/ssh mylabel
 have various /etc  /usr/local/etc  httpd.conf etc files symbolic linked to
a parallel tree in per host copies of /site
Add
PermitRootLogin yes
to
/etc/ssh/sshd_config
To make rdist as root easier.

Some people prefer rsync to rdist. rdist6  rsync are in /usr/ports/net/
There's doubtless other solutions too.


-- 
Julian Stacey. Munich Computer Consultant, BSD Unix C Linux. http://berklix.com
Ihr Rauch = mein allergischer Kopfschmerz. Dump cigs 4 snuff.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 7.0-BETA1 Available, 6.3-BETA1 coming soon...

2007-10-25 Thread Julian H. Stacey
Wayne Chapeskie wrote:
 On Mon, 2007-10-22 at 22:21 -0400, Ken Smith wrote:
 
  The 7.0-BETA1 builds have completed and are on many of the FreeBSD
  mirror sites.  If you want to update an existing machine using cvsup use
 
 I've been doing some install testing of the 7.0-BETA1 i386 ISO's, and
 have found a small glitch or two.  Where should bug reports for
 the BETA or RC installs be sent?

Suggestion:
Use send-pr
 add
cc: Release Engineers [EMAIL PROTECTED]

-- 
Julian Stacey. Munich Computer Consultant, BSD Unix C Linux. http://berklix.com
Ihr Rauch=mein allergischer Kopfschmerz. Dump cigs 4 snuff.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: HOW TO: Enabling root on a new server?

2007-07-17 Thread Julian H. Stacey
Norberto Meijome wrote:
 Michael Williams [EMAIL PROTECTED] wrote:
 
  I'm going to call one more time today.  If I get no better  
  assistance, I will seek out a different company.  If you all have any  
  recommendations let me know.

http://bsn.com : Small v. flexible BSD ISP server hosting  provision.  Sparcs
available too.  http://consol.de Bigger.  Both host http://berklix.org servers.

 Search the archives for discussions on FreeBSD Hosting.

http://www.freebsd.org/commercial/isp.html

-- 
Julian Stacey. Munich Computer Consultant, BSD Unix C Linux. http://berklix.com
Ihr Rauch=mein allergischer Kopfschmerz. Dump cigs 4 snuff.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: regular user can destroy disk label?!?

2007-07-07 Thread Julian H. Stacey
Robert Watson wrote:
 On Wed, 4 Jul 2007, Julian H. Stacey wrote:
 
  Thomas Hurst wrote:
  * Julian H. Stacey ([EMAIL PROTECTED]) wrote:
 
  Either:
- You made a typo with ar0s2  meant ad0s2,
- Or you really mean ar - man 4 ar reports a comms card !
 
  ataraid(4) exposes ATA RAID devices as ar%d:
 
   -% man 4 ataraid |grep /dev
/dev/ar*  ATA RAID device nodes
 
  Thanks Thomas, that explains name then.
 
  It doesnt affect thoughts on permissions though, unless driver very strange.
 
 Something people occasional get surprised by is the fact that members of the 
 operator group are given significant access to local disks, etc.  Could user 
 account in question have been in the operator group?
 
 Robert N M Watson

Good guess;  No response seen though from questioner Harald S.,
(though my mail filter was in heavy change this week).
BTW Harald S., Ian Smith wrote add -d:  cd /dev ; ls -l -d . ar0s2

-- 
Julian Stacey. Munich Computer Consultant, BSD Unix C Linux. http://berklix.com
 HTML mail unseen. Ihr Rauch=mein allergischer Kopfschmerz. Dump cigs 4 snuff.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: regular user can destroy disk label?!?

2007-07-04 Thread Julian H. Stacey
Thomas Hurst wrote:
 * Julian H. Stacey ([EMAIL PROTECTED]) wrote:
 
  Either:
- You made a typo with ar0s2  meant ad0s2,
- Or you really mean ar - man 4 ar reports a comms card !
 
 ataraid(4) exposes ATA RAID devices as ar%d:
 
  -% man 4 ataraid |grep /dev
   /dev/ar*  ATA RAID device nodes

Thanks Thomas, that explains name then. 

It doesnt affect thoughts on permissions though, unless driver very strange.

Harald,
- If your shell or xterm scroll etc supports logging  you still have
  it, you might check if you really were unprivileged ?
- What's result of your  cd /dev ; ls -l  . ar0s2 /sbin/bsdlabel

-- 
Julian Stacey. Munich Computer Consultant, BSD Unix C Linux. http://berklix.com
 HTML mail unseen. Ihr Rauch=mein allergischer Kopfschmerz. Dump cigs 4 snuff.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: regular user can destroy disk label?!?

2007-07-03 Thread Julian H. Stacey
Harald Schmalzbauer wrote:
 Hello,
 
 accidentally I did 'bsdlabel -w ar0s2' as unprivileged user but it was 
 successfull.

Likely you have a permissions problems.  Report result of 
cd /dev ; ls -l  . ar0s2 ad0s2 /sbin/bsdlabel

On my 6.2-RELEASE for example I have an unwriteable combo of:
dr-xr-xr-x   5 root  wheel  512 Jan  1  1970 ./
crw-r-  1 root  operator0, 110 Jun 21 09:03 ad0s2
crw-r-  1 root  operator0, 123 Jun 21 11:03 ad0s2a
-r-xr-xr-x  2 root  wheel   233768 Apr 11 19:43 /sbin/bsdlabel*

Either:
  - You made a typo with ar0s2  meant ad0s2,
  - Or you really mean ar - man 4 ar reports a comms card !
  - /dev/ar0s2 may be some meaningless normal file, not a device, but in
/dev/ , writeable by you, from a previous mistake you made as root ?


 Is this only possible because there was no mounted filesystem on it?

No.
Regardless what the code of bsdlabel.c might try, if it doesnt have
SUID or SGID bits  isnt run as root, kernel won't allow it to write
what it doesnt have permission for.

 But I can imagine having data on unmounted filesystems.

Possible yes but see above.

 Is it intended that regular useres can overwrite the label?

No.

 That's a big fault in my opinion.

No such fault to fear :-)
BTW all above is general Unix philospohy, applies equally to Linux, *BSD
 commercial Unixes, ref. any book on Unix permissions etc :-)

 Best regards,
 
 -Harry
Julian
-- 
Julian Stacey. Munich Computer Consultant, BSD Unix C Linux. http://berklix.com
 HTML mail unseen. Ihr Rauch=mein allergischer Kopfschmerz. Dump cigs 4 snuff.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Unable to use my USB MP4 player: FreeBSD hangs

2007-06-24 Thread Julian H. Stacey
Dominique Goncalves wrote:
 Hi,
 
 I'm trying to connect my USB MP4 player to transfer some video and
 music files, but when I plug the player FreeBSD hangs at this point:

You don't say, if, so I'll reccomend:
Do turn on power before connectting to FreeBSD
Do not rely on player detecting power  turning on.
Why:
I used to have hell of a problem before with my Clipman mp3 player
Problem was devd or usbd created  destroying things while listening
to wire one end,  the Clipman mp3 listening to wire  also doing
things, eg powering off or destroying /dev entries etc.
http://berklix.com/~jhs/~jhs/txt/clipman/

-- 
Julian Stacey. Munich Computer Consultant, BSD Unix C Linux. http://berklix.com
 HTML mail unseen. Ihr Rauch=mein allergischer Kopfschmerz. Dump cigs 4 snuff.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: When inode change time changes?

2007-06-22 Thread Julian H. Stacey
Oliver Fromme wrote:
 Artem Kuchin wrote:
   Also, i use inode time because i only need files
   which really have been changed. For example,
   i you restore a file from a month ago it will have
   a date which is a month ago. Then that backup
   is destroyed but this file would not be backed up
   because the date is too  much in the past. So, we
   loose the file. If i used inode change time the file
   will be backup in any case. However, some 
   stupid programs like mysql or qmail seem to
   touch files so,
 
 Pretty much _any_ operation on a file (except reading it)
 will update the ctime of the inode.  So I'm not surprised
 that the ctime of database files and mail files gets
 updated often.

I was uncertain what  when changed st_ctime st_atime st_mtime 
when I had to use SCO (ugh!) in 1990, as well as BSD. Not enough source
then  there,  manuals were insufficient, so to observe, I wrote
http://berklix.com/~jhs/src/bsd/jhs/bin/public/statv/
More tools since, but might still be handy.
-- 
Julian Stacey. Munich Computer Consultant, BSD Unix C Linux. http://berklix.com
 HTML mail unseen. Ihr Rauch=mein allergischer Kopfschmerz. Dump cigs 4 snuff.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: chkrootkit finds 94 process hidden for readdir

2006-12-23 Thread Julian H. Stacey
Ivan Voras wrote:
 Matthew Herzog wrote:
 
  I ran chkrootkit yesterday and saw this:
  Checking `lkm'... You have94 process hidden for readdir command
  chkproc: Warning: Possible LKM Trojan installed
 
 Does LKM stand for Linux Kernel Module? If so, no wonder the check has
 gone lala :)

No. Per
/usr/ports/security/chkrootkit/work/chkrootkit-0.46a/README:
Loadable Kernel Modules (LKM) trojan checking
Havent tried it myself.

-- 
Julian Stacey.  BSD Unix C Net Consultancy, Munich/Muenchen  http://berklix.com
Mail Ascii, not HTML.   Ihr Rauch = mein allergischer Kopfschmerz.
http://berklix.org/free-software
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Possibility for FreeBSD 4.11 Extended Support

2006-12-21 Thread Julian H. Stacey
Charles Sprickman made many good point IMO, but one aluded to in
Chris's follow up concerns me:

 there is also uneeded cost involved in piurchasing hardware capable of
 running 6.x

Performance on old boxes  stability interest me, eg the 486s
in scanners ( http://berklix.com/scanjet/  http://madole.net/scanjet/
) that have become servers, some of which may also be last islands of
secret BSD server sanity in companies that have fallen to the Suits
edict of Only boxes blessed by Mickey$oft ;-)

Sure, I can  do cross compile ('cos local make world is Slow), but
when shipped  if supporting other server loads, 6.x Might be a
problem on eg Am486DX2 66 MHz 16M Ram ?  (I got the impression 4.11
to 6.x will slow by about 1.2 ?)  Maybe most people are running
(like me on ~ 20 boxes) mostly 4.11  6.1, so perhaps that suggestion
to drop 5.x rather than 4.x makes numeric sense ?

Julian
-- 
Julian Stacey.  BSD Unix C Net Consultancy, Munich/Muenchen  http://berklix.com
Mail Ascii, not HTML.   Ihr Rauch = mein allergischer Kopfschmerz.
http://berklix.org/free-software
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Installing 6.2-BETA3 from floppies

2006-11-14 Thread Julian H. Stacey
Eugene Grosbein wrote:
 On Tue, Nov 14, 2006 at 03:43:41PM +0700, Eugene Grosbein wrote:
 
   I've prepared 4 floppy disks and tried to boot from floppies.
   It successfully loads kernel and acpi.ko and shows menu
   formerly known as 'Beastie' (now draws 'FreeBSD' instead of Chuck).
   The menu shows that FreeBSD detects that this system does not
   have ACPI and will boot without ACPI support enabled.
   
   However, timer does not 'tick' and there is always 10 seconds left.
   I choose verbose mode, it starts to show its diagnostic output
   but last line it shows is 'Calibrating clocks...' then it halts:
   keyboard leds do not switch, there is no reaction on 'Ctrl-Alt-ESC'.
  
  Hmm, I was too quick... The kernel has spent lots of minutes
  'sitting in this pose' but suddenly said that clock calibration
  has failed and it will use default frequency. Then it booted Ok
  and I've installed the system to HDD using 6.1-RELEASE (I do not
  have complete 6.2-BETA3 CD here but plan to do binary upgrade
  over FTP).
  
  When installation process was finished, it rebooted from HDD
  but it now it sits again at the same stage trying to calibrate clock,
  5 minutes are gone already. So the question is what should I do
  to skip this stage and have accurate timers still.
 
 I've rebuild kernel without any CALIBRATE_XXX options
 but it still tries to calibrate clock and hangs for 15 minutes exactly
 then proceedes to probe devices and boots Ok.
 
 When I first booted this old machine its BIOS said that Date/Time in CMOS
 are corrupted and asked to press F1 to enter SETUP to fix this
 or press ESC to continue booting. Enterins SETUP and correcting
 settings does not help and BIOS complains again that Date/Time are wrong
 and does not proceed without a key is pressed on keyboard.
 That's not suitable for small standalone router so I went to the store,
 bought Duracell DL2032 3V battary and replaced old
 Panasonic CD2032 3V battary. That satisfied BIOS POST and it no more
 complains about Date/Time. But FreeBSD spends 15 minutes to calibrate clock.
 
 Now I've put back old Panasonic CD2032 3V and hey, BIOS complains again
 but FreeBSD boots normally and completes clock calibration very quickly.
 
 I wonder, how new battery may affect clock calibration routines
 and why old bad battery does not affect it that way?
 
 Eugene Grosbein

After changing battery I'd assume every piece of your CMOS BIOS is
potentialy wrong.  I'd do a factory reset of BIOS (not just checking
things (*))  then set what I wanted in every position going through
BIOS before wondering what the interaction with any OS was.

(*) I've known a BIOS (Gigabyte 486-33 AMD I think, but principle applies
to others), where I reset every CMOS field exactly how it should be, yet
board didnt work right, then I did a factory reset,  set personal
prefs again  then it did work.  Lesson was that BIOS manuf. was resetting
more than it displayed ( something must have got scrambled but not
displayed)

-- 
Julian Stacey.  BSD Unix C Net Consultancy, Munich/Muenchen  http://berklix.com
Mail Ascii, not HTML.   Ihr Rauch = mein allergischer Kopfschmerz.
http://berklix.org/free-software
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Trouble: NFS via TCP

2006-11-09 Thread Julian H. Stacey
Hi Oliver,

 Now I'm running out of ideas 

Well done on that big list of things already tried :-)
Using a normal UDP mount I had eratic come  go problems with amd
until I added to rc.conf
nfs_server_flags=-u -t -n 10
Turns out I had too few. 10 fixed it.
man nfsd:
A server should run enough daemons to handle the maximum
level of concurrency from its clients.
defaults/rc.conf
nfs_server_flags=-u -t -n 4
In my case my remote amd was trying to mount all 5 of
/
/tmp
/usr
/var
/usr1
Might help, Good luck.

-- 
Julian Stacey.  BSD Unix C Net Consultancy, Munich/Muenchen  http://berklix.com
Mail Ascii, not HTML.   Ihr Rauch = mein allergischer Kopfschmerz.
http://berklix.org/free-software
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: fetchmail - sendmail problem

2006-10-05 Thread Julian H. Stacey
 Slightly OT, but any reason you don't run fetchmail as a daemon (just
 currious)?

Reason was smaller building blocks to rearrange/ debug during
construction/ breakage.  Now merely a case of it works  others
things to do. `When I get round to it (TM ie ages ;-) I'll go
D-DNS  SMTP whole way  omit fetchmail (except when travelling).

-- 
Julian Stacey.  BSD Unix C Net Consultancy, Munich/Muenchen  http://berklix.com
Mail Ascii, not HTML.   Ihr Rauch = mein allergischer Kopfschmerz.
Don't buy it ! Get it free !  http://berklix.org/free-software
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


  1   2   >