Re: ATAng hangs with kernel from september 15

2003-09-17 Thread Joachim Strömbergson
Aloha!

Terry Lambert wrote:
Joachim Strömbergson wrote:

So now the tousand dollar question becomes "What in the boot contains a
timeout around 30 seconds, a timout that lately has been
committed/ctivated in the kernel code?"
SCSI has one of these; are you compiling with ATAPICAM?
Nope. No ATAPICAM anywhere near my system. .-)

Note that the changes to the src that triggered this appeared quite 
recently, somewhere between 2003-09-01 and 2003-09-16, according to my 
builds and reboots.

I think Sören is on the right track that it's related to ATA probe 
timeout. I checked the cvs logs and there are new timeout code that 
relates to ATA probing. I will do a verbose reboot and get the 
interesting dmesg part to him.
--
Med vänlig hälsning, Cheers!

Joachim Strömbergson
========
Joachim Strömbergson - ASIC designer, nice to *cute* animals.
snail:  phone: mail & web:
Sävenäsgatan 5A+46 31 - 27 98 47  [EMAIL PROTECTED]
416 72 Göteborg+46 733 75 97 02   www.ludd.luth.se/~watchman

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ATAng hangs with kernel from september 15

2003-09-16 Thread Joachim Strömbergson
Aloha!

Arjan van Leeuwen wrote:
On Tuesday 16 September 2003 23:33, Joachim Strömbergson wrote:
Try again and see if it is a real, solid hang, or if it just takes a while.
Thanks! I guess I'm too impatient these days... Yes, it works after waiting 
for about 30 seconds. So a correction, it doesn't hang, it's just slow when 
detecting :).
So now the tousand dollar question becomes "What in the boot contains a 
timeout around 30 seconds, a timout that lately has been 
committed/ctivated in the kernel code?"

--
Med vänlig hälsning, Cheers!
Joachim Strömbergson
====
Joachim Strömbergson - ASIC designer, nice to *cute* animals.
snail:  phone: mail & web:
Sävenäsgatan 5A+46 31 - 27 98 47  [EMAIL PROTECTED]
416 72 Göteborg+46 733 75 97 02   www.ludd.luth.se/~watchman

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ATAng hangs with kernel from september 15

2003-09-16 Thread Joachim Strömbergson
Aloha!

Arjan van Leeuwen wrote:
If I start my kernel from september 15, my computer hangs after this message:

atapci0:  port 0xa400-0xa40f at device 7.1 on 
pci0
ata0: at 0x1f0 irq 14 on atapci0
ata0: [MPSAFE]
Did you wait a while? I just completed my system update (getting the 
OpenSSH patch in at the same time, thanks sec-team!). After reboot my 
system also stopped at the exact message above. After what felt like 
about a minute, the system continued to boot and is running normally.

Try again and see if it is a real, solid hang, or if it just takes a while.

Included is my dmesg.

--
Med vänlig hälsning, Cheers!
Joachim Strömbergson

Joachim Strömbergson - ASIC designer, nice to *cute* animals.
snail:  phone: mail & web:
Sävenäsgatan 5A+46 31 - 27 98 47  [EMAIL PROTECTED]
416 72 Göteborg+46 733 75 97 02   www.ludd.luth.se/~watchman

Copyright (c) 1992-2003 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.1-CURRENT #10: Tue Sep  2 09:44:15 CEST 2003
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/ATHLON
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0676000.
Preloaded elf module "/boot/kernel/linux.ko" at 0xc0676244.
Preloaded elf module "/boot/kernel/nvidia.ko" at 0xc06762f0.
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc067639c.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Athlon(TM) XP 2000+ (1666.74-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x662  Stepping = 2
  
Features=0x383fbff
  AMD Features=0xc040
real memory  = 536854528 (511 MB)
avail memory = 514424832 (490 MB)
Pentium Pro MTRR support enabled
npx0:  on motherboard
npx0: INT 16 interface
acpi0:  on motherboard
pcibios: BIOS version 2.10
Using $PIR table, 12 entries at 0xc00f1cd0
acpi0: power button is handled as a fixed feature programming model.
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <32-bit timer at 3.579545MHz> port 0xe408-0xe40b on acpi0
acpi_cpu0:  port 0x530-0x537 on acpi0
acpi_button0:  on acpi0
pcib0:  port 0xcf8-0xcff on acpi0
pci0:  on pcib0
pcib0: slot 9 INTA is routed to irq 10
pcib0: slot 11 INTA is routed to irq 6
pcib0: slot 15 INTA is routed to irq 10
pcib0: slot 16 INTA is routed to irq 9
pcib0: slot 16 INTB is routed to irq 9
pcib0: slot 16 INTC is routed to irq 9
pcib0: slot 16 INTD is routed to irq 9
agp0:  mem 0xf800-0xfbff at device 0.0 on pci0
pcib1:  at device 1.0 on pci0
pci1:  on pcib1
pcib1: slot 0 INTA is routed to irq 11
nvidia0:  mem 0xf000-0xf7ff,0xee00-0xeeff 
irq 11 at device 0.0 on pci1
pci0:  at device 9.0 (no driver attached)
fxp0:  port 0xd800-0xd83f mem 
0xec80-0xec81,0xed00-0xed000fff irq 6 at device 11.0 on pci0
fxp0: Ethernet address 00:02:b3:97:19:f8
miibus0:  on fxp0
inphy0:  on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pcm0:  port 0xd400-0xd41f irq 10 at device 15.0 on pci0
pcm0: 
pci0:  at device 16.0 (no driver attached)
pci0:  at device 16.1 (no driver attached)
pci0:  at device 16.2 (no driver attached)
pci0:  at device 16.3 (no driver attached)
isab0:  at device 17.0 on pci0
isa0:  on isab0
atapci0:  port 0xa800-0xa80f at device 17.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
speaker0 port 0x61 on acpi0
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:  on ppc0
lpt0:  on ppbus0
lpt0: Interrupt-driven port
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
sio1 port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
atkbdc0:  port 0x64,0x60 irq 1 on acpi0
atkbd0:  flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0:  irq 12 on atkbdc0
psm0: model MouseMan+, device ID 0
orm0:  at iomem 0xcc000-0xcd7ff on isa0
sc0:  at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0:  at port 0x3c0-0x3df iomem 0xa-0xb on isa0
Timecounter "TSC" frequency 1666738177 Hz quality 800
Timecounters tick every 10.000 msec
ipfw2 initialized, divert disabled, rule-based forwarding enabled, default to accept, 
logging disabled
GEOM: create disk ad0 dp=0xc411ea70
ad0: 57241MB  [116301/16/63] at ata0-master UDMA100
Mounting root from ufs:/dev/ad0s1a
Waiting (max 60 seconds) for system process `vnlru' to stop...stopped
Waiting (max 60 seconds) for system process `bufdaemon' to stop...stopped
Waiting (max 60 seconds) for system process `syncer' to stop...stopped

syncing disks, buffers remaining... 19 19 
done
Copyright (c) 1992-2003 The FreeBSD Project.
Copyright (c) 1979, 1980,