>Number: 6528
>Category: kernel
>Synopsis: tar xzf src.tar.gz results in a reproducable kernel panic
>Confidential: yes
>Severity: serious
>Priority: medium
>Responsible: bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: unknown
>Arrival-Date: Thu Dec 23 19:10:01 GMT 2010
>Closed-Date:
>Last-Modified:
>Originator:
>Release:
>Organization:
>Environment:
System : OpenBSD 4.8
Details : OpenBSD 4.8 (GENERIC) #0: Fri Nov 19 16:44:07 CET 2010
[email protected]:/usr/src/sys/arch/amd64/compile/GENERIC
Architecture: OpenBSD.amd64
Machine : amd64
>Description:
I have done a fresh install of 4.8 stable on this machine (Release +
Patches 001 - 004) to compile a
new stable (with patches - 006). But after install if i try to unpack
src.tar.gz in /usr/src i get
always a kernel panic. Panic message:
kernel: protection fault trap, code=0
Stopped at bremfree+0x54: movq %rax,0x48(%rdx)
Output of trace:
bremfree() at bremfree+0x54
buf_daemon() at buf_daemon+0x78
end trace frame: 0x0, count: -2
Output of ps:
PID PPID PGRP UID S FLAGS WAIT COMMAND
4553 16283 4553 1000 3 0x4080 ttyin ksh
19230 16175 16175 0 3 0x4080 pipewr gzip
16175 18780 16175 0 2 0x4000 tar
18780 11064 18780 0 3 0x4080 pause ksh
11064 16238 11064 1000 3 0x4080 pause ksh
16238 1 16238 1000 3 0x80 kqread tmux
12259 14677 12259 1000 3 0x4080 kqread tmux
14677 14990 14677 1000 3 0x4080 pause ksh
14990 471 471 1000 3 0x180 select sshd
471 19946 471 0 3 0x4180 netio sshd
12858 1 12858 0 3 0x40180 select sendmail
... (some more, if you really need this, i type it from the screen)
I tried to disable acpi in the kernel, but this doesn't help.
>How-To-Repeat:
This Bug is always reproducable. If i try to unpack src.tar.gz again,
it happens again on this machine.
>Fix:
unknown. I tried to disable acpi in the kernel, but this doesn't help.
dmesg:
OpenBSD 4.8 (GENERIC) #0: Fri Nov 19 16:44:07 CET 2010
[email protected]:/usr/src/sys/arch/amd64/compile/GENERIC
real mem = 501088256 (477MB)
avail mem = 473976832 (452MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.34 @ 0x1def0000 (65 entries)
bios0: vendor FUJITSU SIEMENS // Phoenix Technologies Ltd. version "5.00
R1.07-01.2264.A1" date 06/07/2006
bios0: FUJITSU SIEMENS ESPRIMO E
acpi0 at bios0: rev 2
acpi0: sleep states S0 S1 S3 S4 S5
acpi0: tables DSDT FACP SSDT APIC MCFG BOOT
acpi0: wakeup devices PCI0(S4) PCIE(S4) PCIX(S4) PCE0(S4) USB0(S3) USB1(S3)
USB2(S3) USB3(S3) LAN_(S4) AC97(S4) MC97(S4) KEYB(S4) PS2M(S4) COM1(S1) COM2(S1)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD Sempron(tm) Processor 3000+, 1800.28 MHz
cpu0:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE3,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 128KB 64b/line
16-way L2 cache
cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu0: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu0: AMD erratum 89 present, BIOS upgrade may be required
cpu0: apic clock running at 200MHz
ioapic0 at mainbus0: apid 1 pa 0xfec00000, version 14, 24 pins
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (PCIE)
acpiprt2 at acpi0: bus 3 (PCIX)
acpiprt3 at acpi0: bus 2 (PCE0)
acpicpu0 at acpi0: PSS
acpibtn0 at acpi0: PWRB
cpu0: Cool'n'Quiet K8 1800 MHz: speeds: 1800 1000 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "SiS 761 PCI" rev 0x01
agp at pchb0 not configured
ppb0 at pci0 dev 1 function 0 "SiS 86C202 AGP" rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "SiS 6330 VGA" rev 0x03
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
pcib0 at pci0 dev 2 function 0 "SiS 965 ISA" rev 0x48
pciide0 at pci0 dev 2 function 5 "SiS 5513 EIDE" rev 0x01: 965: DMA, channel 0
configured to compatibility, channel 1 configured to compatibility
atapiscsi0 at pciide0 channel 0 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <LITEON, CD-ROM LTN483L, ES13> ATAPI 5/cdrom
removable
cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 disabled (no drives)
auich0 at pci0 dev 2 function 7 "SiS 7012 AC97" rev 0xa0: apic 1 int 18 (irq
9), SiS7012 AC97
auich0: reset failed!
ohci0 at pci0 dev 3 function 0 "SiS 5597/5598 USB" rev 0x0f: apic 1 int 20 (irq
9), version 1.0, legacy support
ohci1 at pci0 dev 3 function 1 "SiS 5597/5598 USB" rev 0x0f: apic 1 int 21 (irq
11), version 1.0, legacy support
ohci2 at pci0 dev 3 function 2 "SiS 5597/5598 USB" rev 0x0f: apic 1 int 22 (irq
10), version 1.0, legacy support
ehci0 at pci0 dev 3 function 3 "SiS 7002 USB" rev 0x00: apic 1 int 23 (irq 5)
ehci0: timed out waiting for BIOS
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "SiS EHCI root hub" rev 2.00/1.00 addr 1
pciide1 at pci0 dev 5 function 0 "SiS 182 SATA" rev 0x01: DMA
pciide1: using apic 1 int 17 (irq 9) for native-PCI interrupt
wd0 at pciide1 channel 0 drive 0: <MDT MD1600AAJS-00L7A0>
wd0: 16-sector PIO, LBA48, 152627MB, 312581808 sectors
wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 6
ppb1 at pci0 dev 6 function 0 "SiS PCI-PCI" rev 0x00
pci2 at ppb1 bus 2
re0 at pci0 dev 9 function 0 "Realtek 8169" rev 0x10: RTL8110S (0x0400), apic 1
int 19 (irq 11), address 00:30:05:e3:44:63
rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 0
pchb1 at pci0 dev 24 function 0 "AMD AMD64 0Fh HyperTransport" rev 0x00
pchb2 at pci0 dev 24 function 1 "AMD AMD64 0Fh Address Map" rev 0x00
pchb3 at pci0 dev 24 function 2 "AMD AMD64 0Fh DRAM Cfg" rev 0x00
kate0 at pci0 dev 24 function 3 "AMD AMD64 0Fh Misc Cfg" rev 0x00
ppb2 at pci0 dev 31 function 0 "SiS PCI-PCI" rev 0x00
pci3 at ppb2 bus 3
isa0 at pcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
usb1 at ohci0: USB revision 1.0
uhub1 at usb1 "SiS OHCI root hub" rev 1.00/1.00 addr 1
usb2 at ohci1: USB revision 1.0
uhub2 at usb2 "SiS OHCI root hub" rev 1.00/1.00 addr 1
usb3 at ohci2: USB revision 1.0
uhub3 at usb3 "SiS OHCI root hub" rev 1.00/1.00 addr 1
mtrr: Pentium Pro MTRR support
softraid0 at root
root on wd0a swap on wd0b dump on wd0b
usbdevs:
Controller /dev/usb0:
addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), SiS(0x1039),
rev 1.00
port 1 powered
port 2 powered
port 3 powered
port 4 powered
port 5 powered
port 6 powered
port 7 powered
port 8 powered
Controller /dev/usb1:
addr 1: full speed, self powered, config 1, OHCI root hub(0x0000), SiS(0x1039),
rev 1.00
port 1 powered
port 2 powered
port 3 powered
Controller /dev/usb2:
addr 1: full speed, self powered, config 1, OHCI root hub(0x0000), SiS(0x1039),
rev 1.00
port 1 powered
port 2 powered
port 3 powered
Controller /dev/usb3:
addr 1: full speed, self powered, config 1, OHCI root hub(0x0000), SiS(0x1039),
rev 1.00
port 1 powered
port 2 powered
>Release-Note:
>Audit-Trail:
>Unformatted: