Page fault

2003-12-12 Thread Marian Dobre
Hi,

I'm having a problem with my freebsd 5.1 RELEASE box. After the last 
cvsup I keep getting page fault errors.
Could it be a software problem or maybe the memory is bad ?
This is the error im seeing on the console

Fataltrap 12: page fault while in kernel mode
fault virtual address = x0c
fault code = supervisor read, page not present
...
current process = 12 ( swi: net )
trap number = 12
panic: page fault
Any idea what could cause this error ?
This is the output of uname -a
FreeBSD core-E3.valcea.net 5.1-RELEASE-p11 FreeBSD 5.1-RELEASE-p11 #2: 
Mon Dec  8 18:26:22 EST 2003 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/CUSTOM  i386

This is the dmesg

Copyright (c) 1992-2003 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.1-RELEASE-p11 #2: Mon Dec  8 18:26:22 EST 2003
   [EMAIL PROTECTED]:/usr/obj/usr/src/sys/CUSTOM
Preloaded elf kernel /boot/kernel/kernel at 0xc040e000.
Preloaded elf module /boot/kernel/acpi.ko at 0xc040e1cc.
Timecounter i8254  frequency 1193182 Hz
Timecounter TSC  frequency 3006836528 Hz
CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (3006.84-MHz 686-class CPU)
 Origin = GenuineIntel  Id = 0xf29  Stepping = 9
 
Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
 Hyperthreading: 2 logical CPUs
real memory  = 268369920 (255 MB)
avail memory = 256217088 (244 MB)
Pentium Pro MTRR support enabled
npx0: math processor on motherboard
npx0: INT 16 interface
acpi0: GBTAWRDACPI on motherboard
pcibios: BIOS version 2.10
Using $PIR table, 11 entries at 0xc00fdb90
acpi0: power button is handled as a fixed feature programming model.
Timecounter ACPI-fast  frequency 3579545 Hz
acpi_timer0: 24-bit timer at 3.579545MHz port 0x1008-0x100b on acpi0
acpi_cpu0: CPU on acpi0
acpi_cpu1: CPU on acpi0
acpi_button0: Power Button on acpi0
acpi_button1: Sleep Button on acpi0
pcib0: ACPI Host-PCI bridge port 0x1000-0x10bf,0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
agp0: Intel 82865 host to AGP bridge mem 0xe800-0xefff at 
device 0.0 on pci0
pcib1: PCIBIOS PCI-PCI bridge at device 1.0 on pci0
pci1: PCI bus on pcib1
pci1: display, VGA at device 0.0 (no driver attached)
pcib2: ACPI PCI-PCI bridge at device 30.0 on pci0
pci2: ACPI PCI bus on pcib2
rl0: RealTek 8139 10/100BaseTX port 0x9000-0x90ff mem 
0xfa005000-0xfa0050ff irq 11 at device 1.0 on pci2
rl0: Realtek 8139B detected. Warning, this may be unstable in autoselect 
mode
rl0: Ethernet address: 00:50:fc:8c:0c:24
miibus0: MII bus on rl0
rlphy0: RealTek internal media interface on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isab0: PCI-ISA bridge at device 31.0 on pci0
isa0: ISA bus on isab0
atapci0: Intel ICH5 UDMA100 controller port 
0xf000-0xf00f,0-0x3,0-0x7,0-0x3,0-0x7 at device 31.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: serial bus, SMBus at device 31.3 (no driver attached)
atkbdc0: Keyboard controller (i8042) port 0x64,0x60 irq 1 on acpi0
atkbd0: AT Keyboard flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
orm0: Option ROM at iomem 0xc-0xcbfff on isa0
pmtimer0 on isa0
fdc0: ready for input in output
fdc0: cmd 3 failed at out byte 1 of 3
ppc0: parallel port not found.
sc0: System console at flags 0x100 on isa0
sc0: VGA 16 virtual consoles, flags=0x300
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 8250 or not responding
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0
Timecounters tick every 1.000 msec
DUMMYNET initialized (011031)
ipfw2 initialized, divert disabled, rule-based forwarding enabled, 
default to accept, logging unlimited
acpi_cpu: throttling enabled, 2 steps (100% to 50.0%), currently 100.0%
ad0: 117246MB Maxtor 6Y120P0 [238216/16/63] at ata0-master UDMA100
acd0: CD-RW SONY CD-RW CRX210E1 at ata1-master PIO4
Mounting root from ufs:/dev/ad0s1a
WARNING: / was not properly dismounted
WARNING: /tmp was not properly dismounted
/tmp: mount pending error: blocks 0 files 3
/tmp: superblock summary recomputed
WARNING: /usr was not properly dismounted
WARNING: /var was not properly dismounted
/var: mount pending error: blocks 0 files 1

Thanks,

Marian

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


3c940 driver

2003-09-10 Thread Marian Dobre
Hello,

Is there any patch for the sk driver to support the 3c940 gigabit 
ethernet card ? I see that OpenBSD is supporting it in their sk driver 
so I was wondering if this was ported to FreeBSD as well.
Is there any way to get the card to work ?
I'm running FreeBSD 5.1 release.

Thanks,

Marian

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


cvsup from 5.0 to 5.1

2003-09-02 Thread Marian Dobre
Hello,

I'm trying to buildworld on a box I just cvsuped from 5.0 to 5.1 and I get
the error message listed bellow.
I removed all the sources and installed fresh but I keep getting this
error.
This is what I'm running:
FreeBSD cache2.onix.ro 5.0-RELEASE-p7 FreeBSD 5.0-RELEASE-p7 #5: Wed Jul
16 19:55:45 GMT 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/CUSTOM
i386

I used the following tag in my cvsup file
*default release=cvs tag=RELENG_5_1

 eimdal/include  -I/usr/src/kerberos5/lib/libroken/../../include
-I/usr/src/kerberos5/lib/libroken/../../../crypto/heimdal/lib/roken
-I/usr/obj/usr/src/kerberos5/lib/libroken
-I/usr/src/kerberos5/lib/libroken/../../include -DHAVE_CONFIG_H -DINET6
make-roken.c  -o make-roken
/usr/obj/usr/src/i386/usr/bin/ld: cannot open crt1.o: No such file or
directory
*** Error code 1

Stop in /usr/src/kerberos5/lib/libroken.
*** Error code 1

Any ideas what to do next because I'm stuck here ?

Thanks,

Marian Dobre

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Sparc64 and standard PCI devices

2003-03-12 Thread Marian Dobre
Hello,

I've installed FreeBSD 5.0 Sparc64  on a E450 and I'm trying to use 
standard PCI ethernet cards.
According to 
http://www.freebsd.org/relnotes/CURRENT/hardware/sparc64/support.html#ETHERNET 
these cards are supposed to be supported but I can't get them to work.
I've tried with both RTL8139 and 3COM905 cards. The cards are detected 
by the software but they dont send or receive any packet. I even 
recompiled all the software on the box and the kernel. They still don't 
work.
This is the output of uname -a
FreeBSD freebsd.onix.ro 5.0-RELEASE-p4 FreeBSD 5.0-RELEASE-p4 #0: Sat 
Jan 18 07:39:17 CET 2003 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/CUSTOM  sparc64
Please let me know if these are are supposed to be working on sparc64 
platforms.

Thanks in advance,

Marian Dobre



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


RTL8139 problems on E450

2003-03-09 Thread Marian Dobre
Hi,

I've installed FreeBSD 5.0-RELEASE sparc64 on a Ultra Enterprise 450 box 
and I have a hard time adding a second ethernet card.
The on board hme0 works just fine but when I tried to install a Realtek 
8139 fast ethernet addapter I get the following error message

Jan 17 21:41:15  kernel: rl0: RealTek 8139 10/100BaseTX port 
0x400-0x4ff mem 0x2000-0x20ff irq 1 at device 2.0 on pci2
Jan 17 21:41:15  kernel: rl0: Realtek 8139B detected. Warning, this may 
be unstable in autoselect mode
Jan 17 21:41:15  kernel: rl0: Ethernet address: 00:00:c0:b4:b9:db
Jan 17 21:41:15  kernel: miibus1: MII bus on rl0
Jan 17 21:41:15  kernel: rlphy0: RealTek internal media interface on 
miibus1
Jan 17 21:41:15  kernel: rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 
100baseTX-FDX, auto
Jan 17 21:41:24  kernel: rl0: watchdog timeout
Jan 17 21:41:45  kernel: rl0: watchdog timeout
Jan 17 21:43:42  last message repeated 5 times

There's nothing wrong with the network cord and I have a link on the 
ethernet switch port. I also changed the NIC with a brand new Realtek 
card and I'm still getting the watchdog timeout error. I forced the mode 
on the card to 100baseTX half and full duplex but that didn't help either.
What am I doing wrong here ? What do I have to do to be able to use PCI 
cards on the E450 box ?

Thanks,

Marian Dobre

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