Port-prep archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Custom kernel bootloader crash on MTX604
I was finally able to build a pristine GENERIC and it boots and runs
fine. (NetBSD-current as of 16 Feb 2008).
Then I tweaked the GENERIC config to turn on USB host adapters, hubs,
umodem/ucom and add cdce (diff below) and rebuilt everything.
The resulting netboot kernel (installation/floppy/generic_com0.fs),
which I copied to my tftp server as "nbsd-prep-test.fs" crashes
immediately upon loading. Resetting the system via switch or PPC1-Bug
has no effect. The sequence of events is as follows:
PPC1-Bug>nbo ,,,,,nbsd-prep-test.fs
Network Booting from: DEC21140, Controller 0, Device 0
Device Name: /pci@80000000/pci1011,9@e,0:0,0
Loading: nbsd-prep-test.fs
Client IP Address = 192.168.17.11
Server IP Address = 192.168.17.104
Gateway IP Address = 192.168.17.8
Subnet IP Address Mask = 255.255.255.0
Boot File Name = nbsd-prep-test.fs
Argument File Name =
Network Boot File load in progress... To abort hit <BREAK>
Bytes Received =&2140828, Bytes Loaded =&2140828
Bytes/Second =&713609, Elapsed Time =3 Second(s)
Residual-Data Located at: $1FF78000
Exception: Program (Illegal Instruction)
SRR0 =00800DA8 SRR1 =00080040 Vector-Offset =00700
IP =00800DA8 MSR =00000040 CR =40000088 FPSCR =00000000
R0 =008002A0 R1 =00808850 R2 =0000000F R3 =00600000
R4 =0000D5A8 R5 =00600000 R6 =00000000 R7 =00809958
R8 =000003F8 R9 =00600000 R10 =00800000 R11 =00809944
R12 =00000000 R13 =00000000 R14 =00000000 R15 =00000000
R16 =00000000 R17 =00000000 R18 =00000000 R19 =00000000
R20 =00000000 R21 =00000000 R22 =FFFFD16D R23 =00000000
R24 =00000000 R25 =FFFFFFFF R26 =00000000 R27 =00810384
R28 =00810370 R29 =008104C0 R30 =0000C864 R31 =0000D5A0
SPR0 =00000000 SPR1 =00000000 SPR8 =00800D80 SPR9 =00000000
00800DA8 EDACDD58 WORD $EDACDD58
PPC1-Bug>
Below is a diff showing my modifications to the GENERIC configuration
file:
Index: sys/arch/prep/conf/GENERIC
===================================================================
RCS file: /cvsroot/src/sys/arch/prep/conf/GENERIC,v
retrieving revision 1.148
diff -u -p -r1.148 GENERIC
--- sys/arch/prep/conf/GENERIC 24 Jan 2009 05:06:07 -0000 1.148
+++ sys/arch/prep/conf/GENERIC 17 Feb 2009 12:49:22 -0000
@@ -397,20 +397,22 @@ ukphy* at mii? phy ? # generic
unknown
# USB Controller and Devices
# PCI USB controllers
-#uhci* at pci? dev ? function ? # Universal Host Controller (Intel)
-#ohci* at pci? dev ? function ? # Open Host Controller
+ehci* at pci? dev ? function ? # Enhanced Host Controller (2.0)
+uhci* at pci? dev ? function ? # Universal Host Controller (Intel)
+ohci* at pci? dev ? function ? # Open Host Controller
# PCMCIA USB controllers
#slhci* at pcmcia? function ? # ScanLogic SL811HS
# USB bus support
-#usb* at uhci?
-#usb* at ohci?
+usb* at ehci?
+usb* at uhci?
+usb* at ohci?
#usb* at slhci?
# USB Hubs
-#uhub* at usb?
-#uhub* at uhub? port ?
+uhub* at usb?
+uhub* at uhub? port ?
# USB HID device
#uhidev* at uhub? port ? configuration ? interface ?
@@ -433,8 +435,8 @@ ukphy* at mii? phy ? # generic
unknown
#ulpt* at uhub? port ? configuration ? interface ?
# USB Modem
-#umodem* at uhub? port ? configuration ?
-#ucom* at umodem?
+umodem* at uhub? port ? configuration ?
+ucom* at umodem?
# USB Mass Storage
#umass* at uhub? port ? configuration ? interface ?
@@ -447,6 +449,7 @@ ukphy* at mii? phy ? # generic
unknown
# USB Ethernet adapters
#aue* at uhub? port ? # ADMtek AN986 Pegasus based adapters
#axe* at uhub? port ? # ASIX AX88172 based adapters
+cdce* at uhub? port ? # Communication Device Class for Ethernet
#cue* at uhub? port ? # CATC USB-EL1201A based adapters
#kue* at uhub? port ? # Kawasaki LSI KL5KUSB101B based adapters
#url* at uhub? port ? # Realtek RTL8150L based adapters
Bootimage creation (or maybe load address?) for PReP seems brittle. Is
there anyone else having this problem?
--
John D. Baker, KN5UKS NetBSD Darwin/MacOS X
jdbaker[snail]mylinuxisp[flyspeck]com OpenBSD FreeBSD
BSD -- It just sits there and _works_!
GPG fingerprint: D703 4A7E 479F 63F8 D3F4 BD99 9572 8F23 E4AD 1645
Home |
Main Index |
Thread Index |
Old Index