FreeBSDand notebook Samung
Alexander N. Banketov
jaguar at ukr.net
Wed May 21 09:50:51 UTC 2008
Hello Xin,
Wednesday, May 21, 2008, 12:41:04 AM, you wrote:
XL> Alexander N. Banketov wrote:
XL> | Hello freebsd-bugs,
XL> |
XL> | Lag FreeBSD on notebook Samsung
XL> |
XL> | FreeBSD 7.0
XL> |
XL> | uname -a
XL> | FreeBSD NB.bom.od.ua 7.0-RELEASE FreeBSD 7.0-RELEASE #8: Mon Apr 21
XL> 16:23:28 EEST 2008 root at NB.bom.od.ua:/usr/obj/usr/src/sys/NOTEBOOK i386
XL> |
XL> | Has established FreeBSD 7.0 (tried 5.2, 4.11, with the same result),
XL> | On notebook Samsung R60. at attempt to make shutdown or reboot I receive
XL> | System going down IMMEDIATELY
XL> |
XL> |
XL> |
XL> | System shutdown time has arrived
XL> | syncing disks 4 0 2 0 0 done
XL> | Uptime : 56s (the last time)
XL> |
XL> | And notebook hangs
XL> [...]
XL> Could you please try this patch?
XL> http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/usb/ehci_pci.c.diff?r1=1.28.2.1;r2=1.28.2.2
I probably incorrectly have understood you, have created a file power.sh as it is described on specified by you url
./power.sh
---: not found
+++: not found
@@: not found
./power.sh: icq/: Permission denied
./power.sh: 7: Syntax error: word unexpected (expecting ")")
cat power.sh
--- src/sys/dev/usb/ehci_pci.c 2007/11/26 18:21:42 1.28.2.1
+++ src/sys/dev/usb/ehci_pci.c 2008/03/19 16:38:55 1.28.2.2
@@ -36,7 +36,7 @@
*/
#include <sys/cdefs.h>
-__FBSDID("$FreeBSD: /usr/local/www/cvsroot/FreeBSD/src/sys/dev/usb/ehci_pci.c,v 1.28.2.1 2007/11/26 18:21:42 jfv Exp $");
+__FBSDID("$FreeBSD: /usr/local/www/cvsroot/FreeBSD/src/sys/dev/usb/ehci_pci.c,v 1.28.2.2 2008/03/19 16:38:55 jhb Exp $");
/*
* USB Enhanced Host Controller Driver, a.k.a. USB 2.0 controller.
@@ -538,8 +538,9 @@ ehci_pci_takecontroller(device_t self)
if (EHCI_EECP_ID(eec) != EHCI_EC_LEGSUP)
continue;
legsup = eec;
- pci_write_config(self, eecp, legsup | EHCI_LEGSUP_OSOWNED, 4);
if (legsup & EHCI_LEGSUP_BIOSOWNED) {
+ pci_write_config(self, eecp,
+ legsup | EHCI_LEGSUP_OSOWNED, 4);
printf("%s: waiting for BIOS to give up control\n",
device_get_nameunit(sc->sc_bus.bdev));
for (i = 0; i < 5000; i++) {
@@ -558,6 +559,7 @@ ehci_pci_takecontroller(device_t self)
static void
ehci_pci_givecontroller(device_t self)
{
+#if 0
ehci_softc_t *sc = device_get_softc(self);
u_int32_t cparams, eec, legsup;
int eecp;
@@ -571,6 +573,7 @@ ehci_pci_givecontroller(device_t self)
legsup = eec;
pci_write_config(self, eecp, legsup & ~EHCI_LEGSUP_OSOWNED, 4);
}
+#endif
}
static device_method_t ehci_methods[] = {
Describe please, that I have made not and give more detailed
instruction.
XL> Note that you can safely ignore the failed patch of hunk #1.
XL> Cheers,
XL> - --
XL> ** Help China's quake relief at http://www.redcross.org.cn/
|>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
XL> Xin LI <delphij at delphij.net> http://www.delphij.net/
XL> FreeBSD - The Power to Serve!
XL> -----BEGIN PGP SIGNATURE-----
XL> Version: GnuPG v2.0.9 (FreeBSD)
XL> iEYEARECAAYFAkgzRXAACgkQi+vbBBjt66ApBACfQTnNA2iQc8CZ9o4gCeJl/wIo
XL> nyEAni+BMXUQYAW9O9+GYZRco+lVjZwd
XL> =tqWT
XL> -----END PGP SIGNATURE-----
Thanks
--
Best regards,
Alexander mailto:jaguar at ukr.net
More information about the freebsd-bugs
mailing list