FreeBSD

Új FreeBSD bootloader

Címkék

Scott Long a FreeBSD Release Engineering Team egyik tagja írt egy bootloader front-end scriptet, amelynek segítségével a felhasználók engedélyezni/tiltani tudják az ACPI-t, single user módba tudják bootolni a gépet, stb. A motiváció az volt, hogy mostanában egyre több gond volt az ACPI-vel több gépen is, és ezzel a megoldással a felhasználók könnyen ki tudják kapcsolni boot időben az ACPI funkciót. Scott reméli, hogy a szkript már rajta lesz a FreeBSD 5.1 i386-os bootCD-n. Visszajelzéseket vár a fejlesztő a dologgal kapcsolatban.

Scott levele:Date: Sun, 25 May 2003 22:15:20 -0600

From: Scott Long

To: arch@freebsd.org

Subject: New bootloader!

All,

I've written a nice little bootloader front-end script that allows one to enable/disable acpi, boot single users, etc. My primary motivation was to allow users to easily disable ACPI, since so many problems are popping up these days with it. Making the disabling of ACPI sticky is not that hard to do, probably a few lines of sh scripts in rcNG, but I haven't gotten to it yet. To use the new loader, grab it rom

http://people.freebsd.org/~scottl/beastie.4th

and place it in /boot. Then copy frames.4th and screen.4th from /usr/share/examples/bootforth into /boot. Then edit /boot/loader.rc with the following diff. WARNING: if any mistakes are made and the script cannot start, it might leave your loader unable to load the kernel. In case of problems, either keep a fixit floppy handy, or recompile your kernel with embedded hints (so that things like the console will work) and load it from the boot1 loader.

I'm really hoping to have this be on at least the i386 bootcd for 5.1, so any feedback is appreciated.

Scott

--- loader.rc.orig Sun May 25 22:10:03 2003

+++ loader.rc Sun May 25 22:10:47 2003

@@ -12,3 +12,14 @@

Unless set otherwise, autoboot is automatic at this point

+ Load our little menu

+s" /boot/beastie.4th" O_RDONLY fopen dup fload fclose

+

+ Initialize loader.4th stuff

+

+ cr cr .( Initializing loader.4th...)

+initialize drop

+

+ Show the menu

+ cr

+beastie-start

FreeBSD 5.1 kiadási ütemterv

Címkék

A FreeBSD-s Release Engineering Team által adott infók alapján holnapra várható a FreeBSD 5.1 első RC (release candidate - kiadásra jelölt) verziója.Ezt követően május 30-ra várható a végső build elkészítése, és ha nem csúszik a kiadási procedúra, akkor június 2-án megérkezik a FreeBSD 5.1.

FreeBSD 5.1 Release Process

(mivel a beta2 két napot csúszott a tervezetthez képest, elképzelhető, hogy a csúszás módosítja a végleges verzió megjelenési dátumát is)

AMD64 változások

Címkék

Peter Wemm némileg átdolgozta a FreeBSD AMD64 specifikus memóriakezelését, így a KVM 2 GB-ra, a felhasználói programok által elérhető memóriaterület pedig 512 GB-ra nőtt.A pmap kód átalakításának köszönhetően a következő változások léptek érvénybe (FreeBSD CURRENT):

  • Közvetlenül belapozott régió használata 2 MB-os lapokkal. Ezzel 512 GB fizikai memória érhető el jelenleg.
  • Négyszintű laptábla rendszer. A 128 TB userland virtuális címtérhez szükséges infrastruktúra nagy része már megvan, de egy rejtélyes hiba miatt ebből jelenleg csak 512 GB engedélyezett. A megvalósítást az alpha pmap.c-je ihlette.
  • A kernel a negatív címtartományba került.
  • A kernel 2 GB-os KVM-mel rendelkezik. (Kernel Virtual Memory)

Hiányosságok:

  • A pmap_growkernel()-nek képesnek kéne lennie az 512 GB-os méretű KVM kezelésére. A kernelnek a negatív címtér felső 2 GB-jában kell lennie a gcc kódelőállítási stratégiája miatt.
  • A >512 GB felhasználói címtér engedélyezése

A jelenlegi megvalósításban a 32 bites alkalmazások 4 GB címterülettel gazdálkodhatnak, amely jelentősen nagyobb, mint a jelenlegi i386-on rendelkezésre álló körülbelül 2,9 GB (1 GB a kernelnek, plusz a laptáblák, amelyek a felhasználói memóriaterületet használják).

FreeBSD 5.1 beta2

Címkék

A FreeBSD Release Engineering Team tagja Scott Long feltöltötte az 5.1 i386 Beta2 FreeBSD kiadást.

Scott levele:

Date: Wed, 21 May 2003 00:00:21 -0600

From: Scott Long

To: hubs@freebsd.org

Subject: 5.1-BETA2 ia32

Hubs,

5.1-BETA2 IA32 is on ftp-master, and 5.1-BETA has been removed. There two are roughly the same size.

Scott

============================

Date: Tue, 20 May 2003 01:30:26 -0600

From: Scott Long

To: hubs@freebsd.org, re@freebsd.org

Subject: [Fwd: Re: BETA2 build]

Hubs,

Assuming that this round of builds succeeds, the BETA2 bits will probably be hitting ftp-master in the next 24-48 hours (I promise this time! =-). As each arch gets uploaded, we will probably delete the BETA bits in order to save room.

Scott

-------- Original Message --------

Subject: Re: BETA2 build

Date: Tue, 20 May 2003 01:21:45 -0600

From: Scott Long

To: Scott Long

CC: re@freebsd.org, re-builders@freebsd.org, fenner@freebsd.org

References:

Scott Long wrote:

> All,

>

> I just got a sucessful alpha build!!!! I've checked in the needed

> patches, so everything should be ready to go. I'm not going to update

> the banner to BETA2 as I don't feel that there is a real need for it.

> Let's mark the official build time as 1900PDT, or 0200GMT (20 May).

> I'm going to build ia32 and alpha, I believe that fenner has volunteered

> for sparc64, and I'm hoping that nyan will take care of pc98.

>

> make release BUILDNAME=5.1-BETA2 CHROOTDIR=/usr1/release

> CVSROOT=/usr1/ncvs CVSCMDARGS="-D '05/20/2003 02:00:00 UTC'"

>

>

> Good luck!

>

> Scott

Ok, reports are that the ppp bootcrunch problem is solved. I'm restarting the alpha and ia32 builds as of

Tue May 20 07:20:00 GMT 2003

ALQ man oldalak FreeBSD 5.x-hez

Címkék

A FreeBSD csapattag Hiten Pandya megírta az Asynchronous Logging Queues (ALQ) manoldalait FreeBSD 5.x-hez, és a felhasználók véleményét kéri.

Pandya levele:Date: Tue, 20 May 2003 13:34:18 -0700

From: Hiten Pandya

To: arch@FreeBSD.ORG

Subject: ALQ manual page review

Hi gang.

I have written a manual page for the Asynchronous Logging Queues (ALQ) facility, available in FreeBSD 5.x. I have been trying to reach Jeff by various methods of contact (IRC, mail etc) but I have not had a response from him.

Viewing copy is available:

http://people.FreeBSD.ORG/~hmp/manpages/alq.9.pdf

http://people.FreeBSD.ORG/~hmp/manpages/alq.9.txt

Groff copy of the manual page:

http://people.FreeBSD.ORG/~hmp/manpages/alq.9

The manual page has been reviewed by my mentor (des@).

Commands and suggestions welcome.

Thanking in anticipation.

-- Hiten (hmp@FreeBSD.ORG)

FreeBSD 5.1 és 5.2 TODO lista

Címkék

Robert Watson egy automatikus levelezőrendszert hozott létre, amelynek a feladata az, hogy az eljövendő 5.1-es és 5.2-es kiadások nyitott hibáit feltárja. Az 5.1-es lista automagic postázza a jelentéseket minden másnap a -current@ listára. A lista nény nagy részre tagolható: "Must Resolve Issues", "Desired Features", "Documentation items that must be resolved", és a "Areas requiring immediate testing" részekre. Bővebben itt.

WarBSD 0.1 kiadás

Címkék

Stacy Olivas összeolvasztotta a PicoBSD .500 megberhelt verzióját a FreeBSD 5.0-RELEASE-p7 forrásfájával. Ezután belenézett a WarLinux-ba, megvizsgálta, hogy azt hogyan lehet beágyazott Linuxként használni, majd rájött, hogy ezt meg lehet csinálni a PicoBSD-vel is. Elkezdte, és megszületett a WarBSD, amely a készítő szerint nem egy újabb *BSD kód fork, hanem a WarLinux BSD-s megfelelője..

Linkek:

WarBSD honlap

WarLinux

PicoBSDFrom: Stacy Olivas

To: freebsd-chat@freebsd.org

Date: Tue, 13 May 2003 00:59:01 +0200

Subject: WarBSD 0.1 Released

WarBSD 0.1?

Yeah, it's a little hack I did of PicoBSD .500 (using the FreeBSD 5.0-RELEASE-p7 source tree).

After seeing WarLinux and how it used an embedded version of Linux to get the job done, I started wondering if PicoBSD could be used for the same thing.

It can. After a few hours of hacking I got it done. It wasn't until recently that I decided to make it public.

So, if you want to see my first attempt at dong something interesting with FreeBSD surf on over to the temporary home of WarBSD at

http://digiflux.org/warbsd

There you will find some general information and the source tarball that you can download and (if you have the FreeBSD source tree on your system) you can build your own copy.

The system boots. I've got it using bsd-airtools for it's

wireless sniffer.

I'm running into a problem with the wi network driver. The README ile tells you about it.

I've decided to release this in hopes that someone will find it

useful and maybe even point to way to getting it working right.

Let me know what you think. Send all comments, suggestion, flames, etc to my address above.

Thanks

-Stacy

Szerény javaslat a FreeBSD errno értékek jobb kezelésére

Címkék

Az Apple Computer-es Jordan Hubbard (volt FreeBSD core tag) egy javaslattal állt elő a hackers@ levelezési listán, amelyel azt szeretné elérni, hogy a jobban, érthetőben lehessen kezelni FreeBSD alatt a hibakódok értékeit.

Jordan levele:Date: Tue, 13 May 2003 01:57:13 -0700

From: Jordan Hubbard

To: hackers@freebsd.org

Subject: A modest proposal for better errno values...

Now, before I start here, let me just acknowledge up-front that what I'm about to raise is prime bike-shed material of the first order. It is a matter so trivial that it's not at all unreasonable to expect every man and his dog in this project to have a strong opinion on it, so in the name of bandwidth conservation and all that's holy I merely ask you to honestly ask yourself "do I really, truly care about this?" before sending off your personal 500 word screed on the subject that's to follow. Finally, and just for the record, I'll note that two of my dogs pretty much agree with me on this and the third, a small white poodle with an attitude problem, honestly doesn't give a damn and indicated as much by merely showed me his teeth when I asked him about it.

With all that out of the way, I'll get on with it. Here at Apple we've been merging this and that from FreeBSD, as is our usual custom, and today several engineers saw something go across in a cvs merge commit which raised more than a few eyebrows and led to various queries as to the origin of the following new errno in FreeBSD:

jkh@freebsd-> grep DOOFUS /usr/include/sys/errno.h

#define EDOOFUS 88 /* Programming error */

Doing a little digging, I also see that a certain Dane is responsible for both the original commit on 2002/08/09 and a spelling fix to it on 2002/08/21 (I guess the OED is pretty clear on the spelling of "doofus"). Most of you who know me at all will also know that I'm hardly the most reverent or humor-impaired person you'll ever meet and I certainly got a chuckle out of this when I first saw it, just as I've gotten a chuckle out of various man pages and function names in FreeBSD which showed that the programmer responsible for them was at least enjoying his or her work at the time. I'm all for that, particularly in situations where a developer or user has to go well out of their way to get offended by something and therefore isn't exactly an object of sympathy.

This, however, is a little more in-your-face than something like the infamous "die_you_gravy_sucking_pigdog()" function in shutdown (which I successfully defended when it came up) since it sort of makes an mplied statement about the developer's competence, rightly or wrongly, and is far more likely to propagate into other code since if there's an

errno value returned by something then it also needs to be checked by the client code. From the corporate perspective, and corporations are infamous for not being particularly inclined towards humor, this is one particular little "easter egg" in FreeBSD that sticks just a little too far above the ground to lend a professional image.

So, to make a long story short, this is one small area where Apple's going to have to gratuitously diverge from FreeBSD if it remains this way and I frankly hate that idea since it just makes diffing things that much more annoying and for reasons which could be best and most accurately described as "silly." That said, I'm sure the reactions of the various people reading this will still vary between "who gives a damn what Apple thinks of our errno values?! Get a life, Apple!" and

"yeah, that's a pretty silly errno value and in rather colloquial

english at that, let's pick a more descriptive name like ``EUSERERR'' or something which makes any code using it more clear."

I'm naturally hoping that more people will be of the latter opinion and we can just change it and move on, one more gratuitous and unnecessary code fork thus averted, but if the group consensus is that we should get bent and simply change our own value to one which potentially offends our developers less (or remove it entirely) and not bother the

FreeBSD project with such requests, I'm willing to live with that too.I had to at least ask, however, rather than just making the change unilaterally on our side... Thanks, and let the bikeshed building begin!

--

Jordan K. Hubbard

Engineering Manager, BSD technology group

Apple Computer

IBM/Adaptec ServeRAID támogatás

Címkék

Scott Long (Adaptec) hozzáadta a FreeBSD 5-CURRENT-hez az IBM (most már Adaptec) ServeRAID kártyák támogatását. A meghajtót David Jeffreys és az Adaptec írták.

Az ips nevet viselő driver a tervek szerint 1 hét múlva a STABLE ágban is meg fog jelenni, sokunk örömére.

Addig is lehet tesztelni!