From owner-freebsd-hardware Wed Nov 20 9:34:22 2002 Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0555037B401; Wed, 20 Nov 2002 09:34:17 -0800 (PST) Received: from amour.ath.cx (core112-h28.dialo.tiscali.de [62.246.112.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id ABD6843E88; Wed, 20 Nov 2002 09:34:15 -0800 (PST) (envelope-from amour@amour.ath.cx) Received: from amour.ath.cx (amour@localhost.ath.cx [127.0.0.1]) by amour.ath.cx (8.12.6/8.12.6) with ESMTP id gAKHY79U052671; Wed, 20 Nov 2002 18:34:13 +0100 (CET) (envelope-from amour@amour.ath.cx) Received: from localhost (amour@localhost) by amour.ath.cx (8.12.6/8.12.6/Submit) with ESMTP id gAKHY6GY052668; Wed, 20 Nov 2002 18:34:07 +0100 (CET) Date: Wed, 20 Nov 2002 18:34:06 +0100 (CET) From: Alexander To: freebsd-stable@freebsd.org Cc: FreeBSD-hackers@freebsd.org, Subject: Re: SiS 900 Ethernet card In-Reply-To: <20021120124054.GA79330@tom.chem.tue.nl> Message-ID: <20021120182432.I52541-100000@amour.ath.cx> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=X-UNKNOWN Content-Transfer-Encoding: QUOTED-PRINTABLE Sender: owner-freebsd-hardware@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hello, I just tested the sis.diff patch and it almost worked on me :) I get: sis0: port 0xe400-0xe4ff mem 0xf4000000-0xf4000fff irq 10 at device 3.0 on pci0 sis0: Ethernet address: 00:40:d0:2a:b0:af miibus0: on sis0 ukphy0: 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: 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: port 0xf800-0xf8ff mem 0xe8005000-0xe8005fff= irq 5 at device 4.0 on pci0 > sis0: Ethernet address: ff:ff:ff:ff:ff:ff > miibus0: on sis0 > ukphy0: on miibus0 > ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > pcic0: 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-hardware" in the body of the message