Subject: Getting Started in PReP
To: None <port-prep@netbsd.org>
From: Whyzzi <whyzzi@gmail.com>
List: port-prep
Date: 06/04/2007 14:18:00
I inherited an old RS6000 just recently and wanted to make it a
wireless endpoint between the house and garage using PF and ISAKMPD.
If I go for a snapshot of netbsd 4, which one should I download?
Judging from the mail list archive I would pretty much have to at
minimum to compile a new kernel for pf support - but what about common
PCI wireless hardware? What about isakmpd?
I was considering a standard RAL (ralink based) wireless network
adapter - any ideas if it would be supported?
Many thanks in advance!
The machine is acting somewhat flakey for some reason but anyway I
managed to scrape up a dmesg
Boot:
Loading in()
3529284+231920 [195248+185090]=0x3f358c
start=0x100000
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
2005, 2006
The NetBSD Foundation, Inc. All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
NetBSD 4.0_BETA2 (GENERIC) #0: Sat May 12 11:58:04 PDT 2007
builds@wb39:/home/builds/ab/netbsd-4/prep/200705120002Z-obj/home/builds/
ab/netbsd-4/src/sys/arch/prep/compile/GENERIC
Model: IBM Model 7042/7043 (ED)
total memory = 128 MB
avail memory = 119 MB
OpenPIC Version 1.1: Supports 4 CPUs and 16 interrupt sources.
timecounter: Timecounters tick every 10.000 msec
mainbus0 (root)
cpu0 at mainbus0: 604e (Revision 2.3), ID 0 (primary)
cpu0: HID0 c084<ICE,DCE,SGE,BHT>, powersave: 1
cpu0: 200.00 MHz
pnpbus0 at mainbus0
mcclock0 at pnpbus0: port 0x70-0x71, irq 8: mc146818 compatible
time-of-day cloc
k
nvram0 at pnpbus0: port 0x74-0x75 0x76
pci0 at mainbus0 bus 0: indirect configuration space access
pci0: i/o space, memory space enabled
pchb0 at pci0 dev 0 function 0
pchb0: Motorola MPC106 "Grackle" Host Bridge (rev. 0x30)
pcib0 at pci0 dev 11 function 0: IBM ISA Bridge w/PnP (rev. 0x03)
pcib0: PIRQ[0-3] not used
pcn0 at pci0 dev 12 function 0: AM
pcn0: Am79c970A PCnet-PCI II rev 6, Ethernet address 00:06:29:21:c2:18
pcn0: interrupting at irq 22
pcn0: 10base5, 10base5-FDX, 10baseT, 10baseT-FDX, auto, auto-FDX
IBM MPIC (undefined subclass 0x00) at pci0 dev 13 function 0 not
configured
esiop0 at pci0 dev 16 function 0: Symbios Logic 53c825a (fast wide
scsi)
esiop0: using on-board RAM
esiop0: interrupting at irq 23
scsibus0 at esiop0: 16 targets, 8 luns per target
pcn1 at pci0 dev 22 function 0: AMD PCnet-PCI Ethernet
pcn1: Am79c971 PCnet-FAST rev 5, Etherne
pcn1: interrupting at irq 17
nsphy0 at pcn1 phy 1: DP83840 10/100 media interface, rev. 1
nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ukphy0 at pcn1 phy 31: Generic IEEE 802.3u media interface
ukphy0: OUI 0x000058, model 0x0001, rev. 1
ukphy0: 10baseT, 10baseT-FDX, auto
ppb0 at pci0 dev 23 function 0: IBM 82351 PCI-PCI Bridge (rev. 0x01)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
isa0 at pcib0
lpt0 at isa0 port 0x3bc-0x3bf irq 7
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working
com0: console
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
pckbc0 at isa0 port 0x60-0x64
attimer0 at isa0 port 0x40-0x43: AT Timer
pcppi0 at isa0 port 0x61
isabeep0 at pcppi0
pcppi0: attached to attimer0
biomask 800000 netmask c20000 ttymask c20080
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
timecounter: Timecounter "prep_mftb" frequency 16618148 Hz quality 100
Kernelized RAIDframe activated
scsibus0: waiting 2 seconds for devices to settle...
st0 at scsibus0 target 2 lun 0: <ARCHIVE, IBM4326NP/RP !D, 6640> tape
removable
st0: drive empty
st0: async, 8-bit transfers
cd0 at scsibus0 target 3 lun 0: <IBM, CDRM00203\000\000\000\000\000!K,
1.00> cdr
om removable
cd0: sync (100.00ns offset 8), 8-bit (10.000MB/s) transfers
sd0 at scsibus0 target 4 lun 0: <IBM, DCAS-32160W !#, S69D> disk
fixed
sd0: 2063 MB, 8188 cyl, 3 head, 172 sec, 512 bytes/sect x 4226725
sectors
sd0: sync (100.00ns offset 8), 16-bit (20.000MB/s) transfers, tagged
queueing
sd1 at scsibus0 target 5 lun 0: <IBM, DCAS-32160W !#, S69D> disk
fixed
sd1: 2063 MB, 8188 cyl, 3 head, 172 sec, 512 bytes/sect x 4226725
sectors
sd1: sync (100.00ns offset 8), 16-bit (20.000MB/s) transfers, tagged
queueing
boot device: sd0
root on sd0a dumps on sd0b
root file system type: ffs
WARNING: clock gained 6 days
WARNING: CHECK AND RESET THE DATE!
Sun Jun 3 00:57:49 GMT 2007
swapctl: adding /dev/sd0b as swap device at priority 0
Checking for botched superblock upgrades: done.
Starting file system check
/dev/rsd0a: 1450 files, 24555 used, 372532 free (148 frags, 46548
blocks, 0.0% f
ragmentation)
/dev/rsd0a: MARKING FILE SYSTEM CLEAN
/dev/rsd0f: 12327 files, 227772 used, 268589 free (8461 frags, 32516
blocks, 1.7
% fragmentation)
/dev/rsd0f: MARKING FILE SYSTEM CLEAN
/dev/rsd0g: 127 files, 738 used, 98503 free (47 frags, 12307 blocks,
0.0% fragme
ntation)
/dev/rsd0g: MARKING FILE SYSTEM CLEAN
/dev/rsd0h: 1 files, 1 used, 850794 free (18 frags, 106347 blocks,
0.0% fragment
ation)
/dev/rsd0h: MARKING FILE SYSTEM C
Setting tty flags.
Setting sysctl variables:
Starting network.
/etc/rc: WARNING: $hostname not set.
IPv6 mode: host
Configuring network interfaces:.
Adding interface aliases:
Building databases...
Starting syslogd.
Checking for core dump...
savecore: no core dump
Mounting all filesystems...
Clearing /tmp.
Checking quotas: done.
Setting securelevel: kern.securelevel: 0 -> 1
Starting virecover.
Starting local daemons:.
Updating motd.
postfix: rebuilding /etc/mail/aliases (missing /etc/mail/aliases.db)
newaliases: warning: valid_hostname: empty hostname
newaliases: fatal: unable to use my own hostname
Jun 2 18:58:18 postfix/sendmail[305]: fatal: unable to use my own
hostname
Starting inetd.
Starting cron.
Sat Jun 2 18:58:19 MDT 2007
NetBSD/prep (Amnesiac) (tty00)
login: Jun 2 18:58:21 getty[395]: /dev/ttyE0: Device not configured
trap: kernel read DSI trap @ 0xffffffff by 0x2d03f4 (DSISR 0x40000000,
err=14),
lr 0x2d0208
panic: trap
Stopped in pid 5.1 (ioflush) at0xfffffffftrap: kernel ISI by
0xfffffffc (S
40000032), lr: 0xffffffff
panic: trap
Stopped in pid 409.1 (cron) at 0xfffffffftrap: kernel ISI by
0xfffffffc (SRR1 0x
40000032), lr: 0xffffffff
panic: trap
Stopped in pid 5.1 (ioflush) at 0xfffffffftrap: kernel ISI by
0xfffffffc
(SRR1 0x40000032), lr: 0xffffffff
panic: trap
Stopped in pid 5.1 (io
flush) at 0