Re: panic: workitem_free: still on list

2001-05-20 Thread Robert Watson


I sent a similar crash trace to Kirk recently, and he claimed to have
fixed it (look for a commit crediting me as a source of information
sometime in the last few days).  However, given the currently VM problems,
you'll want to pull in those FFS patches carefully :-).  Since I'm 500
miles from the box that crashed and haven't had a chance to reset it yet,
I can't confirm if Kirk's fix works.

Robert N M Watson FreeBSD Core Team, TrustedBSD Project
[EMAIL PROTECTED]  NAI Labs, Safeport Network Services

On Sat, 19 May 2001, Bob Bishop wrote:

> Hi,
> 
> This happened during a buildworld with a kernel built from:
> cvsup Fri May 18 04:06:02 BST 2001
> 
> On reboot, I got the manual fsck jive with the "bad superblock: values
> disagree ,,with,, first alternate", and had to re-enable softupdates on /
> 
> Config is basically GENERIC + SMP. dmesg is appended.
> 
> Abridged backtrace:
> 
> panic()
> workitem_free()
> free_newdirblk()
> handle_written_inodeblock()
> softdep_disk_write_complete()
> bufdone()
> bufdonebio()
> dadone()
> camisr()
> ithread_loop()
> fork_exit()
> fork_trampoline()
> 
> dmesg:
> 
> FreeBSD 5.0-CURRENT #20: Wed May 16 00:24:36 BST 2001
> [EMAIL PROTECTED]:/source/cleansrc/sys/compile/BLUDNOK_MP
> Timecounter "i8254"  frequency 1193182 Hz
> CPU: Pentium II/Pentium II Xeon/Celeron (349.07-MHz 686-class CPU)
>   Origin = "GenuineIntel"  Id = 0x651  Stepping = 1
> 
> Features=0x183fbff V,PAT,PSE36,MMX,FXSR>
> real memory  = 134152192 (131008K bytes)
> config> enable ed0
> config> port ed0 0x300
> config> irq ed0 10
> config> iomem ed0 0xd8000
> config> flags ed0 0
> config> disable cs0
> config> disable fe0
> config> disable ie0
> config> disable lnc0
> config> disable sn0
> config> quit
> avail memory = 124653568 (121732K bytes)
> Programming 24 pins in IOAPIC #0
> IOAPIC #0 intpin 2 -> irq 0
> 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:  2, version: 0x00170011, at 0xfec0
> Preloaded elf kernel "kernel" at 0xc05bb000.
> Preloaded userconfig_script "/boot/kernel.conf" at 0xc05bb09c.
> Pentium Pro MTRR support enabled
> WARNING: Driver mistake: destroy_dev on 154/0
> Using $PIR table, 7 entries at 0xc00fda90
> npx0:  on motherboard
> npx0: INT 16 interface
> pcib0:  at pcibus 0 on motherboard
> IOAPIC #0 intpin 16 -> irq 2
> IOAPIC #0 intpin 19 -> irq 16
> pci0:  on pcib0
> pcib1:  at device 1.0 on pci0
> pci1:  on pcib1
> isab0:  at device 7.0 on pci0
> isa0:  on isab0
> atapci0:  port 0xf000-0xf00f at device 7.1 on
> pci0
> ata0: at 0x1f0 irq 14 on atapci0
> ata1: at 0x170 irq 15 on atapci0
> uhci0:  port 0xe000-0xe01f irq 11
> at de
> vice 7.2 on pci0
> usb0:  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
> Timecounter "PIIX"  frequency 3579545 Hz
> pci0:  at 7.3 (no driver attached)
> ahc0:  port 0xe400-0xe4ff mem
> 0xea00-0xea00
> 0fff irq 2 at device 8.0 on pci0
> aic7880: Wide Channel A, SCSI Id=7, 16/255 SCBs
> pci0:  at 11.0 (no driver attached)
> atkbdc0:  at port 0x60,0x64 on isa0
> atkbd0:  flags 0x1 irq 1 on atkbdc0
> kbd0 at atkbd0
> ed0 at port 0x300-0x31f iomem 0xd8000 irq 10 drq 0 on isa0
> ed0: address 00:20:18:72:97:67, type NE2000 (16 bit)
> fdc0:  at port 0x3f0-0x3f5,0x3f7 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:  at port 0x378-0x37f irq 7 on isa0
> ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
> plip0:  on ppbus0
> lpt0:  on ppbus0
> lpt0: Interrupt-driven port
> ppi0:  on ppbus0
> sc0:  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:  at port 0x3c0-0x3df iomem 0xa-0xb on isa0
> unknown:  can't assign resources
> unknown:  can't assign resources
> unknown:  can't assign resources
> unknown:  can't assign resources
> unknown:  can't assign resources
> APIC_IO: Testing 8254 interrupt delivery
> APIC_IO: routing 8254 via IOAPIC #0 intpin 2
> ad0: 1222MB  [2484/16/63] at ata0-master WDMA2
> Waiting 15 seconds for SCSI devices to settle
> Mounting root from ufs:/dev/ad0s2a
> cd0 at ahc0 bus 0 target 6 lun 0
> cd0:  Removable CD-ROM SCSI-2 device
> cd0: 10.000MB/s transfers (10.000MHz, offset 8)
> cd0: Attempt to query device size failed: NOT READY, Medium not present
> da1 at ahc0 bus 0 target 5 lun 0
> da1:  Removable Direct Access SCSI-2 device
> da1: 3.300MB/s transfers
> da1: Attempt to query device size failed: NOT READY, Medium not present
> da0 at ahc0 bus 0 target 0 lun 0
> da0:  Fixed Direct Access SCSI-3 device
> da0: 40.000MB/s transfers (20.000MHz, offset 8, 16bit), Tagged Queueing Enabled
> da0: 8748MB (17916240 512

Re: panic: workitem_free: still on list

2001-05-19 Thread Alex Zepeda

On Sat, May 19, 2001 at 02:53:57PM +0100, Bob Bishop wrote:

> On reboot, I got the manual fsck jive with the "bad superblock: values
> disagree ,,with,, first alternate", and had to re-enable softupdates on /

This hasn't bit me ever.

> Abridged backtrace:
> 
> panic()
> workitem_free()
> free_newdirblk()
> handle_written_inodeblock()
> softdep_disk_write_complete()
> bufdone()
> bufdonebio()
> dadone()
> camisr()
> ithread_loop()
> fork_exit()
> fork_trampoline()

However the above has, and I've got IDE disks:

zippy:~#dmesg|egrep "(^ad|^acd|^ata)"
atapci0:  port 0xf000-0xf00f at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
ad0: 29314MB  [59560/16/63] at ata0-master UDMA33
ad2: 12416MB  [25228/16/63] at ata1-master UDMA33
acd0: CD-RW  at ata1-slave PIO4

Sadly I haven't been able to get a crash dump in a while.  Usually it'll
hang while trying to reset the disks, but this time it panic'd again.

- alex

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



panic: workitem_free: still on list

2001-05-19 Thread Bob Bishop

Hi,

This happened during a buildworld with a kernel built from:
cvsup Fri May 18 04:06:02 BST 2001

On reboot, I got the manual fsck jive with the "bad superblock: values
disagree ,,with,, first alternate", and had to re-enable softupdates on /

Config is basically GENERIC + SMP. dmesg is appended.

Abridged backtrace:

panic()
workitem_free()
free_newdirblk()
handle_written_inodeblock()
softdep_disk_write_complete()
bufdone()
bufdonebio()
dadone()
camisr()
ithread_loop()
fork_exit()
fork_trampoline()

dmesg:

FreeBSD 5.0-CURRENT #20: Wed May 16 00:24:36 BST 2001
[EMAIL PROTECTED]:/source/cleansrc/sys/compile/BLUDNOK_MP
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium II/Pentium II Xeon/Celeron (349.07-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x651  Stepping = 1

Features=0x183fbff
real memory  = 134152192 (131008K bytes)
config> enable ed0
config> port ed0 0x300
config> irq ed0 10
config> iomem ed0 0xd8000
config> flags ed0 0
config> disable cs0
config> disable fe0
config> disable ie0
config> disable lnc0
config> disable sn0
config> quit
avail memory = 124653568 (121732K bytes)
Programming 24 pins in IOAPIC #0
IOAPIC #0 intpin 2 -> irq 0
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:  2, version: 0x00170011, at 0xfec0
Preloaded elf kernel "kernel" at 0xc05bb000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc05bb09c.
Pentium Pro MTRR support enabled
WARNING: Driver mistake: destroy_dev on 154/0
Using $PIR table, 7 entries at 0xc00fda90
npx0:  on motherboard
npx0: INT 16 interface
pcib0:  at pcibus 0 on motherboard
IOAPIC #0 intpin 16 -> irq 2
IOAPIC #0 intpin 19 -> irq 16
pci0:  on pcib0
pcib1:  at device 1.0 on pci0
pci1:  on pcib1
isab0:  at device 7.0 on pci0
isa0:  on isab0
atapci0:  port 0xf000-0xf00f at device 7.1 on
pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0:  port 0xe000-0xe01f irq 11
at de
vice 7.2 on pci0
usb0:  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
Timecounter "PIIX"  frequency 3579545 Hz
pci0:  at 7.3 (no driver attached)
ahc0:  port 0xe400-0xe4ff mem
0xea00-0xea00
0fff irq 2 at device 8.0 on pci0
aic7880: Wide Channel A, SCSI Id=7, 16/255 SCBs
pci0:  at 11.0 (no driver attached)
atkbdc0:  at port 0x60,0x64 on isa0
atkbd0:  flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
ed0 at port 0x300-0x31f iomem 0xd8000 irq 10 drq 0 on isa0
ed0: address 00:20:18:72:97:67, type NE2000 (16 bit)
fdc0:  at port 0x3f0-0x3f5,0x3f7 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:  at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
plip0:  on ppbus0
lpt0:  on ppbus0
lpt0: Interrupt-driven port
ppi0:  on ppbus0
sc0:  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:  at port 0x3c0-0x3df iomem 0xa-0xb on isa0
unknown:  can't assign resources
unknown:  can't assign resources
unknown:  can't assign resources
unknown:  can't assign resources
unknown:  can't assign resources
APIC_IO: Testing 8254 interrupt delivery
APIC_IO: routing 8254 via IOAPIC #0 intpin 2
ad0: 1222MB  [2484/16/63] at ata0-master WDMA2
Waiting 15 seconds for SCSI devices to settle
Mounting root from ufs:/dev/ad0s2a
cd0 at ahc0 bus 0 target 6 lun 0
cd0:  Removable CD-ROM SCSI-2 device
cd0: 10.000MB/s transfers (10.000MHz, offset 8)
cd0: Attempt to query device size failed: NOT READY, Medium not present
da1 at ahc0 bus 0 target 5 lun 0
da1:  Removable Direct Access SCSI-2 device
da1: 3.300MB/s transfers
da1: Attempt to query device size failed: NOT READY, Medium not present
da0 at ahc0 bus 0 target 0 lun 0
da0:  Fixed Direct Access SCSI-3 device
da0: 40.000MB/s transfers (20.000MHz, offset 8, 16bit), Tagged Queueing Enabled
da0: 8748MB (17916240 512 byte sectors: 255H 63S/T 1115C)
SMP: AP CPU #1 Launched!


--
Bob Bishop  (0118) 977 4017  international code +44 118
[EMAIL PROTECTED]fax (0118) 989 4254



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