Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 May 2001 19:53:46 -0700 (PDT)
From:      John Polstra <jdp@polstra.com>
To:        current@freebsd.org
Subject:   GENERIC kernel hangs at boot (uhci-related)
Message-ID:  <XFMail.010517195346.jdp@polstra.com>

next in thread | raw e-mail | index | archive | help
The GENERIC kernel in -current hangs on my ASUS P2B-S system, but my
custom kernel is OK.  By trial and error I determined that removing
the "uhci" device from the GENERIC kernel makes it work.  I don't know
how long this has been broken, because I don't normally use GENERIC.
I do know it was broken at least 12 days ago, though.

When booting GENERIC, the kernel probes most (all?) of the devices and
gets to the point where it says, "Waiting 15 seconds for SCSI devices
to settle."  At that point it hangs solid.  Keystrokes aren't echoed;
scroll-lock doesn't work; CTRL-ALT-ESC does nothing.

I tried regressing the source tree to two different earlier dates.
GENERIC hung during boot both times, though the symptoms were
different:

cvs upd -Pd -D '1/19/2001 7:00 PST':

    Finds all of the SCSI devices, says "start_init: trying
    /sbin/init," and hangs.  Scroll-lock works, and CTRL-ALT-ESC
    tells me that DDB isn't in the kernel (which is true).

cvs upd -Pd -D '2/4/2001 4:36 PST':

    Says "Waiting 15 seconds for SCSI devices to settle," and then
    gets an immediate "kernel trap 9 with interrupts disabled."

I don't know whether these two failures are the same uhci problem, or
just the usual -current breakage we all know and love.

Is anybody else seeing this problem?

I'm appending the dmesg output from my custom kernel.

John

Copyright (c) 1992-2001 The FreeBSD Project.
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 #2: Sat May  5 15:14:23 PDT 2001
    jdp@blake.polstra.com:/a/src/sys/compile/BLAKE
Timecounter "i8254"  frequency 1193157 Hz
Timecounter "TSC"  frequency 400900695 Hz
CPU: Pentium II/Pentium II Xeon/Celeron (400.90-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x653  Stepping = 3
 
Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36
,MMX,FXSR>
real memory  = 134205440 (131060K bytes)
avail memory = 126742528 (123772K bytes)
Preloaded elf kernel "kernel" at 0xc03c6000.
Pentium Pro MTRR support enabled
Using $PIR table, 7 entries at 0xc00f0d10
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Intel 82443BX (440 BX) host to PCI bridge> at pcibus 0 on motherboard
pci0: <PCI bus> on pcib0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <display, VGA> at 0.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 4.0 on pci0
isa0: <ISA bus> on isab0
pci0: <mass storage, ATA> at 4.1 (no driver attached)
pci0: <serial bus, USB> at 4.2 (no driver attached)
intpm0: <Intel 82371AB Power management controller> port 0xe800-0xe80f irq 9 at
device 4.3 on pci0
intpm0: I/O mapped e800
intpm0: intr IRQ 9 enabled revision 0
smbus0: <System Management Bus> on intsmb0
smb0: <SMBus general purpose I/O> on smbus0
intpm0: PM I/O mapped e400 
ahc0: <Adaptec aic7890/91 Ultra2 SCSI adapter> port 0xd000-0xd0ff mem
0xe0000000-0xe0000fff irq 5 at device 6.0 on pci0
aic7890/91: Wide Channel A, SCSI Id=7, 32/255 SCBs
fxp0: <Intel Pro 10/100B/100+ Ethernet> port 0xb800-0xb83f mem
0xdf000000-0xdf0fffff,0xdf800000-0xdf800fff irq 10 at device 10.
0 on pci0
fxp0: Ethernet address 00:90:27:a6:6e:ca
inphy0: <i82555 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
unknown: <PNP0501> can't assign resources
unknown: <PNP0501> can't assign resources
unknown: <PNP0700> can't assign resources
unknown: <PNP0f13> can't assign resources
unknown: <PNP0303> can't assign resources
IPsec: Initialized Security Association Processing.
Waiting 2 seconds for SCSI devices to settle
Mounting root from ufs:/dev/da0s1a
cd0 at ahc0 bus 0 target 5 lun 0
cd0: <TOSHIBA CD-ROM XM-6201TA 1030> Removable CD-ROM SCSI-2 device 
cd0: 10.000MB/s transfers (10.000MHz, offset 16)
cd0: Attempt to query device size failed: NOT READY, Medium not present
da0 at ahc0 bus 0 target 0 lun 0
da0: <IBM DNES-309170W SA30> Fixed Direct Access SCSI-3 device 
da0: 40.000MB/s transfers (20.000MHz, offset 31, 16bit), Tagged Queueing Enabled
da0: 8748MB (17916240 512 byte sectors: 255H 63S/T 1115C)
da1 at ahc0 bus 0 target 1 lun 0
da1: <IBM DDRS-34560W S92A> Fixed Direct Access SCSI-2 device 
da1: 40.000MB/s transfers (20.000MHz, offset 15, 16bit), Tagged Queueing Enabled
da1: 4357MB (8925000 512 byte sectors: 255H 63S/T 555C)

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?XFMail.010517195346.jdp>