Skip site navigation (1)Skip section navigation (2)
Date:      Wed,  6 Jan 99 00:15:46 +0100
From:      Ben Stuyts <ben@stuyts.nl>
To:        current@FreeBSD.ORG
Subject:   Trouble booting from WinNT with new boot loader
Message-ID:  <199901052315.AAA07950@daneel.stuyts.nl>

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

I am using the WinNT boot menu to load freebsd. This worked fine until the  
latest batch of updates I did.

This is a Gigabyte 586DX with dual P166MMX, 64 meg ram, one IDE drive and 2  
scsi drives. WinNT is installed on the IDE drive. FreeBSD is installed on da0  
(/) and da1 using the onboard scsi controller.

I have installed the new bootblocks on da0, and copied the bootsector for the  
WinNT boot loader. I have installed an elf kernel. All this is recent up to  
Jan 3.

If I disable the onboard IDE, and boot directly from da0, everything works fine.

Now, when the WinNT boot loader boots FreeBSD, it loads the kernel, but then  
panics with a message that it cannot load init. It looks like it has the wrong  
boot device or something like that? currdev is set to disk2s1a, which is  
correct I think. disk1s1a is the IDE drive, right?

I have appended my kernel config below, and a dmesg when booting without WinNT.

Any help appreciated,
Ben

[terminus.stuyts.nl i386/conf]14: cat TERMINUS-SMP
machine         "i386"
cpu             "I586_CPU"
ident           TERMINUS-NOSMP
maxusers        32

# Create a SMP capable kernel (mandatory options):
options         SMP                     # Symmetric MultiProcessor Kernel
options         APIC_IO                 # Symmetric (APIC) I/O

# Lets always enable the kernel debugger for SMP.
options         DDB

options         INET                    #InterNETworking
options         FFS                     #Berkeley Fast Filesystem
options         NFS                     #Network Filesystem
#options                MSDOSFS                 #MSDOS Filesystem
options         "CD9660"                #ISO 9660 Filesystem
options         "CD9660_ROOT"           #CD-ROM usable as root device
options         FFS_ROOT                #FFS usable as root device [keep this!]

# Allow the FFS to use Softupdates technology.
# To do this you need to copy the two files
# /sys/ufs/ffs/softdep.h and /sys/ufs/ffs/ffs_softdep.c
# from /usr/src/contrib/sys/softupdates
# and understand the licensing restrictions.
# You should also check on the FreeBSD website for newer versions.
options                SOFTUPDATES

options         NFS_ROOT                #NFS usable as root device
options         PROCFS                  #Process filesystem
options         MFS                     #Memory File System
options         "COMPAT_43"             #Compatible with BSD 4.3 [KEEP THIS!]
options         SCSI_DELAY=5000         #Be pessimistic about Joe SCSI device
options         UCONSOLE                #Allow users to grab the console
options         FAILSAFE                #Be conservative
options         USERCONFIG              #boot -c editor
options         VISUAL_USERCONFIG       #visual boot -c editor

# These three options provide support for System V Interface
# Definition-style interprocess communication, in the form of shared
# memory, semaphores, and message queues, respectively.
#
options         SYSVSHM
options         SYSVSEM
options         SYSVMSG

config          kernel  root on da0

controller      isa0
controller      pci0

controller      fdc0    at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
disk            fd0     at fdc0 drive 0

controller      wdc0    at isa? port "IO_WD1" bio irq 14 vector wdintr
disk            wd0     at wdc0 drive 0

# A single entry for any of these controllers (ncr, ahb, ahc, amd) is
# sufficient for any number of installed devices.
controller      ncr0
controller      ahc0


controller      scbus0

device          da0
device          sa0
device          pass0

device          cd0     #Only need one of these, the code dynamically grows

# syscons is the default console driver, resembling an SCO console
device          sc0     at isa? port "IO_KBD" conflicts tty irq 1 vector scintr

device          npx0    at isa? port "IO_NPX" irq 13 vector npxintr


device          sio0    at isa? port "IO_COM1" flags 0x10 tty irq 4 vector siointr
device          sio1    at isa? port "IO_COM2" tty irq 3 vector siointr
device          sio2    at isa? port "IO_COM3" tty irq 10 vector siointr
# device                sio3    at isa? port 0x3e0 tty irq 10 vector siointr

device          lpt0    at isa? port? tty irq 7 vector lptintr

device          psm0    at isa? port "IO_KBD" conflicts tty irq 12 vector psmintr

# Order is important here due to intrusive probes, do *not* alphabetize
# this list of network interfaces until the probes have been fixed.
# Right now it appears that the ie0 must be probed before ep0. See
# revision 1.20 of this file.
device de0

pseudo-device   loop
pseudo-device   ether
pseudo-device   sl      1
# ijppp uses tun instead of ppp device
#pseudo-device  ppp     1
pseudo-device   tun     1
pseudo-device   pty     16
#pseudo-device  gzip            # Exec gzipped a.out's
pseudo-device   bpfilter        4       #Berkeley packet filter
pseudo-device   vn              #Vnode driver (turns a file into a device)

# KTRACE enables the system-call tracing facility ktrace(2).
# This adds 4 KB bloat to your kernel, and slightly increases
# the costs of each syscall.
options         KTRACE          #kernel tracing


# Controls all sound devices
controller      snd0
device sb0      at isa? port 0x220 irq 5 conflicts drq 1 vector sbintr
device sbxvi0   at isa? drq 5
device sbmidi0  at isa? port 0x300
device awe0     at isa? port 0x620
device opl0     at isa? port 0x388

# Firewall support:
options         IPFIREWALL              #firewall
options         IPFIREWALL_VERBOSE      #print information about
                                        # dropped packets
# options         "IPFIREWALL_VERBOSE_LIMIT=100" #limit verbosity
options         IPDIVERT                #divert sockets

device          joy0    at isa? port "IO_GAME"

[terminus.stuyts.nl i386/conf]15: dmesg
Copyright (c) 1992-1999 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California. All rights reserved.
FreeBSD 3.0-CURRENT #0: Sun Jan  3 20:59:10 MET 1999
    benst@terminus.stuyts.nl:/usr/source/src/sys/compile/TERMINUS-SMP
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium/P55C (586-class CPU)
  Origin = "GenuineIntel"  Id = 0x543  Stepping=3
  Features=0x8003bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,APIC,MMX>
real memory  = 67108864 (65536K bytes)
config> quit
avail memory = 62238720 (60780K bytes)
Programming 24 pins in IOAPIC #0
FreeBSD/SMP: Multiprocessor motherboard
 cpu0 (BSP): apic id:  0, version: 0x00030010, at 0xfee00000
 cpu1 (AP):  apic id:  1, version: 0x00030010, at 0xfee00000
 io0 (APIC): apic id:  2, version: 0x00170011, at 0xfec00000
Preloaded elf kernel "kernel" at 0xf02e2000.
Probing for devices on PCI bus 0:
chip0: <Intel 82439> rev 0x03 on pci0.0.0
chip1: <Intel 82371SB PCI to ISA bridge> rev 0x01 on pci0.7.0
ide_pci0: <Intel PIIX3 Bus-master IDE controller> rev 0x00 on pci0.7.1
ncr0: <ncr 53c810a fast10 scsi> rev 0x12 int a irq 16 on pci0.8.0
de0: <Digital 21041 Ethernet> rev 0x11 int a irq 17 on pci0.9.0
de0: SMC 21041 [10Mb/s] pass 1.1
de0: address 00:00:c0:1f:54:e8
vga0: <S3 ViRGE VX graphics accelerator> rev 0x02 int a irq 18 on pci0.10.0
ahc0: <Adaptec aic7880 Ultra SCSI adapter> rev 0x00 int a irq 19 on pci0.12.0
ahc0: Using left over BIOS settings
ahc0: aic7880 Wide Channel A, SCSI Id=7, 16/255 SCBs
Probing for devices on the ISA bus:
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: VGA color <16 virtual consoles, flags=0x0>
sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa
sio0: type 16550A
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
sio2 at 0x3e8-0x3ef irq 10 on isa
sio2: type 16550A
lpt0 at 0x378-0x37f irq 7 on isa
lpt0: Interrupt-driven port
lp0: TCP/IP capable interface
psm0 at 0x60-0x64 irq 12 on motherboard
psm0: model Generic PS/2 mouse, device ID 0
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1.44MB 3.5in
wdc0 at 0x1f0-0x1f7 irq 14 on isa
wdc0: unit 0 (wd0): <QUANTUM FIREBALL_TM2110A>
wd0: 2014MB (4124736 sectors), 4092 cyls, 16 heads, 63 S/T, 512 B/S
npx0 on motherboard
npx0: INT 16 interface
sb0 at 0x220 irq 5 drq 1 on isa
snd0: <SoundBlaster 16 4.13>
sbxvi0 at drq 5 on isa
snd0: <SoundBlaster 16 4.13>
sbmidi0 at 0x300 on isa
snd0: <SoundBlaster MPU-401>
awe0 at 0x620 on isa
AWE32: not detected

opl0 at 0x388 on isa
snd0: <Yamaha OPL3 FM>
joy0 at 0x201 on isa
joy0: joystick
Intel Pentium detected, installing workaround for F00F bug
APIC_IO: Testing 8254 interrupt delivery
APIC_IO: routing 8254 via pin 2
IP packet filtering initialized, divert enabled, rule-based forwarding  
disabled, unlimited logging
Waiting 5 seconds for SCSI devices to settle
SMP: AP CPU #1 Launched!
da1 at ahc0 bus 0 target 3 lun 0
da1: <QUANTUM TRB850S 0404> Fixed Direct Access SCSI-2 device
da1: 10.0MB/s transfers (10.0MHz, offset 8)
da1: 810MB (1660299 512 byte sectors: 64H 32S/T 810C)
changing root device to da0s1a
cd0 at ahc0 bus 0 target 4 lun 0
cd0: <MATSHITA CD-ROM CR-506 8S05> Removable CD-ROM SCSI-2 device
cd0: 10.0MB/s transfers (10.0MHz, offset 15)
cd0: Attempt to query device size failed: NOT READY, Medium not present
da0 at ahc0 bus 0 target 1 lun 0
da0: <IBM DCAS-34330W S61A> Fixed Direct Access SCSI-2 device
da0: 40.0MB/s transfers (20.0MHz, offset 8, 16bit), Tagged Queueing Enabled
da0: 4134MB (8467200 512 byte sectors: 64H 32S/T 4134C)
ffs_mountfs: superblock updated for soft updates
cd1 at ahc0 bus 0 target 5 lun 0
cd1: <PHILIPS CDD2600 1.06> Removable CD-ROM SCSI-2 device
cd1: 3.300MB/s transfers
cd1: Attempt to query device size failed: NOT READY, Logical unit not ready,  
cause not reportable

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?199901052315.AAA07950>