Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Nov 1998 18:25:36 -0500 (EST)
From:      Andrew Gallatin <gallatin@cs.duke.edu>
To:        Robert Nordier <rnordier@nordier.com>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   /boot/loader & comconsole
Message-ID:  <13907.20799.296610.678439@grasshopper.cs.duke.edu>

next in thread | raw e-mail | index | archive | help

I'm in the process of upgrading a cluster of (nearly identical) PII's to 3.0-CURRENT & am
installing the new 3-stage bootstrap.  On some of the machines, using
a comconsole wedges the bootloader solid ( well, 2 ctrl-alt-deletes on the
local keyboard will reboot the machine).

My /boot.config looks like:
/boot/loader -h

And /boot/boot.conf looks like:
set console=comconsole
autoboot 3


I see the following on console before it hangs:

>> FreeBSD BOOT @ 0x10000: 638/65532 k of memory, serial console
Boot default: 0:da(0,a)/boot/loader
Usage: bios_drive:interface(unit,partition)kernel_name options
<..snip..>
boot: 
Booting 0:da(0,a)/boot/loader @ 0x100000
text=0x1000 data=0x1a000 bss=0x0 symbols=[+0x0+0x4+0x0+0x4+0xff8c]
Can't find file /boot/loader.config
total=0x12af94 entry point=0x100000
<wedge>

And there it stops.  If I don't set console=comconsole, everything
works great.  Here's what I see with the same bootstrap on another
machine:

boot: 
Booting 0:da(0,a)/boot/loader @ 0x100000
text=0x1000 data=0x1a000 bss=0x0 symbols=[+0x0+0x4+0x0+0x4+0xff8c]
Can't find file /boot/loader.config
total=0x12af94 entry point=0x100000
Console: BIOS serial port
BIOS drive A: is disk0
BIOS drive C: is disk1

FreeBSD/i386 bootstrap loader, Revision 0.2  638/65532kB
(gallatin@grasshopper.cs.duke.edu, Tue Nov 17 15:51:23 EST 1998)
> set console=comconsole
> autoboot 3
Hit [Enter] to boot immediately, or any other key for command prompt.
<proceeds to boot as it should>

The old bootstrap has no problem with a serial console on this box,
nor does any FreeBSD kernel I've ever used on these machines.  The odd
thing is that of the 8 nearly identical machines I upgraded today,
only 2 had this problem.

These machines are Dell Dimensions, all off the same pallette.  I've
appended boot -v messages from the latest a.out kernel I had handy:

Thanks for any help you can provide,

Drew

------------------------------------------------------------------------------
Andrew Gallatin, Sr Systems Programmer	http://www.cs.duke.edu/~gallatin
Duke University				Email: gallatin@cs.duke.edu
Department of Computer Science		Phone: (919) 660-6590


Booting 0:da(0,a)kernel.GENERIC @ 0x100000
text=0x172000 data=0x1b000 bss=0x1ddd0 symbols=[+0x230+0x4+0x179f4+0x4+0x211b1]
Can't find file kernel.GENERIC.config
total=0x2e3bad entry point=0x100000
BIOS basemem (638K) != RTC basemem (640K), setting to BIOS value
BIOS extmem (65532K) != RTC extmem (65535K)
Copyright (c) 1992-1998 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California. All rights reserved.
FreeBSD 3.0-CURRENT #0: Mon Oct 19 10:26:12 EDT 1998
    gallatin@grasshopper.cs.duke.edu:/freebsd/src/sys/compile/GENERICupgrade
Calibrating clock(s) ... TSC clock: 299939808 Hz, i8254 clock: 1193177 Hz
CLK_USE_I8254_CALIBRATION not specified - using default frequency
Timecounter "i8254"  frequency 1193182 Hz  cost 3028 ns
CLK_USE_TSC_CALIBRATION not specified - using old calibration method
Timecounter "TSC"  frequency 299942826 Hz  cost 163 ns
CPU: Pentium II (299.94-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x633  Stepping=3
  Features=0x80f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,MMX>
real memory  = 134217728 (131072K bytes)
Physical memory chunk(s):
0x00001000 - 0x0009efff, 647168 bytes (158 pages)
0x002b7000 - 0x07ffdfff, 131362816 bytes (32071 pages)
avail memory = 127811584 (124816K bytes)
Found BIOS32 Service Directory header at 0xf00f7530
Entry = 0xfd7b1 (0xf00fd7b1)  Rev = 0  Len = 1
PCI BIOS entry at 0x21c
DMI header at 0xf00f7520
Version 2.0
Table at 0xefa90, 39 entries, 1241 bytes
Other BIOS signatures found:
ACPI: 00000000
$PnP: 000f7550
pci_open(1):    mode 1 addr port (0x0cf8) is 0x80000058
pci_open(1a):   mode1res=0x80000000 (0x80000000)
pci_cfgcheck:   device 0 [class=060000] [hdr=00] is there (id=71808086)
Probing for devices on PCI bus 0:
found-> vendor=0x8086, dev=0x7180, revid=0x03
        class=06-00-00, hdrtype=0x00, mfdev=0
        subordinatebus=0        secondarybus=0
        map[0]: type 3, range 32, base f8000000, size 26
chip0: <Host to PCI bridge (vendor=8086 device=7180)> rev 0x03 on pci0.0.0
found-> vendor=0x8086, dev=0x7181, revid=0x03
        class=06-04-00, hdrtype=0x01, mfdev=0
        subordinatebus=1        secondarybus=1
chip1: <PCI to PCI bridge (vendor=8086 device=7181)> rev 0x03 on pci0.1.0
found-> vendor=0x8086, dev=0x7110, revid=0x01
        class=06-01-00, hdrtype=0x00, mfdev=1
        subordinatebus=0        secondarybus=0
chip2: <Intel 82371AB PCI to ISA bridge> rev 0x01 on pci0.7.0
found-> vendor=0x8086, dev=0x7111, revid=0x01
        class=01-01-80, hdrtype=0x00, mfdev=0
        subordinatebus=0        secondarybus=0
ide_pci0: <Intel PIIX4 Bus-master IDE controller> rev 0x01 on pci0.7.1
found-> vendor=0x8086, dev=0x7112, revid=0x01
        class=0c-03-00, hdrtype=0x00, mfdev=0
        subordinatebus=0        secondarybus=0
        intpin=d, irq=11
chip3: <Intel 82371AB USB host controller> rev 0x01 int d irq 11 on pci0.7.2
found-> vendor=0x8086, dev=0x7113, revid=0x01
        class=06-80-00, hdrtype=0x00, mfdev=0
        subordinatebus=0        secondarybus=0
chip4: <Intel 82371AB Power management controller> rev 0x01 on pci0.7.3
found-> vendor=0x9004, dev=0x8178, revid=0x00
        class=01-00-00, hdrtype=0x00, mfdev=0
        subordinatebus=0        secondarybus=0
        intpin=a, irq=10
        map[0]: type 4, range 32, base 0000f800, size  8
        map[1]: type 1, range 32, base fedff000, size 12
ahc0: <Adaptec 2940 Ultra SCSI adapter> rev 0x00 int a irq 10 on pci0.13.0
ahc0: Reading SEEPROM...done.
ahc0: internal 50 cable is present, internal 68 cable is present
ahc0: external cable not present
ahc0: BIOS eeprom is present
ahc0: High byte termination Enabled
ahc0: aic7880 Wide Channel A, SCSI Id=7, 16/255 SCBs
ahc0: Resetting Channel A
ahc0: Downloading Sequencer Program... 411 instructions downloaded
found-> vendor=0x8086, dev=0x1229, revid=0x02
        class=02-00-00, hdrtype=0x00, mfdev=0
        subordinatebus=0        secondarybus=0
        intpin=a, irq=9
        map[0]: type 3, range 32, base fedfe000, size 12
        map[1]: type 4, range 32, base 0000fcc0, size  5
        map[2]: type 1, range 32, base fec00000, size 20
fxp0: <Intel EtherExpress Pro 10/100B Ethernet> rev 0x02 int a irq 9 on pci0.14.0
fxp0: Ethernet address 00:a0:c9:8a:ae:53
found-> vendor=0x10e8, dev=0x8043, revid=0x01
        class=00-00-00, hdrtype=0x00, mfdev=0
        subordinatebus=0        secondarybus=0
        intpin=a, irq=11
        map[0]: type 3, range 32, base fea00000, size 21
Probing for devices on PCI bus 1:
found-> vendor=0x12d2, dev=0x0018, revid=0x10
        class=03-00-00, hdrtype=0x00, mfdev=0
        subordinatebus=0        secondarybus=0
        intpin=a, irq=9
        map[0]: type 1, range 32, base fd000000, size 24
        map[1]: type 3, range 32, base f6000000, size 24
vga0: <VGA-compatible display device> rev 0x10 int a irq 9 on pci1.0.0
Probing for devices on the ISA bus:
video: RTC equip. code:0x03, DCC code:0x09
video: CRTC:0x3d4, video option:0x60, rows:80, cols:25, font height:16
video: param table EGA/VGA:0xf00c044e, CGA/MDA:0
video: rows_offset:1
video#0: adapter type:VGA (5), flags:0x7f, CRTC:0x3d4
video#0: init mode:24, bios mode:3, current mode:24
video#0: window:0xf00b8000 size:32k gran:32k, buf:0xf0000000 size:0k
video#0: mode:0, flags:0x1 T 40x25, font:8x8, win:0xb8000
video#0: mode:1, flags:0x1 T 40x25, font:8x8, win:0xb8000
video#0: mode:2, flags:0x1 T 80x25, font:8x8, win:0xb8000
video#0: mode:3, flags:0x1 T 80x25, font:8x8, win:0xb8000
video#0: mode:19, flags:0x1 T 40x25, font:8x14, win:0xb8000
video#0: mode:20, flags:0x1 T 40x25, font:8x14, win:0xb8000
video#0: mode:21, flags:0x1 T 80x25, font:8x14, win:0xb8000
video#0: mode:22, flags:0x1 T 80x25, font:8x14, win:0xb8000
video#0: mode:23, flags:0x1 T 40x25, font:8x16, win:0xb8000
video#0: mode:25, flags:0x0 T 80x25, font:8x16, win:0xb0000
video#0: mode:24, flags:0x1 T 80x25, font:8x16, win:0xb8000
video#0: mode:7, flags:0x0 T 80x25, font:8x14, win:0xb0000
video#0: mode:112, flags:0x1 T 80x43, font:8x8, win:0xb8000
video#0: mode:113, flags:0x1 T 80x43, font:8x8, win:0xb8000
video#0: mode:33, flags:0x0 T 80x30, font:8x16, win:0xb0000
video#0: mode:32, flags:0x1 T 80x30, font:8x16, win:0xb8000
video#0: mode:31, flags:0x0 T 80x50, font:8x8, win:0xb0000
video#0: mode:30, flags:0x1 T 80x50, font:8x8, win:0xb8000
video#0: mode:35, flags:0x0 T 80x60, font:8x8, win:0xb0000
video#0: mode:34, flags:0x1 T 80x60, font:8x8, win:0xb8000
video#0: mode:4, flags:0x3 G 320x200x2, 1 plane(s), font:8x8, win:0xb8000
video#0: mode:5, flags:0x3 G 320x200x2, 1 plane(s), font:8x8, win:0xb8000
video#0: mode:6, flags:0x3 G 640x200x1, 1 plane(s), font:8x8, win:0xb8000
video#0: mode:13, flags:0x3 G 320x200x4, 4 plane(s), font:8x8, win:0xa0000
video#0: mode:14, flags:0x3 G 640x200x4, 4 plane(s), font:8x8, win:0xa0000
video#0: mode:15, flags:0x2 G 640x350x4, 4 plane(s), font:8x14, win:0xa0000
video#0: mode:17, flags:0x2 G 640x350x4, 4 plane(s), font:8x14, win:0xa0000
video#0: mode:16, flags:0x3 G 640x350x2, 2 plane(s), font:8x14, win:0xa0000
video#0: mode:18, flags:0x3 G 640x350x4, 4 plane(s), font:8x14, win:0xa0000
video#0: mode:26, flags:0x3 G 640x480x4, 4 plane(s), font:8x16, win:0xa0000
video#0: mode:27, flags:0x3 G 640x480x4, 4 plane(s), font:8x16, win:0xa0000
video#0: mode:28, flags:0x3 G 320x200x8, 1 plane(s), font:8x8, win:0xa0000
video#0: mode:37, flags:0x3 G 320x240x8, 1 plane(s), font:8x8, win:0xa0000
VGA parameters upon power-up
50 18 10 00 00 00 03 00 02 67 5f 4f 50 82 55 81 
bf 1f 00 4f 0e 0f 00 00 01 90 9c 8e 8f 28 1f 96 
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
VGA parameters in BIOS for mode 24
50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 
bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
EGA/VGA parameters to be used for mode 24
50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 
bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
sc0: the current keyboard controller command byte 0045
kbdio: DIAGNOSE status:0055
kbdio: TEST_KBD_PORT status:0000
kbdio: RESET_KBD return code:00fa
kbdio: RESET_KBD status:00aa
sc0: keyboard device ID: ab41
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: VGA color <16 virtual consoles, flags=0x0>
ed0 not found at 0x280
fe0 not found at 0x300
sio0: irq maps: 0x1 0x11 0x1 0x1
sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa
sio0: type 16550A, console
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: irq maps: 0x1 0x1 0x1 0x1
sio1: probe failed test(s): 0 1 2 4 6 7 9
sio1 not found at 0x2f8
sio2: disabled, not probed.
sio3: disabled, not probed.
lpt0 at 0x378-0x37f irq 7 on isa
lpt0: Interrupt-driven port
lp0: TCP/IP capable interface
lpt1 not found
mse0: wrong signature ff
mse0 not found at 0x23c
psm0: current command byte:0045
kbdio: TEST_AUX_PORT status:0000
kbdio: RESET_AUX return code:00fe
kbdio: RESET_AUX return code:00fe
kbdio: RESET_AUX return code:00fe
kbdio: DIAGNOSE status:0055
kbdio: TEST_KBD_PORT status:0000
psm0: failed to reset the aux device.
psm0 not found at 0x60
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1.44MB 3.5in
wdc0 not found at 0x1f0
wdc1 not found at 0x170
wt0 not found at 0x300
mcd0: timeout getting status
mcd0 not found at 0x300
matcdc0 not found at 0x230
scd0 not found at 0x230
ie0: unknown board_id: f000
ie0 not found at 0x300
ep0 not found at 0x300
ex0 not found
le0 not found at 0x300
lnc0 not found at 0x280
ze0 not found at 0x300
zp0 not found at 0x300
cs0 not found at 0x300
adv0 not found at 0x330
bt0: Failed Status Reg Test - fe
bt0: Failed Status Reg Test - ff
bt0: Failed Status Reg Test - ff
bt0: Failed Status Reg Test - ff
bt0: Failed Status Reg Test - ff
bt0: Failed Status Reg Test - ff
bt0 not found at 0x134
aha0 not found at 0x134
npx0 on motherboard
npx0: INT 16 interface
apm0: disabled, not probed.
imasks: bio c0080040, tty c0070292, net c0070292
BIOS Geometries:
 0:0209fe3f 0..521=522 cylinders, 0..254=255 heads, 1..63=63 sectors
 0 accounted for
Device configuration finished.
new masks: bio c0080040, tty c0070292, net c0070292
Waiting 15 seconds for SCSI devices to settle
(noperiph:ahc0:0:X:X): SCSI bus reset delivered. 0 SCBs aborted.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?13907.20799.296610.678439>