Re: can't boot new kernel

From: Gleb Smirnoff <glebius_at_cell.sick.ru>
Date: Mon, 1 Mar 2004 19:46:50 +0300
On Mon, Mar 01, 2004 at 12:19:24AM +0300, Anton Karpov wrote:
A> Let suppose I build new world and kernel, reboot my current box, and new
A> kernel fails to boot (actually it hangs while detecting ata). So I should to

It seems that new ata driver checks for ATA really long. My Asus A7V8X with 2
standard IDE controllers + one additional + SATA hangs on ata detection
for ~ 1 minute. May be you considered this a real dead hang.

Here is my dmesg (line starting with *** is hanging for a minute):

Copyright (c) 1992-2004 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.2-CURRENT #2: Tue Feb 24 23:44:30 MSK 2004
    glebius_at_morannon.bestcom.ru:/usr/obj/usr/src/sys/MORANNON
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0865000.
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0865244.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Athlon(TM) XP 1800+ (1400.06-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x681  Stepping = 1
  Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,
PSE36,MMX,FXSR,SSE>
  AMD Features=0xc0400000<AMIE,DSP,3DNow!>
real memory  = 268419072 (255 MB)
avail memory = 252973056 (241 MB)
Pentium Pro MTRR support enabled
VESA: v2.0, 131072k memory, flags:0x1, mode table:0xc077f3a2 (1000022)
VESA: ATI R300
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <ASUS A7V8X> on motherboard
pcibios: BIOS version 2.10
Found $PIR table, 12 entries at 0xc00f1cd0
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <32-bit timer at 3.579545MHz> port 0xe408-0xe40b on acpi0
acpi_cpu0: <CPU> port 0x530-0x537 on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib0: slot 7 INTA is routed to irq 10
pcib0: slot 8 INTA is routed to irq 10
pcib0: slot 9 INTA is routed to irq 15
pcib0: slot 13 INTA is routed to irq 11
pcib0: slot 14 INTA is routed to irq 10
pcib0: slot 16 INTA is routed to irq 5
pcib0: slot 16 INTB is routed to irq 5
pcib0: slot 16 INTC is routed to irq 5
pcib0: slot 16 INTD is routed to irq 5
pcib0: slot 17 INTC is routed to irq 9
agp0: <VIA Generic host to PCI bridge> mem 0xf8000000-0xfbffffff at device 0.0 on pci0
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
pcib1: slot 0 INTA is routed to irq 11
pci1: <display, VGA> at device 0.0 (no driver attached)
pci1: <display> at device 0.1 (no driver attached)
fwohci0: <VIA VT6306> port 0xb800-0xb87f mem 0xdd000000-0xdd0007ff irq 10 at device 7.0
 on pci0
fwohci0: OHCI version 1.0 (ROM=1)
fwohci0: No. of Isochronous channel is 4.
fwohci0: EUI64 00:e0:18:00:00:0b:cb:b2
fwohci0: Phy 1394a available S400, 2 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0: <IEEE1394(FireWire) bus> on fwohci0
fwe0: <Ethernet over FireWire> on firewire0
if_fwe0: Fake Ethernet address: 02:e0:18:0b:cb:b2
sbp0: <SBP-2/SCSI over FireWire> on firewire0
fwohci0: Initiate bus reset
fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
firewire0: bus manager 0 (me)
atapci0: <Promise PDC20376 SATA150 controller> port 0xa800-0xa87f,0xb000-0xb00f,0xb400-
0xb43f mem 0xdc000000-0xdc01ffff,0xdc800000-0xdc800fff irq 10 at device 8.0 on pci0
atapci0: [MPSAFE]
ata2: at 0xdc800000 on atapci0
ata2: [MPSAFE]
ata3: at 0xdc800000 on atapci0
ata3: [MPSAFE]
ata4: at 0xdc800000 on atapci0
*** ata4: [MPSAFE]
bge0: <Broadcom BCM5702 Gigabit Ethernet, ASIC rev. 0x1002> mem 0xdb800000-0xdb80ffff i
rq 15 at device 9.0 on pci0
bge0: Ethernet address: 00:e0:18:be:f6:d8
miibus0: <MII bus> on bge0
brgphy0: <BCM5703 10/100/1000baseTX PHY> on miibus0
brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, a
uto
fxp0: <Intel 82557 Pro/100 Ethernet> port 0xa400-0xa41f mem 0xdb000000-0xdb0fffff,0xdf0
00000-0xdf000fff irq 11 at device 13.0 on pci0
fxp0: Ethernet address 00:a0:c9:27:30:ae
miibus1: <MII bus> on fxp0
nsphy0: <DP83840 10/100 media interface> on miibus1
nsphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ahc0: <Adaptec 2940 Ultra2 SCSI adapter> port 0xa000-0xa0ff mem 0xda800000-0xda800fff i
rq 10 at device 14.0 on pci0
aic7890/91: Ultra2 Wide Channel A, SCSI Id=7, 32/253 SCBs
uhci0: <VIA 83C572 USB controller> port 0x9800-0x981f irq 5 at device 16.0 on pci0
usb0: <VIA 83C572 USB controller> on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhub1: Iiyama product 0x0201, class 9/0, rev 1.10/1.10, addr 2
uhub1: 4 ports with 4 removable, self powered
uhci1: <VIA 83C572 USB controller> port 0x9400-0x941f irq 5 at device 16.1 on pci0
usb1: <VIA 83C572 USB controller> on uhci1
usb1: USB revision 1.0
uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci2: <VIA 83C572 USB controller> port 0x9000-0x901f irq 5 at device 16.2 on pci0
usb2: <VIA 83C572 USB controller> on uhci2
usb2: USB revision 1.0
uhub3: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
pci0: <serial bus, USB> at device 16.3 (no driver attached)
isab0: <PCI-ISA bridge> at device 17.0 on pci0
isa0: <ISA bus> on isab0
atapci1: <VIA 8235 UDMA133 controller> port 0x8800-0x880f at device 17.1 on pci0
ata0: at 0x1f0 irq 14 on atapci1
ata0: [MPSAFE]
ata1: at 0x170 irq 15 on atapci1
ata1: [MPSAFE]
pcm0: <VIA VT8235> port 0xe000-0xe0ff irq 9 at device 17.5 on pci0
pcm0: <Avance Logic ALC650 AC97 Codec>
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> port 0x3f7,0x3f2-0x3f5 ir
q 6 drq 2 on acpi0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ppc0 port 0x778-0x77b,0x378-0x37f irq 7 drq 3 on acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/9 bytes threshold
ppbus0: <Parallel port bus> on ppc0
ppbus0: IEEE1284 device found 
Probing for PnP devices on ppbus0:
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
sio1 port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model IntelliMouse, device ID 3
orm0: <Option ROMs> at iomem 0xd4000-0xd97ff,0xd0000-0xd3fff,0xc0000-0xccfff on isa0
pmtimer0 on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounter "TSC" frequency 1400060270 Hz quality 800
Timecounters tick every 10.000 msec
ipfw2 initialized, divert enabled, rule-based forwarding enabled, default to deny, logg
ing unlimited
ad0: 58644MB <Maxtor 6Y060P0> [119150/16/63] at ata0-slave UDMA133
Waiting 5 seconds for SCSI devices to settle
cd0 at ahc0 bus 0 target 1 lun 0
cd0: <TEAC CD-ROM CD-516S 1.0G> Removable CD-ROM SCSI-2 device 
cd0: 10.000MB/s transfers (10.000MHz, offset 8)
cd0: cd present [321092 x 2048 byte records]
cd1 at ahc0 bus 0 target 2 lun 0
cd1: <YAMAHA CRW2100S 1.0H> Removable CD-ROM SCSI-2 device 
cd1: 20.000MB/s transfers (20.000MHz, offset 7)
cd1: Attempt to query device size failed: NOT READY, Medium not present - tray closed
da0 at ahc0 bus 0 target 0 lun 0
da0: <SEAGATE ST318438LW 0003> Fixed Direct Access SCSI-3 device 
da0: 80.000MB/s transfers (40.000MHz, offset 63, 16bit), Tagged Queueing Enabled
da0: 19001MB (38914049 512 byte sectors: 255H 63S/T 2422C)
da1 at ahc0 bus 0 target 8 lun 0
da1: <IBM DPSS-318350N S93E> Fixed Direct Access SCSI-3 device 
da1: 80.000MB/s transfers (40.000MHz, offset 63, 16bit), Tagged Queueing Enabled
da1: 17501MB (35843670 512 byte sectors: 255H 63S/T 2231C)


-- 
Totus tuus, Glebius.
GLEBIUS-RIPN GLEB-RIPE
Received on Mon Mar 01 2004 - 07:46:55 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:45 UTC