9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: lucio@proxima.alt.za
To: 9fans@9fans.net
Subject: Re: [9fans] what is differece(s) between sources and atom kernel?
Date: Fri,  4 Apr 2014 07:03:37 +0200	[thread overview]
Message-ID: <85dea028f2e2b756fb70a1d9f5038d4a@proxima.alt.za> (raw)
In-Reply-To: <c5285a824680e80236116e9780ac3bf3@ladd.quanstro.net>

> also, since pae is only 18 years old, we can assert that you probablly
> don't have a #9 video card in it or other such old stuff.  i have nothing
> against the old stuff, but there has to be a way to clean out the closets. :-)

I tend to trim down my kernel for at least some of the (old) machines I use.  For example:

% cat /sys/src/9/pc/foible
# foible - Lucio's workstation
dev
	root
	cons
	arch
	pnp		pci
	env
	pipe
	proc
	mnt
	srv
	dup
	rtc
	ssl
	tls
	cap
	kprof
	fs

	ether		netif
	ip		arp chandial ip ipv6 ipaux iproute netlog nullmedium pktmedium ptclbsum386 inferno

	draw		screen vga vgax
	mouse		mouse
	vga
	kbmap
	kbin

	sd
	floppy		dma
	aoe
	lpt

	ac97		dma
	uart
	usb

	wd

link
	audioac97	audioac97mix
	realmode
	apm		apmjump

	ether82557	pci

	ethermedium
	pcmciamodem
	netdevmedium
	loopbackmedium

	usbuhci
	usbehci		usbehcipc

	x86watchdog

misc
	archmp		mp apic mpacpi
	mtrr

	sdata		pci sdscsi

	uarti8250
	uartpci		pci

	vgas3		+cur vgasavage
	vgavesa

ip
	il
	tcp
	udp
	rudp
	ipifc
	icmp
	icmp6
	gre
	ipmux
	esp

port
	int cpuserver = 0;

boot boot #S/sdC0/
	tcp
	il
	local

bootdir
	boot$CONF.out boot
	/386/bin/ip/ipconfig
	/386/bin/auth/factotum
	/386/bin/cfs
	/386/bin/usb/usbd


There's some unused stuff left over, I'm sure, but it's a smaller
kernel:

--rwxrwxr-x M 12 lucio sys 2108931 Mar 28 20:05 /386/9foible
--rwxrwxr-x M 12 sys   sys 2588634 Dec  3 00:50 /386/9pc

Perhaps not much, I thought taking out all the VGA redundancy would
make a bigger difference.

And, for the curious, AC97 works quite adequately, but I haven't been
able to get IL to work, the fileserver connection fails (yes, the file
server also has IL in the kernel).

++L





  parent reply	other threads:[~2014-04-04  5:03 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-04  2:03 kokamoto
2014-04-04  2:13 ` erik quanstrom
2014-04-04  3:10   ` Kurt H Maier
2014-04-04  4:13   ` kokamoto
2014-04-04  4:23     ` erik quanstrom
2014-04-04  4:55       ` kokamoto
2014-04-04  5:05         ` lucio
2014-04-04  5:03       ` lucio [this message]
2014-04-04  4:49     ` lucio
2014-04-05  4:24       ` kokamoto
2014-04-05  4:40         ` kokamoto

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=85dea028f2e2b756fb70a1d9f5038d4a@proxima.alt.za \
    --to=lucio@proxima.alt.za \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).