Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Nov 2002 18:34:06 +0100 (CET)
From:      Alexander <amour@amour.ath.cx>
To:        freebsd-stable@freebsd.org
Cc:        FreeBSD-hackers@freebsd.org, <FreeBSD-hardware@freebsd.org>
Subject:   Re: SiS 900 Ethernet card
Message-ID:  <20021120182432.I52541-100000@amour.ath.cx>
In-Reply-To: <20021120124054.GA79330@tom.chem.tue.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello,
I just tested the sis.diff patch and it almost worked on me :)

I get:

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=09=3D 0xe6dc2
fault code=09=09=3D supervisor read, page not present
instruction pointer=09=3D 0x8:0xc00e8cb5
stack pointer=09=09=3D 0x10:0xc0536d6c
frame pointer=09=09=3D 0x10:0xc0536d6c
code segment=09=09=3D base 0x0, limit 0xfffff, type 0x1b
=09=09=09=3D DPL 0, pres 1, def32 1, gran 1
processor eflags=09=3D interrupt enabled, resume, IOPL =3D 0
current process=09=09=3D 0 (swapper)
interrupt mask=09=09=3D net tty bio cam
trap number=09=09=3D 12
panic: page fault
Uptime 0s


It'll be great if someone can fix this.

thanks


On Wed, 20 Nov 2002, Willy Offermans wrote:

> Dear FreeBSD friends,
>
> In an email before I reported about a problem with the SiS 900 ethernetca=
rd:
>
> > Dear FreeBSD friends,
> >
> > I have bought a nice laptop computer (Gericom Masterpiece 25340 XL).
> > It has an ethernet card inside, based on SiS 900 chip.
> > During boot, FreeBSD can detect the card, but cannot assign an MAC
> > address, nor initializing the card. I receive following messages:
> >
> > ....
> > sis0: <SiS 900 10/100BaseTX> port 0xf800-0xf8ff mem 0xe8005000-0xe8005f=
ff irq 4 at device 4.0 on pci0
> > sis0: Ethernet address: ff:ff:ff:ff:ff:ff
> > sis0: MII without any PHY!
> > device_probe_and_attach: sis0 attach returned 6
> > ....
> >
> > Does anybody know to solve this problem?
>
> On that I received two different patches, which could solve the problem. =
I have attached them to this email:
> sis.diff from Luoqi Chen and if_sis.patch from Jeff Seeman.
>
> if_sis.patch didn't do the job. The message during boot didn't change and=
 moreover I was not able to use the ethernet device.
>
> sis.diff did a better a job, but it solved the problem partly. Have a loo=
k to the output during boot:
>
> ...
> sis0: <SiS 900 10/100BaseTX> port 0xf800-0xf8ff mem 0xe8005000-0xe8005fff=
 irq 5 at device 4.0 on pci0
> sis0: Ethernet address: ff:ff:ff:ff:ff:ff
> miibus0: <MII bus> on sis0
> ukphy0: <Generic IEEE 802.3u media interface> on miibus0
> ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> pcic0: <YENTA PCI-CardBus Bridge> irq 11 at device 10.0 on pci0
> pcic0: PCI Memory allocated: 0x88000000
> ...
>
> Still the system is not able to retrieve the MAC address from the etherne=
tcard.
>
> Of course I could assign a MAC address manually and work around the probl=
em (ifconfig sis0 lladdr xx:xx:xx:xx:xx:xx), but still it would be nice to =
have a driver which does a proper job.
>
> Is a better patch available?
>
>
> --
> Met vriendelijke groeten,
> With kind regards,
> Mit freundlichen Gr=FC=DFen,
>
> Willy
>
> *************************************
> W.K. Offermans
> Eindhoven University of Technology
> Department of Chemical Engineering
> Laboratory of Catalysis (SKA)
> building ST-W 4.27, PO Box 513
> 5600 MB  Eindhoven, Netherlands
> Tel: 0(031) 40 247 37 81
> Fax: 0(031) 40 247 50 32
> Home: 0(031) 45 544 49 99
> e-mail: w.k.offermans@tue.nl
> http://www.catalysis.nl
>
>        If you are bored playing with Bill Gates' toy, start to work with =
a real operating system
>                        Feel free, feel FreeBSD .... (www.FreeBSD.org)
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-hardware" in the body of the message
>


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




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