Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Jan 2000 20:05:00 -0800 (PST)
From:      Matthew Dillon <dillon@apollo.backplane.com>
To:        current@FreeBSD.ORG
Subject:   New kernel no longer boots on one of my machines... ata, other problems
Message-ID:  <200001070405.UAA75303@apollo.backplane.com>

next in thread | raw e-mail | index | archive | help
    Well guys, I tried upgrading one of my older machines today to the 
    latest 4.0.  It was running an older 4.0 kernel (Nov 29 1999).

    I've included the dmesg output from the (successfully booting) older 
    kernel at the end.

    The newer kernel locks up in several ways:

	* First, it locks up with process 0 stuck in 'atawait' while 
	  trying to scan the CDRom on the second IDE bus.  This is after
	  it has successfully scanned the hard drive on the first IDE bus. 

	* Second, if I remove the 'ata1' config entry it gets past the
	  initial ata probe but then locks up in 'conifhk' which is in 
	  the run_interrupt_driven_config_hooks() procedure
	  in kern/subr_autoconf.c

	  It locks up here after printing 'waiting 15 seconds for SCSI devices
	  to settle'.  Several minutes later it's still waiting :-(.

	* If I remove the second ata device AND I remove the SCSI devices
   	  and controllers so it detects no SCSI devices, it gets all the
	  way to where it says "Mounting root on wd0s4a", then gets an error 6,
	  then says "Mounting root on wd0a", then just stops.  Breaking into
	  DDB and doing a ps shows 'init' and 'sh' both blocked in 'wait'.
	  The hard drive appears to work -- panic does sync the disks.

	* The second time I did this when I CTL-ALT-ESC'd into DDB I suddenly
	  got a whole bunch of console startup output.  I 'cont'd from DDB,
	  and nothing... CTL-ALT-ESC'd into DDB and got some more console
	  output from the normal startup sequence before it gave me the DDB
	  prompt.  'cont'd. nothing.

	  I got it to the point where ping works but nothing else does.


	HEEEEELP!  Whats happening!!! :-( :-( :-(

    At the moment I am stymied.  I switched to a GENERIC kernel and got the
    same results, so it isn't anything weird that I have done in my own 
    kernel config.

    I was hoping that someone would have an idea. 

						-Matt

Copyright (c) 1992-1999 The FreeBSD Project.
Copyright (c) 1982, 1986, 1989, 1991, 1993
	The Regents of the University of California. All rights reserved.
FreeBSD 4.0-CURRENT #1: Mon Nov 29 22:10:35 PST 1999
    dillon@apollo.backplane.com:/FreeBSD/FreeBSD-4.x/src/sys/compile/ARCHIVE
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 66751430 Hz
CPU: Pentium/P54C (66.75-MHz 586-class CPU)
  Origin = "GenuineIntel"  Id = 0x524  Stepping = 4
  Features=0x1bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>
real memory  = 67108864 (65536K bytes)
avail memory = 61698048 (60252K bytes)
Preloaded elf kernel "kernel.bak" at 0xc0335000.
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
ign0 at device 1.0 on pci0
isab0: <Intel 82378ZB PCI to ISA bridge> at device 2.0 on pci0
isa0: <ISA bus> on isab0
vga-pci0: <S3 Trio 64 graphics accelerator> irq 10 at device 6.0 on pci0
xl0: <3Com 3c905B-TX Fast Etherlink XL> irq 9 at device 12.0 on pci0
xl0: Ethernet address: 00:10:5a:e0:82:29
miibus0: <MII bus> on xl0
xlphy0: <3Com internal media interface> on miibus0
xlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ncr0: <ncr 53c810 fast10 scsi> irq 11 at device 14.0 on pci0
devclass_alloc_unit: npx0 already exists, using next available unit number
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
wdc0 at port 0x1f0-0x1f7 irq 14 flags 0xa0ffa0ff on isa0
wdc0: unit 0 (wd0): <Maxtor 91360D8>, 32-bit, multi-block-16
wd0: 12970MB (26563824 sectors), 26353 cyls, 16 heads, 63 S/T, 512 B/S
wdc1 at port 0x170-0x177 irq 15 flags 0xa0ffa0ff on isa0
wdc1: unit 0 (atapi): <Pioneer CD-ROM ATAPI Model DR-A12X  0100/E1.00A>, removable, ovlap, dma, iordis
wcd0: drive speed 2066KB/sec, 128KB cache
wcd0: supported read types: CD-R, CD-DA, packet track
wcd0: Audio: play, 256 volume levels
wcd0: Mechanism: ejectable tray
wcd0: Medium: no/blank disc inside, unlocked
atkbdc0: <keyboard controller (i8042)> at port 0x60-0x6f on isa0
vga0: <Generic ISA VGA> at port 0x3b0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> on isa0
sc0: VGA <16 virtual consoles, flags=0x200>
sio0 at port 0x3f8-0x3ff irq 4 on isa0
sio0: type 16550A
ppc0 at port 0x378-0x37f irq 7 flags 0x40 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
lpt0: <generic printer> on ppbus 0
lpt0: Interrupt-driven port
IP packet filtering initialized, divert enabled, rule-based forwarding disabled, default to accept, unlimited logging
Waiting 5 seconds for SCSI devices to settle
Mounting root from ufs:wd0s4a
Root mount failed: 6
Mounting root from ufs:wd0a
link_elf: symbol splash_register undefined
cd0 at ncr0 bus 0 target 3 lun 0
cd0: <YAMAHA CRW6416S 1.0b> Removable CD-ROM SCSI-2 device 
cd0: 10.000MB/s transfers (10.000MHz, offset 8)
cd0: Attempt to query device size failed: NOT READY, Medium not present - tray closed


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?200001070405.UAA75303>