Re: new interrupts not working for me

2003-11-11 Thread Richard Todd
John Baldwin wrote:
On 06-Nov-2003 Peter Schultz wrote:
 John Baldwin wrote:
 On 05-Nov-2003 Peter Schultz wrote:
 
I have a Tyan S1832DL w/dual pii 350s and it's not able to boot.  Seems 
to be having trouble with my adaptec scsi controller, I get a whole 
bunch of output like this hand transcribed bit, it comes after waiting 
15 seconds for scsi devices to settle:

ahc0 timeout SCB already complete interrupts may not be functioning
Infinite interrupt loop INTSTAT=0(probe3:ahc0:0:3:0): SCB 0x6 - timed out

Anyone else seeing this?  There are probably 100+ related lines of 
output, I'll have to configure serial debugging if you need to see it.
 
 
 The dmesg output excluding all the ahc0 errors would help figure out
 why your interrupts aren't working.  However, I just committed a patch
 that might fix your problem.
 
 Now the kernel just dies and the machine reboots right in the beginning 
 when it's setting up the ACPI/APIC stuff.  Of course, with ACPI off, 
 there's no apparent problem with the kernel.

Ok.  Did the old kernel break before with ACPI turned off?  It should
have.  By the way, I've committed a fix for the ACPI breakage.

I've got a similar motherboard to the original poster (a Tyan S1836DLUAN/GX
instead of S1832DL), and ran across essentially the same problem -- the 
interrupts for the ahc controller weren't working -- with the new interrupt 
code.  With the new kernel, booting with ACPI disabled worked okay, but 
booting with ACPI enabled caused the SCSI device probe to hang up.  This is
true even for a kernel compiled from current source today.  Below I list
the dmesg output for a boot with today's kernel with ACPI disabled.  Alas, 
I don't have a similar file for the ACPI-enabled case (since the OS doesn't
ever get up to a point where it can write to its disks, and don't have a 
machine available for ready serial console-ing), but I can tell you that
where the non-ACPI boot said 
pcib0: slot 7 INTD routed to irq 19
pcib0: slot 17 INTA routed to irq 19
pcib0: slot 18 INTA routed to irq 16
pcib0: slot 18 INTB routed to irq 16

the booted-with-ACPI kernel said those interrupts were routed to IRQs 11 and
10, respectively, and the later ahc? probes said that ahc[01] were on irq 10 
as well.  

I'd attach the dump of the ACPI tables as well, but, um, 
ichotolot# acpidump -t 
acpidump: sysctl machdep.acpi_root does not point to RSDP
ichotolot# sysctl -a | grep acpi_root
machdep.acpi_root: 0
ichotolot# 

So you can't dump the ACPI tables for debugging purposes if you didn't
boot with ACPI? I don't recall this being the case before...

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 #9: Mon Nov 10 21:13:08 CST 2003
[EMAIL PROTECTED]:/usr/src/sys/i386/compile/ICHOTOLOTSMP
Preloaded elf kernel /boot/kernel/kernel at 0xc0b3f000.
MPTable: INTEL440GX   
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Pentium II/Pentium II Xeon/Celeron (400.91-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0x653  Stepping = 3
  
Features=0x183fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR
real memory  = 668991488 (638 MB)
avail memory = 640176128 (610 MB)
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
ioapic0: Assuming intbase of 0
ioapic0 Version 1.1 irqs 0-23 on motherboard
Pentium Pro MTRR support enabled
npx0: [FAST]
npx0: math processor on motherboard
npx0: INT 16 interface
pcibios: BIOS version 2.10
pcib0: MPTable Host-PCI bridge at pcibus 0 on motherboard
pci0: PCI bus on pcib0
pcib0: slot 7 INTD routed to irq 19
pcib0: slot 17 INTA routed to irq 19
pcib0: slot 18 INTA routed to irq 16
pcib0: slot 18 INTB routed to irq 16
agp0: Intel 82443GX host to PCI bridge mem 0xf800-0xfbff at device 0.0 on 
pci0
pcib1: MPTable PCI-PCI bridge at device 1.0 on pci0
pci1: PCI bus on pcib1
pcib1: slot 0 INTA routed to irq 16
pci1: display, VGA at device 0.0 (no driver attached)
isab0: PCI-ISA bridge at device 7.0 on pci0
isa0: ISA bus on isab0
atapci0: Intel PIIX4 UDMA33 controller port 0xffa0-0xffaf at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata0: [MPSAFE]
ata1: at 0x170 irq 15 on atapci0
ata1: [MPSAFE]
uhci0: Intel 82371AB/EB (PIIX4) USB controller port 0xef80-0xef9f irq 19 at device 
7.2 on pci0
usb0: Intel 82371AB/EB (PIIX4) USB controller on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ums0: Cypress Sem PS2/USB Browser Combo Mouse, rev 1.00/4.9c, addr 2, iclass 3/1
ums0: 5 buttons and Z dir.
piix0: PIIX Timecounter port 0x440-0x44f at device 7.3 on pci0
Timecounter PIIX frequency 3579545 Hz quality 0
pcib2: PCI-PCI bridge at device 16.0 on pci0
pci2: PCI bus on pcib2
fxp0: Intel 82558 Pro/100 Ethernet port 0xef40-0xef5f mem 

Re: new interrupts not working for me

2003-11-06 Thread John Baldwin

On 06-Nov-2003 Peter Schultz wrote:
 John Baldwin wrote:
 On 05-Nov-2003 Peter Schultz wrote:
 
I have a Tyan S1832DL w/dual pii 350s and it's not able to boot.  Seems 
to be having trouble with my adaptec scsi controller, I get a whole 
bunch of output like this hand transcribed bit, it comes after waiting 
15 seconds for scsi devices to settle:

ahc0 timeout SCB already complete interrupts may not be functioning
Infinite interrupt loop INTSTAT=0(probe3:ahc0:0:3:0): SCB 0x6 - timed out

Anyone else seeing this?  There are probably 100+ related lines of 
output, I'll have to configure serial debugging if you need to see it.
 
 
 The dmesg output excluding all the ahc0 errors would help figure out
 why your interrupts aren't working.  However, I just committed a patch
 that might fix your problem.
 
 Now the kernel just dies and the machine reboots right in the beginning 
 when it's setting up the ACPI/APIC stuff.  Of course, with ACPI off, 
 there's no apparent problem with the kernel.

Ok.  Did the old kernel break before with ACPI turned off?  It should
have.  By the way, I've committed a fix for the ACPI breakage.

-- 

John Baldwin [EMAIL PROTECTED]http://www.FreeBSD.org/~jhb/
Power Users Use the Power to Serve!  -  http://www.FreeBSD.org/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: new interrupts not working for me

2003-11-06 Thread Peter Schultz
John Baldwin wrote:
On 06-Nov-2003 Peter Schultz wrote:

John Baldwin wrote:

On 05-Nov-2003 Peter Schultz wrote:


I have a Tyan S1832DL w/dual pii 350s and it's not able to boot.  Seems 
to be having trouble with my adaptec scsi controller, I get a whole 
bunch of output like this hand transcribed bit, it comes after waiting 
15 seconds for scsi devices to settle:

ahc0 timeout SCB already complete interrupts may not be functioning
Infinite interrupt loop INTSTAT=0(probe3:ahc0:0:3:0): SCB 0x6 - timed out
Anyone else seeing this?  There are probably 100+ related lines of 
output, I'll have to configure serial debugging if you need to see it.


The dmesg output excluding all the ahc0 errors would help figure out
why your interrupts aren't working.  However, I just committed a patch
that might fix your problem.
Now the kernel just dies and the machine reboots right in the beginning 
when it's setting up the ACPI/APIC stuff.  Of course, with ACPI off, 
there's no apparent problem with the kernel.


Ok.  Did the old kernel break before with ACPI turned off?  It should
have.  By the way, I've committed a fix for the ACPI breakage.
The new interrupt kernels I've built have worked fine with ACPI off. 
The immediate crash is fixed, but now I'm back to the trouble with my 
SCSI controller.  I'll try to get the output from that to you.

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


Re: new interrupts not working for me

2003-11-05 Thread Reko Turja

- Original Message - 
From: Peter Schultz [EMAIL PROTECTED]
Newsgroups: mailing.freebsd.current
Sent: Thursday, November 06, 2003 12:55 AM
Subject: new interrupts not working for me


 I have a Tyan S1832DL w/dual pii 350s and it's not able to boot.
Seems
 to be having trouble with my adaptec scsi controller, I get a whole
 bunch of output like this hand transcribed bit, it comes after
waiting
 15 seconds for scsi devices to settle:

I have -current kernel cvsupped and compiled Tuesday night - and it
boots fine with my Tiger 100. I have SCHED_ULE enabled in my
kernelconfig and ACPI is disabled. I have a bulk dualchannel Adaptec
2940, and the system boots fine from SCSI drive connected to it.

-Reko


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


RE: new interrupts not working for me

2003-11-05 Thread John Baldwin

On 05-Nov-2003 Peter Schultz wrote:
 I have a Tyan S1832DL w/dual pii 350s and it's not able to boot.  Seems 
 to be having trouble with my adaptec scsi controller, I get a whole 
 bunch of output like this hand transcribed bit, it comes after waiting 
 15 seconds for scsi devices to settle:
 
 ahc0 timeout SCB already complete interrupts may not be functioning
 Infinite interrupt loop INTSTAT=0(probe3:ahc0:0:3:0): SCB 0x6 - timed out
 
 Anyone else seeing this?  There are probably 100+ related lines of 
 output, I'll have to configure serial debugging if you need to see it.

The dmesg output excluding all the ahc0 errors would help figure out
why your interrupts aren't working.  However, I just committed a patch
that might fix your problem.

-- 

John Baldwin [EMAIL PROTECTED]http://www.FreeBSD.org/~jhb/
Power Users Use the Power to Serve!  -  http://www.FreeBSD.org/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: new interrupts not working for me

2003-11-05 Thread Peter Schultz
John Baldwin wrote:
On 05-Nov-2003 Peter Schultz wrote:

I have a Tyan S1832DL w/dual pii 350s and it's not able to boot.  Seems 
to be having trouble with my adaptec scsi controller, I get a whole 
bunch of output like this hand transcribed bit, it comes after waiting 
15 seconds for scsi devices to settle:

ahc0 timeout SCB already complete interrupts may not be functioning
Infinite interrupt loop INTSTAT=0(probe3:ahc0:0:3:0): SCB 0x6 - timed out
Anyone else seeing this?  There are probably 100+ related lines of 
output, I'll have to configure serial debugging if you need to see it.


The dmesg output excluding all the ahc0 errors would help figure out
why your interrupts aren't working.  However, I just committed a patch
that might fix your problem.
Now the kernel just dies and the machine reboots right in the beginning 
when it's setting up the ACPI/APIC stuff.  Of course, with ACPI off, 
there's no apparent problem with the kernel.

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