Betriebssysteme > NetBSD

Letzte NetBSD Version für i386 ?

<< < (3/3)

escimo:
Danke :)

Ich poste bei Gelegenheit mal ein Paar Bilder. Im Vergleich zur Auktion sieht mein Framebuffer etwas anders aus, sollte aber von der Spezifikation her auch ein CG3 mit 1MiB VRAM sein.

escimo:
Folgend die Konfiguration des schlankeren Kernel-Kompilats, zusammen mit einigen Bildern des Systems.



# cd /usr/src/sys/arch/i386/conf
# egrep -v "(^$)|(^#)" GENERIC_SX
include "arch/i386/conf/std.i386"
makeoptions   COPTS="-Os"
maxusers   4      # estimated number of users
options    I386_CPU
options    MATH_EMULATE   # floating point emulation
options        CPURESET_DELAY=5000
options    INSECURE   # disable kernel security levels
options    RTC_OFFSET=0   # hardware clock is this many mins. west of GMT
options      PIPE_SOCKETPAIR   # smaller, but slower pipe(2)
file-system    FFS      # UFS
file-system    NFS      # Network File System client
options    FFS_EI      # FFS Endian Independant support
options    VNODE_OP_NOINLINE # no inline vnode op (VOP_*) calls in kernel
options    NMBCLUSTERS=64
options    INET            # IP + ICMP + TCP + UDP
options    WSEMUL_VT100      # VT100 / VT220 emulation
options    WS_KERNEL_FG=WSCOL_GREEN
options    WSDISPLAY_COMPAT_PCVT     # NetBSD 'pcvt' driver to emulate some ioctls
options    WSDISPLAY_COMPAT_RAWKBD   # support reading raw scancodes of XT keyboards
options    PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
options    PCDISPLAY_SOFTCURSOR
config      netbsd   root on ? type ?
mainbus0 at root
isa0   at mainbus?
npx0   at isa? port 0xf0 irq 13   # x86 math coprocessor
pckbc0      at isa?         # pc keyboard controller
pckbd*      at pckbc?      # PC keyboard
vga0      at isa?
wsdisplay*   at vga? console ?
wskbd*       at pckbd? console ?
pcppi0   at isa?
com0   at isa? port 0x3f8 irq 4   # Standard PC serial ports
com1   at isa? port 0x2f8 irq 3
lpt0   at isa? port 0x378 irq 7   # standard PC parallel ports
aha0   at isa? port 0x330 irq ? drq ?   # Adaptec 154[02] SCSI
scsibus* at aha?
sd*   at scsibus? target ? lun ?   # SCSI disk drives
st*   at scsibus? target ? lun ?   # SCSI tape drives
cd*   at scsibus? target ? lun ?   # SCSI CD-ROM drives
wdc0   at isa? port 0x1f0 irq 14   # ST506, ESDI, and IDE controllers
wd*   at wdc? drive ?         # the drives themselves
fdc0   at isa? port 0x3f0 irq 6 drq 2   # standard PC floppy controllers
fd0   at fdc0 drive 0
ep0   at isa? port ? irq ?         # 3C509 ethernet cards
ix0   at isa? port 0x300 irq 10      # EtherExpress/16
spkr0   at pcppi?      # PC speaker
include   "arch/i386/conf/GENERIC.local"
pseudo-device   md      1   # memory disk device (ramdisk)
pseudo-device   vnd      4   # disk-like interface to files
pseudo-device   loop         # network loopback
pseudo-device   pty         # pseudo-terminals
pseudo-device   rnd         # /dev/random and in-kernel generator
pseudo-device   clockctl      # user control of clock subsystem

# egrep -v "(^$)|(^#)" std.i386
machine i386
options    EXEC_AOUT   # exec a.out binaries
options    EXEC_ELF32   # exec ELF binaries
options    EXEC_SCRIPT   # exec #! scripts
options    INET6_MD_CKSUM   # machine-dependant code for in6_cksum

# cd /usr/src/sys/arch/i386/conf
# /usr/sbin/config GENERIC_SX
Don't forget to run "make depend"
# cd ../compile/GENERIC_SX
# time make depend
(...)
 3710.53s real  2665.36s user   414.83s system
# time make
(...)
text    data    bss     dec     hex     filename
957984  25756   111996  1095736 10b838  netbsd
48715.77s real 25164.56s user  4721.55s system
# pwd   
/usr/src/sys/arch/i386/compile/GENERIC_SX
# ls -l netbsd
-rwxr-xr-x  1 root  wsrc  1152372 May 14 05:47 netbsd
# cp netbsd /netbsd.sx
# chown root:wheel /netbsd.sx
# cp -p /netbsd /netbsd.tiny
# du -sk /netbsd.*
1136    /netbsd.sx
1504    /netbsd.tiny
# cp -p /netbsd.sx /netbsd
# ls -l /netbsd*   
-rwxr-xr-x  1 root  wheel  1152372 May 14 05:47 /netbsd
-rwxr-xr-x  1 root  wheel  1152372 May 14 05:47 /netbsd.sx
-rwxr-xr-x  1 root  wheel  1530618 Feb 10  2004 /netbsd.tiny
# reboot
(...)

# grep "May 14 09:03:" /var/log/messages
May 14 09:03:42 cupido syslogd: restart
May 14 09:03:42 cupido /netbsd: syncing disks... 6 6 6 4 done
May 14 09:03:42 cupido /netbsd: rebooting...
May 14 09:03:42 cupido /netbsd: NetBSD 1.6.2 (GENERIC_SX) #0: Mon May 14 05:46:02 UTC 2018
May 14 09:03:43 cupido /netbsd:     root@cupido:/usr/src/sys/arch/i386/compile/GENERIC_SX
May 14 09:03:43 cupido /netbsd: cpu0: Intel 386DX (386-class)
May 14 09:03:43 cupido /netbsd: total memory = 7808 KB
May 14 09:03:43 cupido /netbsd: avail memory = 5988 KB
May 14 09:03:43 cupido /netbsd: using 123 buffers containing 492 KB of memory
May 14 09:03:43 cupido /netbsd: mainbus0 (root)
May 14 09:03:43 cupido /netbsd: isa0 at mainbus0
May 14 09:03:43 cupido /netbsd: aha0 at isa0 port 0x330-0x333 irq 11 drq 5
May 14 09:03:43 cupido /netbsd: aha0: model AHA-1540A/1542A/1542B, firmware 0.5
May 14 09:03:43 cupido /netbsd: aha0: async, parity
May 14 09:03:43 cupido /netbsd: scsibus0 at aha0: 8 targets, 8 luns per target
May 14 09:03:43 cupido /netbsd: ep0 at isa0 port 0x300-0x30f irq 10: 3Com 3C509 Ethernet
May 14 09:03:43 cupido /netbsd: ep0: address 00:20:af:11:83:21, 8KB byte-wide FIFO, 5:3 Rx:Tx split
May 14 09:03:44 cupido /netbsd: ep0: 10baseT, 10base5, 10base2 (default 10baseT)
May 14 09:03:44 cupido /netbsd: com0 at isa0 port 0x3f8-0x3ff irq 4: ns8250 or ns16450, no fifo
May 14 09:03:44 cupido /netbsd: com1 at isa0 port 0x2f8-0x2ff irq 3: ns8250 or ns16450, no fifo
May 14 09:03:44 cupido /netbsd: pckbc0 at isa0 port 0x60-0x64
May 14 09:03:44 cupido /netbsd: pckbd0 at pckbc0 (kbd slot)
May 14 09:03:44 cupido /netbsd: pckbc0: using irq 1 for kbd slot
May 14 09:03:44 cupido /netbsd: wskbd0 at pckbd0 (mux ignored): console keyboard
May 14 09:03:44 cupido /netbsd: wdc0 at isa0 port 0x1f0-0x1f7 irq 14
May 14 09:03:45 cupido /netbsd: wd0 at wdc0 channel 0 drive 0: <ST625211CF>
May 14 09:03:45 cupido /netbsd: wd0: drive supports 16-sector PIO transfers, LBA addressing
May 14 09:03:45 cupido /netbsd: wd0: 2384 MB, 4845 cyl, 16 head, 63 sec, 512 bytes/sect x 4883760 sectors
May 14 09:03:45 cupido /netbsd: wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
May 14 09:03:45 cupido /netbsd: vga0 at isa0 port 0x3b0-0x3df iomem 0xa0000-0xbffff
May 14 09:03:45 cupido /netbsd: wsdisplay0 at vga0 (kbdmux ignored): console (80x25, vt100 emulation), using wskbd0
May 14 09:03:45 cupido /netbsd: lpt0 at isa0 port 0x378-0x37b irq 7
May 14 09:03:45 cupido /netbsd: pcppi0 at isa0 port 0x61
May 14 09:03:45 cupido /netbsd: spkr0 at pcppi0
May 14 09:03:45 cupido /netbsd: npx0 at isa0 port 0xf0-0xff irq 13
May 14 09:03:45 cupido /netbsd: fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
May 14 09:03:45 cupido /netbsd: fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
May 14 09:03:46 cupido /netbsd: biomask db65 netmask df65 ttymask dfe7
May 14 09:03:46 cupido /netbsd: scsibus0: waiting 2 seconds for devices to settle...
May 14 09:03:46 cupido /netbsd: boot device: wd0
May 14 09:03:46 cupido /netbsd: root on wd0a dumps on wd0b
May 14 09:03:46 cupido /netbsd: root file system type: ffs
May 14 09:03:53 cupido savecore: no core dump

Mit SCSI-Nachrüstung (HP C1533A DDS-2 Streamer) erweitert sich das Log um zwei Zeilen
# grep scsi /var/log/messages | grep "May 26"
May 26 12:05:11 cupido /netbsd: scsibus0 at aha0: 8 targets, 8 luns per target
May 26 12:05:13 cupido /netbsd: scsibus0: waiting 2 seconds for devices to settle...
May 26 12:05:13 cupido /netbsd: st0 at scsibus0 target 4 lun 0: <HP, C1533A, 9608> SCSI2 1/sequential removable

$ date
Sun Jul  8 18:54:43 UTC 2018

$ uname -a
NetBSD cupido 1.6.2 NetBSD 1.6.2 (GENERIC_SX) #0: Mon May 14 05:46:02 UTC 2018     root@cupido:/usr/src/sys/arch/i386/compile/GENERIC_SX i386


Ein Paar Bilder mehr zum SNI PCD-3Msx gibt es hier...
http://escimo.lima-city.de/fsc/SNI_PCD3Msx_01.jpg
http://escimo.lima-city.de/fsc/SNI_PCD3Msx_02.jpg
http://escimo.lima-city.de/fsc/SNI_PCD3Msx_06.jpg
http://escimo.lima-city.de/fsc/SNI_PCD3Msx_0x.jpg

escimo:
Habe nochmal etwas ge-G**gle-d bzgl 80386-level support


* http://www.netbsd.org/cgi-bin/query-pr-single.pl?number=36163
* https://mail-index.netbsd.org/port-i386/2012/08/13/msg002866.html
* https://mail-index.netbsd.org/port-i386/2012/08/23/msg002896.html
* https://undeadly.org/cgi?action=article;sid=20070530031412Interessant, aus welchen Beweggründen Code-Änderungen zu Stande kommen.  :)
Bei Gelegenheit befasse ich mich mal mit den Änderungen an den Quelldateien.

vab:
Naja, kann man schon nachvollziehen...  ich kann mich nicht erinnern, ob ich je mit einem 386 zu tun hatte.  Die ältesten Intel-Kisten hier haben einen 486.

Gruß -- Volker

Navigation

[0] Themen-Index

[*] Vorherige Sete

Zur normalen Ansicht wechseln