Re: Boot fails _at_r264070

From: David Wolfskill <david_at_catwhisker.org>
Date: Thu, 3 Apr 2014 09:21:27 -0700
On Thu, Apr 03, 2014 at 12:06:51PM -0400, Benjamin Kaduk wrote:
> ...
> I'm also having some trouble booting (into single user mode, so as to run 
> the installworld), at r264039....

Sympathy....

> That would seem to indicate some hardware problem or 
> timing issues more than a problem with the code itself,

Maybe....

> so I had been holding off on posting until I could get more information.

Fair enough.

> Unfortunately, my serial console is not working at the moment, so getting 
> more information is a bit challenging.  Diffing the dmesg from the good 
> and bad boots would probably be helpful for you to do.
> ....

OK; here it is.  I was able to boot from the last-built kernel (01 Apr):

--- ok	2014-04-03 09:12:45.000000000 -0700
+++ fail	2014-04-03 09:13:16.000000000 -0700
_at__at_ -6,11 +6,11 _at__at_
 Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
         The Regents of the University of California. All rights reserved.
 FreeBSD is a registered trademark of The FreeBSD Foundation.
-FreeBSD 11.0-CURRENT #1453  r263983M/263984:1100016: Tue Apr  1 08:09:27 PDT 2014
+FreeBSD 11.0-CURRENT #1455  r264070M/264070:1100016: Thu Apr  3 07:48:16 PDT 2014
     root_at_freebeast.catwhisker.org:/common/S4/obj/usr/src/sys/GENERIC i386
 FreeBSD clang version 3.4 (tags/RELEASE_34/final 197956) 20140216
 WARNING: WITNESS option enabled, expect reduced performance.
-CPU: Intel(R) Xeon(TM) CPU 3.60GHz (3600.20-MHz 686-class CPU)
+CPU: Intel(R) Xeon(TM) CPU 3.60GHz (3600.21-MHz 686-class CPU)
   Origin="GenuineIntel"  Id=0xf41  Family=0xf  Model=0x4  Stepping=1
   Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
   Features2=0x659d<SSE3,DTES64,MON,DS_CPL,EST,TM2,CNXT-ID,CX16,xTPR>
_at__at_ -49,18 +49,10 _at__at_
 pci1: <ACPI PCI bus> on pcib1
 pcib2: <ACPI PCI-PCI bridge> at device 0.0 on pci1
 pci2: <ACPI PCI bus> on pcib2
-aac0: <Adaptec SCSI RAID 2200S> mem 0xdc000000-0xdfffffff irq 24 at device 1.0 on pci2
-aac0: Enable Raw I/O
-aac0: New comm. interface enabled
-aac0: Adaptec 2200S, aac driver 2.1.9-1
-aacp0 on aac0
-aacp1 on aac0
 pcib3: <ACPI PCI-PCI bridge> at device 0.2 on pci1
 pci3: <ACPI PCI bus> on pcib3
-em0: <Intel(R) PRO/1000 Legacy Network Connection 1.0.6> port 0x2000-0x203f mem 0xd8200000-0xd821ffff irq 54 at device 2.0 on pci3
-em0: Ethernet address: 00:30:48:2d:32:6a
-em1: <Intel(R) PRO/1000 Legacy Network Connection 1.0.6> port 0x2040-0x207f mem 0xd8220000-0xd823ffff irq 55 at device 2.1 on pci3
-em1: Ethernet address: 00:30:48:2d:32:6b
+em0: <Intel(R) PRO/1000 Legacy Network Connection 1.0.6> port 0x2040-0x207f mem 0xd8220000-0xd823ffff irq 55 at device 2.1 on pci3
+em0: Ethernet address: 00:30:48:2d:32:6b
 pcib4: <ACPI PCI-PCI bridge> irq 16 at device 4.0 on pci0
 pci4: <ACPI PCI bus> on pcib4
 pcib5: <ACPI PCI-PCI bridge> irq 16 at device 6.0 on pci0
_at__at_ -78,8 +70,6 _at__at_
 usbus4 on ehci0
 pcib6: <ACPI PCI-PCI bridge> at device 30.0 on pci0
 pci6: <ACPI PCI bus> on pcib6
-vgapci0: <VGA-compatible display> port 0x3000-0x30ff mem 0xd9000000-0xd9ffffff,0xd8300000-0xd8300fff irq 17 at device 1.0 on pci6
-vgapci0: Boot video device
 isab0: <PCI-ISA bridge> at device 31.0 on pci0
 isa0: <ISA bus> on isab0
 atapci0: <Intel ICH5 UDMA100 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x14a0-0x14af at device 31.1 on pci0
_at__at_ -110,10 +100,6 _at__at_
 p4tcc0: <CPU Frequency Thermal Control> on cpu0
 p4tcc1: <CPU Frequency Thermal Control> on cpu1
 Timecounters tick every 1.000 msec
-aacd0 on aac0
-aacd0: 34970MB (71619584 sectors)
-aacd1 on aac0
-aacd1: 69974MB (143307008 sectors)
 random: unblocking device.
 usbus0: 12Mbps Full Speed USB v1.0
 usbus1: 12Mbps Full Speed USB v1.0
_at__at_ -132,59 +118,45 _at__at_
 uhub4: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus4
 uhub0: 2 ports with 2 removable, self powered
 uhub1: 2 ports with 2 removable, self powered
-uhub2: 2 ports with 2 removable, self powered
 ata1: DMA limited to UDMA33, controller found non-ATA66 cable
+cd0 at ata1 bus 0 scbus1 target 1 lun 0
 uhub3: 2 ports with 2 removable, self powered
-uhub4: 8 ports with 8 removable, self powered
-ses0 at aacp0 bus 0 scbus0 target 6 lun 0
-ses0: <SUPER GEM318 0> Fixed Uninstalled SCSI-2 device 
-ses0: 3.300MB/s transfers
-ses0: SAF-TE Compliant Device
-pass0 at aacp0 bus 0 scbus0 target 0 lun 0
-pass0: cd0 at ata1 bus 0 scbus3 target 1 lun 0
+uhub2: 2 ports with 2 removable, self powered
 cd0: <MATSHITA DVD-ROM SR-8178 PZ16> Removable CD-ROM SCSI-0 device 
-cd0: 33.300MB/s transfers (UDMA2, ATAPI 12bytes, PIO 65534bytes)
-cd0: Attempt to query device size failed: NOT READY, Medium not present
-<SEAGATE ST336754LC 0003> Fixed Uninstalled SCSI-3 device 
-pass0: 0KB/s transfers
-pass1 at aacp0 bus 0 scbus0 target 1 lun 0
-pass1: <SEAGATE ST336754LC 0003> Fixed Uninstalled SCSI-3 device 
-pass1: 0KB/s transfers
-pass2 at aacp0 bus 0 scbus0 target 2 lun 0
-pass2: <SEAGATE ST373454LC 0005> Fixed Uninstalled SCSI-3 device 
-pass2: 0KB/s transfers
-pass3 at aacp0 bus 0 scbus0 target 3 lun 0
-pass3: <SEAGATE ST373454LC 0005> Fixed Uninstalled SCSI-3 device 
-pass3: 0KB/s transfers
 SMP: AP CPU #1 Launched!
-Timecounter "TSC-low" frequency 1800101709 Hz quality 1000
+cd0: 33.300MB/s transfers (UDMA2, ATAPI 12bytes, PIO 65534bytes)Timecounter "TSC-low" frequency 1800104058 Hz quality 1000
 WARNING: WITNESS option enabled, expect reduced performance.
+
+cd0: Attempt to query device size failed: NOT READY, Medium not present
+Root mount waiting for: usbus4
+Root mount waiting for: usbus4
+Root mount waiting for: usbus4
+uhub4: 8 ports with 8 removable, self powered
 Trying to mount root from ufs:/dev/aacd0s4a [rw]...
-Enter full pathname of shell or RETURN for /bin/sh: 
-Cannot read termcap database;
-using dumb terminal settings.
-# swapon -a && fsck -p && mount -a
-swapon: adding /dev/aacd0s4b as swap device
-swapon: adding /dev/aacd1s1b as swap device
-/dev/aacd0s4a: FILE SYSTEM CLEAN; SKIPPING CHECKS
-/dev/aacd0s4a: clean, 132066 free (2754 frags, 16164 blocks, 0.7% fragmentation)
-/dev/aacd0s1a: FILE SYSTEM CLEAN; SKIPPING CHECKS
-/dev/aacd0s1a: clean, 149294 free (1630 frags, 18458 blocks, 0.4% fragmentation)
-/dev/aacd1s1e: FILE SYSTEM CLEAN; SKIPPING CHECKS
-/dev/aacd1s1e: clean, 2551080 free (182808 frags, 296034 blocks, 1.4% fragmentation)
-/dev/aacd0s1d: FILE SYSTEM CLEAN; SKIPPING CHECKS
-/dev/aacd0s1d: clean, 186537 free (38345 frags, 18524 blocks, 4.3% fragmentation)
-/dev/aacd1s1d: FILE SYSTEM CLEAN; SKIPPING CHECKS
-/dev/aacd1s1d: clean, 812734 free (69270 frags, 92933 blocks, 0.7% fragmentation)
-/dev/aacd0s2a: FILE SYSTEM CLEAN; SKIPPING CHECKS
-/dev/aacd0s2a: clean, 158485 free (1613 frags, 19609 blocks, 0.4% fragmentation)
-/dev/aacd0s2d: FILE SYSTEM CLEAN; SKIPPING CHECKS
-/dev/aacd0s2d: clean, 121825 free (42161 frags, 9958 blocks, 4.7% fragmentation)
-/dev/aacd0s3a: FILE SYSTEM CLEAN; SKIPPING CHECKS
-/dev/aacd0s3a: clean, 145054 free (2446 frags, 17826 blocks, 0.7% fragmentation)
-/dev/aacd0s3d: FILE SYSTEM CLEAN; SKIPPING CHECKS
-/dev/aacd0s3d: clean, 356113 free (21497 frags, 41827 blocks, 2.4% fragmentation)
-/dev/aacd0s4d: FILE SYSTEM CLEAN; SKIPPING CHECKS
-/dev/aacd0s4d: clean, 215512 free (39192 frags, 22040 blocks, 4.4% fragmentation)
-/dev/aacd0s4f: FILE SYSTEM CLEAN; SKIPPING CHECKS
-/dev/aacd0s4f: clean, 2092789 free (557 frags, 261529 blocks, 0.0% fragmentation)
+mountroot: waiting for device /dev/aacd0s4a ...
+Mounting from ufs:/dev/aacd0s4a failed with error 19.
+
+Loader variables:
+  vfs.root.mountfrom=ufs:/dev/aacd0s4a
+  vfs.root.mountfrom.options=rw
+
+Manual root filesystem specification:
+  <fstype>:<device> [options]
+      Mount <device> using filesystem <fstype>
+      and with the specified (optional) option list.
+
+    eg. ufs:/dev/da0s1a
+        zfs:tank
+        cd9660:/dev/acd0 ro
+          (which is equivalent to: mount -t cd9660 -o ro /dev/acd0 /)
+
+  ?               List valid disk boot devices
+  .               Yield 1 second (for background tasks)
+  <empty line>    Abort manual input
+
+mountroot> ?
+
+List of GEOM managed disk devices:
+  cd0 fd0
+
+mountroot> 



The part:

 pci2: <ACPI PCI bus> on pcib2
-aac0: <Adaptec SCSI RAID 2200S> mem 0xdc000000-0xdfffffff irq 24 at device 1.0 on pci2
-aac0: Enable Raw I/O
-aac0: New comm. interface enabled
-aac0: Adaptec 2200S, aac driver 2.1.9-1
-aacp0 on aac0
-aacp1 on aac0
 pcib3: <ACPI PCI-PCI bridge> at device 0.2 on pci1

looks a tad suspicious to me.

Peace,
david
-- 
David H. Wolfskill				david_at_catwhisker.org
Taliban: Evil cowards with guns afraid of truth from a 14-year old girl.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.

Received on Thu Apr 03 2014 - 14:21:29 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:48 UTC