MFS broken in vop_stdbmap (was: trap12: page fault)

2001-05-09 Thread Alexander Leidinger

On  3 Mai, An: [EMAIL PROTECTED] wrote:
 Hi,
 
 /sys from cvsup around 2pm CEST from cvsup3.de.freebsd.org (contains
 npx.c fix).

CVSUP from May 7, ~1pm CEST.

I made some progress. As you see in my last message I have parts of the
kernel loaded as modules. The mfs module was responsible for the page
fault (/tmp as mfs, /etc/rc deletes some files in /tmp unconditionally
at the point of the breakage).
Now I have the FSes, VESA and the random module in the kernel instead of
loading it as a module. Backtrace (no coredump, I try to get one at the
weekend if the following isn't enough):
---snip---
vop_stdbmap()
bdwrite()
ffs_update()
ufs_inactive()
ufs_vnoperate()
vrele()
vn_close()
vn_closefile()
fdrop()
...
---snip---

Bye,
Alexander.

-- 
Where do you think you're going today?

http://www.Leidinger.net   Alexander @ Leidinger.net
  GPG fingerprint = C518 BC70 E67F 143F BE91  3365 79E2 9C60 B006 3FE7


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



trap12: page fault

2001-05-03 Thread Alexander Leidinger

Hi,

/sys from cvsup around 2pm CEST from cvsup3.de.freebsd.org (contains
npx.c fix).

Fatal trap 12: page fault while in kernel mode
fault virtual address = 0x54
fault code = supervisor read, page not present
instruction pointer = 0x8:0xc01de7c3
stack pointer = 0x10:0xd51cfd98
frame pointer = 0x10:0xd51cfd98
code segment = base 0x0, limit 0xf, type 0x1b
  = DPL 0, pres 1, def32 1, gran 1
processor eflags = interrupt enabled, resume, IOPL = 0
current process = 6 (sh)
trap number = 12
panic: page fault
syncing disks...

No syncing of the disks happens, no coredump (dump device not configured
at this stage), hangs hard (need to press the reset button) after
printing syncing disks Happens after printing Routing Daemons:.,
before Additional daemons: syslogd.

It showed up the first time after the eats FFS partitions for
breakfast problem was fixed. I already removed
/sys/compile/kernel_name, so it didn't seems to be a stale object
file.

dmesg from a working kernel and kernel config attached.

Bye,
Alexander.

-- 
Give a man a fish and you feed him for a day;
 teach him to use the Net and he won't bother you for weeks.

http://www.Leidinger.net   Alexander @ Leidinger.net
  GPG fingerprint = C518 BC70 E67F 143F BE91  3365 79E2 9C60 B006 3FE7


Copyright (c) 1992-2001 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 #21: Sun Apr 29 15:54:35 CEST 2001
[EMAIL PROTECTED]:/big/usr/src/sys/compile/WORK
Timecounter i8254  frequency 1193182 Hz
CPU: Pentium II/Pentium II Xeon/Celeron (400.94-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0x665  Stepping = 5
  
Features=0x183f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR
real memory  = 268423168 (262132K bytes)
avail memory = 256954368 (250932K bytes)
Preloaded elf kernel kernel at 0xc041e000.
Preloaded elf module vesa.ko at 0xc041e09c.
Preloaded elf module cd9660.ko at 0xc041e138.
Preloaded elf module mfs.ko at 0xc041e1d8.
Preloaded elf module msdos.ko at 0xc041e274.
Preloaded elf module procfs.ko at 0xc041e314.
Preloaded elf module linux.ko at 0xc041e3b4.
Preloaded elf module snd_pcm.ko at 0xc041e454.
Preloaded elf module snd_sbc.ko at 0xc041e4f4.
Preloaded elf module snd_sb16.ko at 0xc041e594.
Preloaded elf module usb.ko at 0xc041e634.
Preloaded elf module agp.ko at 0xc041e6d0.
Preloaded elf module accf_data.ko at 0xc041e76c.
Preloaded elf module accf_http.ko at 0xc041e810.
Preloaded elf module random.ko at 0xc041e8b4.
Preloaded elf module atspeaker.ko at 0xc041e954.
Preloaded elf module joy.ko at 0xc041e9f8.
Pentium Pro MTRR support enabled
VESA: v3.0, 16384k memory, flags:0x1, mode table:0xc036f2d7 (1000117)
VESA: 3dfx Interactive, Inc.
Using $PIR table, 7 entries at 0xc00f0d10
apm0: APM BIOS on motherboard
apm0: found APM BIOS v1.2, connected at v1.2
npx0: math processor on motherboard
npx0: INT 16 interface
pcib0: Intel 82443LX (440 LX) host to PCI bridge at pcibus 0 on motherboard
pci0: PCI bus on pcib0
agp0: Intel 82443LX (440 LX) host to PCI bridge mem 0xe000-0xe7ff at device 
0.0 on pci0
pcib1: PCI-PCI bridge at device 1.0 on pci0
pci1: PCI bus on pcib1
pci1: display, VGA at 0.0 (no driver attached)
isab0: PCI-ISA bridge at device 4.0 on pci0
isa0: ISA bus on isab0
atapci0: Intel PIIX4 ATA33 controller port 0xb800-0xb80f at device 4.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: Intel 82371AB/EB (PIIX4) USB controller port 0xb400-0xb41f irq 9 at device 
4.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
intpm0: Intel 82371AB Power management controller port 0xe800-0xe80f irq 9 at device 
4.3 on pci0
intpm0: I/O mapped e800
intpm0: intr IRQ 9 enabled revision 0
smbus0: System Management Bus on intsmb0
smb0: SMBus general purpose I/O on smbus0
intpm0: PM I/O mapped e400 
ahc0: Adaptec aic7880 Ultra SCSI adapter port 0xb000-0xb0ff mem 
0xd980-0xd9800fff irq 9 at device 6.0 on pci0
aic7880: Wide Channel A, SCSI Id=7, 16/255 SCBs
ed0: NE2000 PCI Ethernet (RealTek 8029) port 0xa800-0xa81f irq 9 at device 10.0 on 
pci0
ed0: address 00:80:ad:40:bd:e7, type NE2000 (16 bit) 
atkbdc0: Keyboard controller (i8042) at port 0x60,0x64 on isa0
atkbd0: AT Keyboard irq 1 on atkbdc0
kbd0 at atkbd0
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 0x6 on isa0
sc0: VGA 16 virtual consoles, flags=0x206
fdc0: NEC 72065B or clone 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
sio0 at port 0x3f8-0x3ff irq 4 flags 0x20010 on isa0
sio0: type ST16650A
sio1 at port 0x2e8-0x2ef