Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Nov 2002 22:42:53 +0100 (CET)
From:      Alexander <amour@amour.ath.cx>
To:        dmagda@ee.ryerson.ca
Cc:        freebsd-stable@FreeBSD.ORG, <FreeBSD-hackers@FreeBSD.ORG>, <FreeBSD-hardware@FreeBSD.ORG>
Subject:   Re: SiS 900 Ethernet card
Message-ID:  <20021125220040.B1409-100000@amour.ath.cx>
In-Reply-To: <86k7j1n633.fsf@number6.magda.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi again.
I've looked at the sources and if_sis.c is 1.13.4.22 from 2002/08/09.
I've also recompiled my kernel and tried it on the laptop (thats where the
SIS 900 on board ethernet card is).
The card is detected well, the mac is shown and then the kernel fails:

Boot CD-ROM Type: Floppy Booting
Booting from Removable Media
Uncompressing ... done

BTX loader 1.00 BTX version is 1.01
Console: internal video/keyboard
BIOS drive C: is disk0
BIOS 639kB/457664kB available memory

FreeBSD/i386 bootstrap loader, Revision 0.8
(murray@builder.freebsdmall.com, Tue Oct 8 00:52:30 PDT 2002)
Can't work out which disk we are booting from.
Guessed BIOS device 0x0 not found by probes, defaulting to disk0:


Hit [Enter] to boot immediately, or any other key for command prompt.
Booting [kernel]...
can't load 'kernel'
can't load 'kernel.old'

Type '?' for a list of commands, 'help' for more detailed help.
ok _
ok set currdev=disk0s1
ok boot kernel
/kernel ....
....

sis0: <SiS 900 10/100BaseTX> port 0xe400-0xe4ff mem 0xf4000000-0xf4000fff
irq 10 at device 3.0 on pci0
sis0: Ethernet address: 00:40:d0:2a:b0:af
miibus0: <MII bus> on sis0
ukphy0: <Generic IEEE 802.3u media interface> on miibus0
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pci_cfgintr_virgin: using routable interrupt 5


Fatal trap 12: page fault while in kernel mode
fault virtual address	= 0xe6dc2
fault code		= supervisor read, page not present
instruction pointer	= 0x8:0xc00e8cb5
stack pointer		= 0x10:0xc0536d6c
frame pointer		= 0x10:0xc0536d6c
code segment		= base 0x0, limit 0xfffff, type 0x1b
			= DPL 0, pres 1, def32 1, gran 1
processor eflags	= interrupt enabled, resume, IOPL = 0
current process		= 0 (swapper)
interrupt mask		= net tty bio cam
trap number		= 12
panic: page fault
Uptime: 0s
Automatic reboot in 15 seconds - press a key on the console to abort

  I'm booting 4.7-RELEASE from the CDROM because I have only CD (no
floppy). I also have FreeBSD 4.7-STABLE on other computer where I
recompile the kernel.

  At the beginning of this dmesg output (actually I rewrote everything by
hand) You may see that my CD device is not detected but that is not my
worse problem I go through it easily. I have a fat32 partition where I
place the kernel and when changing 'currdev' to this partition I'm able to
boot the kernel. My CD is: SAMSUNG CDRW/DVD SN-308BI (fully supported by
Windows XP, RedHat Linux, OpenBSD (I've tested it)).

  The next thing that comes is the Ethernet Card. It is on board and from
the dmesg output You see what happens. The card is working properly on
Windows XP, RedHat Linux (OpenBSD have the same problems except for the
kernel failure).

  I've tried removing the driver from the kernel so that at least I can
boot and install FreeBSD and then probably go on PCMCIA but the kernel
failed again saying that the device is unknown (huh !).

  Please, if someone knows a fix or thinks that can help, write me.
I'm ready to test patches and provide more information.

thanks

P.S. Please excuse my English.


On 25 Nov 2002, David Magda wrote:

> Alexander <amour@amour.ath.cx> writes:
>
> > I just tested the sis.diff patch and it almost worked on me :)
>
> What version of FreeBSD are you running? We had the same problem but
> when we updated the sources to 4.6-stable it was fixed in
> src/sys/pci/if_sis.c on February 19. Check the source of the file and
> make sure you have at least version 1.13.4.20. If you don't, update
> the sources and recompile. If you have that version (or newer) then
> it's not the problem I'm thing about.
>
> --
> David Magda <dmagda at ee.ryerson.ca>
> Because the innovator has for enemies all those who have done well under
> the old conditions, and lukewarm defenders in those who may do well
> under the new. -- Niccolo Machiavelli, _The Prince_, Chapter VI
>


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021125220040.B1409-100000>