常见问题常见问题   搜索搜索   会员列表会员列表   团队团队   注册注册    个人资料个人资料   登录查看您的站内信件登录查看您的站内信件   登录登录 

有趣的IRQ

 
发表新文章   回复文章    FreeBSD China -> 设备驱动
阅读上一个主题 :: 阅读下一个主题  
作者 留言
kernel288
半仙


注册时间: 2009-04-10
文章: 4

文章发表于: Mon 2009-04-20 15:09:46    发表主题: 有趣的IRQ 引用并回复

大家好

最近我把我的电脑重装成freebsd 7.0 但是我的无线和有线都不能用。
我的笔记本是acer travlmate 3010

因为上不了网,只能表述

我关掉ACPI 还是不能启动wpi0

wireless) will not attach when acpi is enabled:
bge0: <Broadcom> at device 0.0 on pci4
bge0: 0x10000 bytes of rid 0x10 res 3 failed (0, 0xffffffff).
bge0: couldn't map memory
device_attach: bge0 attach returned 6

wpi0: <Intel> irq 17 at device 0.0 on pci3
wpi0: 0x1000 bytes of rid 0x10 res 3 failed (0, 0xffffffff).
wpi0: could not allocate memory resource
device_attach: wpi0 attach returned 6


我kldload if_wpi
kldload wpifw

还是不行。

我看了好多人的说法。

有人说要打patch

linux 是可以的。

所以来求助了。
返回页首
阅览会员资料 发送站内信件
kernel288
半仙


注册时间: 2009-04-10
文章: 4

文章发表于: Mon 2009-04-20 15:12:18    发表主题: 引用并回复

我看到人家linux 下的patch

http://kerneltrap.org/index.php?q=mailarchive/linux-kernel/2008/2/4/708894

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
[view in full thread]
From: Len Brown <lenb>
To: <stable>
Cc: <linux>, <linux>
Subject: [PATCH 2.6.23.stable] ACPI: sync blacklist w/ latest
Date: Monday, February 4, 2008 - 1:38 am

From: Len Brown <len>

This patch is appropriate for supporting a 2.6.23-based products.

Signed-off-by: Len Brown <len>
---
drivers/acpi/blacklist.c | 388 ++++++++++++++++++++++++++++++++++++++++++++-
drivers/acpi/osl.c | 173 +++++++++++++++-----
drivers/firmware/dmi-id.c | 2 -
include/linux/acpi.h | 7 +-
include/linux/dmi.h | 2 +
5 files changed, 523 insertions(+), 49 deletions(-)

diff --git a/drivers/acpi/blacklist.c b/drivers/acpi/blacklist.c
index 3ec110c..d2e5298 100644
--- a/drivers/acpi/blacklist.c
+++ b/drivers/acpi/blacklist.c
@@ -3,6 +3,7 @@
*
* Check to see if the given machine has a known bad ACPI BIOS
* or if the BIOS is too old.
+ * Check given machine against acpi_osi_dmi_table[].
*
* Copyright (C) 2004 Len Brown <len>
* Copyright (C) 2002 Andy Grover <andrew>
@@ -50,6 +51,8 @@ struct acpi_blacklist_item {
u32 is_critical_error;
};

+static struct dmi_system_id acpi_osi_dmi_table[] __initdata;
+
/*
* POLICY: If *anything* doesn't work, put it on the blacklist.
* If they are critical errors, mark it critical, and abort driver load.
@@ -67,8 +70,6 @@ static struct acpi_blacklist_item acpi_blacklist[] __initdata = {
/* IBM 600E - _ADR should return 7, but it returns 1 */
{"IBM ", "TP600E ", 0x00000105, ACPI_SIG_DSDT, less_than_or_equal,
"Incorrect _ADR", 1},
- {"ASUS\0\0", "P2B-S ", 0, ACPI_SIG_DSDT, all_versions,
- "Bogus PCI routing", 1},

{""}
};
@@ -165,5 +166,388 @@ int __init acpi_blacklisted(void)

blacklisted += blacklist_by_year();

+ dmi_check_system(acpi_osi_dmi_table);
+
return blacklisted;
}
+#ifdef CONFIG_DMI
+static int __init dmi_enable_osi_linux(struct dmi_system_id *d)
+{
+ acpi_dmi_osi_linux(1, d); /* enable */
+ return 0;
+}
+static int __init dmi_disable_osi_linux(struct dmi_system_id *d)
+{
+ acpi_dmi_osi_linux(0, d); /* disable */
+ return 0;
+}
+static int __init dmi_unknown_osi_linux(struct dmi_system_id *d)
+{
+ acpi_dmi_osi_linux(-1, d); /* unknown */
+ return 0;
+}
+
+/*
+ * Most BIOS that invoke OSI(Linux) do nothing with it.
+ * But some cause Linux to break.
+ * Only a couple use it to make Linux run better.
+ *
+ * Thus, Linux should continue to disable OSI(Linux) by default,
+ * should continue to discourage BIOS writers from using it, and
+ * should whitelist the few existing systems that require it.
+ *
+ * If it appears clear a vendor isn't using OSI(Linux)
+ * for anything constructive, blacklist them by name to disable
+ * unnecessary dmesg warnings on all of their products.
+ */
+
+static struct dmi_system_id acpi_osi_dmi_table[] __initdata = {
+ /*
+ * Disable OSI(Linux) warnings on all "Acer, inc."
+ *
+ * _OSI(Linux) disables the latest Windows BIOS code:
+ * DMI_MATCH(DMI_PRODUCT_NAME, "Aspire 3100"),
+ * DMI_MATCH(DMI_PRODUCT_NAME, "Aspire 5050"),
+ * DMI_MATCH(DMI_PRODUCT_NAME, "Aspire 5100"),
+ * DMI_MATCH(DMI_PRODUCT_NAME, "Aspire 5580"),
+ * DMI_MATCH(DMI_PRODUCT_NAME, "TravelMate 3010"),
+ * _OSI(Linux) effect unknown:
+ * DMI_MATCH(DMI_PRODUCT_NAME, "Ferrari 5000"),
+ */
+ /*
+ * note that dmi_check_system() uses strstr()
+ * to match sub-strings rather than !strcmp(),
+ * so "Acer" below matches "Acer, inc." above.
+ */
+ /*
+ * Disable OSI(Linux) warnings on all "Acer"
+ *
+ * _OSI(Linux) effect unknown:
+ * DMI_MATCH(DMI_PRODUCT_NAME, "Aspire 5315"),
+ * DMI_MATCH(DMI_PRODUCT_NAME, "Aspire 5610"),
+ * DMI_MATCH(DMI_PRODUCT_NAME, "Aspire 7720Z"),
+ * DMI_MATCH(DMI_PRODUCT_NAME, "TravelMate 5520"),
+ * DMI_MATCH(DMI_PRODUCT_NAME, "TravelMate 6460"),
+ * DMI_MATCH(DMI_PRODUCT_NAME, "TravelMate 7510"),
+ * DMI_MATCH(DMI_PRODUCT_NAME, "Extensa 5220"),
+ */
+ {
+ .callback = dmi_unknown_osi_linux,
+ .ident = "Acer",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "Acer"),
+ },
+ },
+ /*
+ * Disable OSI(Linux) warnings on all "Apple Computer, Inc."
+ *
+ * _OSI(Linux) confirmed to be a NOP:
+ * DMI_MATCH(DMI_PRODUCT_NAME, "MacBook1,1"),
+ * DMI_MATCH(DMI_PRODUCT_NAME, "MacBook2,1"),
+ * DMI_MATCH(DMI_PRODUCT_NAME, "MacBookPro2,2"),
+ * _OSI(Linux) effect unknown:
+ * DMI_MATCH(DMI_PRODUCT_NAME, "MacPro2,1"),
+ * DMI_MATCH(DMI_PRODUCT_NAME, "MacBookPro1,1"),
+ * DMI_MATCH(DMI_PRODUCT_NAME, "MacBookPro3,1"),
+ */
+ {
+ .callback = dmi_disable_osi_linux,
+ .ident = "Apple",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "Apple Computer, Inc."),
+ },
+ },
+ /*
+ * Disable OSI(Linux) warnings on all "BenQ"
+ *
+ * _OSI(Linux) confirmed to be a NOP:
+ * DMI_MATCH(DMI_PRODUCT_NAME, "Joybook S31"),
+ */
+ {
+ .callback = dmi_disable_osi_linux,
+ .ident = "BenQ",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "BenQ"),
+ },
+ },
+ /*
+ * Disable OSI(Linux) warnings on all "Clevo Co."
+ *
+ * _OSI(Linux) confirmed to be a NOP:
+ * DMI_MATCH(DMI_PRODUCT_NAME, "M570RU"),
+ */
+ {
+ .callback = dmi_disable_osi_linux,
+ .ident = "Clevo",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "Clevo Co."),
+ },
+ },
+ /*
+ * Disable OSI(Linux) warnings on all "COMPAL"
+ *
+ * _OSI(Linux) confirmed to be a NOP:
+ * DMI_MATCH(DMI_BOARD_NAME, "HEL8X"),
+ * _OSI(Linux) unknown effect:
+ * DMI_MATCH(DMI_BOARD_NAME, "IFL91"),
+ */
+ {
+ .callback = dmi_unknown_osi_linux,
+ .ident = "Compal",
+ .matches = {
+ DMI_MATCH(DMI_BIOS_VENDOR, "COMPAL"),
+ },
+ },
+ { /* OSI(Linux) touches USB, unknown side-effect */
+ .callback = dmi_disable_osi_linux,
+ .ident = "Dell Dimension 5150",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+ DMI_MATCH(DMI_PRODUCT_NAME, "Dell DM051"),
+ },
+ },
+ { /* OSI(Linux) is a NOP */
+ .callback = dmi_disable_osi_linux,
+ .ident = "Dell",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+ DMI_MATCH(DMI_PRODUCT_NAME, "Inspiron 1501"),
+ },
+ },
+ { /* OSI(Linux) effect unknown */
+ .callback = dmi_unknown_osi_linux,
+ .ident = "Dell",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+ DMI_MATCH(DMI_PRODUCT_NAME, "Latitude D830"),
+ },
+ },
+ { /* OSI(Linux) effect unknown */
+ .callback = dmi_unknown_osi_linux,
+ .ident = "Dell",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+ DMI_MATCH(DMI_PRODUCT_NAME, "OptiPlex GX620"),
+ },
+ },
+ { /* OSI(Linux) effect unknown */
+ .callback = dmi_unknown_osi_linux,
+ .ident = "Dell",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+ DMI_MATCH(DMI_PRODUCT_NAME, "PowerEdge 1900"),
+ },
+ },
+ { /* OSI(Linux) touches USB */
+ .callback = dmi_disable_osi_linux,
+ .ident = "Dell",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+ DMI_MATCH(DMI_PRODUCT_NAME, "Precision WorkStation 390"),
+ },
+ },
+ { /* OSI(Linux) is a NOP */
+ .callback = dmi_disable_osi_linux,
+ .ident = "Dell Vostro 1000",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+ DMI_MATCH(DMI_PRODUCT_NAME, "Vostro 1000"),
+ },
+ },
+ { /* OSI(Linux) effect unknown */
+ .callback = dmi_unknown_osi_linux,
+ .ident = "Dell",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+ DMI_MATCH(DMI_PRODUCT_NAME, "PowerEdge SC440"),
+ },
+ },
+ { /* OSI(Linux) effect unknown */
+ .callback = dmi_unknown_osi_linux,
+ .ident = "Dialogue Flybook V5",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "Dialogue Technology Corporation"),
+ DMI_MATCH(DMI_PRODUCT_NAME, "Flybook V5"),
+ },
+ },
+ /*
+ * Disable OSI(Linux) warnings on all "FUJITSU SIEMENS"
+ *
+ * _OSI(Linux) disables latest Windows BIOS code:
+ * DMI_MATCH(DMI_PRODUCT_NAME, "AMILO Pa 2510"),
+ * _OSI(Linux) confirmed to be a NOP:
+ * DMI_MATCH(DMI_PRODUCT_NAME, "AMILO Pi 1536"),
+ * DMI_MATCH(DMI_PRODUCT_NAME, "AMILO Pi 1556"),
+ * DMI_MATCH(DMI_PRODUCT_NAME, "AMILO Xi 1546"),
+ * _OSI(Linux) unknown effect:
+ * DMI_MATCH(DMI_PRODUCT_NAME, "Amilo M1425"),
+ * DMI_MATCH(DMI_PRODUCT_NAME, "Amilo Si 1520"),
+ * DMI_MATCH(DMI_PRODUCT_NAME, "ESPRIMO Mobile V5505"),
+ */
+ {
+ .callback = dmi_disable_osi_linux,
+ .ident = "Fujitsu Siemens",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "FUJITSU SIEMENS"),
+ },
+ },
+ /*
+ * Disable OSI(Linux) warnings on all "Hewlett-Packard"
+ *
+ * _OSI(Linux) confirmed to be a NOP:
+ * .ident = "HP Pavilion tx 1000"
+ * DMI_MATCH(DMI_BOARD_NAME, "30BF"),
+ * .ident = "HP Pavilion dv2000"
+ * DMI_MATCH(DMI_BOARD_NAME, "30B5"),
+ * .ident = "HP Pavilion dv5000",
+ * DMI_MATCH(DMI_BOARD_NAME, "30A7"),
+ * .ident = "HP Pavilion dv6300 30BC",
+ * DMI_MATCH(DMI_BOARD_NAME, "30BC"),
+ * .ident = "HP Pavilion dv6000",
+ * DMI_MATCH(DMI_BOARD_NAME, "30B7"),
+ * DMI_MATCH(DMI_BOARD_NAME, "30B8"),
+ * .ident = "HP Pavilion dv9000",
+ * DMI_MATCH(DMI_BOARD_NAME, "30B9"),
+ * .ident = "HP Pavilion dv9500",
+ * DMI_MATCH(DMI_BOARD_NAME, "30CB"),
+ * .ident = "HP/Compaq Presario C500",
+ * DMI_MATCH(DMI_BOARD_NAME, "30C6"),
+ * .ident = "HP/Compaq Presario F500",
+ * DMI_MATCH(DMI_BOARD_NAME, "30D3"),
+ * _OSI(Linux) unknown effect:
+ * .ident = "HP Pavilion dv6500",
+ * DMI_MATCH(DMI_BOARD_NAME, "30D0"),
+ */
+ {
+ .callback = dmi_disable_osi_linux,
+ .ident = "Hewlett-Packard",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "Hewlett-Packard"),
+ },
+ },
+ /*
+ * Lenovo has a mix of systems OSI(Linux) situations
+ * and thus we can not wildcard the vendor.
+ *
+ * _OSI(Linux) helps sound
+ * DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkPad R61"),
+ * DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkPad T61"),
+ * _OSI(Linux) is a NOP:
+ * DMI_MATCH(DMI_PRODUCT_VERSION, "3000 N100"),
+ */
+ {
+ .callback = dmi_enable_osi_linux,
+ .ident = "Lenovo ThinkPad R61",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+ DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkPad R61"),
+ },
+ },
+ {
+ .callback = dmi_enable_osi_linux,
+ .ident = "Lenovo ThinkPad T61",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+ DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkPad T61"),
+ },
+ },
+ {
+ .callback = dmi_unknown_osi_linux,
+ .ident = "Lenovo 3000 V100",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+ DMI_MATCH(DMI_PRODUCT_VERSION, "LENOVO3000 V100"),
+ },
+ },
+ {
+ .callback = dmi_disable_osi_linux,
+ .ident = "Lenovo 3000 N100",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+ DMI_MATCH(DMI_PRODUCT_VERSION, "3000 N100"),
+ },
+ },
+ /*
+ * Disable OSI(Linux) warnings on all "LG Electronics"
+ *
+ * _OSI(Linux) confirmed to be a NOP:
+ * DMI_MATCH(DMI_PRODUCT_NAME, "P1-J150B"),
+ * with DMI_MATCH(DMI_BOARD_NAME, "ROCKY"),
+ *
+ * unknown:
+ * DMI_MATCH(DMI_PRODUCT_NAME, "S1-MDGDG"),
+ * with DMI_MATCH(DMI_BOARD_NAME, "ROCKY"),
+ */
+ {
+ .callback = dmi_disable_osi_linux,
+ .ident = "LG",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "LG Electronics"),
+ },
+ },
+ /* NEC - OSI(Linux) effect unknown */
+ {
+ .callback = dmi_unknown_osi_linux,
+ .ident = "NEC VERSA M360",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "NEC Computers SAS"),
+ DMI_MATCH(DMI_PRODUCT_NAME, "NEC VERSA M360"),
+ },
+ },
+ /*
+ * Disable OSI(Linux) warnings on all "Samsung Electronics"
+ *
+ * OSI(Linux) disables PNP0C32 and other BIOS code for Windows:
+ * DMI_MATCH(DMI_PRODUCT_NAME, "R40P/R41P"),
+ * DMI_MATCH(DMI_PRODUCT_NAME, "R59P/R60P/R61P"),
+ */
+ {
+ .callback = dmi_disable_osi_linux,
+ .ident = "Samsung",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "SAMSUNG ELECTRONICS CO., LTD."),
+ },
+ },
+ /*
+ * Disable OSI(Linux) warnings on all "Sony Corporation"
+ *
+ * _OSI(Linux) is a NOP:
+ * DMI_MATCH(DMI_PRODUCT_NAME, "VGN-SZ650N"),
+ * DMI_MATCH(DMI_PRODUCT_NAME, "VGN-SZ38GP_C"),
+ * DMI_MATCH(DMI_PRODUCT_NAME, "VGN-TZ21MN_N"),
+ * _OSI(Linux) unknown effect:
+ * DMI_MATCH(DMI_PRODUCT_NAME, "VGN-FZ11M"),
+ */
+ {
+ .callback = dmi_unknown_osi_linux,
+ .ident = "Sony",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "Sony Corporation"),
+ },
+ },
+ /*
+ * Disable OSI(Linux) warnings on all "TOSHIBA"
+ *
+ * _OSI(Linux) breaks sound (bugzilla 7787):
+ * DMI_MATCH(DMI_PRODUCT_NAME, "Satellite P100"),
+ * DMI_MATCH(DMI_PRODUCT_NAME, "Satellite P105"),
+ * _OSI(Linux) is a NOP:
+ * DMI_MATCH(DMI_PRODUCT_NAME, "Satellite A100"),
+ * DMI_MATCH(DMI_PRODUCT_NAME, "Satellite A210"),
+ * _OSI(Linux) unknown effect:
+ * DMI_MATCH(DMI_PRODUCT_NAME, "Satellite A135"),
+ * DMI_MATCH(DMI_PRODUCT_NAME, "Satellite A200"),
+ * DMI_MATCH(DMI_PRODUCT_NAME, "Satellite P205"),
+ * DMI_MATCH(DMI_PRODUCT_NAME, "Satellite U305"),
+ */
+ {
+ .callback = dmi_disable_osi_linux,
+ .ident = "Toshiba",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "TOSHIBA"),
+ },
+ },
+ {}
+};
+
+#endif /* CONFIG_DMI */
diff --git a/drivers/acpi/osl.c b/drivers/acpi/osl.c
index 12c09fa..cd573e4 100644
--- a/drivers/acpi/osl.c
+++ b/drivers/acpi/osl.c
@@ -77,11 +77,55 @@ static struct workqueue_struct *kacpi_notify_wq;
#define OSI_STRING_LENGTH_MAX 64 /* arbitrary */
static char osi_additional_string[OSI_STRING_LENGTH_MAX];

-static int osi_linux; /* disable _OSI(Linux) by default */
+/*
+ * "Ode to _OSI(Linux)"
+ *
+ * osi_linux -- Control response to BIOS _OSI(Linux) query.
+ *
+ * As Linux evolves, the features that it supports change.
+ * So an OSI string such as "Linux" is not specific enough
+ * to be useful across multiple versions of Linux. It
+ * doesn't identify any particular feature, interface,
+ * or even any particular version of Linux...
+ *
+ * Unfortunately, Linux-2.6.22 and earlier responded "yes"
+ * to a BIOS _OSI(Linux) query. When
+ * a reference mobile BIOS started using it, its use
+ * started to spread to many vendor platforms.
+ * As it is not supportable, we need to halt that spread.
+ *
+ * Today, most BIOS references to _OSI(Linux) are noise --
+ * they have no functional effect and are just dead code
+ * carried over from the reference BIOS.
+ *
+ * The next most common case is that _OSI(Linux) harms Linux,
+ * usually by causing the BIOS to follow paths that are
+ * not tested during Windows validation.
+ *
+ * Finally, there is a short list of platforms
+ * where OSI(Linux) benefits Linux.
+ *
+ * In Linux-2.6.23, OSI(Linux) is first disabled by default.
+ * DMI is used to disable the dmesg warning about OSI(Linux)
+ * on platforms where it is known to have no effect.
+ * But a dmesg warning remains for systems where
+ * we do not know if OSI(Linux) is good or bad for the system.
+ * DMI is also used to enable OSI(Linux) for the machines
+ * that are known to need it.
+ *
+ * BIOS writers should NOT query _OSI(Linux) on future systems.
+ * It will be ignored by default, and to get Linux to
+ * not ignore it will require a kernel source update to
+ * add a DMI entry, or a boot-time "acpi_osi=Linux" invocation.
+ */
+#define OSI_LINUX_ENABLE 0

-#ifdef CONFIG_DMI
-static struct __initdata dmi_system_id acpi_osl_dmi_table[];
-#endif
+static struct osi_linux {
+ unsigned int enable:1;
+ unsigned int dmi:1;
+ unsigned int cmdline:1;
+ unsigned int known:1;
+} osi_linux = { OSI_LINUX_ENABLE, 0, 0, 0};

static void __init acpi_request_region (struct acpi_generic_address *addr,
unsigned int length, char *desc)
@@ -133,7 +177,6 @@ device_initcall(acpi_reserve_resources);

acpi_status __init acpi_os_initialize(void)
{
- dmi_check_system(acpi_osl_dmi_table);
return AE_OK;
}

@@ -971,13 +1014,37 @@ static int __init acpi_os_name_setup(char *str)

__setup("acpi_os_name=", acpi_os_name_setup);

-static void enable_osi_linux(int enable) {
+static void __init set_osi_linux(unsigned int enable)
+{
+ if (osi_linux.enable != enable) {
+ osi_linux.enable = enable;
+ printk(KERN_NOTICE PREFIX "%sed _OSI(Linux)\n",
+ enable ? "Add": "Delet");
+ }
+ return;
+}

- if (osi_linux != enable)
- printk(KERN_INFO PREFIX "%sabled _OSI(Linux)\n",
- enable ? "En": "Dis");
+static void __init acpi_cmdline_osi_linux(unsigned int enable)
+{
+ osi_linux.cmdline = 1; /* cmdline set the default */
+ set_osi_linux(enable);
+
+ return;
+}
+
+void __init acpi_dmi_osi_linux(int enable, const struct dmi_system_id *d)
+{
+ osi_linux.dmi = 1; /* DMI knows that this box asks OSI(Linux) */
+
+ printk(KERN_NOTICE PREFIX "DMI detected: %s\n", d->ident);
+
+ if (enable == -1)
+ return;
+
+ osi_linux.known = 1; /* DMI knows which OSI(Linux) default needed */
+
+ set_osi_linux(enable);

- osi_linux = enable;
return;
}

@@ -994,12 +1061,12 @@ static int __init acpi_osi_setup(char *str)
printk(KERN_INFO PREFIX "_OSI method disabled\n");
acpi_gbl_create_osi_method = FALSE;
} else if (!strcmp("!Linux", str)) {
- enable_osi_linux(0);
+ acpi_cmdline_osi_linux(0); /* !enable */
} else if (*str == '!') {
if (acpi_osi_invalidate(++str) == AE_OK)
printk(KERN_INFO PREFIX "Deleted _OSI(%s)\n", str);
} else if (!strcmp("Linux", str)) {
- enable_osi_linux(1);
+ acpi_cmdline_osi_linux(1); /* enable */
} else if (*osi_additional_string == '\0') {
strncpy(osi_additional_string, str, OSI_STRING_LENGTH_MAX);
printk(KERN_INFO PREFIX "Added _OSI(%s)\n", str);
@@ -1156,6 +1223,34 @@ acpi_status acpi_os_release_object(acpi_cache_t * cache, void *object)
return (AE_OK);
}

+/**
+ * acpi_dmi_dump - dump DMI slots needed for blacklist entry
+ *
+ * Returns 0 on success
+ */
+static int acpi_dmi_dump(void)
+{
+
+ if (!dmi_available)
+ return -1;
+
+ printk(KERN_NOTICE PREFIX "DMI System Vendor: %s\n",
+ dmi_get_system_info(DMI_SYS_VENDOR));
+ printk(KERN_NOTICE PREFIX "DMI Product Name: %s\n",
+ dmi_get_system_info(DMI_PRODUCT_NAME));
+ printk(KERN_NOTICE PREFIX "DMI Product Version: %s\n",
+ dmi_get_system_info(DMI_PRODUCT_VERSION));
+ printk(KERN_NOTICE PREFIX "DMI Board Name: %s\n",
+ dmi_get_system_info(DMI_BOARD_NAME));
+ printk(KERN_NOTICE PREFIX "DMI BIOS Vendor: %s\n",
+ dmi_get_system_info(DMI_BIOS_VENDOR));
+ printk(KERN_NOTICE PREFIX "DMI BIOS Date: %s\n",
+ dmi_get_system_info(DMI_BIOS_DATE));
+
+ return 0;
+}
+
+
/******************************************************************************
*
* FUNCTION: acpi_os_validate_interface
@@ -1175,13 +1270,29 @@ acpi_os_validate_interface (char *interface)
if (!strncmp(osi_additional_string, interface, OSI_STRING_LENGTH_MAX))
return AE_OK;
if (!strcmp("Linux", interface)) {
- printk(KERN_WARNING PREFIX
- "System BIOS is requesting _OSI(Linux)\n");
- printk(KERN_WARNING PREFIX
- "If \"acpi_osi=Linux\" works better,\n"
- "Please send dmidecode "
- "to linux-acpi@vger.kernel.org\n");
- if(osi_linux)
+
+ printk(KERN_NOTICE PREFIX
+ "BIOS _OSI(Linux) query %s%s\n",
+ osi_linux.enable ? "honored" : "ignored",
+ osi_linux.cmdline ? " via cmdline" :
+ osi_linux.dmi ? " via DMI" : "");
+
+ if (!osi_linux.dmi) {
+ if (acpi_dmi_dump())
+ printk(KERN_NOTICE PREFIX
+ "[please extract dmidecode output]\n");
+ printk(KERN_NOTICE PREFIX
+ "Please send DMI info above to "
+ "linux-acpi@vger.kernel.org\n");
+ }
+ if (!osi_linux.known && !osi_linux.cmdline) {
+ printk(KERN_NOTICE PREFIX
+ "If \"acpi_osi=%sLinux\" works better, "
+ "please notify linux-acpi@vger.kernel.org\n",
+ osi_linux.enable ? "!" : "");
+ }
+
+ if (osi_linux.enable)
return AE_OK;
}
return AE_SUPPORT;
@@ -1213,28 +1324,4 @@ acpi_os_validate_address (
return AE_OK;
}

-#ifdef CONFIG_DMI
-static int dmi_osi_linux(struct dmi_system_id *d)
-{
- printk(KERN_NOTICE "%s detected: enabling _OSI(Linux)\n", d->ident);
- enable_osi_linux(1);
- return 0;
-}
-
-static struct dmi_system_id acpi_osl_dmi_table[] __initdata = {
- /*
- * Boxes that need _OSI(Linux)
- */
- {
- .callback = dmi_osi_linux,
- .ident = "Intel Napa CRB",
- .matches = {
- DMI_MATCH(DMI_BOARD_VENDOR, "Intel Corporation"),
- DMI_MATCH(DMI_BOARD_NAME, "MPAD-MSAE Customer Reference Boards"),
- },
- },
- {}
-};
-#endif /* CONFIG_DMI */
-
#endif
diff --git a/drivers/firmware/dmi-id.c b/drivers/firmware/dmi-id.c
index 59c3b5a..ed0d030 100644
--- a/drivers/firmware/dmi-id.c
+++ b/drivers/firmware/dmi-id.c
@@ -159,8 +159,6 @@ static struct device *dmi_dev;
if (dmi_get_system_info(_field)) \
sys_dmi_attributes[i++] = & sys_dmi_##_name##_attr.attr;

-extern int dmi_available;
-
static int __init dmi_id_init(void)
{
int ret, i;
diff --git a/include/linux/acpi.h b/include/linux/acpi.h
index bf5e000..919e0a5 100644
--- a/include/linux/acpi.h
+++ b/include/linux/acpi.h
@@ -40,6 +40,7 @@
#include <acpi>
#include <acpi>
#include <asm>
+#include <linux>


#ifdef CONFIG_ACPI
@@ -187,7 +188,9 @@ extern int ec_transaction(u8 command,
#endif /*CONFIG_ACPI_EC*/

extern int acpi_blacklisted(void);
-extern void acpi_bios_year(char *s);
+#ifdef CONFIG_DMI
+extern void acpi_dmi_osi_linux(int enable, const struct dmi_system_id *d);
+#endif

#define ACPI_CSTATE_LIMIT_DEFINED /* for driver builds */
#ifdef CONFIG_ACPI
@@ -247,5 +250,5 @@ static inline int acpi_boot_table_init(void)
return 0;
}

-#endif /* CONFIG_ACPI */
+#endif /* !CONFIG_ACPI */
#endif /*_LINUX_ACPI_H*/
diff --git a/include/linux/dmi.h b/include/linux/dmi.h
index b8ac7b0..d8a946f 100644
--- a/include/linux/dmi.h
+++ b/include/linux/dmi.h
@@ -78,6 +78,7 @@ extern struct dmi_device * dmi_find_device(int type, const char *name,
extern void dmi_scan_machine(void);
extern int dmi_get_year(int field);
extern int dmi_name_in_vendors(char *str);
+extern int dmi_available;

#else

@@ -87,6 +88,7 @@ static inline struct dmi_device * dmi_find_device(int type, const char *name,
struct dmi_device *from) { return NULL; }
static inline int dmi_get_year(int year) { return 0; }
static inline int dmi_name_in_vendors(char *s) { return 0; }
+#define dmi_available 0

#endif

--
1.5.4.rc5.16.gc0279
返回页首
阅览会员资料 发送站内信件
kernel288
半仙


注册时间: 2009-04-10
文章: 4

文章发表于: Mon 2009-04-20 22:02:58    发表主题: 我把我的mesg -a 打出来 引用并回复

共同讨论一下,不一定要解决


Copyright (c) 1992-2008 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008
root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0d08000.
Calibrating clock(s) ... i8254 clock: 1193531 Hz
CLK_USE_I8254_CALIBRATION not specified - using default frequency
Timecounter "i8254" frequency 1193182 Hz quality 0
Calibrating TSC clock ... TSC clock: 1666792880 Hz
CPU: Genuine Intel(R) CPU T2300 @ 1.66GHz (1666.79-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0x6e8 Stepping = 8
Features=0xbfe9fbff<FPU>
Features2=0xc189<SSE3>
AMD Features=0x100000<NX>
Cores per package: 2

Instruction TLB: 4 KB Pages, 4-way set associative, 128 entries
Data TLB: 4 KB Pages, 4-way set associative, 128 entries
Instruction TLB: 4 MB pages, fully associative, 2 entries
2nd-level cache: 2-MB, 8-way set associative, 64-byte line size
1st-level instruction cache: 32 KB, 8-way set associative, 64 byte line size
Data TLB: 4 MB Pages, 4-way set associative, 8 entries
1st-level data cache: 32 KB, 8-way set associative, 64 byte line size
L2 cache: 2048 kbytes, 8-way associative, 64 bytes/line
real memory = 1600651264 (1526 MB)
Physical memory chunk(s):
0x0000000000001000 - 0x000000000009efff, 647168 bytes (158 pages)
0x0000000000100000 - 0x00000000003fffff, 3145728 bytes (768 pages)
0x0000000001028000 - 0x000000005db5efff, 1555263488 bytes (379703 pages)
avail memory = 1554767872 (1482 MB)
MP Configuration Table version 1.4 found at 0xc009fc71
APIC: Using the MPTable enumerator.
SMP: Added CPU 0 (BSP)
SMP: Added CPU 1 (AP)
MPTable: <INTEL>
INTR: Adding local APIC 1 as a target
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
cpu0 (BSP): APIC ID: 0
cpu1 (AP): APIC ID: 1
bios32: Found BIOS32 Service Directory header at 0xc00f6820
bios32: Entry = 0xfd490 (c00fd490) Rev = 0 Len = 1
pcibios: PCI BIOS entry at 0xfd490+0x262
pnpbios: Found PnP BIOS data at 0xc00f6890
pnpbios: Entry = f0000:aef9 Rev = 1.0
Other BIOS signatures found:
ioapic0: Assuming intbase of 0
ioapic0: Routing external 8259A's -> intpin 0
ioapic0: Routing IRQ 0 -> intpin 2
lapic: Routing ExtINT -> LINT0
lapic: LINT0 trigger: edge
lapic: LINT0 polarity: high
lapic: Routing NMI -> LINT1
lapic: LINT1 trigger: edge
lapic: LINT1 polarity: high
ioapic0 <Version> irqs 0-23 on motherboard
cpu0 BSP:
ID: 0x00000000 VER: 0x00050014 LDR: 0x00000000 DFR: 0xffffffff
lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000000 SVR: 0x000001ff
timer: 0x000100ef therm: 0x00010000 err: 0x00010000 pcm: 0x00010000
ath_rate: version 1.2 <SampleRate>
wlan_amrr: <AMRR>
wlan: <802>
null: <null>
random: <entropy>
nfslock: pseudo-device
kbd: new array size 4
kbd1 at kbdmux0
io:
mem: <memory>
Pentium Pro MTRR support enabled
ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
hptrr: HPT RocketRAID controller driver v1.1 (Feb 24 2008 19:59:27)
npx0: INT 16 interface
cpu0 on motherboard
est0: <Enhanced> on cpu0
est: CPU supports Enhanced Speedstep, but is not recognized.
est: cpu_vendor GenuineIntel, msr 6130a2c06000a2c
device_attach: est0 attach returned 6
p4tcc0: <CPU> on cpu0
cpu1 on motherboard
est1: <Enhanced> on cpu1
est: CPU supports Enhanced Speedstep, but is not recognized.
est: cpu_vendor GenuineIntel, msr 6130a2c06000a2c
device_attach: est1 attach returned 6
p4tcc1: <CPU> on cpu1
pci_open(1): mode 1 addr port (0x0cf8) is 0x8000fa20
pci_open(1a): mode1res=0x80000000 (0x80000000)
pci_cfgcheck: device 0 [class=060000] [hdr=00] is there (id=27a08086)
pcibios: BIOS version 2.10
pcib0: <MPTable> pcibus 0 on motherboard
pci0: <PCI> on pcib0
pci0: domain=0, physical bus=0
found-> vendor=0x8086, dev=0x27a0, revid=0x03
domain=0, bus=0, slot=0, func=0
class=06-00-00, hdrtype=0x00, mfdev=0
cmdreg=0x0006, statreg=0x2090, cachelnsz=0 (dwords)
lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
found-> vendor=0x8086, dev=0x27a2, revid=0x03
domain=0, bus=0, slot=2, func=0
class=03-00-00, hdrtype=0x00, mfdev=1
cmdreg=0x0007, statreg=0x0090, cachelnsz=0 (dwords)
lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
intpin=a, irq=11
powerspec 2 supports D0 D3 current D0
MSI supports 1 message
map[10]: type Memory, range 32, base 0xd0300000, size 19, enabled
map[14]: type I/O Port, range 32, base 0x1800, size 3, enabled
map[18]: type Prefetchable Memory, range 32, base 0xc0000000, size 28, enabled
map[1c]: type Memory, range 32, base 0xd0400000, size 18, enabled
pcib0: slot 2 INTA routed to irq 16
found-> vendor=0x8086, dev=0x27a6, revid=0x03
domain=0, bus=0, slot=2, func=1
class=03-80-00, hdrtype=0x00, mfdev=1
cmdreg=0x0007, statreg=0x0090, cachelnsz=0 (dwords)
lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
powerspec 2 supports D0 D3 current D0
map[10]: type Memory, range 32, base 0xd0380000, size 19, enabled
found-> vendor=0x8086, dev=0x27d8, revid=0x02
domain=0, bus=0, slot=27, func=0
class=04-03-00, hdrtype=0x00, mfdev=0
cmdreg=0x0006, statreg=0x0010, cachelnsz=16 (dwords)
lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
intpin=a, irq=11
powerspec 2 supports D0 D3 current D0
MSI supports 1 message, 64 bit
map[10]: type Memory, range 64, base 0xd0440000, size 14, enabled
pcib0: slot 27 INTA routed to irq 22
found-> vendor=0x8086, dev=0x27d0, revid=0x02
domain=0, bus=0, slot=28, func=0
class=06-04-00, hdrtype=0x01, mfdev=1
cmdreg=0x0007, statreg=0x0010, cachelnsz=16 (dwords)
lattimer=0x00 (0 ns), mingnt=0x04 (1000 ns), maxlat=0x00 (0 ns)
intpin=a, irq=255
powerspec 2 supports D0 D3 current D0
MSI supports 1 message
found-> vendor=0x8086, dev=0x27d2, revid=0x02
domain=0, bus=0, slot=28, func=1
class=06-04-00, hdrtype=0x01, mfdev=1
cmdreg=0x0007, statreg=0x0010, cachelnsz=16 (dwords)
lattimer=0x00 (0 ns), mingnt=0x04 (1000 ns), maxlat=0x00 (0 ns)
intpin=b, irq=10
powerspec 2 supports D0 D3 current D0
MSI supports 1 message
pcib0: slot 28 INTB routed to irq 17
found-> vendor=0x8086, dev=0x27d4, revid=0x02
domain=0, bus=0, slot=28, func=2
class=06-04-00, hdrtype=0x01, mfdev=1
cmdreg=0x0007, statreg=0x0010, cachelnsz=16 (dwords)
lattimer=0x00 (0 ns), mingnt=0x04 (1000 ns), maxlat=0x00 (0 ns)
intpin=c, irq=255
powerspec 2 supports D0 D3 current D0
MSI supports 1 message
found-> vendor=0x8086, dev=0x27d6, revid=0x02
domain=0, bus=0, slot=28, func=3
class=06-04-00, hdrtype=0x01, mfdev=1
cmdreg=0x0007, statreg=0x0010, cachelnsz=16 (dwords)
lattimer=0x00 (0 ns), mingnt=0x04 (1000 ns), maxlat=0x00 (0 ns)
intpin=d, irq=255
powerspec 2 supports D0 D3 current D0
MSI supports 1 message
found-> vendor=0x8086, dev=0x27c8, revid=0x02
domain=0, bus=0, slot=29, func=0
class=0c-03-00, hdrtype=0x00, mfdev=1
cmdreg=0x0005, statreg=0x0280, cachelnsz=0 (dwords)
lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
intpin=a, irq=11
map[20]: type I/O Port, range 32, base 0x1820, size 5, enabled
pcib0: slot 29 INTA routed to irq 23
found-> vendor=0x8086, dev=0x27c9, revid=0x02
domain=0, bus=0, slot=29, func=1
class=0c-03-00, hdrtype=0x00, mfdev=0
cmdreg=0x0005, statreg=0x0280, cachelnsz=0 (dwords)
lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
intpin=b, irq=10
map[20]: type I/O Port, range 32, base 0x1840, size 5, enabled
pcib0: slot 29 INTB routed to irq 19
found-> vendor=0x8086, dev=0x27ca, revid=0x02
domain=0, bus=0, slot=29, func=2
class=0c-03-00, hdrtype=0x00, mfdev=0
cmdreg=0x0005, statreg=0x0280, cachelnsz=0 (dwords)
lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
intpin=c, irq=10
map[20]: type I/O Port, range 32, base 0x1860, size 5, enabled
pcib0: slot 29 INTC routed to irq 18
found-> vendor=0x8086, dev=0x27cb, revid=0x02
domain=0, bus=0, slot=29, func=3
class=0c-03-00, hdrtype=0x00, mfdev=0
cmdreg=0x0005, statreg=0x0280, cachelnsz=0 (dwords)
lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
intpin=d, irq=11
map[20]: type I/O Port, range 32, base 0x1880, size 5, enabled
pcib0: slot 29 INTD routed to irq 16
found-> vendor=0x8086, dev=0x27cc, revid=0x02
domain=0, bus=0, slot=29, func=7
class=0c-03-20, hdrtype=0x00, mfdev=0
cmdreg=0x0006, statreg=0x0290, cachelnsz=0 (dwords)
lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
intpin=a, irq=11
powerspec 2 supports D0 D3 current D0
map[10]: type Memory, range 32, base 0xd0644000, size 10, enabled
pcib0: slot 29 INTA routed to irq 23
found-> vendor=0x8086, dev=0x2448, revid=0xe2
domain=0, bus=0, slot=30, func=0
class=06-04-01, hdrtype=0x01, mfdev=0
cmdreg=0x0007, statreg=0x0010, cachelnsz=0 (dwords)
lattimer=0x00 (0 ns), mingnt=0x04 (1000 ns), maxlat=0x00 (0 ns)
found-> vendor=0x8086, dev=0x27b9, revid=0x02
domain=0, bus=0, slot=31, func=0
class=06-01-00, hdrtype=0x00, mfdev=1
cmdreg=0x0007, statreg=0x0210, cachelnsz=0 (dwords)
lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
found-> vendor=0x8086, dev=0x27c4, revid=0x02
domain=0, bus=0, slot=31, func=2
class=01-01-80, hdrtype=0x00, mfdev=0
cmdreg=0x0005, statreg=0x02b8, cachelnsz=0 (dwords)
lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
intpin=b, irq=255
powerspec 2 supports D0 D3 current D0
map[20]: type I/O Port, range 32, base 0x18b0, size 4, enabled
found-> vendor=0x8086, dev=0x27da, revid=0x02
domain=0, bus=0, slot=31, func=3
class=0c-05-00, hdrtype=0x00, mfdev=0
cmdreg=0x0001, statreg=0x0280, cachelnsz=0 (dwords)
lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
intpin=b, irq=10
map[20]: type I/O Port, range 32, base 0x18c0, size 5, enabled
pcib0: slot 31 INTB routed to irq 19
vgapci0: <VGA> port 0x1800-0x1807 mem 0xd0300000-0xd037ffff,0xc0000000-0xcfffffff,0xd0400000-0xd043ffff irq 16 at device 2.0 on pci0
agp0: <Intel> on vgapci0
vgapci0: Reserved 0x10000000 bytes for rid 0x18 type 3 at 0xc0000000
vgapci0: Reserved 0x80000 bytes for rid 0x10 type 3 at 0xd0300000
vgapci0: Reserved 0x40000 bytes for rid 0x1c type 3 at 0xd0400000
agp0: detected 7932k stolen memory
agp0: aperture size is 256M
vgapci1: <VGA> mem 0xd0380000-0xd03fffff at device 2.1 on pci0
pci0: <multimedia> at device 27.0 (no driver attached)
pcib1: <PCI> at device 28.0 on pci0
pcib1: domain 0
pcib1: secondary bus 2
pcib1: subordinate bus 2
pcib1: I/O decode 0xf000-0xfff
pcib1: memory decode 0xd0100000-0xd01fffff
pcib1: no prefetched decode
pci2: <PCI> on pcib1
pci2: domain=0, physical bus=2
found-> vendor=0x8086, dev=0x4222, revid=0x02
domain=0, bus=2, slot=0, func=0
class=02-80-00, hdrtype=0x00, mfdev=0
cmdreg=0x0006, statreg=0x0010, cachelnsz=16 (dwords)
lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
intpin=a, irq=255
powerspec 2 supports D0 D3 current D0
MSI supports 1 message, 64 bit
map[10]: type Memory, range 32, base 0xd0100000, size 12, enabled
pcib1: requested memory range 0xd0100000-0xd0100fff: good
pci2: <network> at device 0.0 (no driver attached)
pcib2: <PCI> irq 17 at device 28.1 on pci0
pcib2: domain 0
pcib2: secondary bus 3
pcib2: subordinate bus 3
pcib2: I/O decode 0xf000-0xfff
pcib2: memory decode 0xd0000000-0xd00fffff
pcib2: no prefetched decode
pci3: <PCI> on pcib2
pci3: domain=0, physical bus=3
found-> vendor=0x14e4, dev=0x169d, revid=0x11
domain=0, bus=3, slot=0, func=0
class=02-00-00, hdrtype=0x00, mfdev=0
cmdreg=0x0006, statreg=0x0010, cachelnsz=16 (dwords)
lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
intpin=a, irq=10
powerspec 2 supports D0 D3 current D0
MSI supports 8 messages, 64 bit
map[10]: type Memory, range 64, base 0xd0000000, size 16, enabled
pcib2: requested memory range 0xd0000000-0xd000ffff: good
pcib0: unable to route slot 28 INTA
pci0:3:0:0: bad VPD cksum, remain 14
bge0: <Broadcom> mem 0xd0000000-0xd000ffff irq 10 at device 0.0 on pci3
bge0: Reserved 0x10000 bytes for rid 0x10 type 3 at 0xd0000000
miibus0: <MII> on bge0
brgphy0: <BCM5750> PHY 1 on miibus0
brgphy0: OUI 0x000818, model 0x0018, rev. 0
brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
bge0: bpf attached
bge0: Ethernet address: 00:16:36:70:9a:64
ioapic0: routing intpin 10 (ISA IRQ 10) to vector 48
bge0: [MPSAFE]
bge0: [ITHREAD]
pcib3: <PCI> at device 28.2 on pci0
pcib3: domain 0
pcib3: secondary bus 4
pcib3: subordinate bus 4
pcib3: I/O decode 0xf000-0xfff
pcib3: no prefetched decode
pci4: <PCI> on pcib3
pci4: domain=0, physical bus=4
pcib4: <PCI> at device 28.3 on pci0
pcib4: domain 0
pcib4: secondary bus 5
pcib4: subordinate bus 5
pcib4: I/O decode 0xf000-0xfff
pcib4: no prefetched decode
pci5: <PCI> on pcib4
pci5: domain=0, physical bus=5
uhci0: <UHCI> port 0x1820-0x183f irq 23 at device 29.0 on pci0
uhci0: Reserved 0x20 bytes for rid 0x20 type 4 at 0x1820
ioapic0: routing intpin 23 (PCI IRQ 23) to vector 49
uhci0: [GIANT-LOCKED]
uhci0: [ITHREAD]
usb0: <UHCI> on uhci0
usb0: USB revision 1.0
uhub0: <Intel> on usb0
uhub0: 2 ports with 2 removable, self powered
uhci1: <UHCI> port 0x1840-0x185f irq 19 at device 29.1 on pci0
uhci1: Reserved 0x20 bytes for rid 0x20 type 4 at 0x1840
ioapic0: routing intpin 19 (PCI IRQ 19) to vector 50
uhci1: [GIANT-LOCKED]
uhci1: [ITHREAD]
usb1: <UHCI> on uhci1
usb1: USB revision 1.0
uhub1: <Intel> on usb1
uhub1: 2 ports with 2 removable, self powered
uhci2: <UHCI> port 0x1860-0x187f irq 18 at device 29.2 on pci0
uhci2: Reserved 0x20 bytes for rid 0x20 type 4 at 0x1860
ioapic0: routing intpin 18 (PCI IRQ 1Cool to vector 51
uhci2: [GIANT-LOCKED]
uhci2: [ITHREAD]
usb2: <UHCI> on uhci2
usb2: USB revision 1.0
uhub2: <Intel> on usb2
uhub2: 2 ports with 2 removable, self powered
uhci3: <UHCI> port 0x1880-0x189f irq 16 at device 29.3 on pci0
uhci3: Reserved 0x20 bytes for rid 0x20 type 4 at 0x1880
ioapic0: routing intpin 16 (PCI IRQ 16) to vector 52
uhci3: [GIANT-LOCKED]
uhci3: [ITHREAD]
usb3: <UHCI> on uhci3
usb3: USB revision 1.0
uhub3: <Intel> on usb3
uhub3: 2 ports with 2 removable, self powered
ehci0: <Intel> mem 0xd0644000-0xd06443ff irq 23 at device 29.7 on pci0
ehci0: Reserved 0x400 bytes for rid 0x10 type 3 at 0xd0644000
ehci0: [GIANT-LOCKED]
ehci0: [ITHREAD]
usb4: waiting for BIOS to give up control
usb4: timed out waiting for BIOS
usb4: EHCI version 1.0
usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3
usb4: <Intel> on ehci0
usb4: USB revision 2.0
uhub4: <Intel> on usb4
uhub4: 8 ports with 8 removable, self powered
ugen0: <OEM> on uhub4
pcib5: <MPTable> at device 30.0 on pci0
pcib5: domain 0
pcib5: secondary bus 10
pcib5: subordinate bus 11
pcib5: I/O decode 0xf000-0xfff
pcib5: memory decode 0xd0200000-0xd02fffff
pcib5: no prefetched decode
pcib5: Subtractively decoded bridge.
pci10: <PCI> on pcib5
pci10: domain=0, physical bus=10
found-> vendor=0x104c, dev=0x8039, revid=0x00
domain=0, bus=10, slot=9, func=0
class=06-07-00, hdrtype=0x02, mfdev=1
cmdreg=0x0007, statreg=0x0210, cachelnsz=16 (dwords)
lattimer=0x31 (1470 ns), mingnt=0x44 (17000 ns), maxlat=0x03 (750 ns)
intpin=a, irq=10
powerspec 2 supports D0 D1 D2 D3 current D0
map[10]: type Memory, range 32, base 0xd0204000, size 12, enabled
pcib5: requested memory range 0xd0204000-0xd0204fff: good
pcib5: slot 9 INTA routed to irq 20
found-> vendor=0x104c, dev=0x803a, revid=0x00
domain=0, bus=10, slot=9, func=1
class=0c-00-10, hdrtype=0x00, mfdev=1
cmdreg=0x0016, statreg=0x0210, cachelnsz=16 (dwords)
lattimer=0x20 (960 ns), mingnt=0x03 (750 ns), maxlat=0x04 (1000 ns)
intpin=a, irq=10
powerspec 2 supports D0 D1 D2 D3 current D0
map[10]: type Memory, range 32, base 0xd0206000, size 11, enabled
pcib5: requested memory range 0xd0206000-0xd02067ff: good
map[14]: type Memory, range 32, base 0xd0200000, size 14, enabled
pcib5: requested memory range 0xd0200000-0xd0203fff: good
pcib5: slot 9 INTA routed to irq 20
found-> vendor=0x104c, dev=0x803b, revid=0x00
domain=0, bus=10, slot=9, func=2
class=01-80-00, hdrtype=0x00, mfdev=1
cmdreg=0x0006, statreg=0x0210, cachelnsz=16 (dwords)
lattimer=0x39 (1710 ns), mingnt=0x07 (1750 ns), maxlat=0x04 (1000 ns)
intpin=a, irq=10
powerspec 2 supports D0 D1 D2 D3 current D0
map[10]: type Memory, range 32, base 0xd0205000, size 12, enabled
pcib5: requested memory range 0xd0205000-0xd0205fff: good
pcib5: slot 9 INTA routed to irq 20
cbb0: <PCI> mem 0xd0204000-0xd0204fff irq 20 at device 9.0 on pci10
cbb0: Reserved 0x1000 bytes for rid 0x10 type 3 at 0xd0204000
cardbus0: <CardBus> on cbb0
pccard0: <16> on cbb0
ioapic0: routing intpin 20 (PCI IRQ 20) to vector 53
cbb0: [MPSAFE]
cbb0: [ITHREAD]
cbb0: PCI Configuration space:
0x00: 0x8039104c 0x02100007 0x06070000 0x00823110
0x10: 0xd0204000 0x020000a0 0x200b0b0a 0xfffff000
0x20: 0x00000000 0xfffff000 0x00000000 0xfffffffc
0x30: 0x00000000 0xfffffffc 0x00000000 0x07440114
0x40: 0x00981025 0x00000001 0x00000000 0x00000000
0x50: 0x00000000 0x00000000 0x00000000 0x00000000
0x60: 0x00000000 0x00000000 0x00000000 0x00000000
0x70: 0x00000000 0x00000000 0x00000000 0x00000000
0x80: 0x3844d060 0x02d00019 0x001f0000 0x01321b22
0x90: 0x606602c0 0x00000000 0x00000000 0x00000000
0xa0: 0xfe120001 0x00c00000 0x00000000 0x00000000
0xb0: 0x08000000 0x00000000 0x00000000 0x00000000
0xc0: 0x00000000 0x00000000 0x00000000 0x00000000
0xd0: 0x00000000 0x00000000 0x00000000 0x00000000
0xe0: 0x00000000 0x00000000 0x00000000 0x00000000
0xf0: 0x8841182c 0x35001501 0x00000000 0x00000000
fwohci0: vendor=104c, dev=803a
fwohci0: vendor=104c, dev=803a
fwohci0: <1394> mem 0xd0206000-0xd02067ff,0xd0200000-0xd0203fff irq 20 at device 9.1 on pci10
fwohci0: Reserved 0x800 bytes for rid 0x10 type 3 at 0xd0206000
fwohci0: [MPSAFE]
fwohci0: [FILTER]
fwohci0: OHCI version 1.10 (ROM=1)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 00:c0:9f:00:00:ab:91:0a
fwohci0: Phy 1394a available S400, 3 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0: <IEEE1394> on fwohci0
dcons_crom0: <dcons> on firewire0
dcons_crom0: bus_addr 0x1384000
fwe0: <Ethernet> on firewire0
if_fwe0: Fake Ethernet address: 02:c0:9f:ab:91:0a
fwe0: bpf attached
fwe0: Ethernet address: 02:c0:9f:ab:91:0a
fwip0: <IP> on firewire0
fwip0: bpf attached
fwip0: Firewire address: 00:c0:9f:00:00:ab:91:0a @ 0xfffe00000000, S400, maxrec 2048
sbp0: <SBP> on firewire0
fwohci0: Initiate bus reset
fwohci0: BUS reset
fwohci0: node_id=0xc000ffc0, gen=1, CYCLEMASTER mode
pci10: <mass> at device 9.2 (no driver attached)
isab0: <PCI> at device 31.0 on pci0
isa0: <ISA> on isab0
atapci0: <Intel> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x18b0-0x18bf at device 31.2 on pci0
atapci0: Reserved 0x10 bytes for rid 0x20 type 4 at 0x18b0
ata0: <ATA> on atapci0
atapci0: Reserved 0x8 bytes for rid 0x10 type 4 at 0x1f0
atapci0: Reserved 0x1 bytes for rid 0x14 type 4 at 0x3f6
ata0: reset tp1 mask=03 ostat0=50 ostat1=00
ata0: stat0=0x50 err=0x01 lsb=0x00 msb=0x00
ata0: stat1=0x00 err=0x01 lsb=0x00 msb=0x00
ata0: reset tp2 stat0=50 stat1=00 devices=0x1<ATA_MASTER>
ioapic0: routing intpin 14 (ISA IRQ 14) to vector 54
ata0: [MPSAFE]
ata0: [ITHREAD]
ata1: <ATA> on atapci0
atapci0: Reserved 0x8 bytes for rid 0x18 type 4 at 0x170
atapci0: Reserved 0x1 bytes for rid 0x1c type 4 at 0x376
ata1: reset tp1 mask=03 ostat0=01 ostat1=00
ata1: stat0=0x0f err=0x0f lsb=0x0f msb=0x0f
ata1: stat0=0x70 err=0x70 lsb=0x70 msb=0x70
ata1: stat1=0x0f err=0x0f lsb=0x0f msb=0x0f
ata1: stat1=0x77 err=0x77 lsb=0x77 msb=0x77
ata1: stat1=0x70 err=0x70 lsb=0x70 msb=0x70
ata1: reset tp2 stat0=70 stat1=70 devices=0x0
ioapic0: routing intpin 15 (ISA IRQ 15) to vector 55
ata1: [MPSAFE]
ata1: [ITHREAD]
pci0: <serial> at device 31.3 (no driver attached)
unknown: status reg test failed ff
unknown: status reg test failed ff
unknown: status reg test failed ff
unknown: status reg test failed ff
unknown: status reg test failed ff
unknown: status reg test failed ff
ex_isa_identify()
ata: ata0 already exists; skipping it
ata: ata1 already exists; skipping it
pnp_identify: Trying Read_Port at 203
pnp_identify: Trying Read_Port at 243
pnp_identify: Trying Read_Port at 283
pnp_identify: Trying Read_Port at 2c3
pnp_identify: Trying Read_Port at 303
pnp_identify: Trying Read_Port at 343
pnp_identify: Trying Read_Port at 383
pnp_identify: Trying Read_Port at 3c3
PNP Identify complete
pnpbios: 25 devices, largest 290 bytes
PNP0c02: adding io range 0x10-0x1f, size=0x10, align=0x1
PNP0c02: adding io range 0x24-0x25, size=0x2, align=0x1
PNP0c02: adding io range 0x28-0x29, size=0x2, align=0x1
PNP0c02: adding io range 0x2c-0x2d, size=0x2, align=0x1
PNP0c02: adding io range 0x30-0x31, size=0x2, align=0x1
PNP0c02: adding io range 0x34-0x35, size=0x2, align=0x1
PNP0c02: adding io range 0x38-0x39, size=0x2, align=0x1
PNP0c02: adding io range 0x3c-0x3d, size=0x2, align=0x1
PNP0c02: adding io range 0x50-0x53, size=0x4, align=0x1
PNP0c02: adding io range 0x62-0x62, size=0x1, align=0x1
PNP0c02: adding io range 0x66-0x66, size=0x1, align=0x1
PNP0c02: adding io range 0x72-0x73, size=0x2, align=0x1
PNP0c02: adding io range 0x74-0x75, size=0x2, align=0x1
PNP0c02: adding io range 0x76-0x77, size=0x2, align=0x1
PNP0c02: adding io range 0x80-0x80, size=0x1, align=0x1
PNP0c02: adding io range 0x90-0x91, size=0x2, align=0x1
PNP0c02: adding io range 0x92-0x92, size=0x1, align=0x1
PNP0c02: adding io range 0x93-0x9f, size=0xd, align=0x1
PNP0c02: adding io range 0xa4-0xa5, size=0x2, align=0x1
PNP0c02: adding io range 0xa8-0xa9, size=0x2, align=0x1
PNP0c02: adding io range 0xac-0xad, size=0x2, align=0x1
PNP0c02: adding io range 0xb0-0xb1, size=0x2, align=0x1
PNP0c02: adding io range 0xb2-0xb3, size=0x2, align=0x1
PNP0c02: adding io range 0xb4-0xb5, size=0x2, align=0x1
PNP0c02: adding io range 0xb8-0xb9, size=0x2, align=0x1
PNP0c02: adding io range 0xbc-0xbd, size=0x2, align=0x1
PNP0c02: adding io range 0x680-0x6ff, size=0x80, align=0x1
PNP0c02: adding io range 0x1640-0x164f, size=0x10, align=0x1
PNP0c02: adding fixed memory32 range 0xe0000000-0xefffffff, size=0x10000000
PNP0c02: adding fixed memory32 range 0xfed14000-0xfed17fff, size=0x4000
PNP0c02: adding fixed memory32 range 0xfed18000-0xfed18fff, size=0x1000
PNP0c02: adding fixed memory32 range 0xfed19000-0xfed19fff, size=0x1000
pnpbios: handle 0 device ID PNP0c02 (020cd041)
PNP0c01: adding fixed memory32 range 0xe4000-0xfffff, size=0x1c000
PNP0c01: adding fixed memory32 range 0x100000-0x5f6fffff, size=0x5f600000
pnpbios: handle 1 device ID PNP0c01 (010cd041)
PNP0200: adding io range 0-0xf, size=0x10, align=0x1
PNP0200: adding io range 0x81-0x8f, size=0xf, align=0x1
PNP0200: adding io range 0xc0-0xdf, size=0x20, align=0x1
PNP0200: adding dma mask 0x10
pnpbios: handle 2 device ID PNP0200 (0002d041)
PNP0100: adding io range 0x40-0x43, size=0x4, align=0x1
PNP0100: adding irq mask 0x1
pnpbios: handle 4 device ID PNP0100 (0001d041)
PNP0b00: adding io range 0x70-0x71, size=0x2, align=0x1
PNP0b00: adding irq mask 0x100
pnpbios: handle 5 device ID PNP0b00 (000bd041)
PNP0303: adding io range 0x60-0x60, size=0x1, align=0x1
PNP0303: adding io range 0x64-0x64, size=0x1, align=0x1
PNP0303: adding irq mask 0x2
pnpbios: handle 6 device ID PNP0303 (0303d041)
PNP0c04: adding io range 0xf0-0xff, size=0x10, align=0x1
PNP0c04: adding irq mask 0x2000
pnpbios: handle 7 device ID PNP0c04 (040cd041)
PNP0800: adding io range 0x61-0x61, size=0x1, align=0x1
pnpbios: handle 8 device ID PNP0800 (0008d041)
PNP0c02: adding memory32 range 0xe0000-0xe1bff, size=0x1c00, align=0x1c00
pnpbios: handle 9 device ID PNP0c02 (020cd041)
PNP0c02: adding fixed memory32 range 0xfee00000-0xfee00fff, size=0x1000
pnpbios: handle 10 device ID PNP0c02 (020cd041)
PNP0c02: adding io range 0xfe00-0xfe01, size=0x2, align=0x1
pnpbios: handle 11 device ID PNP0c02 (020cd041)
PNP0c02: adding fixed memory32 range 0xfec00000-0xfec0ffff, size=0x10000
pnpbios: handle 12 device ID PNP0c02 (020cd041)
PNP0c02: adding fixed memory32 range 0xfec10000-0xfec17fff, size=0x8000
pnpbios: handle 13 device ID PNP0c02 (020cd041)
PNP0c02: adding fixed memory32 range 0xfec18000-0xfec1ffff, size=0x8000
pnpbios: handle 14 device ID PNP0c02 (020cd041)
PNP0c02: adding fixed memory32 range 0xfec20000-0xfec27fff, size=0x8000
pnpbios: handle 15 device ID PNP0c02 (020cd041)
PNP0c02: adding fixed memory32 range 0xfec28000-0xfec2ffff, size=0x8000
pnpbios: handle 16 device ID PNP0c02 (020cd041)
PNP0c02: adding fixed memory32 range 0xfec30000-0xfec37fff, size=0x8000
pnpbios: handle 17 device ID PNP0c02 (020cd041)
PNP0c02: adding fixed memory32 range 0xfec38000-0xfec3ffff, size=0x8000
pnpbios: handle 18 device ID PNP0c02 (020cd041)
PNP0c02: adding memory32 range 0xdf800-0xdffff, size=0x800, align=0x800
pnpbios: handle 19 device ID PNP0c02 (020cd041)
PNP0a03: adding io range 0xcf8-0xcff, size=0x8, align=0x1
pnpbios: handle 20 device ID PNP0a03 (030ad041)
PNP0c02: adding fixed memory32 range 0xce600-0xcffff, size=0x1a00
pnpbios: handle 21 device ID PNP0c02 (020cd041)
PNP0c02: adding io range 0x4d0-0x4d1, size=0x2, align=0x1
PNP0c02: adding io range 0x1000-0x105f, size=0x60, align=0x1
PNP0c02: adding io range 0x1060-0x107f, size=0x20, align=0x1
PNP0c02: adding io range 0x1180-0x11bf, size=0x40, align=0x1
PNP0c02: adding fixed memory32 range 0xfed00000-0xfed033ff, size=0x3400
PNP0c02: adding fixed memory32 range 0xfed20000-0xfed3ffff, size=0x20000
PNP0c02: adding fixed memory32 range 0xfed45000-0xfed8ffff, size=0x4b000
PNP0c02: adding fixed memory32 range 0xfef00000-0xfeffffff, size=0x100000
PNP0c02: adding fixed memory32 range 0xfed1c000-0xfed1ffff, size=0x4000
pnpbios: handle 22 device ID PNP0c02 (020cd041)
INT0800: adding fixed memory32 range 0xff000000-0xffffffff, size=0x1000000
pnpbios: handle 23 device ID INT0800 (0008d425)
PNP0f13: adding irq mask 0x1000
pnpbios: handle 24 device ID PNP0f13 (130fd041)
sc: sc0 already exists; skipping it
vga: vga0 already exists; skipping it
isa_probe_children: disabling PnP devices
isa_probe_children: probing non-PnP devices
pmtimer0 on isa0
orm0: <ISA> at iomem 0xdf800-0xdffff pnpid ORM0000 on isa0
adv0: not probed (disabled)
aha0: not probed (disabled)
aic0: not probed (disabled)
atkbdc0: <Keyboard> at port 0x60,0x64 on isa0
atkbd0: <AT> irq 1 on atkbdc0
atkbd: the current kbd controller command byte 0047
atkbd: keyboard ID 0x41ab (2)
kbd0 at atkbd0
kbd0: atkbd0, AT 101/102 (2), config:0x0, flags:0x3d0000
ioapic0: routing intpin 1 (ISA IRQ 1) to vector 56
atkbd0: [GIANT-LOCKED]
atkbd0: [ITHREAD]
psm0: current command byte:0047
psm0: <PS> irq 12 on atkbdc0
ioapic0: routing intpin 12 (ISA IRQ 12) to vector 57
psm0: [GIANT-LOCKED]
psm0: [ITHREAD]
psm0: model Generic PS/2 mouse, device ID 0-00, 2 buttons
psm0: config:00000000, flags:00000008, packet size:3
psm0: syncmask:c0, syncbits:00
bt0: not probed (disabled)
cs0: not probed (disabled)
ed0: not probed (disabled)
fdc0 failed to probe at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fe0: not probed (disabled)
ie0: not probed (disabled)
le0: not probed (disabled)
ppc0: parallel port not found.
ppc0: <Parallel> failed to probe at irq 7 on isa0
sc0: <System> at flags 0x100 on isa0
sc0: VGA <16>
sc0: fb0, kbd1, terminal emulator: sc (syscons terminal)
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0: irq maps: 0x1 0x1 0x1 0x1
sio0: probe failed test(s): 0 1 2 4 6 7 9
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0: irq maps: 0x1 0x1 0x1 0x1
sio0: probe failed test(s): 0 1 2 4 6 7 9
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 8250 or not responding
ioapic0: routing intpin 4 (ISA IRQ 4) to vector 58
sio0: [FILTER]
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
sio1: irq maps: 0x1 0x1 0x1 0x1
sio1: probe failed test(s): 0 1 2 4 6 7 9
sio1 failed to probe at port 0x2f8-0x2ff irq 3 on isa0
sio2: not probed (disabled)
sio3: not probed (disabled)
sn0: not probed (disabled)
vga0: <Generic> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
vt0: not probed (disabled)
isa_probe_children: probing PnP devices
unknown: <PNP0c01> can't assign resources (memory)
unknown: <PNP0c01> at iomem 0xe4000-0xfffff,0x100000-0x5f6fffff pnpid PNP0c01 on isa0
unknown: <PNP0303> can't assign resources (port)
unknown: <PNP0303> at port 0x60 pnpid PNP0303 on isa0
unknown: <PNP0800> failed to probe at port 0x61 pnpid PNP0800 on isa0
unknown: <PNP0c02> can't assign resources (memory)
unknown: <PNP0c02> at iomem 0xfee00000-0xfee00fff pnpid PNP0c02 on isa0
unknown: <PNP0c02> can't assign resources (memory)
unknown: <PNP0c02> at iomem 0xfec00000-0xfec0ffff pnpid PNP0c02 on isa0
unknown: <PNP0c02> can't assign resources (memory)
unknown: <PNP0c02> at iomem 0xdf800-0xdffff pnpid PNP0c02 on isa0
unknown: <INT0800> can't assign resources (memory)
unknown: <INT0800> pnpid INT0800 on isa0
unknown: <PNP0f13> can't assign resources (irq)
unknown: <PNP0f13> at irq 12 pnpid PNP0f13 on isa0
Device configuration finished.
Reducing kern.maxvnodes 101321 -> 100000
procfs registered
lapic: Divisor 2, Frequency 83339659 hz
Timecounter "TSC" frequency 1666792880 Hz quality -100
Timecounters tick every 1.000 msec
lo0: bpf attached
hptrr: no controller detected.
firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
firewire0: bus manager 0 (me)
ata0-master: pio=PIO4 wdma=WDMA2 udma=UDMA100 cable=40 wire
ad0: 76319MB <TOSHIBA> at ata0-master SATA150
ad0: 156301488 sectors [155061C/16H/63S] 16 sectors/interrupt 1 depth queue
GEOM: new disk ad0
ad0: Intel check1 failed
ad0: Adaptec check1 failed
ad0: LSI (v3) check1 failed
ad0: LSI (v2) check1 failed
ad0: FreeBSD check1 failed
GEOM_LABEL: Label for provider ad0s1 is ntfs/system.
GEOM_LABEL: Label for provider ad0s3 is msdosfs/DISK1_VOL2.
GEOM_LABEL: Label for provider ad0s5 is ntfs/SOFTWARE.
(probe0:sbp0:0:0:0): error 22
(probe0:sbp0:0:0:0): Unretryable Error
(probe1:sbp0:0:1:0): error 22
(probe1:sbp0:0:1:0): Unretryable Error
(probe2:sbp0:0:2:0): error 22
(probe2:sbp0:0:2:0): Unretryable Error
(probe3:sbp0:0:3:0): error 22
(probe3:sbp0:0:3:0): Unretryable Error
(probe4:sbp0:0:4:0): error 22
(probe4:sbp0:0:4:0): Unretryable Error
(probe5:sbp0:0:5:0): error 22
(probe5:sbp0:0:5:0): Unretryable Error
(probe6:sbp0:0:6:0): error 22
(probe6:sbp0:0:6:0): Unretryable Error
ATA PseudoRAID loaded
SMP: AP CPU #1 Launched!
cpu1 AP:
ID: 0x01000000 VER: 0x00050014 LDR: 0x00000000 DFR: 0xffffffff
lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000000 SVR: 0x000001ff
timer: 0x000200ef therm: 0x00010000 err: 0x00010000 pcm: 0x00010000
ioapic0: Assigning ISA IRQ 1 to local APIC 0
ioapic0: Assigning ISA IRQ 4 to local APIC 1
ioapic0: Assigning ISA IRQ 10 to local APIC 0
ioapic0: Assigning ISA IRQ 12 to local APIC 1
ioapic0: Assigning ISA IRQ 14 to local APIC 0
ioapic0: Assigning ISA IRQ 15 to local APIC 1
ioapic0: Assigning PCI IRQ 16 to local APIC 0
ioapic0: Assigning PCI IRQ 18 to local APIC 1
ioapic0: Assigning PCI IRQ 19 to local APIC 0
ioapic0: Assigning PCI IRQ 20 to local APIC 1
ioapic0: Assigning PCI IRQ 23 to local APIC 0
Trying to mount root from ufs:/dev/ad0s4a
start_init: trying /sbin/init
Loading configuration files.
kernel dumps on /dev/ad0s4b
Entropy harvesting:
interrupts
ethernet
point_to_point
kickstart
.
swapon: adding /dev/ad0s4b as swap device
Starting file system checks:
/dev/ad0s4a: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/ad0s4a: clean, 187682 free (3170 frags, 23064 blocks, 1.2% fragmentation)
/dev/ad0s4e: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/ad0s4e: clean, 253807 free (39 frags, 31721 blocks, 0.0% fragmentation)
/dev/ad0s4f: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/ad0s4f: clean, 5085648 free (24584 frags, 632633 blocks, 0.4% fragmentation)
/dev/ad0s4d: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/ad0s4d: clean, 1221986 free (2210 frags, 152472 blocks, 0.2% fragmentation)
Setting hostuuid: 20fe9726-a495-d811-ba29-001636709a64.
Setting hostid: 0xfcacceda.
Mounting local file systems:
.
/etc/rc: WARNING: $hostname is not set -- see rc.conf(5).
net.inet6.ip6.auto_linklocal:
1
->
0

lo0: flags=8049<UP> metric 0 mtu 16384
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
inet6 ::1 prefixlen 128
inet 127.0.0.1 netmask 0xff000000
Additional routing options:
.
Starting devd.
Additional IP options:
.
Mounting NFS file systems:
.
ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/local/lib /usr/local/lib/evolution/2.12 /usr/local/lib/nss /usr/local/lib/pth
a.out ldconfig path: /usr/lib/aout /usr/lib/compat/aout
Clearing /tmp (X related).
Creating and/or trimming log files:
.
Starting syslogd.
Checking for core dump on /dev/ad0s4b...
savecore: no dumps found
Initial i386 initialization:
.
Additional ABI support:
linux
Linux ELF exec handler installed
.
Starting local daemons:
.
Updating motd
.
Mounting late file systems:
.
Starting gdm.
Configuring syscons:
keymap
blanktime
.
Starting sshd.
Starting cron.
Local package initialization:
.
Starting background file system checks in 60 seconds.

Mon Apr 20 21:47:52 UTC 2009
drm0: <Intel> on vgapci0
info: [drm] AGP at 0xc0000000 256MB
info: [drm] Initialized i915 1.5.0 20060119
drm0: [MPSAFE]
drm0: [ITHREAD]
Apr 20 21:48:33 su: kernel to root on /dev/ttyp0
Apr 20 21:48:46 su: BAD SU kernel to root on /dev/ttyp1
Apr 20 21:48:48 su: kernel to root on /dev/ttyp1
pci0: driver added
found-> vendor=0x8086, dev=0x27d8, revid=0x02
domain=0, bus=0, slot=27, func=0
class=04-03-00, hdrtype=0x00, mfdev=0
cmdreg=0x0006, statreg=0x0010, cachelnsz=16 (dwords)
lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
intpin=a, irq=22
powerspec 2 supports D0 D3 current D0
MSI supports 1 message, 64 bit
pci0:0:27:0: reprobing on driver added
found-> vendor=0x8086, dev=0x27da, revid=0x02
domain=0, bus=0, slot=31, func=3
class=0c-05-00, hdrtype=0x00, mfdev=0
cmdreg=0x0001, statreg=0x0280, cachelnsz=0 (dwords)
lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
intpin=b, irq=19
pci0:0:31:3: reprobing on driver added
pci2: driver added
found-> vendor=0x8086, dev=0x4222, revid=0x02
domain=0, bus=2, slot=0, func=0
class=02-80-00, hdrtype=0x00, mfdev=0
cmdreg=0x0006, statreg=0x0010, cachelnsz=16 (dwords)
lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
intpin=a, irq=255
powerspec 2 supports D0 D3 current D0
MSI supports 1 message, 64 bit
pci0:2:0:0: reprobing on driver added
[color=red]wpi0: <Intel> mem 0xd0100000-0xd0100fff at device 0.0 on pci2
wpi0: Driver Revision 20071127
wpi0: Reserved 0x1000 bytes for rid 0x10 type 3 at 0xd0100000
pcib0: unable to route slot 28 INTA
wpi0: could not allocate interru
pt resource[/color]
device_attach: wpi0 attach returned 6

[color=brown]wpi0 是不是少了个irq 什么的。[/color]

pci3: driver added
pci4: driver added
pci5: driver added
pci10: driver added
found-> vendor=0x104c, dev=0x803b, revid=0x00
domain=0, bus=10, slot=9, func=2
class=01-80-00, hdrtype=0x00, mfdev=1
cmdreg=0x0006, statreg=0x0210, cachelnsz=16 (dwords)
lattimer=0x39 (1710 ns), mingnt=0x07 (1750 ns), maxlat=0x04 (1000 ns)
intpin=a, irq=20
powerspec 2 supports D0 D1 D2 D3 current D0
pci0:10:9:2: reprobing on driver added
firmware: 'wpifw' version 2144: 149652 bytes loaded at 0xc5353000
返回页首
阅览会员资料 发送站内信件
kernel288
半仙


注册时间: 2009-04-10
文章: 4

文章发表于: Tue 2009-04-21 15:06:57    发表主题: 引用并回复

有人搞得定不。


呵呵
返回页首
阅览会员资料 发送站内信件
从以前的文章开始显示:   
发表新文章   回复文章    FreeBSD China -> 设备驱动 论坛时间为 北京时间
1页/共1

 
转跳到:  
不能发布新主题
不能在这个论坛回复主题
不能在这个论坛编辑自己的文章
不能在这个论坛删除自己的文章
不能在这个论坛发表投票


Powered by phpBB 2023cc © 2003 Opensource Steps; © 2003-2009 The FreeBSD Simplified Chinese Project
Powered by phpBB © 2001, 2005 phpBB Group
Protected by Project Honey Pot and phpBB.cc
silvery-trainer
The FreeBSD China Project 网站: 中文计划网站 社区网站
The FreeBSD China Project 版权所有 (C) 1999 - 2003 网页设计版权 著作权和商标