From owner-freebsd-questions@FreeBSD.ORG Fri Feb 4 01:23:11 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CF56216A4CE; Fri, 4 Feb 2005 01:23:11 +0000 (GMT) Received: from hosea.tallye.com (joel.tallye.com [216.99.199.78]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0F39143D48; Fri, 4 Feb 2005 01:23:01 +0000 (GMT) (envelope-from lorenl@alzatex.com) Received: from hosea.tallye.com (hosea.tallye.com [127.0.0.1]) by hosea.tallye.com (8.12.8/8.12.10) with ESMTP id j141MqGf012630 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 3 Feb 2005 17:22:53 -0800 Received: (from sttng359@localhost) by hosea.tallye.com (8.12.8/8.12.10/Submit) id j141Mmmt012628; Thu, 3 Feb 2005 17:22:48 -0800 X-Authentication-Warning: hosea.tallye.com: sttng359 set sender to lorenl@alzatex.com using -f Date: Thu, 3 Feb 2005 17:22:48 -0800 From: "Loren M. Lang" To: craig Message-ID: <20050204012248.GA8619@alzatex.com> References: <42016966.1000702@online.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <42016966.1000702@online.de> User-Agent: Mutt/1.4.1i X-GPG-Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc X-GPG-Fingerprint: B3B9 D669 69C9 09EC 1BCD 835A FAF3 7A46 E4A3 280C cc: freebsd-questions@freebsd.org cc: freebsd-hardware@freebsd.org Subject: Re: if_sk : the weirdest thing! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Feb 2005 01:23:12 -0000 On Thu, Feb 03, 2005 at 12:59:34AM +0100, craig wrote: > my machine has a hdd swap-rack which allows me to boot different os's > off different physical drives. (ie. pull-out xp, and plug in fbsd). > i recently purchased another hdd+tray to install gentoo on, just to see > what the fuss is about. > > i booted off the 2004.3 minimal install cd but it did not, > unfortuanately, automatically find my realtek gigabit nic. > i suspected it might not, because i had a hell of time getting it to > work on fbsd aswell - requiring a patched if_sk driver to get it going. > > after a bit of digging, i found that i could > > # modprobe sk98lin > > to get the kernel happy with the nic. once up, it worked like a charm. > it got late and i needed to finish up some work on fbsd, so i pulled the > gentoo drive out, plugged fbsd back in and booted up. > > when it came up, i found that i was without a network! > # dmesg | grep sk > said something about (IIRC) > (blah) > skc0: no PHY found > > # ifconfig > confirmed that there was no net > > when i tried to manually > # kldload if_sk > freebsd panic'ed and died right there! > > i rebooted a few times (a trick i learnt from ms) but still it would not > come back. even powering the machine completely down did not help!!! > so i plugged in the winxp drive and booted. it came up fine, network in > good working order. > i booted fbsd again and the network came up this time without a complaint! I'm assuming that your referring to a warm reboot AKA you never turned the machine off. Not all hardware is fully reset on a warm reboot. It's possible the linux driver is leaving the hardware in a different state when you reboot that the freebsd driver doesn't check for. The windows driver probably does since the manufacture wrote that driver, not some random person trying to reverse engineer it. Not to say they didn't do a good job, but just that little details are harder to catch sometime. I bet if you fully shut the system down that freebsd will work fine without rebooting. Is there any way of doing a dump of all the PCI registers so one of the developers might be able to find what's different? pciconf might be able to. > > AND I CAN REPLICATE THIS MADNESS! > > boot fbsd > - check network = all okay > boot gentoo livecd > - load sk98lin > - check network = all okay > boot fbsd > - check network = notwork! > > (remedy) > boot wxp > - check network = all okay > boot fbsd > - check network = all okay > > > wtf??? > > i understand that my GF would be upset if i played around with other > girls, but does my OS have to be *so damn jealous*???? > > any ideas whats on here? > > -- > craig@small-pla.net > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- I sense much NT in you. NT leads to Bluescreen. Bluescreen leads to downtime. Downtime leads to suffering. NT is the path to the darkside. Powerful Unix is. Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc Fingerprint: B3B9 D669 69C9 09EC 1BCD 835A FAF3 7A46 E4A3 280C