|
List Info
Thread: Issues netbooting 7043
|
|
| Issues netbooting 7043 |

|
2006-06-13 13:58:11 |
Well, it definately shows up now on console.
I have tried using -current as of 060606 and also
3.0.
It boots up to a point where the login prompt should kick
in, but then
pukes.
Here is the console output.
Load Addr=0x600000 Max File Size=0x7a00000
FINAL Packet Count = 2931
>> NetBSD/prep BOOT, Revision 1.5
>> (builds b3.netbsd.org, Fri May 12 05:56:49 UTC
2006)
Boot: Loading in()
2896812+217200 [175072+158049]=0x349cb4
start=0x100000
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002,
2003, 2004, 2005
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 3.0 (GENERIC) #0: Mon Dec 19 03:10:58 UTC 2005
builds b2.netbsd.org:/home/builds/ab/netbsd-3-0-RELEASE/prep
/200512182024Z-obj/home/builds/ab/netbsd-3-0-RELEASE/src/sys
/arch/prep/compile/GENERIC
Model: IBM Model 7042/7043 (ED)
total memory = 128 MB
avail memory = 119 MB
mainbus0 (root)
cpu0 at mainbus0: 604e (Revision 2.2), ID 0 (primary)
cpu0: HID0 c084<ICE,DCE,SGE,BHT>
cpu0: 166.67 MHz
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: AMD PCnet-PCI Ethernet
pcn0: Am79c970A PCnet-PCI II rev 6, Ethernet address
00:06:29:20:09:01
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
Matrox MGA G200 PCI (VGA display, revision 0x01) at pci0 dev
18 function 0
not configured
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
ex0 at pci1 dev 2 function 0: 3Com 3c905-TX 10/100 Ethernet
(rev. 0x0)
ex0: interrupting at irq 21
ex0: MAC address 02:60:8c:f2:0c:40
nsphy0 at ex0 phy 24: DP83840 10/100 media interface, rev. 1
nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
IBM Auto LANStreamer (token ring network, revision 0x02) at
pci1 dev 3
function 0 not configured
isa0 at pcib0
lpt0 at isa0 port 0x3bc-0x3bf irq 7
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com0: console
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
pcppi0 at isa0 port 0x61
isabeep0 at pcppi0
mcclock0 at isa0 port 0x70-0x71: mc146818 compatible
time-of-day clock
biomask 800000 netmask e00000 ttymask e00080
scsibus0: waiting 2 seconds for devices to settle...
boot device: <unknown>
root device:
use one of: pcn0 ex0 ddb halt reboot
root device: pcn0
dump device:
file system (default generic): nfs
root on pcn0
nfs_boot: trying DHCP/BOOTP
nfs_boot: DHCP next-server: 24.153.143.183
nfs_boot: my_addr=24.153.143.187
nfs_boot: my_mask=255.255.255.0
root on 24.153.143.183:/stuff/prep
init path (default /sbin/init):
init: trying /sbin/init
Tue Jun 13 13:40:50 UTC 2006
Checking for botched superblock upgrades: done.
Starting file system checks:
colbert:/stuff/prep (No such file or directory)Can't stat
colbert:/stuff/prep
colbert:/stuff/prep: file system is mounted read-write on /;
not checking
colbert:/stuff/prep (No such file or directory)Can't stat
colbert:/stuff/prep
Setting tty flags.
Setting sysctl variables:
Starting network.
Hostname: prep.linbsd.org
IPv6 mode: host
Configuring network interfaces:.
add net default: gateway 24.153.143.177
Building databases...
Starting syslogd.
Checking for core dump...
savecore: /dev/wd0a: Device not configured
Mounting all filesystems...
Jun 13 13:41:02 prep savecore: /dev/wd0a: Device not
configured
Clearing /tmp.
Checking quotas: done.
Setting securelevel: kern.securelevel: 0 -> 1
swapctl: adding /swap as swap device at priority 0
Starting virecover.
Starting local daemons:.
Updating motd.
Starting sshd.
Starting sendmail.
Starting inetd.
Starting cron.
Tue Jun 13 13:41:09 UTC 2006
<B3>J
BB<A8><E5><B7><E3><D3><DE&g
t;;<BB>/<B3>J
The ascii junk is what shows up when it hits this point, and
when I try to
type at it.
The system also stops responding to ping at the sametime...
-Ober
On Tue, 13 Jun 2006, Izumi Tsutsui wrote:
> Date: Tue, 13 Jun 2006 21:56:17 +0900
> From: Izumi Tsutsui <tsutsui ceres.dti.ne.jp>
> To: ober linbsd.org
> Cc: port-prep NetBSD.org, tsutsui ceres.dti.ne.jp
> Subject: Re: Issues netbooting 7043
>
> ober linbsd.org wrote:
>
>> Unfortunately I am unable to get my 7043 140 to
boot the kernel.
>> It downloads the image from tftpd fine, but just
hangs (as seen on
>> console, and display).
>> There appears to be some nfs activity afterwards,
but the system never
>> becomes responsive to anything but ping.
>
> Maybe your graphics board isn't supported by
bootloader or the kernel.
> Currently only some PCI VGA cards (S3, Cirrus, MGA) are
supported.
>
> If your 7043 has unsupported one (like GXT1x0), you
could still try
> serial console by bootimage with boot_com0 loader.
>
> BTW, what image did you try?
> ---
> Izumi Tsutsui
>
|
|
| Issues netbooting 7043 |

|
2006-06-13 13:58:52 |
ober linbsd.org wrote:
> The ascii junk is what shows up when it hits this
point, and when I try to
> type at it.
Maybe you have to set your terminal 8N1 (8bit, no parity, 1
stop bit),
or check settings in /etc/gettytab.
> The system also stops responding to ping at the
sametime...
I'm not sure why, but it might fall into ddb or stick in
com driver?
---
Izumi Tsutsui
|
|
| Issues netbooting 7043 |

|
2006-06-13 20:26:05 |
On 13-Jun-2006 ober wrote:
> Well, it definately shows up now on console.
> I have tried using -current as of 060606 and also
> 3.0.
> It boots up to a point where the login prompt should
kick in, but then
> pukes.
Could I see the dmesg/console output from the 6/6/6 -current
boot? 3.0 is
rather.. flaky on these machines, and fixing 3.0 on them is
rather low on my
list of things to worry about.
As for the VGA console.. yeah.. we only have real console
support for the S3
video card on the 7248. Everything else is rather hit or
miss.
Just to be sure.. you said this was a 7043-140.. right?
Also.. i notice in your output:
savecore: /dev/wd0a: Device not configured
Mounting all filesystems...
Jun 13 13:41:02 prep savecore: /dev/wd0a: Device not
configured
Clearing /tmp.
Are you trying to have it boot off the root filesystem of
the 7248?
---
Tim Rightnour <root garbled.net>
NetBSD: Free multi-architecture OS http://www.netbsd.org/
Genecys: Open Source 3D MMORPG: http://www.genecys.org/
|
|
| Issues netbooting 7043 |

|
2006-06-14 01:54:52 |
Here is the dmesg for 7043 with 060606 -current
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002,
2003, 2004, 2005,
2006
The NetBSD Foundation, Inc. All rights reserved.
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 3.99.20 (GENERIC) #0: Tue Jun 6 08:55:22 UTC 2006
builds b3.netbsd.org:/home/builds/ab/HEAD/prep/200606060000Z
-obj/home/builds/ab/HEAD/src/sys/arch/prep/compile/GENERIC
Model: IBM Model 7042/7043 (ED)
total memory = 128 MB
avail memory = 120 MB
mainbus0 (root)
cpu0 at mainbus0: 604e (Revision 2.2), ID 0 (primary)
cpu0: HID0 c084<ICE,DCE,SGE,BHT>
cpu0: 166.67 MHz
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: AMD PCnet-PCI Ethernet
pcn0: Am79c970A PCnet-PCI II rev 6, Ethernet address
00:06:29:20:09:01
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
Matrox MGA G200 PCI (VGA display, revision 0x01) at pci0 dev
18 function 0
not configured
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
ex0 at pci1 dev 2 function 0: 3Com 3c905-TX 10/100 Ethernet
(rev. 0x0)
ex0: interrupting at irq 21
ex0: MAC address 02:60:8c:f2:0c:40
nsphy0 at ex0 phy 24: DP83840 10/100 media interface, rev. 1
nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
IBM Auto LANStreamer (token ring network, revision 0x02) at
pci1 dev 3
function 0 not configured
isa0 at pcib0
lpt0 at isa0 port 0x3bc-0x3bf irq 7
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
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
mcclock0 at isa0 port 0x70-0x71: mc146818 compatible
time-of-day clock
pcppi0: attached to attimer0
pnpbus0 at mainbus0
nvram0 at pnpbus0: port 0x74-0x75 0x76
nvram0: Read 7168 bytes from nvram of size 8192
biomask 800000 netmask e00000 ttymask e00080
Kernelized RAIDframe activated
scsibus0: waiting 2 seconds for devices to settle...
boot device: ex0
root on ex0
nfs_boot: trying DHCP/BOOTP
nfs_boot: DHCP next-server: 24.153.143.183
nfs_boot: my_addr=24.153.143.187
nfs_boot: my_mask=255.255.255.0
root on 24.153.143.183:/stuff/prep
root file system type: nfs
-Ober
On Tue, 13 Jun 2006, Tim Rightnour wrote:
> Date: Tue, 13 Jun 2006 13:26:05 -0700 (MST)
> From: Tim Rightnour <root garbled.net>
> To: ober <ober linbsd.org>
> Cc: port-prep NetBSD.org
> Subject: Re: Issues netbooting 7043
>
>
> On 13-Jun-2006 ober wrote:
>> Well, it definately shows up now on console.
>> I have tried using -current as of 060606 and also
>> 3.0.
>> It boots up to a point where the login prompt
should kick in, but then
>> pukes.
>
> Could I see the dmesg/console output from the 6/6/6
-current boot? 3.0 is
> rather.. flaky on these machines, and fixing 3.0 on
them is rather low on my
> list of things to worry about.
-current also fails at same spot.
>
> As for the VGA console.. yeah.. we only have real
console support for the S3
> video card on the 7248. Everything else is rather hit
or miss.
My 7248 works fine with integrated video.
It's my 7043 that requires console.
>
> Just to be sure.. you said this was a 7043-140.. right?
Yes, 7043-140
>
> Also.. i notice in your output:
>
> savecore: /dev/wd0a: Device not configured
> Mounting all filesystems...
> Jun 13 13:41:02 prep savecore: /dev/wd0a: Device not
configured
> Clearing /tmp.
>
> Are you trying to have it boot off the root filesystem
of the 7248?
No the nfs root filesystem is a amd64.
Not sure why the kernel looks for wd0a, as it has never been
configured
accorrdingly.
Hope this helps.
>
> ---
> Tim Rightnour <root garbled.net>
> NetBSD: Free multi-architecture OS http://www.netbsd.org/
> Genecys: Open Source 3D MMORPG: http://www.genecys.org/
>
|
|
| Issues netbooting 7043 |

|
2006-06-14 06:09:36 |
On 14-Jun-2006 ober wrote:
> No the nfs root filesystem is a amd64.
> Not sure why the kernel looks for wd0a, as it has never
been configured
> accorrdingly.
on your NFS server (I assume the amd64 machine) whose IP
addr is 24.153.143.183,
could you show me:
cat /stuff/prep/etc/fstab
file /stuff/prep/sbin/init
cat /stuff/prep/etc/ttys
ls /stuff/prep/dev
Also.. did you say previously that you can boot fine in
single user, but if it
goes multi it dies? That leads me to believe something in
/stuff/prep is,
well, stuffed. What kind
of prep userland is that? Is it a 3.0 build, or
did you grab a -current snapshot.
Also.. one other thing that unnerves me.. I have a machine
that NFS's root as
well.. and when I built that one, I had a mostly empty dev
tree...IE:
polaris# ls /usr/src/distrib/dev
MAKEDEV MAKEDEV.local altq fd
log
How did you build yours? Did you run MAKEDEV from the amd64
box? When mine
boots, I get:
nfs_boot: gateway=192.168.10.11
root on polaris.garbled.net:/usr/src/distrib
root file system type: nfs
warning: no /dev/console
init: Creating mfs /dev (407 blocks, 1024 inodes)
Tue Jun 13 13:37:55 UTC 2006
And one final question:
boot device: ex0
root on ex0
Do you type that in, or is that automatically probed? If
thats automatically
probed.. umm.. wow.. thats cool. You *are*
netbooting off the ex card,
and not the pcn builtin.. right?
My assumption is that your /dev/console device is broken, or
your /etc/ttys
points to the wrong thing.. but I'm not entirely sure about
it.
---
Tim Rightnour <root garbled.net>
NetBSD: Free multi-architecture OS http://www.netbsd.org/
Genecys: Open Source 3D MMORPG: http://www.genecys.org/
|
|
| Issues netbooting 7043 |

|
2006-06-14 13:16:27 |
-Ober
On Tue, 13 Jun 2006, Tim Rightnour wrote:
> Date: Tue, 13 Jun 2006 23:09:36 -0700 (MST)
> From: Tim Rightnour <root garbled.net>
> To: ober <ober linbsd.org>
> Cc: port-prep NetBSD.org
> Subject: Re: Issues netbooting 7043
>
>
> On 14-Jun-2006 ober wrote:
>> No the nfs root filesystem is a amd64.
>> Not sure why the kernel looks for wd0a, as it has
never been configured
>> accorrdingly.
>
> on your NFS server (I assume the amd64 machine) whose
IP addr is 24.153.143.183,
> could you show me:
>
> cat /stuff/prep/etc/fstab
colbert:/stuff/prep / nfs rw 1 1
/swap none swap sw 0 0
colbert:/stuff/pkgsrc /usr/pkgsrc nfs rw
colbert:/stuff/pkg_ppc /usr/pkg nfs rw
> file /stuff/prep/sbin/init
/stuff/prep/sbin/init: ELF 32-bit MSB executable, PowerPC or
cisco 4500,
version 1 (SYSV), for NetBSD 3.0, dynamically linked (uses
shared libs),
not stripped
> cat /stuff/prep/etc/ttys
#
# from: (#)ttys 5.1 (Berkeley) 4/17/89
# $NetBSD: ttys,v 1.7 2004/06/20 21:30:27 christos Exp
$
#
# name getty type status
comments
#
console "/usr/libexec/getty std.38400" vt100
off secure
ttyE0 "/usr/libexec/getty std.9600" vt100
on secure
tty00 "/usr/libexec/getty std.38400" vt100
on secure
tty01 "/usr/libexec/getty std.9600" unknown
off secure
tty02 "/usr/libexec/getty std.9600" unknown
off secure
tty03 "/usr/libexec/getty std.9600" unknown
off secure
tty04 "/usr/libexec/getty std.9600" unknown
off secure
tty05 "/usr/libexec/getty std.9600" unknown
off secure
tty06 "/usr/libexec/getty std.9600" unknown
off secure
tty07 "/usr/libexec/getty std.9600" unknown
off secure
> ls /stuff/prep/dev
Tons of stuff.
everything sh MAKEDEV all generates.
>
> Also.. did you say previously that you can boot fine in
single user, but if it
> goes multi it dies? That leads me to believe something
in /stuff/prep is,
> well, stuffed. What kind
of prep userland is that? Is it a 3.0 build, or
> did you grab a -current snapshot.
>
The userland is infact from 3.0. I have been using it with a
3.0 kernel
fine with my 7248. It netboots this same directory as root
filesystem
without a problem.
> Also.. one other thing that unnerves me.. I have a
machine that NFS's root as
> well.. and when I built that one, I had a mostly empty
dev tree...IE:
> polaris# ls /usr/src/distrib/dev
> MAKEDEV MAKEDEV.local altq fd
log
Yes, I netboot all my primary servers, so I am very use to
sh MAKEDEV all.
I no doubt did this from amd64 without error.
7248 has no apparant issues so far.
>
> How did you build yours? Did you run MAKEDEV from the
amd64 box? When mine
> boots, I get:
>
3.0 prep tgz files were just untarred, sh MAKEDEV all, and a
couple of
changes to rc.conf
> nfs_boot: gateway=192.168.10.11
> root on polaris.garbled.net:/usr/src/distrib
> root file system type: nfs
> warning: no /dev/console
> init: Creating mfs /dev (407 blocks, 1024 inodes)
> Tue Jun 13 13:37:55 UTC 2006
>
> And one final question:
> boot device: ex0
> root on ex0
>
> Do you type that in, or is that automatically probed?
If thats automatically
> probed.. umm.. wow.. thats cool. You *are*
netbooting off the ex card,
> and not the pcn builtin.. right?
Odd thing, on pcn0 it would prompt me for boot device.
However, changing the boot list to the ex0 does not prompt
me, and
continues all the way to multiuser before dropping once it
hits rc.conf
since rc_configured=NO is set to allow me to login.
Then I fire up /etc/rc.d/sshd and mount /usr/pkgsrc and
/usr/pkg
And everything works fine from there on out.
>
> My assumption is that your /dev/console device is
broken, or your /etc/ttys
> points to the wrong thing.. but I'm not entirely sure
about it.
Good point.
just wondering why it works so well on 7248 but not the
7043.
Thanks again for the help, and the good work on making this
port active
again.
>
>
> ---
> Tim Rightnour <root garbled.net>
> NetBSD: Free multi-architecture OS http://www.netbsd.org/
> Genecys: Open Source 3D MMORPG: http://www.genecys.org/
>
|
|
| Issues netbooting 7043 |

|
2006-06-14 13:38:23 |
ober linbsd.org wrote:
> tty00 "/usr/libexec/getty std.38400"
vt100 on secure
You should specify 9600bps for tty00, or should siwtch your
terminal
to 38400bps once after getty is started.
Sending 9600bps data to 38400bps terminal lines could cause
break signals, I think.
---
Izumi Tsutsui
|
|
| Issues netbooting 7043 |

|
2006-06-14 14:20:51 |
On 14-Jun-2006 Izumi Tsutsui wrote:
> You should specify 9600bps for tty00, or should siwtch
your terminal
> to 38400bps once after getty is started.
Yeah.. good catch Izumi. That line likely is the problem.
Especialy given
that he is booting with the com0 image, it will likely have
allready wired the
port to 9600.
This is the stock ttys file:
console "/usr/libexec/getty std.9600" vt100
off secure
ttyE0 "/usr/libexec/getty Pc" vt220
on secure
tty00 "/usr/libexec/getty std.9600" vt100
on secure
tty01 "/usr/libexec/getty std.9600" unknown
off secure
tty02 "/usr/libexec/getty std.9600" unknown
off secure
tty03 "/usr/libexec/getty std.9600" unknown
off secure
tty04 "/usr/libexec/getty std.9600" unknown
off secure
tty05 "/usr/libexec/getty std.9600" unknown
off secure
tty06 "/usr/libexec/getty std.9600" unknown
off secure
tty07 "/usr/libexec/getty std.9600" unknown
off secure
---
Tim Rightnour <root garbled.net>
NetBSD: Free multi-architecture OS http://www.netbsd.org/
Genecys: Open Source 3D MMORPG: http://www.genecys.org/
|
|
| Issues netbooting 7043 |

|
2006-06-14 14:30:36 |
Well that seems to have fixed it.
It boots up fine now to multiuser without
even having to connect via console.
Thanks for the help.
-Ober
On Wed, 14 Jun 2006, Izumi Tsutsui wrote:
> Date: Wed, 14 Jun 2006 22:38:23 +0900
> From: Izumi Tsutsui <tsutsui ceres.dti.ne.jp>
> To: ober linbsd.org
> Cc: root garbled.net, port-prep NetBSD.org, tsutsui ceres.dti.ne.jp
> Subject: Re: Issues netbooting 7043
>
> ober linbsd.org wrote:
>
>> tty00 "/usr/libexec/getty std.38400"
vt100 on secure
>
> You should specify 9600bps for tty00, or should siwtch
your terminal
> to 38400bps once after getty is started.
>
> Sending 9600bps data to 38400bps terminal lines could
cause
> break signals, I think.
> ---
> Izumi Tsutsui
>
|
|
| Issues netbooting 7043 |

|
2006-06-14 14:23:52 |
On 14-Jun-2006 ober wrote:
> Odd thing, on pcn0 it would prompt me for boot device.
On 3.0, or -current? On 3.0 there is no boot device
detection at all. I'd be
interested to know if it is not picking up pcn0
automatically for you on
-current.. as that is definately a bug.
---
Tim Rightnour <root garbled.net>
NetBSD: Free multi-architecture OS http://www.netbsd.org/
Genecys: Open Source 3D MMORPG: http://www.genecys.org/
|
|
|
|