I hate replying to my own emails... I think the MAKEDEV issue is a red
herring in regards to the init panic. It''s late and I just recognized
that the build with the Dec 7 flashboot on Nov 20 -CURRENT has the same
MAKEDEV mknod noise.
--J
On Sat, 5 Jan 2008, Jason George wrote:
>
> I am having issues getting kernels built with the flashboot scripts to
> work with -CURRENT source.
>
> Once the kernel boots, I get "panic: init died (signal 0, exit
4)", which
> I have an unproven suspicion may have to do with MAKEDEV or possibly with
> the config flag day that occurred over a month ago (also pasted below is
> a snipped from build-largekernel.sh output).
>
> To try to eliminate glitches in my customized scripts, I grabbed the Dec 7
> cvs snapshot of flashboot and ran it against a Nov 20 -CURRENT source tree
> on a separate machine (that whole system is running a Nov 20 snapshot).
> That image boots fine on my embedded machine.
>
> I have problems with the Dec 7 and Jan 3 flashboot cvs snaps (the first
> and last available on the website at the time) against a Jan 3 OpenBSD
> -CURRENT tree
>
> Is there anyone else who can corroborate my observations by building
> against a -CURRENT source tree? Any other thoughts or comments?
>
> Thanks...
>
> --Jason
>
> Copyright (c) 1982, 1986, 1989, 1991, 1993
> The Regents of the University of California. All rights reserved.
> Copyright (c) 1995-2008 OpenBSD. All rights reserved.
> http://www.OpenBSD.org
>
> OpenBSD 4.2-current (GENERIC-RD.LARGE) #0: Sat Jan 5 00:53:48 MST 2008
>
> jbg at
embedded:/v00/embedded/projects/TS5400/fb-1207/flashboot/obj/GENERIC-RD.LARGE
> cpu0: AMD Am486DX4 W/B or Am5x86 W/B 150 ("AuthenticAMD"
486-class)
> cpu0: FPU
> real mem = 66674688 (63MB)
> avail mem = 32989184 (31MB)
> mainbus0 at root
> bios0 at mainbus0: AT/286+ BIOS, date 10/25/04, BIOS32 rev. 0 @ 0xe7200
> pcibios0 at bios0: rev 2.1 @ 0xe7270/0x1000
> pcibios0: PCI BIOS has 4 Interrupt Routing table entries
> pcibios0: PCI Exclusive IRQs: 9 10 11
> pcibios0: no compatible PCI ICU found
> pcibios0: Warning, unable to fix up PCI interrupt routing
> pcibios0: PCI bus #0 is the last bus
> cpu0 at mainbus0
> pci0 at mainbus0 bus 0: configuration mode 1 (bios)
> elansc0 at pci0 dev 0 function 0 "AMD ElanSC520 PCI" rev 0x00:
product 0
> stepping 1.1, CPU clock 100MHz, reset 0
> gpio0 at elansc0: 32 pins
> dc0 at pci0 dev 13 function 0 "Davicom DM9102" rev 0x40: irq 11,
address
> 00:d0:69:12:44:09
> amphy0 at dc0 phy 1: DM9102 10/100 PHY, rev. 1
> dc1 at pci0 dev 14 function 0 "Davicom DM9102" rev 0x40: irq 10,
address
> 00:d0:69:b2:44:09
> amphy1 at dc1 phy 1: DM9102 10/100 PHY, rev. 1
> isa0 at mainbus0
> ast0 at isa0 port 0x1a0/32 irq 5
> pccom3 at ast0 slave 0: ns8250, no fifo
> pccom4 at ast0 slave 1: ns8250, no fifo
> pccom5 at ast0 slave 2: ns8250, no fifo
> pccom6 at ast0 slave 3: ns8250, no fifo
> pckbc0 at isa0 port 0x60/5
> pckbd0 at pckbc0 (kbd slot)
> pckbc_cmd: send error
> pckbc0: using irq 1 for kbd slot
> wskbd0 at pckbd0: console keyboard
> kbc: aux echo error 1
> kbc: cmd word write error
> wdc0 at isa0 port 0x1f0/8 irq 14
> wd0 at wdc0 channel 0 drive 0: <SanDisk SDCFB-32>
> wd0: 1-sector PIO, LBA, 30MB, 62720 sectors
> wd0(wdc0:0:0): using BIOS timings
> pcppi0 at isa0 port 0x61
> midi0 at pcppi0: <PC speaker>
> spkr0 at pcppi0
> npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
> pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
> pccom0: console
> pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
> pccom2: irq 5 already in use
> pcic: does not support memory and I/O cards, ignored (ident=1)
> pcic: does not support memory and I/O cards, ignored (ident=41)
> pcic: does not support memory and I/O cards, ignored (ident=1)
> pcic: does not support memory and I/O cards, ignored (ident=41)
> pcic: does not support memory and I/O cards, ignored (ident=1)
> pcic: does not support memory and I/O cards, ignored (ident=41)
> pcic: does not support memory and I/O cards, ignored (ident=1)
> pcic: does not support memory and I/O cards, ignored (ident=41)
> pcic: does not support memory and I/O cards, ignored (ident=1)
> pcic: does not support memory and I/O cards, ignored (ident=41)
> pcic: does not support memory and I/O cards, ignored (ident=1)
> pcic: does not support memory and I/O cards, ignored (ident=41)
> biomask f3c5 netmask ffc5 ttymask ffe7
> rd0: fixed, 40960 blocks
> softraid0 at root
> root on rd0a swap on rd0b dump on rd0b
> panic: init died (signal 0, exit 4)
> Stopped at Debugger+0x4: leave
> RUN AT LEAST ''trace'' AND ''ps'' AND
INCLUDE OUTPUT WHEN REPORTING THIS
> PANIC!
> DO NOT EVEN BOTHER REPORTING THIS WITHOUT INCLUDING THAT INFORMATION!
> ddb> trace
> Debugger(d4ea9ecc,0,d4ea9f00,d03cdcba,d0885e80) at Debugger+0x4
> panic(d0885e80,0,4,d03d35f0,d41f0150) at panic+0x9d
> exit1(d41eb000,400,1,0) at exit1+0x32
> sys_exit(d41eb000,d4ea9f58,d4ea9f50,d059de09) at sys_exit+0x22
> syscall() at syscall+0x2d4
> --- syscall (number 1) ---
> 0xe3b9923:
> ddb> ps
> PID PPID PGRP UID S FLAGS WAIT COMMAND
> 11 0 0 0 3 0x100200 bored crypto
> 10 0 0 0 3 0x100200 aiodoned aiodoned
> 9 0 0 0 3 0x100200 syncer update
> 8 0 0 0 3 0x100200 cleaner cleaner
> 7 0 0 0 3 0x100200 reaper reaper
> 6 0 0 0 3 0x100200 pgdaemon pagedaemon
> 5 0 0 0 3 0x100200 pftm pfpurge
> 4 0 0 0 3 0x100200 bored syswq
> 3 0 0 0 3 0x100200 idle0
> 2 0 0 0 3 0x100200 kmalloc kmthread
> * 1 0 0 0 7 0x4000 init
> 0 -1 0 0 3 0x80200 scheduler swapper
> ddb>
>
>
>
> sudo env TOPDIR=/v00/embedded/projects/TS5400/fb-1207/flashboot
> CURDIR=/v00/embedded/projects/TS5400/fb-1207/flashboot
> OBJDIR=/v00/embedded/projects/TS5400/fb-1207/flashboot/obj
> SRCDIR=/v00/embedded/projects/TS5400/OpenBSD/src TARGDIR=/mnt
> UTILS=/v00/embedded/projects/TS5400/fb-1207/flashboot/tools
> DESTDIR=/v00/embedded/projects/TS5400/fb-1207/flashboot/flash-dist
> TTYSPEED=9600 sh
> /v00/embedded/projects/TS5400/fb-1207/flashboot/tools/runlist.sh
> /v00/embedded/projects/TS5400/fb-1207/flashboot/list.temp
> SCRIPT ${DESTDIR}/dev/MAKEDEV dev/MAKEDEV
> SPECIAL chmod 700 dev/MAKEDEV
> SPECIAL cd dev; ./MAKEDEV ramdisk pty systrace tty00 tty01 pci wdt0
> sh: <stdin>[1]: mknod: tty00: File exists
> sh: <stdin>[1]: mknod: cua00: File exists
> sh: <stdin>[1]: mknod: tty01: File exists
> sh: <stdin>[1]: mknod: cua01: File exists
> sh: <stdin>[1]: mknod: wd0a: File exists
> sh: <stdin>[1]: mknod: rwd0a: File exists
> sh: <stdin>[1]: mknod: wd0b: File exists
> sh: <stdin>[1]: mknod: rwd0b: File exists
> sh: <stdin>[1]: mknod: wd0c: File exists
> sh: <stdin>[1]: mknod: rwd0c: File exists
> sh: <stdin>[1]: mknod: wd0d: File exists
> sh: <stdin>[1]: mknod: rwd0d: File exists
> sh: <stdin>[1]: mknod: wd0e: File exists
> sh: <stdin>[1]: mknod: rwd0e: File exists
> sh: <stdin>[1]: mknod: wd0f: File exists
> sh: <stdin>[1]: mknod: rwd0f: File exists
> sh: <stdin>[1]: mknod: wd0g: File exists
> sh: <stdin>[1]: mknod: rwd0g: File exists
> sh: <stdin>[1]: mknod: wd0h: File exists
> sh: <stdin>[1]: mknod: rwd0h: File exists
> sh: <stdin>[1]: mknod: wd0i: File exists
> sh: <stdin>[1]: mknod: rwd0i: File exists
> sh: <stdin>[1]: mknod: wd0j: File exists
> sh: <stdin>[1]: mknod: rwd0j: File exists
> sh: <stdin>[1]: mknod: wd0k: File exists
> sh: <stdin>[1]: mknod: rwd0k: File exists
> sh: <stdin>[1]: mknod: wd0l: File exists
> sh: <stdin>[1]: mknod: rwd0l: File exists
> sh: <stdin>[1]: mknod: wd0m: File exists
> sh: <stdin>[1]: mknod: rwd0m: File exists
> sh: <stdin>[1]: mknod: wd0n: File exists
> sh: <stdin>[1]: mknod: rwd0n: File exists
> sh: <stdin>[1]: mknod: wd0o: File exists
> sh: <stdin>[1]: mknod: rwd0o: File exists
> sh: <stdin>[1]: mknod: wd0p: File exists
> sh: <stdin>[1]: mknod: rwd0p: File exists
> SPECIAL cd dev; ./MAKEDEV ttyU0 ttyU1
> SPECIAL cd dev; ./MAKEDEV tun0 tun1 tun2 tun3 tun4 tun5 tun6 tun7
> SPECIAL cd dev; ./MAKEDEV bpf0 bpf1 bpf2 bpf3 bpf4 bpf5 bpf6 bpf7
> SPECIAL cd dev; ./MAKEDEV pf crypto fd wsmux wscons apm local gpio
> sh: <stdin>[1]: mknod: wsmouse: File exists
> sh: <stdin>[1]: mknod: wskbd: File exists
>
> _______________________________________________
> flashboot mailing list
> flashboot at mindrot.org
> https://lists.mindrot.org/mailman/listinfo/flashboot
>