Re: -current hangs with SMP enabled

2002-02-26 Thread Andrew Gallatin


Kenneth D. Merry writes:
   Wow, I didn't actually expect my config would make things work
   differenty on your box.  I'm very interested in whatever you
   turn up.
  
  The answer is...the USB code.
  
  [ Nick and Joe CCed ]
  
  If I comment out the following lines in my standard config for this
  machine, SMP works:
  
  # USB support
  device  uhci# UHCI PCI-USB interface
  device  ohci# OHCI PCI-USB interface
  device  usb # USB Bus (required)
  #device udbp# USB Double Bulk Pipe devices
...


To add another datapoint, the USB code will prevent some alphas from
rebooting cleanly in -stable.  With USB compiled in, the machine will
not get any ATA interrupts after a warm reboot.  This change happened
somewhere between 4.4 and 4.5.

It doesn't seem to matter if the machine actually has USB enabled or
not.  Eg, it happens on a UP1000 which has USB hardware, but has it
disabled in the firmware:

chip0@pci0:0:0: class=0x06 card=0x chip=0x70061022 rev=0x25 hdr=0x00
vendor   = 'Advanced Micro Devices (AMD)'
device   = 'AMD-751 Processor-to-PCI Bridge / Memory Ctrlr'
class= bridge
subclass = HOST-PCI
pcib1@pci0:1:0: class=0x060400 card=0x chip=0x70071022 rev=0x01 hdr=0x01
vendor   = 'Advanced Micro Devices (AMD)'
device   = 'AMD-751 AGP and PCI-to-PCI Bridge (1x/2x AGP)'
class= bridge
subclass = PCI-PCI
isab0@pci0:7:0: class=0x060100 card=0x chip=0x153310b9 rev=0xc3 hdr=0x00
vendor   = 'Acer Labs Incorporated (ALi)'
device   = 'ALI M1533 Aladdin IV ISA Bridge'
class= bridge
subclass = PCI-ISA
sym0@pci0:8:0:  class=0x01 card=0x chip=0x000f1000 rev=0x04 hdr=0x00
vendor   = 'Symbios Logic (NCR) (LSI Logic)'
device   = '53C875, 53C876 Ultra-Wide SCSI (53C876 is dual-channel)'
class= mass storage
subclass = SCSI
rp0@pci0:10:0:  class=0x078000 card=0x chip=0x000511fe rev=0x04 hdr=0x00
vendor   = 'Comtrol Corp'
device   = 'RocketPort 8-port'
class= simple comms
xl0@pci0:11:0:  class=0x02 card=0x905510b7 chip=0x905510b7 rev=0x64 hdr=0x00
vendor   = '3COM Corp, Networking Division'
device   = '3C905B-TX Fast Etherlink 10/100 PCI TX NIC'
class= network
subclass = ethernet
atapci0@pci0:16:0:  class=0x0101fa card=0x chip=0x522910b9 rev=0xc1 
hdr=0x00
vendor   = 'Acer Labs Incorporated (ALi)'
device   = 'M1543 Southbridge EIDE Controller'
class= mass storage
subclass = ATA
chip1@pci0:17:0:class=0x00 card=0x chip=0x710110b9 rev=0x00 
hdr=0x00
vendor   = 'Acer Labs Incorporated (ALi)'
device   = 'ALI M7101 Power Management Controller'
class= old
subclass = non-VGA display device
none0@pci2:5:0: class=0x03 card=0x0a351048 chip=0x3d07104c rev=0x11 hdr=0x00
vendor   = 'Texas Instruments (TI)'
device   = 'TVP4020 AGP Permedia 2'
class= display
subclass = VGA


Cheers,

Drew


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: -current hangs with SMP enabled

2002-02-25 Thread Andrew Kenneth Milton

+---[ Glenn Gombert ]--
| There is a problem in -Current now between SCSI card(s) and the ATA
| drivers, On my Dell 410 Workstation at work I commetned out the ATA driver
| stuff (it was not used on that machine) and it booted fine, I think that
| might just cure the SMP problem you are seeing too.

I can normally boot fine, it's only under load that it hangs.

I think it might actually be the AHC driver, not CAM itself. I don't have 
any other SCSI cards to test that theory though.

-- 
Totally Holistic Enterprises Internet|  | Andrew Milton
The Internet (Aust) Pty Ltd  |  |
ACN: 082 081 472 ABN: 83 082 081 472 |  M:+61 416 022 411   | Carpe Daemon
PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: -current hangs with SMP enabled

2002-02-25 Thread Kenneth D. Merry

On Sun, Feb 24, 2002 at 23:15:34 -0800, Matthew Dillon wrote:
 
 :...
 : stuff (it was not used on that machine) and it booted fine, I think that
 : might just cure the SMP problem you are seeing too.
 :
 :Thanks for the suggestion.
 :
 :Unfortunately it still hangs with SMP enabled and the ATA drivers commented
 :out of the GENERIC config.
 :
 :Ken
 :-- 
 :Kenneth Merry
 
 Just as a data point, I've been running -current on a 2xCPU SMP
 system (DELL2550) for a few weeks and it's always booted fine.
 
 For the last few months I have noticed occassional freezes occuring
 at odd times long after boot.  I have no idea why it happens.

Your config works!

I've attached the dmesg.  Now the question is, what is the difference
between GENERIC and your config that is causing the problem?

(I suppose it makes sense that your config would work, since I think that
Dell is a Serverworks-based system too.)

I'll see if I can figure it out...

Ken
-- 
Kenneth Merry
[EMAIL PROTECTED]


Copyright (c) 1992-2002 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 #0: Mon Feb 25 22:01:01 MST 2002

[EMAIL PROTECTED]:/usr/home/ken/perforce/FreeBSD-ken/src/sys/i386/compile/dilloncfg
Preloaded elf kernel /boot/kernel.dillon/kernel at 0xc03c6000.
Preloaded elf module /boot/kernel.dillon/acpi.ko at 0xc03c60b0.
Timecounter i8254  frequency 1193182 Hz
CPU: Pentium III/Pentium III Xeon/Celeron (1266.07-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0x6b1  Stepping = 1
  
Features=0x383fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
real memory  = 2684289024 (2621376K bytes)
avail memory = 2610569216 (2549384K bytes)
Programming 16 pins in IOAPIC #0
IOAPIC #0 intpin 2 - irq 0
Programming 16 pins in IOAPIC #1
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): apic id:  0, version: 0x00040011, at 0xfee0
 cpu1 (AP):  apic id:  1, version: 0x00040011, at 0xfee0
 io0 (APIC): apic id:  4, version: 0x000f0011, at 0xfec0
 io1 (APIC): apic id:  5, version: 0x000f0011, at 0xfec01000
Pentium Pro MTRR support enabled
Using $PIR table, 10 entries at 0xc00f52e0
ACPI-0204: *** Error: AcpiLoadTables: Could not load namespace: AE_NOT_FOUND
ACPI-0213: *** Error: AcpiLoadTables: Could not load tables: AE_NOT_FOUND
ACPI: table load failed: AE_NOT_FOUND
npx0: math processor on motherboard
npx0: INT 16 interface
pcib0: ServerWorks host to PCI bridge at pcibus 0 on motherboard
IOAPIC #1 intpin 10 - irq 2
IOAPIC #1 intpin 11 - irq 5
IOAPIC #1 intpin 15 - irq 9
pci0: PCI bus on pcib0
pcib1: PCI-PCI bridge at device 0.1 on pci0
IOAPIC #1 intpin 14 - irq 11
pci1: PCI bus on pcib1
pci1: display, VGA at device 0.0 (no driver attached)
ahc0: Adaptec aic7899 Ultra160 SCSI adapter port 0xd000-0xd0ff mem 
0xfeafc000-0xfeafcfff irq 2 at device 5.0 on pci0
aic7899: Ultra160 Wide Channel A, SCSI Id=7, 32/255 SCBs
ahc1: Adaptec aic7899 Ultra160 SCSI adapter port 0xd800-0xd8ff mem 
0xfeaff000-0xfeaf irq 5 at device 5.1 on pci0
aic7899: Ultra160 Wide Channel B, SCSI Id=7, 32/255 SCBs
fxp0: Intel Pro 10/100B/100+ Ethernet port 0xd400-0xd43f mem 
0xfe90-0xfe9f,0xfeafd000-0xfeafdfff irq 9 at device 6.0 on pci0
fxp0: Ethernet address 00:30:48:21:bb:74
inphy0: i82555 10/100 media interface on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isab0: PCI-ISA bridge port 0x580-0x58f at device 15.0 on pci0
isa0: ISA bus on isab0
atapci0: ServerWorks ROSB4 ATA33 controller port 0xffa0-0xffaf at device 15.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: serial bus, USB at device 15.2 (no driver attached)
pcib2: ServerWorks host to PCI bridge at pcibus 2 on motherboard
IOAPIC #1 intpin 8 - irq 16
pci2: PCI bus on pcib2
pci2: network, ethernet at device 2.0 (no driver attached)
ata: ata0 already exists; skipping it
ata: ata1 already exists; skipping it
sc: sc0 already exists; skipping it
vga: vga0 already exists; skipping it
orm0: Option ROMs at iomem 0xd1800-0xd27ff,0xc-0xcbfff on isa0
fdc0: enhanced floppy controller (i82077, NE72065 or clone) at port 
0x3f7,0x3f0-0x3f5 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1440-KB 3.5 drive on fdc0 drive 0
atkbdc0: Keyboard controller (i8042) at port 0x64,0x60 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
vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0
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
APIC_IO: Testing 8254 interrupt delivery
APIC_IO: Broken MP table detected: 8254 is not connected to IOAPIC #0 intpin 2
APIC_IO: routing 8254 via 8259 and 

Re: -current hangs with SMP enabled

2002-02-25 Thread Matthew Dillon


: Just as a data point, I've been running -current on a 2xCPU SMP
: system (DELL2550) for a few weeks and it's always booted fine.
: 
: For the last few months I have noticed occassional freezes occuring
: at odd times long after boot.  I have no idea why it happens.
:
:Your config works!
:
:I've attached the dmesg.  Now the question is, what is the difference
:between GENERIC and your config that is causing the problem?
:
:(I suppose it makes sense that your config would work, since I think that
:Dell is a Serverworks-based system too.)
:
:I'll see if I can figure it out...
:
:Ken
:-- 
:Kenneth Merry

Wow, I didn't actually expect my config would make things work
differenty on your box.  I'm very interested in whatever you
turn up.

-Matt


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: -current hangs with SMP enabled

2002-02-25 Thread Kenneth D. Merry

On Mon, Feb 25, 2002 at 21:29:44 -0800, Matthew Dillon wrote:
 
 : Just as a data point, I've been running -current on a 2xCPU SMP
 : system (DELL2550) for a few weeks and it's always booted fine.
 : 
 : For the last few months I have noticed occassional freezes occuring
 : at odd times long after boot.  I have no idea why it happens.
 :
 :Your config works!
 :
 :I've attached the dmesg.  Now the question is, what is the difference
 :between GENERIC and your config that is causing the problem?
 :
 :(I suppose it makes sense that your config would work, since I think that
 :Dell is a Serverworks-based system too.)
 :
 :I'll see if I can figure it out...
 :
 :Ken
 :-- 
 :Kenneth Merry
 
 Wow, I didn't actually expect my config would make things work
 differenty on your box.  I'm very interested in whatever you
 turn up.

The answer is...the USB code.

[ Nick and Joe CCed ]

If I comment out the following lines in my standard config for this
machine, SMP works:

# USB support
device  uhci# UHCI PCI-USB interface
device  ohci# OHCI PCI-USB interface
device  usb # USB Bus (required)
#device udbp# USB Double Bulk Pipe devices
device  ugen# Generic
device  uhid# Human Interface Devices
device  ukbd# Keyboard
device  ulpt# Printer
device  umass   # Disks/Mass storage - Requires scbus and da
device  ums # Mouse
device  urio# Diamond Rio 500 MP3 player
device  uscanner# Scanners
# USB Ethernet, requires mii
device  aue # ADMtek USB ethernet
device  cue # CATC USB ethernet
device  kue # Kawasaki LSI USB ethernet

The USB module is still loaded when usbd cranks up, but it doesn't hang the
machine when it is loaded as a module.

I've tried two kernels, with the only difference being whether the usb code
(as listed above) is enabled or not.  The kernel with the USB stuff hangs.

I've attached dmesg output from the working boot. 

Ken
-- 
Kenneth Merry
[EMAIL PROTECTED]


Copyright (c) 1992-2002 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 #4: Mon Feb 25 22:23:37 MST 2002

[EMAIL PROTECTED]:/usr/home/ken/perforce/FreeBSD-ken/src/sys/i386/compile/gondolin
Preloaded elf kernel /boot/kernel.gondolin.smp/kernel at 0xc04c7000.
Preloaded elf module /boot/kernel.gondolin.smp/acpi.ko at 0xc04c70b8.
Timecounter i8254  frequency 1193182 Hz
CPU: Pentium III/Pentium III Xeon/Celeron (1266.07-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0x6b1  Stepping = 1
  
Features=0x383fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
real memory  = 2684289024 (2621376K bytes)
avail memory = 2609504256 (2548344K bytes)
Programming 16 pins in IOAPIC #0
IOAPIC #0 intpin 2 - irq 0
Programming 16 pins in IOAPIC #1
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): apic id:  0, version: 0x00040011, at 0xfee0
 cpu1 (AP):  apic id:  1, version: 0x00040011, at 0xfee0
 io0 (APIC): apic id:  4, version: 0x000f0011, at 0xfec0
 io1 (APIC): apic id:  5, version: 0x000f0011, at 0xfec01000
Pentium Pro MTRR support enabled
Using $PIR table, 10 entries at 0xc00f52e0
ACPI-0204: *** Error: AcpiLoadTables: Could not load namespace: AE_NOT_FOUND
ACPI-0213: *** Error: AcpiLoadTables: Could not load tables: AE_NOT_FOUND
ACPI: table load failed: AE_NOT_FOUND
npx0: math processor on motherboard
npx0: INT 16 interface
pcib0: ServerWorks host to PCI bridge at pcibus 0 on motherboard
IOAPIC #1 intpin 10 - irq 2
IOAPIC #1 intpin 11 - irq 5
IOAPIC #1 intpin 15 - irq 9
pci0: PCI bus on pcib0
pcib1: PCI-PCI bridge at device 0.1 on pci0
IOAPIC #1 intpin 14 - irq 11
pci1: PCI bus on pcib1
pci1: display, VGA at device 0.0 (no driver attached)
ahc0: Adaptec aic7899 Ultra160 SCSI adapter port 0xd000-0xd0ff mem 
0xfeafc000-0xfeafcfff irq 2 at device 5.0 on pci0
aic7899: Ultra160 Wide Channel A, SCSI Id=7, 32/255 SCBs
ahc1: Adaptec aic7899 Ultra160 SCSI adapter port 0xd800-0xd8ff mem 
0xfeaff000-0xfeaf irq 5 at device 5.1 on pci0
aic7899: Ultra160 Wide Channel B, SCSI Id=7, 32/255 SCBs
fxp0: Intel Pro 10/100B/100+ Ethernet port 0xd400-0xd43f mem 
0xfe90-0xfe9f,0xfeafd000-0xfeafdfff irq 9 at device 6.0 on pci0
fxp0: Ethernet address 00:30:48:21:bb:74
inphy0: i82555 10/100 media interface on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isab0: PCI-ISA bridge port 0x580-0x58f at device 15.0 on pci0
isa0: ISA bus on isab0
atapci0: ServerWorks ROSB4 ATA33 controller port 0xffa0-0xffaf at device 15.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: serial bus, USB at device 15.2 (no driver 

Re: -current hangs with SMP enabled

2002-02-25 Thread John Baldwin


On 26-Feb-02 Kenneth D. Merry wrote:
 On Mon, Feb 25, 2002 at 21:29:44 -0800, Matthew Dillon wrote:
 
 : Just as a data point, I've been running -current on a 2xCPU SMP
 : system (DELL2550) for a few weeks and it's always booted fine.
 : 
 : For the last few months I have noticed occassional freezes occuring
 : at odd times long after boot.  I have no idea why it happens.
 :
 :Your config works!
 :
 :I've attached the dmesg.  Now the question is, what is the difference
 :between GENERIC and your config that is causing the problem?
 :
 :(I suppose it makes sense that your config would work, since I think that
 :Dell is a Serverworks-based system too.)
 :
 :I'll see if I can figure it out...
 :
 :Ken
 :-- 
 :Kenneth Merry
 
 Wow, I didn't actually expect my config would make things work
 differenty on your box.  I'm very interested in whatever you
 turn up.
 
 The answer is...the USB code.
 
 [ Nick and Joe CCed ]
 
 If I comment out the following lines in my standard config for this
 machine, SMP works:

Ah yes!  We had a test machine at TWC that came in that we couldnt' install 4.5
on (even with the UP kernel on the boot disk) due to getting an interrupt storm
of USB interrupts.
 
# USB support
 device  uhci# UHCI PCI-USB interface
 device  ohci# OHCI PCI-USB interface
 device  usb # USB Bus (required)
#device udbp# USB Double Bulk Pipe devices
 device  ugen# Generic
 device  uhid# Human Interface Devices
 device  ukbd# Keyboard
 device  ulpt# Printer
 device  umass   # Disks/Mass storage - Requires scbus and da
 device  ums # Mouse
 device  urio# Diamond Rio 500 MP3 player
 device  uscanner# Scanners
# USB Ethernet, requires mii
 device  aue # ADMtek USB ethernet
 device  cue # CATC USB ethernet
 device  kue # Kawasaki LSI USB ethernet
 
 The USB module is still loaded when usbd cranks up, but it doesn't hang the
 machine when it is loaded as a module.
 
 I've tried two kernels, with the only difference being whether the usb code
 (as listed above) is enabled or not.  The kernel with the USB stuff hangs.
 
 I've attached dmesg output from the working boot. 
 
 Ken
 -- 
 Kenneth Merry
 [EMAIL PROTECTED]

-- 

John Baldwin [EMAIL PROTECTED]http://www.FreeBSD.org/~jhb/
Power Users Use the Power to Serve!  -  http://www.FreeBSD.org/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: -current hangs with SMP enabled

2002-02-25 Thread Andrew Kenneth Milton

+---[ Kenneth D. Merry ]--
|
| The answer is...the USB code.

I have also solved my problem, and my answer is SMB code..

When booting an SMP kernel with SMB enabled, trying to access /dev/smb0
returns device not configured (works fine in UP mode).

Removing the SMB (and related options) from my kernel config and I'm through
a buildworld. I'm going to do a few more to make sure it's not a fluke, but,
somehow I think that's it.

So can I take it the smbbus on my mobo is hosed?

-- 
Totally Holistic Enterprises Internet|  | Andrew Milton
The Internet (Aust) Pty Ltd  |  |
ACN: 082 081 472 ABN: 83 082 081 472 |  M:+61 416 022 411   | Carpe Daemon
PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



-current hangs with SMP enabled

2002-02-24 Thread Kenneth D. Merry


I've got a SMP machine with a Supermicro P3TDE6 motherboard.  (Serverworks
HE-SL chipset, dual 1.26GHz Pentium III's.)

It boots just fine with a GENERIC -current kernel (sources cvsupped
yesterday at ~1500 MST), but hangs (at the Waiting 15 seconds for SCSI
devices to settle message) when SMP and APIC_IO are enabled.

Those two options are the only things different between the broken and
working GENERIC kernels.

I've attached dmesg output from the stock GENERIC kernel.

Anyone have any ideas on how to get SMP working?

Thanks,

Ken
-- 
Kenneth Merry
[EMAIL PROTECTED]


Copyright (c) 1992-2002 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 #0: Sun Feb 24 17:29:36 MST 2002

[EMAIL PROTECTED]:/usr/home/ken/perforce/FreeBSD-ken/src/sys/i386/compile/GENERIC
Preloaded elf kernel /boot/kernel.GENERIC.new/kernel at 0xc0564000.
Preloaded elf module /boot/kernel.GENERIC.new/acpi.ko at 0xc05640b4.
Timecounter i8254  frequency 1193182 Hz
Timecounter TSC  frequency 1266068202 Hz
CPU: Pentium III/Pentium III Xeon/Celeron (1266.07-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0x6b1  Stepping = 1
  
Features=0x383fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
real memory  = 2684289024 (2621376K bytes)
avail memory = 2608848896 (2547704K bytes)
Pentium Pro MTRR support enabled
Using $PIR table, 10 entries at 0xc00f52e0
ACPI-0204: *** Error: AcpiLoadTables: Could not load namespace: AE_NOT_FOUND
ACPI-0213: *** Error: AcpiLoadTables: Could not load tables: AE_NOT_FOUND
ACPI: table load failed: AE_NOT_FOUND
npx0: math processor on motherboard
npx0: INT 16 interface
pcib0: ServerWorks host to PCI bridge at pcibus 0 on motherboard
pci0: PCI bus on pcib0
pcib1: PCI-PCI bridge at device 0.1 on pci0
pci1: PCI bus on pcib1
pci1: display, VGA at device 0.0 (no driver attached)
ahc0: Adaptec aic7899 Ultra160 SCSI adapter port 0xd000-0xd0ff mem 
0xfeafc000-0xfeafcfff irq 5 at device 5.0 on pci0
aic7899: Ultra160 Wide Channel A, SCSI Id=7, 32/255 SCBs
ahc1: Adaptec aic7899 Ultra160 SCSI adapter port 0xd800-0xd8ff mem 
0xfeaff000-0xfeaf irq 10 at device 5.1 on pci0
aic7899: Ultra160 Wide Channel B, SCSI Id=7, 32/255 SCBs
fxp0: Intel Pro 10/100B/100+ Ethernet port 0xd400-0xd43f mem 
0xfe90-0xfe9f,0xfeafd000-0xfeafdfff irq 9 at device 6.0 on pci0
fxp0: Ethernet address 00:30:48:21:bb:74
inphy0: i82555 10/100 media interface on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isab0: PCI-ISA bridge port 0x580-0x58f at device 15.0 on pci0
isa0: ISA bus on isab0
atapci0: ServerWorks ROSB4 ATA33 controller port 0xffa0-0xffaf at device 15.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
ohci0: OHCI (generic) USB controller mem 0xfeafe000-0xfeafefff irq 10 at device 15.2 
on pci0
usb0: OHCI version 1.0, legacy support
usb0: OHCI (generic) USB controller on ohci0
usb0: USB revision 1.0
uhub0: (unknown) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 4 ports with 4 removable, self powered
pcib2: ServerWorks host to PCI bridge at pcibus 2 on motherboard
pci2: PCI bus on pcib2
pci2: network, ethernet at device 2.0 (no driver attached)
ata: ata0 already exists; skipping it
ata: ata1 already exists; skipping it
sc: sc0 already exists; skipping it
vga: vga0 already exists; skipping it
orm0: Option ROMs at iomem 0xd1800-0xd27ff,0xc-0xcbfff on isa0
atkbdc0: Keyboard controller (i8042) at port 0x64,0x60 on isa0
atkbd0: AT Keyboard flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: PS/2 Mouse irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
fdc0: enhanced floppy controller (i82077, NE72065 or clone) at port 
0x3f7,0x3f0-0x3f5 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1440-KB 3.5 drive on fdc0 drive 0
pmtimer0 on isa0
ppc0: Parallel port at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (ECP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
plip0: PLIP network interface on ppbus0
lpt0: Printer on ppbus0
lpt0: Interrupt-driven port
ppi0: Parallel I/O on ppbus0
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 0xa-0xb on isa0
Waiting 15 seconds for SCSI devices to settle
da0 at ahc0 bus 0 target 0 lun 0
da0: SEAGATE ST318406LW 0108 Fixed Direct Access SCSI-3 device 
da0: 160.000MB/s transfers (80.000MHz, offset 63, 16bit), Tagged Queueing Enabled
da0: 17501MB (35843670 512 byte sectors: 255H 63S/T 2231C)
da1 at ahc0 bus 0 target 1 lun 0
da1: SEAGATE ST318406LW 0108 Fixed Direct Access SCSI-3 device 
da1: 160.000MB/s transfers (80.000MHz, offset 63, 16bit), Tagged Queueing Enabled
da1: 17501MB (35843670 512 byte sectors: 

Re: -current hangs with SMP enabled

2002-02-24 Thread Alfred Perlstein

* Kenneth D. Merry [EMAIL PROTECTED] [020224 16:56] wrote:
 
 I've got a SMP machine with a Supermicro P3TDE6 motherboard.  (Serverworks
 HE-SL chipset, dual 1.26GHz Pentium III's.)
 
 It boots just fine with a GENERIC -current kernel (sources cvsupped
 yesterday at ~1500 MST), but hangs (at the Waiting 15 seconds for SCSI
 devices to settle message) when SMP and APIC_IO are enabled.
 
 Those two options are the only things different between the broken and
 working GENERIC kernels.
 
 I've attached dmesg output from the stock GENERIC kernel.
 
 Anyone have any ideas on how to get SMP working?

I've had the same problem for a while now.  Best of luck. :)

-Alfred


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: -current hangs with SMP enabled

2002-02-24 Thread Andrew Kenneth Milton

+---[ Kenneth D. Merry ]--
| 
| I've got a SMP machine with a Supermicro P3TDE6 motherboard.  (Serverworks
| HE-SL chipset, dual 1.26GHz Pentium III's.)
| 
| It boots just fine with a GENERIC -current kernel (sources cvsupped
| yesterday at ~1500 MST), but hangs (at the Waiting 15 seconds for SCSI
| devices to settle message) when SMP and APIC_IO are enabled.

I have a similar problem with -current and SMP.
Heavy I/O on the SCSI system (say a buildworld or even an FSCK) causes a hang 
(no panic). I think interrupts go off and stay off.

This happens with both the onboard and UFW PCI card, both Adaptec with ACPI
on and off (it's happened since SMPng started, I figured it was one of those
things that'd get fixed eventually). Although Matt's latest patches make me
think it might be sooner rather than later, so I'll be crash testing again
next weekend methinks.

ahc0: Adaptec aic7895 Ultra SCSI adapter port 0xd400-0xd4ff mem 
0xedfee000-0xedfeefff irq 10 at device 9.0 on pci0
aic7895C: Ultra Wide Channel A, SCSI Id=7, 32/255 SCBs

ahc1: Adaptec aic7895 Ultra SCSI adapter port 0xd800-0xd8ff mem 
0xedfef000-0xedfe irq 10 at device 9.1 on pci0
aic7895C: Ultra Wide Channel B, SCSI Id=7, 32/255 SCBs

ahc2: Adaptec 2940 Ultra SCSI adapter port 0xd000-0xd0ff mem 0xedfed000-0xedfedfff 
irq 9 at device 15.0 on pci0
aic7880: Ultra Wide Channel A, SCSI Id=7, 16/255 SCBs

I try an SMP kernel about once a month.

-- 
Totally Holistic Enterprises Internet|  | Andrew Milton
The Internet (Aust) Pty Ltd  |  |
ACN: 082 081 472 ABN: 83 082 081 472 |  M:+61 416 022 411   | Carpe Daemon
PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: -current hangs with SMP enabled

2002-02-24 Thread Glenn Gombert

There is a problem in -Current now between SCSI card(s) and the ATA
drivers, On my Dell 410 Workstation at work I commetned out the ATA driver
stuff (it was not used on that machine) and it booted fine, I think that
might just cure the SMP problem you are seeing too.



At 11:15 AM 2/25/2002 +1000, Andrew Kenneth Milton wrote:
+---[ Kenneth D. Merry ]--
| 
| I've got a SMP machine with a Supermicro P3TDE6 motherboard.  (Serverworks
| HE-SL chipset, dual 1.26GHz Pentium III's.)
| 
| It boots just fine with a GENERIC -current kernel (sources cvsupped
| yesterday at ~1500 MST), but hangs (at the Waiting 15 seconds for SCSI
| devices to settle message) when SMP and APIC_IO are enabled.

I have a similar problem with -current and SMP.
Heavy I/O on the SCSI system (say a buildworld or even an FSCK) causes a
hang 
(no panic). I think interrupts go off and stay off.

This happens with both the onboard and UFW PCI card, both Adaptec with ACPI
on and off (it's happened since SMPng started, I figured it was one of those
things that'd get fixed eventually). Although Matt's latest patches make me
think it might be sooner rather than later, so I'll be crash testing again
next weekend methinks.

ahc0: Adaptec aic7895 Ultra SCSI adapter port 0xd400-0xd4ff mem
0xedfee000-0xedfeefff irq 10 at device 9.0 on pci0
aic7895C: Ultra Wide Channel A, SCSI Id=7, 32/255 SCBs

ahc1: Adaptec aic7895 Ultra SCSI adapter port 0xd800-0xd8ff mem
0xedfef000-0xedfe irq 10 at device 9.1 on pci0
aic7895C: Ultra Wide Channel B, SCSI Id=7, 32/255 SCBs

ahc2: Adaptec 2940 Ultra SCSI adapter port 0xd000-0xd0ff mem
0xedfed000-0xedfedfff irq 9 at device 15.0 on pci0
aic7880: Ultra Wide Channel A, SCSI Id=7, 16/255 SCBs

I try an SMP kernel about once a month.

-- 
Totally Holistic Enterprises Internet|  | Andrew Milton
The Internet (Aust) Pty Ltd  |  |
ACN: 082 081 472 ABN: 83 082 081 472 |  M:+61 416 022 411   | Carpe Daemon
PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message

Glenn Gombert
[EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: -current hangs with SMP enabled

2002-02-24 Thread Kenneth D. Merry

On Sun, Feb 24, 2002 at 21:02:02 -0500, Glenn Gombert wrote:
 There is a problem in -Current now between SCSI card(s) and the ATA
 drivers, On my Dell 410 Workstation at work I commetned out the ATA driver
 stuff (it was not used on that machine) and it booted fine, I think that
 might just cure the SMP problem you are seeing too.

Thanks for the suggestion.

Unfortunately it still hangs with SMP enabled and the ATA drivers commented
out of the GENERIC config.

Ken
-- 
Kenneth Merry
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: -current hangs with SMP enabled

2002-02-24 Thread David O'Brien

On Sun, Feb 24, 2002 at 09:02:02PM -0500, Glenn Gombert wrote:
 There is a problem in -Current now between SCSI card(s) and the ATA
 drivers,

For how long has this problem existed?

This is being typed from a dual Athlon system with 5 SCSI busses
(AHC,SYM,ISP) several disks, CD burnger; and with two IDE disks + ATAPI
CDROM drive.

FreeBSD dragon.nuxi.com 5.0-CURRENT FreeBSD #238: Fri Feb 22 21:56:02 PST 2002

I would really have noticed if my p0rn IDE disk and my SCSI system disk
were not usable at the same time.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: -current hangs with SMP enabled

2002-02-24 Thread Matthew Dillon


:...
: stuff (it was not used on that machine) and it booted fine, I think that
: might just cure the SMP problem you are seeing too.
:
:Thanks for the suggestion.
:
:Unfortunately it still hangs with SMP enabled and the ATA drivers commented
:out of the GENERIC config.
:
:Ken
:-- 
:Kenneth Merry

Just as a data point, I've been running -current on a 2xCPU SMP
system (DELL2550) for a few weeks and it's always booted fine.

For the last few months I have noticed occassional freezes occuring
at odd times long after boot.  I have no idea why it happens.

-Matt

#
# GENERIC -- Generic kernel configuration file for FreeBSD/i386
#
# For more information on this file, please read the handbook section on
# Kernel Configuration Files:
#
#http://www.FreeBSD.org/handbook/kernelconfig-config.html
#
# The handbook is also available locally in /usr/share/doc/handbook
# if you've installed the doc distribution, otherwise always see the
# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
# latest information.
#
# An exhaustive list of options and more detailed explanations of the
# device lines is also present in the ./LINT configuration file. If you are
# in doubt as to the purpose or necessity of a line, check first in LINT.
#
# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.260 2000/06/13 22:28:46 peter Exp $

machine i386
#cpuI386_CPU
#cpuI486_CPU
#cpuI586_CPU
cpu I686_CPU
ident   DELL2550
maxusers0

hints   TEST.hints#Default places to look for devices.

options SCSI_DELAY=5000
#options MAXMEM=(64*1024)
options DDB
options INVARIANTS
options INVARIANT_SUPPORT
options SOFTUPDATES
#optionsWITNESS
#optionsSHMALL=65537
#optionsSHMMAXPGS=65537
#options GDB_REMOTE_CHAT
options ALT_BREAK_TO_DEBUGGER

# -Os broken
#
makeoptions DEBUG=-g#Build kernel with gdb(1) debug symbols
makeoptions COPTFLAGS=-O -pipe

#optionsMATH_EMULATE#Support for x87 emulation
options INET#InterNETworking
#optionsINET6   #IPv6 communications protocols
options FFS #Berkeley Fast Filesystem
options MD_ROOT #MD is a potential root device
options NFSCLIENT   #Network Filesystem
options NFSSERVER   #Network Filesystem
options NFS_ROOT#NFS usable as root device, NFS required
options MSDOSFS #MSDOS Filesystem
options CD9660  #ISO 9660 Filesystem
options PSEUDOFS#Pseudofs
options PROCFS  #Process filesystem
options COMPAT_43   #Compatible with BSD 4.3 [KEEP THIS!]
#optionsSCSI_DELAY=15000#Delay (in ms) before probing SCSI
options UCONSOLE#Allow users to grab the console
options KTRACE  #ktrace(1) support
options SYSVSHM #SYSV-style shared memory
options SYSVMSG #SYSV-style message queues
options SYSVSEM #SYSV-style semaphores
#optionsP1003_1B#Posix P1003_1B real-time extensions
#options_KPOSIX_PRIORITY_SCHEDULING
#optionsKBD_INSTALL_CDEV# install a CDEV entry in /dev

# To make an SMP kernel, the next two are needed
#
options SMP # Symmetric MultiProcessor Kernel
options APIC_IO # Symmetric (APIC) I/O
# Optionally these may need tweaked, (defaults shown):
#optionsNCPU=2  # number of CPUs
#optionsNBUS=8  # number of busses
#optionsNAPIC=1 # number of IO APICs
#optionsNINTR=24# number of INTs

device  isa
#device eisa
device  pci
#optionsCOMPAT_OLDISA   # compatability shims for lnc, fe, le
#optionsCOMPAT_OLDPCI   # compatability shims for lnc, vx

# Floppy drives
device  fdc

# ATA and ATAPI devices
device  ata
device  atadisk # ATA disk drives
device  atapicd # ATAPI CDROM drives
device  atapifd # ATAPI floppy drives
device  atapist # ATAPI tape drives
options ATA_STATIC_ID   #Static device numbering
#optionsATA_ENABLE_ATAPI_DMA#Enable DMA on ATAPI devices

# SCSI Controllers
#device ahb # EISA AHA1742 family
device  ahc # AHA2940 and onboard AIC7xxx devices
#device amd # AMD 53C974 (Teckram DC-390(T))
#device dpt # DPT Smartcache - See LINT for options!
#device isp