Re: system hangs ... not sure how to debug ...

2000-11-28 Thread The Hermit Hacker

On Mon, 27 Nov 2000, Alfred Perlstein wrote:

 * The Hermit Hacker [EMAIL PROTECTED] [001127 18:12] wrote:
  
  Morning all ...
  
  Every since the SMPng code went into -current way back when, I've
  been experiencing hangs ... and am not quite sure how to debug this.  I'm
  in X all the time, so breaking to the debugger to see where its hanging
  isn't possible ...
  
  Some kernels its relatively easy to trigger, some kernels are
  harder to trigger, but they all do at some point in time ...
  
  Can someone suggestion a method of being able to debug this?
 
 Serial console, add BREAK_TO_DEBUGGER (sp?) to your kernel config and
 hook your laptop up to it.

actually, got everything compiled nicely, rebooted and figured I'd pound
the system the best way I know how:

while(1)
   make -j16 world
end

system hung solid ... ctl-alt-esc won't even get me to DDB ...

this kernel seems to do it faster then the previous one ...



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



Re: system hangs ... not sure how to debug ...

2000-11-28 Thread The Hermit Hacker

On Mon, 27 Nov 2000, Alfred Perlstein wrote:

 * Alfred Perlstein [EMAIL PROTECTED] [001127 21:56] wrote:
  * The Hermit Hacker [EMAIL PROTECTED] [001127 18:12] wrote:
   
   Morning all ...
   
 Every since the SMPng code went into -current way back when, I've
   been experiencing hangs ... and am not quite sure how to debug this.  I'm
   in X all the time, so breaking to the debugger to see where its hanging
   isn't possible ...
   
 Some kernels its relatively easy to trigger, some kernels are
   harder to trigger, but they all do at some point in time ...
 
 Can someone suggestion a method of being able to debug this?
  
  Serial console, add BREAK_TO_DEBUGGER (sp?) to your kernel config and
  hook your laptop up to it.
 
 Marc, I noticed you tried the BREAK_TO_DEBUGGER and whatnot already,
 perhaps letting us know what hardware you have in your smp box
 might help some, I'm running SMP and doing buildworlds and kernel
 compiles without a problem.  I'm not however, running X nor
 doing any desktop work on it.
 
 I think I also figured out what makes the box so damn sluggish
 when doing lots of IO *bops dillon* :)

well, here's a current dmesg .. any more detail then that needed?

Copyright (c) 1992-2000 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 Nov 26 18:22:52 AST 2000
[EMAIL PROTECTED]:/usr/local/mp3/obj/usr/local/base/src/sys/kernel
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium II/Pentium II Xeon/Celeron (467.73-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x665  Stepping = 5
  
Features=0x183fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR
real memory  = 268435456 (262144K bytes)
avail memory = 258248704 (252196K bytes)
Programming 24 pins in IOAPIC #0
IOAPIC #0 intpin 2 - irq 0
FreeBSD/SMP: Multiprocessor motherboard
 cpu0 (BSP): apic id:  0, version: 0x00040011, at 0xfee0
 cpu1 (AP):  apic id:  1, version: 0x00040011, at 0xfee0
 io0 (APIC): apic id:  2, version: 0x00170011, at 0xfec0
Preloaded elf kernel "kernel" at 0xc0309000.
Preloaded elf module "random.ko" at 0xc030909c.
Pentium Pro MTRR support enabled
Using $PIR table, 8 entries at 0xc00fdef0
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: Intel 82443BX (440 BX) PCI-PCI (AGP) bridge at device 1.0 on pci0
pci1: PCI bus on pcib1
pci1: NVidia GeForce 256 graphics accelerator at 0.0 irq 16
isab0: Intel 82371AB PCI to ISA bridge at device 7.0 on pci0
isa0: ISA bus on isab0
atapci0: Intel PIIX4 ATA33 controller port 0xf000-0xf00f at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
pci0: Intel 82371AB/EB (PIIX4) USB controller at 7.2 irq 11
Timecounter "PIIX"  frequency 3579545 Hz
pci0: Intel 82371AB Power management controller at 7.3
ahc0: Adaptec 2910/15/20/30C SCSI adapter port 0xc400-0xc4ff mem 
0xef00-0xef000fff irq 19 at device 9.0 on pci0
aic7850: Single Channel A, SCSI Id=7, 3/255 SCBs
vx0: 3COM 3C590 Etherlink III PCI port 0xc800-0xc81f irq 18 at device 11.0 on pci0
utp[*utp*]: disable 'auto select' with DOS util! address 00:20:af:f7:8f:d2
Warning! Defective early revision adapter!
ahc1: Adaptec 2940 Ultra SCSI adapter port 0xcc00-0xccff mem 0xef001000-0xef001fff 
irq 17 at device 13.0 on pci0
aic7880: Wide Channel A, SCSI Id=7, 16/255 SCBs
pci0: unknown card (vendor=0x1274, dev=0x5000) at 17.0 irq 19
atapci1: HighPoint HPT366 ATA66 controller port 
0xdc00-0xdcff,0xd800-0xd803,0xd400-0xd407 irq 18 at device 19.0 on pci0
ata2: at 0xd400 on atapci1
atapci2: HighPoint HPT366 ATA66 controller port 
0xe800-0xe8ff,0xe400-0xe403,0xe000-0xe007 irq 18 at device 19.1 on pci0
ata3: at 0xe000 on atapci2
atkbdc0: Keyboard controller (i8042) at port 0x60,0x64 on isa0
atkbd0: AT Keyboard flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
ppc0: Parallel port at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
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
unknown: PNP0303 can't assign resources
unknown: PNP0501 can't assign resources
unknown: PNP0400 can't assign resources
unknown: PNP0501 can't assign resources
APIC_IO: Testing 8254 interrupt delivery
APIC_IO: routing 8254 via IOAPIC #0 intpin 2
acd0: CDROM CD-ROM 32X/AKU at ata0-master using PIO4
Waiting 15 seconds for SCSI devices to settle
sa0 at ahc0 bus 0 target 4 lun 0
sa0: DEC DLT2700 851A Removable Sequential Access SCSI-2 device 
sa0: 5.000MB/s transfers (5.000MHz, offset 15)
da0 at ahc1 bus 0 target 

Re: system hangs ... not sure how to debug ...

2000-11-28 Thread Michael Harnois

On Tue, 28 Nov 2000 12:17:14 -0400 (AST), The Hermit Hacker [EMAIL PROTECTED] said:

 this kernel seems to do it faster then the previous one ...

That's been my observation over the past 24 hours too.

-- 
Michael D. Harnois, Redeemer Lutheran Church, Washburn, IA 
[EMAIL PROTECTED]  [EMAIL PROTECTED] 
 Where ignorance is our master, there is 
 no possibility of real peace. -- the Dalai Lama


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



Re: system hangs ... not sure how to debug ...

2000-11-28 Thread The Hermit Hacker


well, John just gave a good break down on what needs to be done to debug
it ... do you have easy access to a serial console?  I'm trying to
scrounge up hardware at this end to do it with, but its difficult :)

On 28 Nov 2000, Michael Harnois wrote:

 On Tue, 28 Nov 2000 12:17:14 -0400 (AST), The Hermit Hacker [EMAIL PROTECTED] said:
 
  this kernel seems to do it faster then the previous one ...
 
 That's been my observation over the past 24 hours too.
 
 -- 
 Michael D. Harnois, Redeemer Lutheran Church, Washburn, IA 
 [EMAIL PROTECTED]  [EMAIL PROTECTED] 
  Where ignorance is our master, there is 
  no possibility of real peace. -- the Dalai Lama
 

Marc G. Fournier   ICQ#7615664   IRC Nick: Scrappy
Systems Administrator @ hub.org 
primary: [EMAIL PROTECTED]   secondary: scrappy@{freebsd|postgresql}.org 



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



Re: system hangs ... not sure how to debug ...

2000-11-28 Thread Michael Harnois

On Tue, 28 Nov 2000 19:34:03 -0400 (AST), The Hermit Hacker [EMAIL PROTECTED] said:

 well, John just gave a good break down on what needs to be done
 to debug it ... do you have easy access to a serial console? I'm
 trying to scrounge up hardware at this end to do it with, but
 its difficult :)

no, i don't ...

-- 
Michael D. Harnois, Redeemer Lutheran Church, Washburn, IA 
[EMAIL PROTECTED]  [EMAIL PROTECTED] 
 Where ignorance is our master, there is 
 no possibility of real peace. -- the Dalai Lama


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



Re: system hangs ... not sure how to debug ...

2000-11-28 Thread The Hermit Hacker


no sweat  I'll try and hijack a laptop from work tomorrow for a couple
of days, or wait for hte boss to get back from her trip and hijack hers
... if nothing for tomorrow, early next week instead ...


On 28 Nov 2000, Michael Harnois wrote:

 On Tue, 28 Nov 2000 19:34:03 -0400 (AST), The Hermit Hacker [EMAIL PROTECTED] said:
 
  well, John just gave a good break down on what needs to be done
  to debug it ... do you have easy access to a serial console? I'm
  trying to scrounge up hardware at this end to do it with, but
  its difficult :)
 
 no, i don't ...
 
 -- 
 Michael D. Harnois, Redeemer Lutheran Church, Washburn, IA 
 [EMAIL PROTECTED]  [EMAIL PROTECTED] 
  Where ignorance is our master, there is 
  no possibility of real peace. -- the Dalai Lama
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with "unsubscribe freebsd-current" in the body of the message
 

Marc G. Fournier   ICQ#7615664   IRC Nick: Scrappy
Systems Administrator @ hub.org 
primary: [EMAIL PROTECTED]   secondary: scrappy@{freebsd|postgresql}.org 



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



Re: system hangs ... not sure how to debug ...

2000-11-28 Thread Leif Neland



On 28 Nov 2000, Michael Harnois wrote:

 On Tue, 28 Nov 2000 19:34:03 -0400 (AST), The Hermit Hacker [EMAIL PROTECTED] said:
 
  well, John just gave a good break down on what needs to be done
  to debug it ... do you have easy access to a serial console? I'm
  trying to scrounge up hardware at this end to do it with, but
  its difficult :)
 
 no, i don't ...
 
I've got a couple. 
I'm at 55.67689N, 12.56869E. Just adjust the transporter beam, Scotty :-)

Leif
 



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



Re: system hangs ... not sure how to debug ...

2000-11-27 Thread Alfred Perlstein

* The Hermit Hacker [EMAIL PROTECTED] [001127 18:12] wrote:
 
 Morning all ...
 
   Every since the SMPng code went into -current way back when, I've
 been experiencing hangs ... and am not quite sure how to debug this.  I'm
 in X all the time, so breaking to the debugger to see where its hanging
 isn't possible ...
 
   Some kernels its relatively easy to trigger, some kernels are
 harder to trigger, but they all do at some point in time ...
   
   Can someone suggestion a method of being able to debug this?

Serial console, add BREAK_TO_DEBUGGER (sp?) to your kernel config and
hook your laptop up to it.

-- 
-Alfred Perlstein - [[EMAIL PROTECTED]|[EMAIL PROTECTED]]
"I have the heart of a child; I keep it in a jar on my desk."


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



Re: system hangs ... not sure how to debug ...

2000-11-27 Thread Alfred Perlstein

* Alfred Perlstein [EMAIL PROTECTED] [001127 21:56] wrote:
 * The Hermit Hacker [EMAIL PROTECTED] [001127 18:12] wrote:
  
  Morning all ...
  
  Every since the SMPng code went into -current way back when, I've
  been experiencing hangs ... and am not quite sure how to debug this.  I'm
  in X all the time, so breaking to the debugger to see where its hanging
  isn't possible ...
  
  Some kernels its relatively easy to trigger, some kernels are
  harder to trigger, but they all do at some point in time ...
  
  Can someone suggestion a method of being able to debug this?
 
 Serial console, add BREAK_TO_DEBUGGER (sp?) to your kernel config and
 hook your laptop up to it.

Marc, I noticed you tried the BREAK_TO_DEBUGGER and whatnot already,
perhaps letting us know what hardware you have in your smp box
might help some, I'm running SMP and doing buildworlds and kernel
compiles without a problem.  I'm not however, running X nor
doing any desktop work on it.

I think I also figured out what makes the box so damn sluggish
when doing lots of IO *bops dillon* :)

-- 
-Alfred Perlstein - [[EMAIL PROTECTED]|[EMAIL PROTECTED]]
"I have the heart of a child; I keep it in a jar on my desk."


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