2001-May-03
Installing NetBSD on Toshiba Satellite 110CS laptop without any ethernet. (Last time I started this was the night before I went to BSDCon last October.) Using the bootlap?.fs floppies I built on Jan. 31.I accidently used /dev/tty00 and it didn't complain (and didn't work). But then my X pointer (mouse using /dev/tty00) stopped working. I was able to type and use different windows (via bbkeys); I was not able to access my iconized windows (missing feature that is needed in blackbox). So I used slattach to use /dev/tty01 and tried unplugging and plugging in the mouse, and my mouse still didn't work so I killed X and restarted and still didn't work. Then I noticed and killed three slattach processes, and then restarted X.
On my workstation:
slattach -l -h -s 115200 /dev/tty01 ifconfig sl0 192.168.10.10 192.168.10.11On the laptop:
slattach -l -h -s 115200 /dev/tty00 ifconfig sl0 192.168.10.11 192.168.10.10(Both complained: "sl0: IPv6 not supported".)
From my workstation if I tried to ping 192.168.10.10, it attempted to route via the internet -- router sea-edge-01.inet.qwest.net complained.
But from laptop to 192.168.10.10 worked -- tested with ftpd which connected and then "421 service not available". So, I added 192.168.10. to my /etc/hosts.allow for ftpd. (I also watched slstats.)
But the sysinst complained: "I can not find any network interfaces for use by NetBSD." sysinst/net.c has "sl" device as one of the interface names to ignore! So instead of rebuilding sysinst and my two boot disks, I decided to install manually:
mount /dev/wd0a /mnt mount /dev/wd0e /mnt/usr cd /mnt/usr ftp 192.168.10.10base.tgz took over 18 minutes. (Strangely, I noticed that when the laptop screen shut off that it would not turn back on during a download.) etc.tgz, kern-laptop.tgz (03:01 -- 9.11 KB/s), man.tgz (10:08 -- 9.12 KB/s), misc.tgz, and text.tgz. (I'll get comp.tgz and x sets later.)
Then I did:
cd /mnt pax -zrvpe -f usr/base.tgzpax reported that it took "226 seconds". Then I used ./bin/date to set the clock. (It thought it was August 2000.) Then used pax to extract the other sets. Then:
cd /mnt/dev ./MAKEDEV allAnd I received a bunch of "chown: root: invalid user name" -- so I CTRl-C. But I am not sure why (user was "0"), so I started it again. Then back to /mnt, did:
echo "rc_configured=YES" >> etc/rc.conf reboot
It worked! My kernel didn't see my modem. I see that my kernel doesn't have "PCMCIA_VERBOSE". Before new kernel:
icom0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo ... pcic0 at isa0 port 0x3e0-0x3e1 iomem 0xd0000-0xdffff pcic0: controller 0 (Intel 82365SL Revision 1) has sockets A and B pcic0: controller 1 (Intel 82365SL Revision 1) has no sockets pcmcia0 at pcic0 controller 0 socket 0 pcmcia1 at pcic0 controller 0 socket 1 isapnp0: no ISA Plug 'n Play devices found apm0 at mainbus0: Power Management spec V1.1 biomask ef6d netmask ef6d ttymask ffef pcic0: controller 0 detecting irqs with mask 0xdeb8:..3..5..9..10..11..15 pcic0: using irq 3 for socket events boot device: wd0
It appears when I built the release, it never built a syssrc.tgz. So I retrieved one dated May 1.