From owner-freebsd-current Tue Nov 13 13:55:48 2001 Delivered-To: freebsd-current@freebsd.org Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by hub.freebsd.org (Postfix) with ESMTP id 2D3AC37B420 for ; Tue, 13 Nov 2001 13:55:19 -0800 (PST) Received: from fledge.watson.org (ak82hjs7hex92j@fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.11.6/8.11.5) with SMTP id fADLt5B54251; Tue, 13 Nov 2001 16:55:05 -0500 (EST) (envelope-from robert@fledge.watson.org) Date: Tue, 13 Nov 2001 16:55:05 -0500 (EST) From: Robert Watson X-Sender: robert@fledge.watson.org To: Mathias.Picker@virtual-earth.de Cc: current@freebsd.org Subject: Re: loader from Nov 13 reboots instantly In-Reply-To: <20011113183149.641BC37B416@hub.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG It's probably the awk bug. You need to use /boot/loader.old to boot the system, build and install a fresh awk (gnu awk), then build and install a fresh loader. You don't get bitten by this until the second upgrade after the bad awk version was introduced, since the awk used to build the loader is the system's native awk, not the awk in the build tree. This probably needs to be changed so that awk is a buildtool, and one is built early to use when building the loader. Robert N M Watson FreeBSD Core Team, TrustedBSD Project robert@fledge.watson.org NAI Labs, Safeport Network Services On Tue, 13 Nov 2001 Mathias.Picker@virtual-earth.de wrote: > I just rebuild my -current system.=20 >=20 > On executing /boot/loader the system rebooted instantly.... I have no > idea what kind of debugging infos I might send, so I send the dmesg as a > first idea (booted with loader.old). The system never gave me any > troubles, I'm recompiling -current about once every two weeks and never > ran into problems. >=20 > loader/main.c identifies as: =20 > src/sys/boot/i386/loader/main.c,v 1.25 2001/11/05 19:03:01 jhb Exp >=20 >=20 >=20 > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 > The Regents of the University of California. All rights reserved. > FreeBSD 5.0-CURRENT #21: Tue Nov 13 17:51:39 CET 2001 > mathiasp@mp.virtual-earth.de:/usr/obj/usr/src/sys/MP > Preloaded elf kernel "/boot/kernel/kernel" at 0xc0430000. > Preloaded elf module "/boot/kernel/acpi.ko" at 0xc04300a8. > Timecounter "i8254" frequency 1193182 Hz > Timecounter "TSC" frequency 350797159 Hz > CPU: Pentium II/Pentium II Xeon/Celeron (350.80-MHz 686-class CPU) > Origin =3D "GenuineIntel" Id =3D 0x652 Stepping =3D 2 > Features=3D0x183f9ff T,PSE36,MMX,FXSR> > real memory =3D 268423168 (262132K bytes) > avail memory =3D 256774144 (250756K bytes) > Pentium Pro MTRR support enabled > Using $PIR table, 8 entries at 0xc00f0d10 > npx0: on motherboard > npx0: INT 16 interface > acpi0: on motherboard > acpi0: power button is handled as a fixed feature programming model. > Timecounter "ACPI" frequency 3579545 Hz > acpi_timer0: <24-bit timer at 3.579545MHz> port 0xe408-0xe40b on acpi0 > acpi_cpu0: on acpi0 > acpi_button0: on acpi0 > acpi_pcib0: port 0xcf8-0xcff on acpi0 > pci0: on acpi_pcib0 > agp0: mem 0xe4000000-0xe7ffff= ff at d > evice 0.0 on pci0 > pcib1: at device 1.0 on pci0 > pci1: on pcib1 > pci1: at device 0.0 (no driver attached) > isab0: at device 4.0 on pci0 > isa0: on isab0 > atapci0: port 0xb800-0xb80f at device 4.1 = on pci0 > ata0: at 0x1f0 irq 14 on atapci0 > ata1: at 0x170 irq 15 on atapci0 > pci0: at device 4.2 (no driver attached) > intpm0: port 0xe800-0xe80f ir= q 9 at=20 > device 4.3 on pci0 > intpm0: I/O mapped e800 > intpm0: intr IRQ 9 enabled revision 0 > smbus0: on intsmb0 > smb0: on smbus0 > intpm0: PM I/O mapped e400=20 > fxp0: port 0xb000-0xb01f mem 0xdc000000= -0xdc0f > ffff,0xdf000000-0xdf000fff irq 5 at device 7.0 on pci0 > fxp0: Ethernet address 00:e0:18:90:02:74 > inphy0: on miibus0 > inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > pcm0: port 0xa800-0xa83f irq 5 at device 10.0 on pci0 > bktr0: mem 0xde000000-0xde000fff irq 10 at device 11.0 on= pci0 > bti2c0: > iicbb0: on bti2c0 > iicbus0: on iicbb0 master-only > iicsmb0: on iicbus0 > smbus1: on iicsmb0 > smb1: on smbus1 > smbus2: on bti2c0 > smb2: on smbus2 > bktr0: Hauppauge Model 61324 D129 > bktr0: Detected a MSP3410D-B4 at 0x80 > bktr0: Hauppauge WinCast/TV, Philips PAL I tuner, msp3400c stereo, remote= contro > l. > pci0: at device 11.1 (no driver attached) > fdc0: port 0x3f7,0x3f2-0x3f5 irq 6 on acpi0 > fdc0: FIFO enabled, 8 bytes threshold > fd0: <1440-KB 3.5" drive> on fdc0 drive 0 > ppc0 port 0x378-0x37f irq 7 on acpi0 > ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode > plip0: on ppbus0 > lpt0: on ppbus0 > lpt0: Interrupt-driven port > ppi0: on ppbus0 > sio0 port 0x3f8-0x3ff irq 4 on acpi0 > sio0: type 16550A > sio1 port 0x2f8-0x2ff irq 3 on acpi0 > sio1: type 16550A > atkbdc0: port 0x64,0x60 irq 1 on acpi0 > atkbd0: flags 0x1 irq 1 on atkbdc0 > kbd0 at atkbd0 > psm0: irq 12 on atkbdc0 > psm0: model MouseMan+, device ID 0 > ata-: ata0 already exists, skipping it > ata-: ata1 already exists, skipping it > atkbdc-: atkbdc0 already exists, skipping it > fdc-: fdc0 already exists, skipping it > ppc-: ppc0 already exists, skipping it > sio-: sio0 already exists, skipping it > sio-: sio1 already exists, skipping it > sc-: sc0 already exists, skipping it > vga-: vga0 already exists, skipping it > orm0: