* Re: [PATCH 3/3] skb: Add inline helper for getting the skb end offset from head
From: Eric Dumazet @ 2012-05-05 5:39 UTC (permalink / raw)
To: Alexander Duyck; +Cc: netdev, davem, jeffrey.t.kirsher
In-Reply-To: <20120505002656.21292.89799.stgit@gitlad.jf.intel.com>
On Fri, 2012-05-04 at 17:26 -0700, Alexander Duyck wrote:
> With the recent changes for how we compute the skb truesize it occurs to me
> we are probably going to have a lot of calls to skb_end_pointer -
> skb->head. Instead of running all over the place doing that it would make
> more sense to just make it a separate inline skb_end_offset(skb) that way
> we can return the correct value without having gcc having to do all the
> optimization to cancel out skb->head - skb->head.
>
> Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
> ---
>
> drivers/atm/ambassador.c | 2 +-
> drivers/atm/idt77252.c | 2 +-
> drivers/net/wimax/i2400m/usb-rx.c | 2 +-
> drivers/staging/octeon/ethernet-tx.c | 2 +-
> include/linux/skbuff.h | 12 +++++++++++-
> net/core/skbuff.c | 12 ++++++------
> 6 files changed, 21 insertions(+), 11 deletions(-)
Acked-by: Eric Dumazet <edumazet@google.com>
^ permalink raw reply
* Re: [PATCH 0/3] First pass of cleanups for pskb_expand_head
From: Eric Dumazet @ 2012-05-05 5:44 UTC (permalink / raw)
To: Alexander Duyck; +Cc: netdev, davem, jeffrey.t.kirsher
In-Reply-To: <20120505001059.21292.31647.stgit@gitlad.jf.intel.com>
On Fri, 2012-05-04 at 17:26 -0700, Alexander Duyck wrote:
> pull the actual value.
>
> There are a few more items that I will try to get to next week. The big one
> is the fact that pskb_expand_head can mess up the truesize since it can
> allocate a new head but never updates the truesize. I plan on adding a helper
> function for the cases where we are just using it unshare the head so I can
> identify the places where we are actually modifying the size.
In the old days, truesize adjustements were done after
pskb_expand_head() calls. (Mabye because some contexts didnt care of
truesize for ephemeral skbs, not charged to a socket)
So it will be a nice cleanup for sure.
^ permalink raw reply
* Re: [PATCH 0/3] First pass of cleanups for pskb_expand_head
From: Alexander Duyck @ 2012-05-05 6:51 UTC (permalink / raw)
To: Eric Dumazet; +Cc: Alexander Duyck, netdev, davem, jeffrey.t.kirsher
In-Reply-To: <1336196671.3752.490.camel@edumazet-glaptop>
On 5/4/2012 10:44 PM, Eric Dumazet wrote:
> On Fri, 2012-05-04 at 17:26 -0700, Alexander Duyck wrote:
>> pull the actual value.
>>
>> There are a few more items that I will try to get to next week. The big one
>> is the fact that pskb_expand_head can mess up the truesize since it can
>> allocate a new head but never updates the truesize. I plan on adding a helper
>> function for the cases where we are just using it unshare the head so I can
>> identify the places where we are actually modifying the size.
> In the old days, truesize adjustements were done after
> pskb_expand_head() calls. (Mabye because some contexts didnt care of
> truesize for ephemeral skbs, not charged to a socket)
>
> So it will be a nice cleanup for sure.
I suspect the reason for no truesize adjustment is because this function
gets called in the transmit path, and we probably should be adjusting
truesize while there is still a desctructor in place that will turn
around and subtract the truesize from the socket memory. I'm still
thinking about what would be the best solution to that, but in the
meantime I figure I can at least add a helper function to handle all the
pskb_expand_head(skb, 0, 0, GFP_ATOMIC) cases and just replace them with
something like skb_unshare_head(skb). That way I will have a better
idea of the few cases where we might actually impact truesize.
^ permalink raw reply
* Re: [net-next 2/8] e1000e: initial support for i217
From: Bjørn Mork @ 2012-05-05 8:01 UTC (permalink / raw)
To: Jeff Kirsher; +Cc: davem, Bruce Allan, netdev, gospo, sassmann
In-Reply-To: <1336127716-20383-3-git-send-email-jeffrey.t.kirsher@intel.com>
Jeff Kirsher <jeffrey.t.kirsher@intel.com> writes:
> diff --git a/drivers/net/ethernet/intel/e1000e/defines.h b/drivers/net/ethernet/intel/e1000e/defines.h
> index 3a50259..11c4666 100644
> --- a/drivers/net/ethernet/intel/e1000e/defines.h
> +++ b/drivers/net/ethernet/intel/e1000e/defines.h
> @@ -74,7 +74,9 @@
> #define E1000_WUS_BC E1000_WUFC_BC
>
> /* Extended Device Control */
> +#define E1000_CTRL_EXT_LPCD 0x00000004 /* LCD Power Cycle Done */
> #define E1000_CTRL_EXT_SDP3_DATA 0x00000080 /* Value of SW Definable Pin 3 */
> +#define E1000_CTRL_EXT_FORCE_SMBUS 0x00000004 /* Force SMBus mode*/
> #define E1000_CTRL_EXT_EE_RST 0x00002000 /* Reinitialize from EEPROM */
> #define E1000_CTRL_EXT_SPD_BYPS 0x00008000 /* Speed Select Bypass */
> #define E1000_CTRL_EXT_RO_DIS 0x00020000 /* Relaxed Ordering disable */
The mangled sorting and alignment of the new entries made me wonder if
this was a typo. But reading further below it looks like
E1000_CTRL_EXT_LPCD is input and E1000_CTRL_EXT_FORCE_SMBUS is output.
If that is correct, then it probably deserves a small comment here along
with better sorting and alignment to make it clear that the duplicate
value is intentional?
Bjørn
^ permalink raw reply
* Re: [PATCH 01/13 v4] usb/net: rndis: inline the cpu_to_le32() macro
From: Linus Walleij @ 2012-05-05 9:01 UTC (permalink / raw)
To: Jussi Kivilinna
Cc: netdev-u79uwXL29TY76Z2rM5mHXA, linux-usb-u79uwXL29TY76Z2rM5mHXA,
Greg Kroah-Hartman, David S. Miller, Felipe Balbi, Haiyang Zhang,
Wei Yongjun, Ben Hutchings
In-Reply-To: <20120502182938.15804ij32yd8jsis-tzMWlZeEOor1KXRcyAk9cg@public.gmane.org>
On Wed, May 2, 2012 at 5:29 PM, Jussi Kivilinna
<jussi.kivilinna-E01nCVcF24I@public.gmane.org> wrote:
> Quoting Linus Walleij <linus.walleij-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>:
>
>> The header file <linux/usb/rndis_host.h> used a number of #defines
>> that included the cpu_to_le32() macro to assure the result will be
>> in LE endianness. Inlining this into the code instead of using it
>> in the code definitions yields consolidation opportunities later
>> on as you will see in the following patches. The individual
>> drivers also used local defines - all are switched over to the
>> pattern of doing the conversion at the call sites instead.
>>
>
> After this patch, endianness checks with sparse output:
(...)
> Patch fixing this attached.
Thanks! Folded this into patch 1 and added your Signed-off-by.
> Patch-set to clean-up ugliness caused by this patch at:
> http://koti.mbnet.fi/axh/kernel/rndis_wlan/
This seems like a good middle-ground as compared to the
other suggestion to force all defines to be cpu_to_le32().
Do you want me to rebase this on top of my series (there was
a number of conflicts later in the series) and carry it as part
of this patch set?
Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply
* Re: [PATCH 00/13 v4] usb/net: rndis: first step toward consolidation
From: Linus Walleij @ 2012-05-05 9:02 UTC (permalink / raw)
To: David Miller
Cc: netdev-u79uwXL29TY76Z2rM5mHXA, linux-usb-u79uwXL29TY76Z2rM5mHXA,
gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r, balbi-l0cyMroinI0,
jussi.kivilinna-E01nCVcF24I, haiyangz-0li6OtcxBFHby3iVrkZq2A,
yongjun_wei-zrsr2BFq86L20UzCJQGyNP8+0UxHXcjY,
ben-/+tVBieCtBitmTQ+vhA3Yw
In-Reply-To: <20120502.202020.1507739621351234969.davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org>
On Thu, May 3, 2012 at 2:20 AM, David Miller <davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org> wrote:
> From: "Linus Walleij" <linus.walleij-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
> Date: Tue, 1 May 2012 20:22:09 +0200
>
>> The REAL v4 patch set... forget v3 :-(
>
> You'll definitely need to submit at least a v5, especially
> after all of the endian bugs that have been spotted.
Yep Jussi is helping me to hash this out...
Thanks,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply
* Re: IP_MULTICAST_IF getsockopt man part
From: Michael Kerrisk (man-pages) @ 2012-05-05 11:57 UTC (permalink / raw)
To: Jiri Pirko; +Cc: linux-man, netdev
In-Reply-To: <20120504090013.GA2362@minipsycho>
On Fri, May 4, 2012 at 9:00 PM, Jiri Pirko <jpirko@redhat.com> wrote:
> Hi.
>
> <quote>
> IP_MULTICAST_IF (since Linux 1.2)
> Set the local device for a multicast socket.
> Argument is an ip_mreqn or ip_mreq structure
> similar to IP_ADD_MEMBERSHIP.
> </quote>
>
> That is not true. Setsockopt recognizes only ip_mreqn and in_addr. I
> made patch which makes it recognize ip_mreq as well. So that would be
> probably ok.
> http://patchwork.ozlabs.org/patch/156815/
>
> On the other hand, getsockopt works only with in_addr. That I think is
> good behaviour but manpages here needs to be corrected in this way (read
> part needs to be added here)
Jirka,
I'm having trouble to understand what you mean. Perhaps it would be
simplest if you showed your proposed replacement text for the text
quoted above.
Thanks,
Michael
--
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Author of "The Linux Programming Interface"; http://man7.org/tlpi/
^ permalink raw reply
* [net-next 0/4][pull request] Intel Wired LAN Driver Updates
From: Jeff Kirsher @ 2012-05-05 12:38 UTC (permalink / raw)
To: davem; +Cc: Jeff Kirsher, netdev, gospo, sassmann
This series of patches contains updates for e1000e and ixgbe.
NOTE- The ixgbe patch can and probably should be applied to
David Miller's net tree as well.
The following are changes since commit bd14b1b2e29bd6812597f896dde06eaf7c6d2f24:
tcp: be more strict before accepting ECN negociation
and are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/net-next master
Bruce Allan (2):
e1000e: enable forced master/slave on 82577
e1000e: increase version number
John Fastabend (1):
ixgbe: dcb: IEEE PFC stats and reset logic incorrect
Richard Alpe (1):
e1000e: clear REQ and GNT in EECD (82571 && 82572)
drivers/net/ethernet/intel/e1000e/82571.c | 12 ++++-
drivers/net/ethernet/intel/e1000e/netdev.c | 2 +-
drivers/net/ethernet/intel/e1000e/phy.c | 71 ++++++++++++++--------
drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c | 7 ++
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | 6 ++-
5 files changed, 69 insertions(+), 29 deletions(-)
--
1.7.7.6
^ permalink raw reply
* [net-next 1/4] e1000e: enable forced master/slave on 82577
From: Jeff Kirsher @ 2012-05-05 12:38 UTC (permalink / raw)
To: davem; +Cc: Bruce Allan, netdev, gospo, sassmann, Jeff Kirsher
In-Reply-To: <1336221493-913-1-git-send-email-jeffrey.t.kirsher@intel.com>
From: Bruce Allan <bruce.w.allan@intel.com>
Like other supported (igp) PHYs, the driver needs to be able to force the
master/slave mode on 82577. Since the code is the same as what already
exists in the code flow for igp PHYs, move it to a new function to be
called for both flows.
Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Tested-by: Jeff Pieper <jeffrey.e.pieper@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
---
drivers/net/ethernet/intel/e1000e/phy.c | 71 +++++++++++++++++++-----------
1 files changed, 45 insertions(+), 26 deletions(-)
diff --git a/drivers/net/ethernet/intel/e1000e/phy.c b/drivers/net/ethernet/intel/e1000e/phy.c
index ada7133..0334d01 100644
--- a/drivers/net/ethernet/intel/e1000e/phy.c
+++ b/drivers/net/ethernet/intel/e1000e/phy.c
@@ -639,6 +639,45 @@ s32 e1000e_write_kmrn_reg_locked(struct e1000_hw *hw, u32 offset, u16 data)
}
/**
+ * e1000_set_master_slave_mode - Setup PHY for Master/slave mode
+ * @hw: pointer to the HW structure
+ *
+ * Sets up Master/slave mode
+ **/
+static s32 e1000_set_master_slave_mode(struct e1000_hw *hw)
+{
+ s32 ret_val;
+ u16 phy_data;
+
+ /* Resolve Master/Slave mode */
+ ret_val = e1e_rphy(hw, PHY_1000T_CTRL, &phy_data);
+ if (ret_val)
+ return ret_val;
+
+ /* load defaults for future use */
+ hw->phy.original_ms_type = (phy_data & CR_1000T_MS_ENABLE) ?
+ ((phy_data & CR_1000T_MS_VALUE) ?
+ e1000_ms_force_master : e1000_ms_force_slave) : e1000_ms_auto;
+
+ switch (hw->phy.ms_type) {
+ case e1000_ms_force_master:
+ phy_data |= (CR_1000T_MS_ENABLE | CR_1000T_MS_VALUE);
+ break;
+ case e1000_ms_force_slave:
+ phy_data |= CR_1000T_MS_ENABLE;
+ phy_data &= ~(CR_1000T_MS_VALUE);
+ break;
+ case e1000_ms_auto:
+ phy_data &= ~CR_1000T_MS_ENABLE;
+ /* fall-through */
+ default:
+ break;
+ }
+
+ return e1e_wphy(hw, PHY_1000T_CTRL, phy_data);
+}
+
+/**
* e1000_copper_link_setup_82577 - Setup 82577 PHY for copper link
* @hw: pointer to the HW structure
*
@@ -659,7 +698,11 @@ s32 e1000_copper_link_setup_82577(struct e1000_hw *hw)
/* Enable downshift */
phy_data |= I82577_CFG_ENABLE_DOWNSHIFT;
- return e1e_wphy(hw, I82577_CFG_REG, phy_data);
+ ret_val = e1e_wphy(hw, I82577_CFG_REG, phy_data);
+ if (ret_val)
+ return ret_val;
+
+ return e1000_set_master_slave_mode(hw);
}
/**
@@ -895,31 +938,7 @@ s32 e1000e_copper_link_setup_igp(struct e1000_hw *hw)
return ret_val;
}
- ret_val = e1e_rphy(hw, PHY_1000T_CTRL, &data);
- if (ret_val)
- return ret_val;
-
- /* load defaults for future use */
- phy->original_ms_type = (data & CR_1000T_MS_ENABLE) ?
- ((data & CR_1000T_MS_VALUE) ?
- e1000_ms_force_master :
- e1000_ms_force_slave) :
- e1000_ms_auto;
-
- switch (phy->ms_type) {
- case e1000_ms_force_master:
- data |= (CR_1000T_MS_ENABLE | CR_1000T_MS_VALUE);
- break;
- case e1000_ms_force_slave:
- data |= CR_1000T_MS_ENABLE;
- data &= ~(CR_1000T_MS_VALUE);
- break;
- case e1000_ms_auto:
- data &= ~CR_1000T_MS_ENABLE;
- default:
- break;
- }
- ret_val = e1e_wphy(hw, PHY_1000T_CTRL, data);
+ ret_val = e1000_set_master_slave_mode(hw);
}
return ret_val;
--
1.7.7.6
^ permalink raw reply related
* [net-next 3/4] e1000e: increase version number
From: Jeff Kirsher @ 2012-05-05 12:38 UTC (permalink / raw)
To: davem; +Cc: Bruce Allan, netdev, gospo, sassmann, Jeff Kirsher
In-Reply-To: <1336221493-913-1-git-send-email-jeffrey.t.kirsher@intel.com>
From: Bruce Allan <bruce.w.allan@intel.com>
Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
---
drivers/net/ethernet/intel/e1000e/netdev.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/net/ethernet/intel/e1000e/netdev.c b/drivers/net/ethernet/intel/e1000e/netdev.c
index b53ea83..f648299 100644
--- a/drivers/net/ethernet/intel/e1000e/netdev.c
+++ b/drivers/net/ethernet/intel/e1000e/netdev.c
@@ -56,7 +56,7 @@
#define DRV_EXTRAVERSION "-k"
-#define DRV_VERSION "1.11.3" DRV_EXTRAVERSION
+#define DRV_VERSION "2.0.0" DRV_EXTRAVERSION
char e1000e_driver_name[] = "e1000e";
const char e1000e_driver_version[] = DRV_VERSION;
--
1.7.7.6
^ permalink raw reply related
* [net-next 2/4] e1000e: clear REQ and GNT in EECD (82571 && 82572)
From: Jeff Kirsher @ 2012-05-05 12:38 UTC (permalink / raw)
To: davem; +Cc: Richard Alpe, netdev, gospo, sassmann, Jeff Kirsher
In-Reply-To: <1336221493-913-1-git-send-email-jeffrey.t.kirsher@intel.com>
From: Richard Alpe <richard.alpe@ericsson.com>
Clear the REQ and GNT bit in the eeprom control register (EECD).
This is required if the eeprom is to be accessed with auto read
EERD register.
After a cold reset this doesn't matter but if PBIST MAC test was
executed before booting, the register was left in a dirty state
(the 2 bits where set), which caused the read operation to time out
and returning 0.
Reference (page 312):
http://download.intel.com/design/network/manuals/316080.pdf
Reported-by: Aleksandar Igic <aleksandar.igic@dektech.com.au>
Signed-off-by: Richard Alpe <richard.alpe@ericsson.com>
Tested-by: Jeff Pieper <jeffrey.e.pieper@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
---
drivers/net/ethernet/intel/e1000e/82571.c | 12 +++++++++++-
1 files changed, 11 insertions(+), 1 deletions(-)
diff --git a/drivers/net/ethernet/intel/e1000e/82571.c b/drivers/net/ethernet/intel/e1000e/82571.c
index 6a8a908..36db4df 100644
--- a/drivers/net/ethernet/intel/e1000e/82571.c
+++ b/drivers/net/ethernet/intel/e1000e/82571.c
@@ -999,7 +999,7 @@ static s32 e1000_set_d0_lplu_state_82571(struct e1000_hw *hw, bool active)
**/
static s32 e1000_reset_hw_82571(struct e1000_hw *hw)
{
- u32 ctrl, ctrl_ext;
+ u32 ctrl, ctrl_ext, eecd;
s32 ret_val;
/*
@@ -1072,6 +1072,16 @@ static s32 e1000_reset_hw_82571(struct e1000_hw *hw)
*/
switch (hw->mac.type) {
+ case e1000_82571:
+ case e1000_82572:
+ /*
+ * REQ and GNT bits need to be cleared when using AUTO_RD
+ * to access the EEPROM.
+ */
+ eecd = er32(EECD);
+ eecd &= ~(E1000_EECD_REQ | E1000_EECD_GNT);
+ ew32(EECD, eecd);
+ break;
case e1000_82573:
case e1000_82574:
case e1000_82583:
--
1.7.7.6
^ permalink raw reply related
* [net-next 4/4] ixgbe: dcb: IEEE PFC stats and reset logic incorrect
From: Jeff Kirsher @ 2012-05-05 12:38 UTC (permalink / raw)
To: davem; +Cc: John Fastabend, netdev, gospo, sassmann, Jeff Kirsher
In-Reply-To: <1336221493-913-1-git-send-email-jeffrey.t.kirsher@intel.com>
From: John Fastabend <john.r.fastabend@intel.com>
PFC stats are only tabulated when PFC is enabled. However in IEEE
mode the ieee_pfc pfc_tc bits were not checked and the calculation
was aborted.
This results in statistics not being reported through ethtool and
possible a false Tx hang occurring when receiving pause frames.
Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
Tested-by: Ross Brattain <ross.b.brattain@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
---
drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c | 7 +++++++
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | 6 +++++-
2 files changed, 12 insertions(+), 1 deletions(-)
diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c b/drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c
index 652e4b0..2feacf6 100644
--- a/drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c
+++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c
@@ -662,6 +662,13 @@ static int ixgbe_dcbnl_ieee_setpfc(struct net_device *dev,
return -ENOMEM;
}
+ if (pfc->pfc_en) {
+ adapter->last_lfc_mode = adapter->hw.fc.current_mode;
+ adapter->hw.fc.current_mode = ixgbe_fc_pfc;
+ } else {
+ adapter->hw.fc.current_mode = adapter->last_lfc_mode;
+ }
+
prio_tc = adapter->ixgbe_ieee_ets->prio_tc;
memcpy(adapter->ixgbe_ieee_pfc, pfc, sizeof(*adapter->ixgbe_ieee_pfc));
return ixgbe_dcb_hw_pfc_config(&adapter->hw, pfc->pfc_en, prio_tc);
diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c b/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
index b2daff3..4048c9d 100644
--- a/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
+++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
@@ -637,7 +637,11 @@ static void ixgbe_update_xoff_received(struct ixgbe_adapter *adapter)
clear_bit(__IXGBE_HANG_CHECK_ARMED,
&adapter->tx_ring[i]->state);
return;
- } else if (!(adapter->dcb_cfg.pfc_mode_enable))
+ } else if (((adapter->dcbx_cap & DCB_CAP_DCBX_VER_CEE) &&
+ !(adapter->dcb_cfg.pfc_mode_enable)) ||
+ ((adapter->dcbx_cap & DCB_CAP_DCBX_VER_IEEE) &&
+ adapter->ixgbe_ieee_pfc &&
+ !(adapter->ixgbe_ieee_pfc->pfc_en)))
return;
/* update stats for each tc, only valid with PFC enabled */
--
1.7.7.6
^ permalink raw reply related
* ipctl - new tool for efficient read/write of net related sysctl
From: Oskar Berggren @ 2012-05-05 15:13 UTC (permalink / raw)
To: netdev
Hi,
In a project of mine I need to read (and possibly set) many of the properties
found under /proc/sys/net/ipv4/conf/. This is simple enough, except that
when you have hundreds of interfaces, it is really slow. In my tests it takes
about 4 seconds to read a single variable for 700 interfaces. For a while I
worked around this using the binary sysctl() interface, but this is deprecated.
In an experiment to get around this limitation I have created "ipctl", a kernel
module and accompanying user space library/tool. Communication between
kernel and user space is based on generic netlink. What used to take
seconds now happen in a few milliseconds.
So far I have only implemented support for the proxy_arp setting. Do you
think it's worthwhile to pursue this to create something more complete? Are
there other ideas on how one might get fast read/write of the IP-related
settings in procfs?
The full source code is available at:
https://github.com/oskarb/ipctl
Kernel module enclosed below. Haven't done much kernel programming
before, so comments are most welcome!
/Oskar
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/inetdevice.h>
#include <linux/netdevice.h>
#include <net/netlink.h>
#include <net/genetlink.h>
#include "../../include/libipctl/ipctl-nl.h"
#define MOD_AUTHOR "Oskar Berggren <oskar.berggren@gmail.com>"
#define MOD_DESC "A module to offer efficient mass control of the IP
sysctl family traditionally controlled through /proc."
#define MOD_VER "0.1"
static int ipctl_get_proxyarp_by_ifindex(int ifIndex, int *on)
{
struct net *net = &init_net;
struct net_device *dev;
struct in_device *in_dev;
dev = dev_get_by_index(net, ifIndex);
if (dev)
{
if (__in_dev_get_rtnl(dev))
{
in_dev = __in_dev_get_rtnl(dev);
*on = IN_DEV_CONF_GET(in_dev, PROXY_ARP);
}
dev_put(dev); // Release reference.
}
return 0;
}
static int ipctl_set_proxyarp_by_ifindex(int ifIndex, int on)
{
struct net *net = &init_net;
struct net_device *dev;
struct in_device *in_dev;
dev = dev_get_by_index(net, ifIndex);
if (dev)
{
if (__in_dev_get_rtnl(dev))
{
in_dev = __in_dev_get_rtnl(dev);
IN_DEV_CONF_SET(in_dev, PROXY_ARP, on);
}
dev_put(dev); // Release reference.
}
return 0;
}
/* family definition */
static struct genl_family ipctl_gnl_family = {
.id = GENL_ID_GENERATE,
.hdrsize = 0,
.name = IPCTL_GENL_NAME,
.version = IPCTL_GENL_VERSION,
.maxattr = IPCTL_ATTR_MAX,
};
static int ipctl_reply(struct sk_buff *skb, struct genl_info *info,
int property, int ifIndex, int value)
{
struct sk_buff *skb_reply;
void *msg_head;
int rc;
pr_debug("ipctl: reply start\n");
skb_reply = genlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL);
if (skb_reply == NULL)
goto out;
msg_head = genlmsg_put(skb_reply, 0, info->snd_seq,
&ipctl_gnl_family, 0, IPCTL_CMD_GET);
if (msg_head == NULL) {
rc = -ENOMEM;
goto out;
}
rc = nla_put_u32(skb_reply, IPCTL_ATTR_PROPERTY, property);
if (rc != 0)
goto out;
rc = nla_put_u32(skb_reply, IPCTL_ATTR_IFINDEX, ifIndex);
if (rc != 0)
goto out;
rc = nla_put_u8(skb_reply, IPCTL_ATTR_VALUE, value);
if (rc != 0)
goto out;
/* finalize the message */
genlmsg_end(skb_reply, msg_head);
rc = genlmsg_reply(skb_reply , info);
if (rc != 0)
goto out;
return 0;
out:
pr_warning("ipctl: Error occured in reply: %d\n", rc);
return rc;
}
/* handler for SET messages via NETLINK */
int ipctl_set(struct sk_buff *skb, struct genl_info *info)
{
/* message handling code goes here; return 0 on success, negative
* values on failure */
int property = nla_get_u32(info->attrs[IPCTL_ATTR_PROPERTY]);
int ifIndex = nla_get_u32(info->attrs[IPCTL_ATTR_IFINDEX]);
int value = nla_get_u8(info->attrs[IPCTL_ATTR_VALUE]);
pr_debug("ipctl: set p=%d i=%d v=%d\n", property, ifIndex, value);
if (property == IPCTL_PROPERTY_PROXYARP)
return ipctl_set_proxyarp_by_ifindex(ifIndex, value);
return 0;
}
/* handler for GET messages via NETLINK */
int ipctl_get(struct sk_buff *skb, struct genl_info *info)
{
/* message handling code goes here; return 0 on success, negative
* values on failure */
int property = nla_get_u32(info->attrs[IPCTL_ATTR_PROPERTY]);
int ifIndex = nla_get_u32(info->attrs[IPCTL_ATTR_IFINDEX]);
int value = 0;
int retval = 0;
pr_debug("ipctl: get p=%d i=%d\n", property, ifIndex);
if (property == IPCTL_PROPERTY_PROXYARP)
retval = ipctl_get_proxyarp_by_ifindex(ifIndex, &value);
if (retval)
return retval;
return ipctl_reply(skb, info, property, ifIndex, value);
}
/* NETLINK operation definition */
struct genl_ops ipctl_gnl_ops_set = {
.cmd = IPCTL_CMD_SET,
.flags = GENL_ADMIN_PERM,
.policy = ipctl_genl_policy,
.doit = ipctl_set,
.dumpit = NULL,
};
struct genl_ops ipctl_gnl_ops_get = {
.cmd = IPCTL_CMD_GET,
.flags = 0,
.policy = ipctl_genl_policy,
.doit = ipctl_get,
.dumpit = NULL,
};
static int __init ipctl_init(void)
{
int rc;
printk(KERN_INFO "ipctl: %s.\n", MOD_VER);
rc = genl_register_family(&ipctl_gnl_family);
if (rc)
printk("ipctl: genl_register_family: %d.\n", rc);
rc = genl_register_ops(&ipctl_gnl_family, &ipctl_gnl_ops_set);
if (rc)
printk("ipctl: genl_register_ops: %d.\n", rc);
rc = genl_register_ops(&ipctl_gnl_family, &ipctl_gnl_ops_get);
if (rc)
printk("ipctl: genl_register_ops: %d.\n", rc);
/*
* A non 0 return means init_module failed; module can't be loaded.
*/
return 0;
}
static void __exit ipctl_exit(void)
{
genl_unregister_family(&ipctl_gnl_family);
}
module_init(ipctl_init);
module_exit(ipctl_exit);
MODULE_LICENSE("GPL");
MODULE_AUTHOR(MOD_AUTHOR);
MODULE_DESCRIPTION(MOD_DESC);
MODULE_VERSION(MOD_VER);
^ permalink raw reply
* Re: [net-next 5/9] e1000e: Disable ASPM L1 on 82574
From: Nix @ 2012-05-05 16:33 UTC (permalink / raw)
To: Wyborny, Carolyn, Matthew Garrett
Cc: Kirsher, Jeffrey T, davem@davemloft.net, Chris Boot,
netdev@vger.kernel.org, gospo@redhat.com, sassmann@redhat.com
In-Reply-To: <87sjfhaukf.fsf@spindle.srvr.nix>
On 3 May 2012, nix@esperi.org.uk outgrape:
> On 3 May 2012, Carolyn Wyborny told this:
>
>> It would be good to know why/how your system is re-enabling the
>> setting. The problem is not solvable in firmware unfortunately and is
>> somewhat platform dependent. MMIO-tracer might be used to try and see
>
> I entirely forgot about that tool! *Definitely* worth trying.
>
> I'll give it a try this weekend.
Well, mmiotrace was a total flop: massive numbers of unexpected
secondary interrupts and a hard lockup. Still, I've now diagnosed this
bug and it's right up Matthew Garrett's street!
Matthew: the problem here is a server with an 82574L (controlled by the
e1000e driver). This NIC has a hardware bug causing it to lock up in a
way that only a reboot can solve in an hour or two if PCIe ASPM is not
disabled during boot (leaving me with my home directory stuck behind a
dead NIC on a headless machine, most annoying). The driver is attempting
to disable it, but failing.
>> when the re-enabling config space is written, but it might be too
>> heavyweight for a live production system.
>
> Given that the re-enabling happens at around the same time as the boot
> scripts finish running (it's done by the time I can log in), that's not
> going to be a problem. Hence my speculation that it's being re-enabled
> when the interface stabilizes (which is, of course, asynchronous) or
> something like that.
This is wrong. The disable never happens. The BIOS has been told to
enable PCIe ASPM. However, the kernel log says:
May 5 17:06:53 spindle info: [ 0.629699] pci0000:00: Requesting ACPI _OSC control (0x1d)
May 5 17:06:53 spindle info: [ 0.629941] pci0000:00: ACPI _OSC request failed (AE_NOT_FOUND), returned control mask: 0x1d
May 5 17:06:53 spindle info: [ 0.630373] ACPI _OSC control for PCIe not granted, disabling ASPM
Unless pcie_aspm=force has been specified on the kernel command line,
this flips aspm_disabled to 1.
The e1000e driver then says (with a bit of extra debugging info I
added):
May 5 17:06:53 spindle info: [ 1.248153] e1000e 0000:03:00.0: Disabling ASPM L0s L1
May 5 17:06:53 spindle info: [ 1.248393] e1000e 0000:03:00.0: Disabling ASPM via pci_disable_link_state_locked()
May 5 17:06:53 spindle info: [ 1.248823] e1000e 0000:03:00.0: aspm disabled, not forcing
i.e. because aspm_disabled is set, pci/pcie/aspm.c refuses to make any
changes at all to ASPM link state, not even to turn *off* ASPM on a
device on which the BIOS turned it on at boot. So ASPM remains enabled
and the NIC eventually locks up.
The question here is how to fix it. It appears that the motherboard or
BIOS on this machine does not grant _OSC control even (especially?) if
you have turned on PCIe ASPM in the BIOS. But perhaps even if _OSC is
not granted you should permit PCIe to be *disabled* by drivers, just not
enabled? (The BIOS appears to be buggy in this area: if you turn off
ASPM, save, and go back into setup, ASPM has turned itself back on
again!)
I'm not sure what the right thing to do is here: I don't know enough
about this area. But it does seem very strange that the only way I have
to turn off PCIe ASPM reliably on this device is to tell the kernel to
forcibly turn it *on*!
^ permalink raw reply
* Re: [net-next PATCH v4 0/8] Managing the forwarding database(FDB)
From: Michael S. Tsirkin @ 2012-05-05 19:53 UTC (permalink / raw)
To: Roopa Prabhu
Cc: Sridhar Samudrala, John Fastabend, shemminger, bhutchings, hadi,
jeffrey.t.kirsher, netdev, gregory.v.rose, krkumar2
In-Reply-To: <CAGe6so8q26X=HoQx+P-wkoLMtq1NhRerk98-v0cxhUpvMH4zmQ@mail.gmail.com>
On Fri, May 04, 2012 at 01:34:24PM -0700, Roopa Prabhu wrote:
> the qemu patches pointed out above can be reused.
Do you have plans to do this?
^ permalink raw reply
* [PATCH] net/ipv6/af_inet6.c: checkpatch cleanup
From: Eldad Zack @ 2012-05-05 20:13 UTC (permalink / raw)
To: David S. Miller, Alexey Kuznetsov, James Morris,
Hideaki YOSHIFUJI, Patrick McHardy
Cc: netdev, linux-kernel, Eldad Zack
af_inet6.c:80: ERROR: do not initialise statics to 0 or NULL
af_inet6.c:259: ERROR: spaces required around that '=' (ctx:VxV)
af_inet6.c:394: WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable
af_inet6.c:412: WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable
af_inet6.c:422: ERROR: do not use assignment in if condition
af_inet6.c:425: ERROR: do not use assignment in if condition
af_inet6.c:433: ERROR: do not use assignment in if condition
af_inet6.c:437: WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable
af_inet6.c:446: ERROR: spaces required around that '=' (ctx:VxV)
af_inet6.c:478: WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable
af_inet6.c:485: ERROR: that open brace { should be on the previous line
af_inet6.c:485: ERROR: space required before the open parenthesis '('
af_inet6.c:513: WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable
af_inet6.c:629: WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable
af_inet6.c:647: WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable
af_inet6.c:687: WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable
af_inet6.c:709: WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable
af_inet6.c:1073: ERROR: space required before the open parenthesis '('
Signed-off-by: Eldad Zack <eldad@fogrefinery.com>
---
net/ipv6/af_inet6.c | 29 +++++++++++------------------
1 file changed, 11 insertions(+), 18 deletions(-)
diff --git a/net/ipv6/af_inet6.c b/net/ipv6/af_inet6.c
index 0ad046c..bf8e146 100644
--- a/net/ipv6/af_inet6.c
+++ b/net/ipv6/af_inet6.c
@@ -77,7 +77,7 @@ struct ipv6_params ipv6_defaults = {
.autoconf = 1,
};
-static int disable_ipv6_mod = 0;
+static int disable_ipv6_mod;
module_param_named(disable, disable_ipv6_mod, int, 0444);
MODULE_PARM_DESC(disable, "Disable IPv6 module such that it is non-functional");
@@ -256,7 +256,7 @@ out_rcu_unlock:
/* bind for INET6 API */
int inet6_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len)
{
- struct sockaddr_in6 *addr=(struct sockaddr_in6 *)uaddr;
+ struct sockaddr_in6 *addr = (struct sockaddr_in6 *)uaddr;
struct sock *sk = sock->sk;
struct inet_sock *inet = inet_sk(sk);
struct ipv6_pinfo *np = inet6_sk(sk);
@@ -390,7 +390,6 @@ out_unlock:
rcu_read_unlock();
goto out;
}
-
EXPORT_SYMBOL(inet6_bind);
int inet6_release(struct socket *sock)
@@ -408,7 +407,6 @@ int inet6_release(struct socket *sock)
return inet_release(sock);
}
-
EXPORT_SYMBOL(inet6_release);
void inet6_destroy_sock(struct sock *sk)
@@ -419,10 +417,12 @@ void inet6_destroy_sock(struct sock *sk)
/* Release rx options */
- if ((skb = xchg(&np->pktoptions, NULL)) != NULL)
+ skb = xchg(&np->pktoptions, NULL);
+ if (skb != NULL)
kfree_skb(skb);
- if ((skb = xchg(&np->rxpmtu, NULL)) != NULL)
+ skb = xchg(&np->rxpmtu, NULL);
+ if (skb != NULL)
kfree_skb(skb);
/* Free flowlabels */
@@ -430,10 +430,10 @@ void inet6_destroy_sock(struct sock *sk)
/* Free tx options */
- if ((opt = xchg(&np->opt, NULL)) != NULL)
+ opt = xchg(&np->opt, NULL);
+ if (opt != NULL)
sock_kfree_s(sk, opt, opt->tot_len);
}
-
EXPORT_SYMBOL_GPL(inet6_destroy_sock);
/*
@@ -443,7 +443,7 @@ EXPORT_SYMBOL_GPL(inet6_destroy_sock);
int inet6_getname(struct socket *sock, struct sockaddr *uaddr,
int *uaddr_len, int peer)
{
- struct sockaddr_in6 *sin=(struct sockaddr_in6 *)uaddr;
+ struct sockaddr_in6 *sin = (struct sockaddr_in6 *)uaddr;
struct sock *sk = sock->sk;
struct inet_sock *inet = inet_sk(sk);
struct ipv6_pinfo *np = inet6_sk(sk);
@@ -474,7 +474,6 @@ int inet6_getname(struct socket *sock, struct sockaddr *uaddr,
*uaddr_len = sizeof(*sin);
return 0;
}
-
EXPORT_SYMBOL(inet6_getname);
int inet6_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg)
@@ -482,8 +481,7 @@ int inet6_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg)
struct sock *sk = sock->sk;
struct net *net = sock_net(sk);
- switch(cmd)
- {
+ switch (cmd) {
case SIOCGSTAMP:
return sock_get_timestamp(sk, (struct timeval __user *)arg);
@@ -509,7 +507,6 @@ int inet6_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg)
/*NOTREACHED*/
return 0;
}
-
EXPORT_SYMBOL(inet6_ioctl);
const struct proto_ops inet6_stream_ops = {
@@ -625,7 +622,6 @@ out_illegal:
p->type);
goto out;
}
-
EXPORT_SYMBOL(inet6_register_protosw);
void
@@ -643,7 +639,6 @@ inet6_unregister_protosw(struct inet_protosw *p)
synchronize_net();
}
}
-
EXPORT_SYMBOL(inet6_unregister_protosw);
int inet6_sk_rebuild_header(struct sock *sk)
@@ -683,7 +678,6 @@ int inet6_sk_rebuild_header(struct sock *sk)
return 0;
}
-
EXPORT_SYMBOL_GPL(inet6_sk_rebuild_header);
int ipv6_opt_accepted(struct sock *sk, struct sk_buff *skb)
@@ -705,7 +699,6 @@ int ipv6_opt_accepted(struct sock *sk, struct sk_buff *skb)
}
return 0;
}
-
EXPORT_SYMBOL_GPL(ipv6_opt_accepted);
static int ipv6_gso_pull_exthdrs(struct sk_buff *skb, int proto)
@@ -1070,7 +1063,7 @@ static int __init inet6_init(void)
BUILD_BUG_ON(sizeof(struct inet6_skb_parm) > sizeof(dummy_skb->cb));
/* Register the socket-side information for inet6_create. */
- for(r = &inetsw6[0]; r < &inetsw6[SOCK_MAX]; ++r)
+ for (r = &inetsw6[0]; r < &inetsw6[SOCK_MAX]; ++r)
INIT_LIST_HEAD(r);
if (disable_ipv6_mod) {
--
1.7.10
^ permalink raw reply related
* [PATCH resend] [IPV6] remove sysctl accept_source_route
From: Eldad Zack @ 2012-05-05 20:28 UTC (permalink / raw)
To: David S. Miller, Alexey Kuznetsov, James Morris,
Hideaki YOSHIFUJI, Patrick McHardy
Cc: linux-kernel, netdev, Eldad Zack
The only place where the accpet_source_route flag is checked is when we
are processing the type 2 routing header. In that case we only allow it if
it (1) has only segments left = 1 and (2) if it matches our home address,
which is the behavior required by RFC 6275 (see sections 8.5, 11.3.3), and
it doesn't make sense to block rh2 when we're a mobile node.
Signed-off-by: Eldad Zack <eldad@fogrefinery.com>
---
include/linux/ipv6.h | 2 --
net/ipv6/addrconf.c | 10 ----------
net/ipv6/exthdrs.c | 6 ------
3 files changed, 18 deletions(-)
diff --git a/include/linux/ipv6.h b/include/linux/ipv6.h
index 8260ef7..a77c6fe 100644
--- a/include/linux/ipv6.h
+++ b/include/linux/ipv6.h
@@ -162,7 +162,6 @@ struct ipv6_devconf {
#endif
#endif
__s32 proxy_ndp;
- __s32 accept_source_route;
#ifdef CONFIG_IPV6_OPTIMISTIC_DAD
__s32 optimistic_dad;
#endif
@@ -208,7 +207,6 @@ enum {
DEVCONF_ACCEPT_RA_RT_INFO_MAX_PLEN,
DEVCONF_PROXY_NDP,
DEVCONF_OPTIMISTIC_DAD,
- DEVCONF_ACCEPT_SOURCE_ROUTE,
DEVCONF_MC_FORWARDING,
DEVCONF_DISABLE_IPV6,
DEVCONF_ACCEPT_DAD,
diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c
index e3b3421..bca2acf 100644
--- a/net/ipv6/addrconf.c
+++ b/net/ipv6/addrconf.c
@@ -194,7 +194,6 @@ static struct ipv6_devconf ipv6_devconf __read_mostly = {
#endif
#endif
.proxy_ndp = 0,
- .accept_source_route = 0, /* we do not accept RH0 by default. */
.disable_ipv6 = 0,
.accept_dad = 1,
};
@@ -228,7 +227,6 @@ static struct ipv6_devconf ipv6_devconf_dflt __read_mostly = {
#endif
#endif
.proxy_ndp = 0,
- .accept_source_route = 0, /* we do not accept RH0 by default. */
.disable_ipv6 = 0,
.accept_dad = 1,
};
@@ -3905,7 +3903,6 @@ static inline void ipv6_store_devconf(struct ipv6_devconf *cnf,
#endif
#endif
array[DEVCONF_PROXY_NDP] = cnf->proxy_ndp;
- array[DEVCONF_ACCEPT_SOURCE_ROUTE] = cnf->accept_source_route;
#ifdef CONFIG_IPV6_OPTIMISTIC_DAD
array[DEVCONF_OPTIMISTIC_DAD] = cnf->optimistic_dad;
#endif
@@ -4535,13 +4532,6 @@ static struct addrconf_sysctl_table
.mode = 0644,
.proc_handler = proc_dointvec,
},
- {
- .procname = "accept_source_route",
- .data = &ipv6_devconf.accept_source_route,
- .maxlen = sizeof(int),
- .mode = 0644,
- .proc_handler = proc_dointvec,
- },
#ifdef CONFIG_IPV6_OPTIMISTIC_DAD
{
.procname = "optimistic_dad",
diff --git a/net/ipv6/exthdrs.c b/net/ipv6/exthdrs.c
index aa0a51e..597cf2a 100644
--- a/net/ipv6/exthdrs.c
+++ b/net/ipv6/exthdrs.c
@@ -337,12 +337,8 @@ static int ipv6_rthdr_rcv(struct sk_buff *skb)
struct ipv6_rt_hdr *hdr;
struct rt0_hdr *rthdr;
struct net *net = dev_net(skb->dev);
- int accept_source_route = net->ipv6.devconf_all->accept_source_route;
idev = __in6_dev_get(skb->dev);
- if (idev && accept_source_route > idev->cnf.accept_source_route)
- accept_source_route = idev->cnf.accept_source_route;
-
if (!pskb_may_pull(skb, skb_transport_offset(skb) + 8) ||
!pskb_may_pull(skb, (skb_transport_offset(skb) +
((skb_transport_header(skb)[1] + 1) << 3)))) {
@@ -393,8 +389,6 @@ looped_back:
switch (hdr->type) {
#if defined(CONFIG_IPV6_MIP6) || defined(CONFIG_IPV6_MIP6_MODULE)
case IPV6_SRCRT_TYPE_2:
- if (accept_source_route < 0)
- goto unknown_rh;
/* Silently discard invalid RTH type 2 */
if (hdr->hdrlen != 2 || hdr->segments_left != 1) {
IP6_INC_STATS_BH(net, ip6_dst_idev(skb_dst(skb)),
--
1.7.10
^ permalink raw reply related
* Re: Fwd: Re: WARNING: at net/sched/sch_generic.c:256 dev_watchdog+0x277/0x280()
From: Alex Villacís Lasso @ 2012-05-05 21:44 UTC (permalink / raw)
To: netdev, Francois Romieu
In-Reply-To: <4FA3EE49.7070805@palosanto.com>
[-- Attachment #1: Type: text/plain, Size: 661 bytes --]
El 04/05/12 09:57, Alex Villacís Lasso escribió:
> (Resending to netdev@vger.kernel.org since previous attempt was
> rejected as spam)
>
> El 03/05/12 10:39, Alex Villacís Lasso escribió:
>> Alex Villacís Lasso<avillaci@fiec.espol.edu.ec> :
>> [...]
>> > I am currently away from the target computer. How should I check
>> for this? lspci?
>>
>> lspci can not tell much. Use 'dmesg | grep XID' instead.
> [alex@karlalex linux-git]$ dmesg | grep -i xid
> [ 10.647557] r8169 0000:02:00.0: eth0: RTL8168b/8111b at
> 0xffffc90000352000, 00:22:68:44:17:2f, XID 98500000 IRQ 43
It happened again, on a non-tainted kernel. The dmesg log is attached.
[-- Attachment #2: dmesg-warning-timeout.txt --]
[-- Type: text/plain, Size: 69217 bytes --]
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 3.4.0-rc5 (alex@karlalex.palosanto.com) (gcc version 4.6.3 20120306 (Red Hat 4.6.3-2) (GCC) ) #37 SMP PREEMPT Mon Apr 30 20:44:34 ECT 2012
[ 0.000000] Command line: BOOT_IMAGE=/vmlinuz-3.4.0-rc5 root=UUID=4837c784-4583-4efc-8a40-260819368469 ro rd.md=0 rd.lvm=0 rd.dm=0 quiet SYSFONT=latarcyrheb-sun16 rhgb rd.luks=0 LANG=es_ES.UTF-8 KEYTABLE=es zcache drm_kms_helper.edid_firmware=edid/1280x1024.bin
[ 0.000000] BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: 0000000000000000 - 000000000009f400 (usable)
[ 0.000000] BIOS-e820: 000000000009f400 - 00000000000a0000 (reserved)
[ 0.000000] BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
[ 0.000000] BIOS-e820: 0000000000100000 - 000000007f590000 (usable)
[ 0.000000] BIOS-e820: 000000007f590000 - 000000007f5e3000 (ACPI NVS)
[ 0.000000] BIOS-e820: 000000007f5e3000 - 000000007f5f0000 (ACPI data)
[ 0.000000] BIOS-e820: 000000007f5f0000 - 000000007f600000 (reserved)
[ 0.000000] BIOS-e820: 00000000e0000000 - 00000000f0000000 (reserved)
[ 0.000000] BIOS-e820: 00000000fec00000 - 0000000100000000 (reserved)
[ 0.000000] NX (Execute Disable) protection: active
[ 0.000000] DMI 2.5 present.
[ 0.000000] DMI: OEM OEM/G31MVP, BIOS 6.00 PG 09/11/2008
[ 0.000000] e820 update range: 0000000000000000 - 0000000000010000 (usable) ==> (reserved)
[ 0.000000] e820 remove range: 00000000000a0000 - 0000000000100000 (usable)
[ 0.000000] No AGP bridge found
[ 0.000000] last_pfn = 0x7f590 max_arch_pfn = 0x400000000
[ 0.000000] MTRR default type: uncachable
[ 0.000000] MTRR fixed ranges enabled:
[ 0.000000] 00000-9FFFF write-back
[ 0.000000] A0000-EFFFF uncachable
[ 0.000000] F0000-FFFFF write-through
[ 0.000000] MTRR variable ranges enabled:
[ 0.000000] 0 base 000000000 mask F80000000 write-back
[ 0.000000] 1 base 07F700000 mask FFFF00000 uncachable
[ 0.000000] 2 base 07F800000 mask FFF800000 uncachable
[ 0.000000] 3 base 07F600000 mask FFFF00000 uncachable
[ 0.000000] 4 disabled
[ 0.000000] 5 disabled
[ 0.000000] 6 disabled
[ 0.000000] 7 disabled
[ 0.000000] x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106
[ 0.000000] original variable MTRRs
[ 0.000000] reg 0, base: 0GB, range: 2GB, type WB
[ 0.000000] reg 1, base: 2039MB, range: 1MB, type UC
[ 0.000000] reg 2, base: 2040MB, range: 8MB, type UC
[ 0.000000] reg 3, base: 2038MB, range: 1MB, type UC
[ 0.000000] total RAM covered: 2038M
[ 0.000000] Found optimal setting for mtrr clean up
[ 0.000000] gran_size: 64K chunk_size: 16M num_reg: 3 lose cover RAM: 0G
[ 0.000000] New variable MTRRs
[ 0.000000] reg 0, base: 0GB, range: 2GB, type WB
[ 0.000000] reg 1, base: 2038MB, range: 2MB, type UC
[ 0.000000] reg 2, base: 2040MB, range: 8MB, type UC
[ 0.000000] found SMP MP-table at [ffff8800000f3df0] f3df0
[ 0.000000] initial memory mapped : 0 - 20000000
[ 0.000000] Base memory trampoline at [ffff88000009a000] 9a000 size 20480
[ 0.000000] init_memory_mapping: 0000000000000000-000000007f590000
[ 0.000000] 0000000000 - 007f400000 page 2M
[ 0.000000] 007f400000 - 007f590000 page 4k
[ 0.000000] kernel direct mapping tables up to 7f590000 @ 1fffc000-20000000
[ 0.000000] RAMDISK: 3743e000 - 37a17000
[ 0.000000] ACPI: RSDP 00000000000f82c0 00024 (v02 IntelR)
[ 0.000000] ACPI: XSDT 000000007f5e3080 00054 (v01 IntelR AWRDACPI 42302E31 AWRD 00000000)
[ 0.000000] ACPI: FACP 000000007f5e80c0 000F4 (v03 IntelR AWRDACPI 42302E31 AWRD 00000000)
[ 0.000000] ACPI: DSDT 000000007f5e3200 04E99 (v01 INTELR AWRDACPI 00001000 MSFT 03000000)
[ 0.000000] ACPI: FACS 000000007f590000 00040
[ 0.000000] ACPI: HPET 000000007f5e82c0 00038 (v01 IntelR AWRDACPI 42302E31 AWRD 00000098)
[ 0.000000] ACPI: MCFG 000000007f5e8300 0003C (v01 IntelR AWRDACPI 42302E31 AWRD 00000000)
[ 0.000000] ACPI: SLIC 000000007f5e8340 00176 (v01 IntelR AWRDACPI 42302E31 AWRD 00000000)
[ 0.000000] ACPI: APIC 000000007f5e81c0 00084 (v01 IntelR AWRDACPI 42302E31 AWRD 00000000)
[ 0.000000] ACPI: SSDT 000000007f5e8b20 007EF (v01 PmRef CpuPm 00003000 INTL 20041203)
[ 0.000000] ACPI: Local APIC address 0xfee00000
[ 0.000000] No NUMA configuration found
[ 0.000000] Faking a node at 0000000000000000-000000007f590000
[ 0.000000] Initmem setup node 0 0000000000000000-000000007f590000
[ 0.000000] NODE_DATA [000000007f57c000 - 000000007f58ffff]
[ 0.000000] [ffffea0000000000-ffffea0001ffffff] PMD -> [ffff88007cc00000-ffff88007ebfffff] on node 0
[ 0.000000] Zone PFN ranges:
[ 0.000000] DMA 0x00000010 -> 0x00001000
[ 0.000000] DMA32 0x00001000 -> 0x00100000
[ 0.000000] Normal empty
[ 0.000000] Movable zone start PFN for each node
[ 0.000000] Early memory PFN ranges
[ 0.000000] 0: 0x00000010 -> 0x0000009f
[ 0.000000] 0: 0x00000100 -> 0x0007f590
[ 0.000000] On node 0 totalpages: 521503
[ 0.000000] DMA zone: 64 pages used for memmap
[ 0.000000] DMA zone: 5 pages reserved
[ 0.000000] DMA zone: 3914 pages, LIFO batch:0
[ 0.000000] DMA32 zone: 8087 pages used for memmap
[ 0.000000] DMA32 zone: 509433 pages, LIFO batch:31
[ 0.000000] ACPI: PM-Timer IO Port: 0x408
[ 0.000000] ACPI: Local APIC address 0xfee00000
[ 0.000000] ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
[ 0.000000] ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled)
[ 0.000000] ACPI: LAPIC (acpi_id[0x02] lapic_id[0x02] disabled)
[ 0.000000] ACPI: LAPIC (acpi_id[0x03] lapic_id[0x03] disabled)
[ 0.000000] ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
[ 0.000000] ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
[ 0.000000] ACPI: LAPIC_NMI (acpi_id[0x02] high edge lint[0x1])
[ 0.000000] ACPI: LAPIC_NMI (acpi_id[0x03] high edge lint[0x1])
[ 0.000000] ACPI: IOAPIC (id[0x04] address[0xfec00000] gsi_base[0])
[ 0.000000] IOAPIC[0]: apic_id 4, version 32, address 0xfec00000, GSI 0-23
[ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[ 0.000000] ACPI: IRQ0 used by override.
[ 0.000000] ACPI: IRQ2 used by override.
[ 0.000000] ACPI: IRQ9 used by override.
[ 0.000000] Using ACPI (MADT) for SMP configuration information
[ 0.000000] ACPI: HPET id: 0x8086a201 base: 0xfed00000
[ 0.000000] SMP: Allowing 4 CPUs, 2 hotplug CPUs
[ 0.000000] nr_irqs_gsi: 40
[ 0.000000] PM: Registered nosave memory: 000000000009f000 - 00000000000a0000
[ 0.000000] PM: Registered nosave memory: 00000000000a0000 - 00000000000f0000
[ 0.000000] PM: Registered nosave memory: 00000000000f0000 - 0000000000100000
[ 0.000000] Allocating PCI resources starting at 7f600000 (gap: 7f600000:60a00000)
[ 0.000000] Booting paravirtualized kernel on bare hardware
[ 0.000000] setup_percpu: NR_CPUS:256 nr_cpumask_bits:256 nr_cpu_ids:4 nr_node_ids:1
[ 0.000000] PERCPU: Embedded 28 pages/cpu @ffff88007f200000 s83776 r8192 d22720 u524288
[ 0.000000] pcpu-alloc: s83776 r8192 d22720 u524288 alloc=1*2097152
[ 0.000000] pcpu-alloc: [0] 0 1 2 3
[ 0.000000] Built 1 zonelists in Node order, mobility grouping on. Total pages: 513347
[ 0.000000] Policy zone: DMA32
[ 0.000000] Kernel command line: BOOT_IMAGE=/vmlinuz-3.4.0-rc5 root=UUID=4837c784-4583-4efc-8a40-260819368469 ro rd.md=0 rd.lvm=0 rd.dm=0 quiet SYSFONT=latarcyrheb-sun16 rhgb rd.luks=0 LANG=es_ES.UTF-8 KEYTABLE=es zcache drm_kms_helper.edid_firmware=edid/1280x1024.bin
[ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.000000] Checking aperture...
[ 0.000000] No AGP bridge found
[ 0.000000] Memory: 2030712k/2086464k available (6242k kernel code, 452k absent, 55300k reserved, 6944k data, 996k init)
[ 0.000000] SLUB: Genslabs=15, HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] RCU dyntick-idle grace-period acceleration is enabled.
[ 0.000000] Additional per-CPU info printed with stalls.
[ 0.000000] NR_IRQS:16640 nr_irqs:712 16
[ 0.000000] Console: colour VGA+ 80x25
[ 0.000000] console [tty0] enabled
[ 0.000000] allocated 8388608 bytes of page_cgroup
[ 0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups
[ 0.000000] hpet clockevent registered
[ 0.000000] Fast TSC calibration using PIT
[ 0.000000] Detected 2755.483 MHz processor.
[ 0.001003] Calibrating delay loop (skipped), value calculated using timer frequency.. 5510.96 BogoMIPS (lpj=2755483)
[ 0.001008] pid_max: default: 32768 minimum: 301
[ 0.001031] Security Framework initialized
[ 0.001042] SELinux: Initializing.
[ 0.001050] SELinux: Starting in permissive mode
[ 0.001250] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
[ 0.002336] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
[ 0.002875] Mount-cache hash table entries: 256
[ 0.003111] Initializing cgroup subsys cpuacct
[ 0.003114] Initializing cgroup subsys memory
[ 0.003126] Initializing cgroup subsys devices
[ 0.003128] Initializing cgroup subsys freezer
[ 0.003130] Initializing cgroup subsys net_cls
[ 0.003132] Initializing cgroup subsys blkio
[ 0.003139] Initializing cgroup subsys perf_event
[ 0.003164] CPU: Physical Processor ID: 0
[ 0.003166] CPU: Processor Core ID: 0
[ 0.003168] mce: CPU supports 6 MCE banks
[ 0.003176] CPU0: Thermal monitoring enabled (TM2)
[ 0.003180] using mwait in idle threads.
[ 0.004373] ACPI: Core revision 20120320
[ 0.007006] ftrace: allocating 22901 entries in 90 pages
[ 0.013416] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
[ 0.023643] CPU0: Intel Pentium(R) Dual-Core CPU E5200 @ 2.50GHz stepping 06
[ 0.023998] Performance Events: PEBS fmt0+, 4-deep LBR, Core2 events, Intel PMU driver.
[ 0.023998] ... version: 2
[ 0.023998] ... bit width: 40
[ 0.023998] ... generic registers: 2
[ 0.023998] ... value mask: 000000ffffffffff
[ 0.023998] ... max period: 000000007fffffff
[ 0.023998] ... fixed-purpose events: 3
[ 0.023998] ... event mask: 0000000700000003
[ 0.029146] NMI watchdog: enabled, takes one hw-pmu counter.
[ 0.035024] Booting Node 0, Processors #1
[ 0.047028] NMI watchdog: enabled, takes one hw-pmu counter.
[ 0.047077] Brought up 2 CPUs
[ 0.047080] Total of 2 processors activated (11021.93 BogoMIPS).
[ 0.048082] devtmpfs: initialized
[ 0.048173] PM: Registering ACPI NVS region [mem 0x7f590000-0x7f5e2fff] (339968 bytes)
[ 0.049389] atomic64 test passed for x86-64 platform with CX8 and with SSE
[ 0.049412] RTC time: 16:05:29, date: 05/05/12
[ 0.049445] NET: Registered protocol family 16
[ 0.049655] ACPI: bus type pci registered
[ 0.049702] PCI: MMCONFIG for domain 0000 [bus 00-ff] at [mem 0xe0000000-0xefffffff] (base 0xe0000000)
[ 0.049705] PCI: MMCONFIG at [mem 0xe0000000-0xefffffff] reserved in E820
[ 0.077381] PCI: Using configuration type 1 for base access
[ 0.078119] bio: create slab <bio-0> at 0
[ 0.078119] ACPI: Added _OSI(Module Device)
[ 0.078119] ACPI: Added _OSI(Processor Device)
[ 0.078119] ACPI: Added _OSI(3.0 _SCP Extensions)
[ 0.078119] ACPI: Added _OSI(Processor Aggregator Device)
[ 0.079030] ACPI: EC: Look up EC in DSDT
[ 0.081810] ACPI: SSDT 000000007f5e8500 002AE (v01 PmRef Cpu0Ist 00003000 INTL 20041203)
[ 0.082033] ACPI: Dynamic OEM Table Load:
[ 0.082036] ACPI: SSDT (null) 002AE (v01 PmRef Cpu0Ist 00003000 INTL 20041203)
[ 0.082196] ACPI: SSDT 000000007f5e89c0 00152 (v01 PmRef Cpu1Ist 00003000 INTL 20041203)
[ 0.082418] ACPI: Dynamic OEM Table Load:
[ 0.082421] ACPI: SSDT (null) 00152 (v01 PmRef Cpu1Ist 00003000 INTL 20041203)
[ 0.082587] ACPI: Interpreter enabled
[ 0.082590] ACPI: (supports S0 S3 S4 S5)
[ 0.082604] ACPI: Using IOAPIC for interrupt routing
[ 0.085972] ACPI: No dock devices found.
[ 0.085976] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[ 0.086023] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
[ 0.086077] pci_root PNP0A08:00: host bridge window [io 0x0000-0x0cf7]
[ 0.086080] pci_root PNP0A08:00: host bridge window [io 0x0d00-0xffff]
[ 0.086082] pci_root PNP0A08:00: host bridge window [mem 0xfed40000-0xfed44fff]
[ 0.086084] pci_root PNP0A08:00: host bridge window [mem 0x000a0000-0x000bffff]
[ 0.086086] pci_root PNP0A08:00: host bridge window [mem 0x000c0000-0x000dffff]
[ 0.086088] pci_root PNP0A08:00: host bridge window [mem 0x7f600000-0xfebfffff]
[ 0.086122] PCI host bridge to bus 0000:00
[ 0.086124] pci_bus 0000:00: root bus resource [io 0x0000-0x0cf7]
[ 0.086126] pci_bus 0000:00: root bus resource [io 0x0d00-0xffff]
[ 0.086127] pci_bus 0000:00: root bus resource [mem 0xfed40000-0xfed44fff]
[ 0.086129] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff]
[ 0.086131] pci_bus 0000:00: root bus resource [mem 0x000c0000-0x000dffff]
[ 0.086133] pci_bus 0000:00: root bus resource [mem 0x7f600000-0xfebfffff]
[ 0.086142] pci 0000:00:00.0: [8086:29c0] type 00 class 0x060000
[ 0.086184] pci 0000:00:02.0: [8086:29c2] type 00 class 0x030000
[ 0.086194] pci 0000:00:02.0: reg 10: [mem 0xfdf00000-0xfdf7ffff]
[ 0.086199] pci 0000:00:02.0: reg 14: [io 0xff00-0xff07]
[ 0.086204] pci 0000:00:02.0: reg 18: [mem 0xd0000000-0xdfffffff pref]
[ 0.086209] pci 0000:00:02.0: reg 1c: [mem 0xfda00000-0xfdafffff]
[ 0.086269] pci 0000:00:1b.0: [8086:27d8] type 00 class 0x040300
[ 0.086282] pci 0000:00:1b.0: reg 10: [mem 0xfdff8000-0xfdffbfff 64bit]
[ 0.086341] pci 0000:00:1b.0: PME# supported from D0 D3hot D3cold
[ 0.086361] pci 0000:00:1c.0: [8086:27d0] type 01 class 0x060400
[ 0.086421] pci 0000:00:1c.0: PME# supported from D0 D3hot D3cold
[ 0.086441] pci 0000:00:1c.1: [8086:27d2] type 01 class 0x060400
[ 0.086501] pci 0000:00:1c.1: PME# supported from D0 D3hot D3cold
[ 0.086523] pci 0000:00:1d.0: [8086:27c8] type 00 class 0x0c0300
[ 0.086558] pci 0000:00:1d.0: reg 20: [io 0xfe00-0xfe1f]
[ 0.086585] pci 0000:00:1d.1: [8086:27c9] type 00 class 0x0c0300
[ 0.086619] pci 0000:00:1d.1: reg 20: [io 0xfd00-0xfd1f]
[ 0.086646] pci 0000:00:1d.2: [8086:27ca] type 00 class 0x0c0300
[ 0.086681] pci 0000:00:1d.2: reg 20: [io 0xfc00-0xfc1f]
[ 0.086709] pci 0000:00:1d.3: [8086:27cb] type 00 class 0x0c0300
[ 0.086744] pci 0000:00:1d.3: reg 20: [io 0xfb00-0xfb1f]
[ 0.086779] pci 0000:00:1d.7: [8086:27cc] type 00 class 0x0c0320
[ 0.086795] pci 0000:00:1d.7: reg 10: [mem 0xfdfff000-0xfdfff3ff]
[ 0.086866] pci 0000:00:1d.7: PME# supported from D0 D3hot D3cold
[ 0.086883] pci 0000:00:1e.0: [8086:244e] type 01 class 0x060401
[ 0.086938] pci 0000:00:1f.0: [8086:27b8] type 00 class 0x060100
[ 0.087015] pci 0000:00:1f.0: ICH7 LPC Generic IO decode 1 PIO at 0800 (mask 003f)
[ 0.087018] pci 0000:00:1f.0: ICH7 LPC Generic IO decode 2 PIO at 0290 (mask 003f)
[ 0.087021] pci 0000:00:1f.0: ICH7 LPC Generic IO decode 3 PIO at 4700 (mask 000b)
[ 0.087057] pci 0000:00:1f.1: [8086:27df] type 00 class 0x01018a
[ 0.087068] pci 0000:00:1f.1: reg 10: [io 0x0000-0x0007]
[ 0.087076] pci 0000:00:1f.1: reg 14: [io 0x0000-0x0003]
[ 0.087084] pci 0000:00:1f.1: reg 18: [io 0x0000-0x0007]
[ 0.087092] pci 0000:00:1f.1: reg 1c: [io 0x0000-0x0003]
[ 0.087100] pci 0000:00:1f.1: reg 20: [io 0xfa00-0xfa0f]
[ 0.087131] pci 0000:00:1f.2: [8086:27c0] type 00 class 0x01018f
[ 0.087143] pci 0000:00:1f.2: reg 10: [io 0xf900-0xf907]
[ 0.087150] pci 0000:00:1f.2: reg 14: [io 0xf800-0xf803]
[ 0.087157] pci 0000:00:1f.2: reg 18: [io 0xf700-0xf707]
[ 0.087163] pci 0000:00:1f.2: reg 1c: [io 0xf600-0xf603]
[ 0.087170] pci 0000:00:1f.2: reg 20: [io 0xf500-0xf50f]
[ 0.087201] pci 0000:00:1f.2: PME# supported from D3hot
[ 0.087213] pci 0000:00:1f.3: [8086:27da] type 00 class 0x0c0500
[ 0.087257] pci 0000:00:1f.3: reg 20: [io 0x0500-0x051f]
[ 0.087319] pci 0000:00:1c.0: PCI bridge to [bus 01-01]
[ 0.087323] pci 0000:00:1c.0: bridge window [io 0xc000-0xcfff]
[ 0.087326] pci 0000:00:1c.0: bridge window [mem 0xfde00000-0xfdefffff]
[ 0.087331] pci 0000:00:1c.0: bridge window [mem 0xfdd00000-0xfddfffff 64bit pref]
[ 0.087386] pci 0000:02:00.0: [10ec:8168] type 00 class 0x020000
[ 0.087402] pci 0000:02:00.0: reg 10: [io 0xee00-0xeeff]
[ 0.087430] pci 0000:02:00.0: reg 18: [mem 0xfdcff000-0xfdcfffff 64bit]
[ 0.087463] pci 0000:02:00.0: reg 30: [mem 0x00000000-0x0001ffff pref]
[ 0.087534] pci 0000:02:00.0: supports D1 D2
[ 0.087535] pci 0000:02:00.0: PME# supported from D1 D2 D3hot D3cold
[ 0.087558] pci 0000:02:00.0: disabling ASPM on pre-1.1 PCIe device. You can enable it with 'pcie_aspm=force'
[ 0.087568] pci 0000:00:1c.1: PCI bridge to [bus 02-02]
[ 0.087572] pci 0000:00:1c.1: bridge window [io 0xe000-0xefff]
[ 0.087575] pci 0000:00:1c.1: bridge window [mem 0xfdc00000-0xfdcfffff]
[ 0.087580] pci 0000:00:1c.1: bridge window [mem 0xfdb00000-0xfdbfffff 64bit pref]
[ 0.087632] pci 0000:00:1e.0: PCI bridge to [bus 03-03] (subtractive decode)
[ 0.087635] pci 0000:00:1e.0: bridge window [io 0xd000-0xdfff]
[ 0.087639] pci 0000:00:1e.0: bridge window [mem 0xfd900000-0xfd9fffff]
[ 0.087644] pci 0000:00:1e.0: bridge window [mem 0xfd800000-0xfd8fffff 64bit pref]
[ 0.087646] pci 0000:00:1e.0: bridge window [io 0x0000-0x0cf7] (subtractive decode)
[ 0.087648] pci 0000:00:1e.0: bridge window [io 0x0d00-0xffff] (subtractive decode)
[ 0.087650] pci 0000:00:1e.0: bridge window [mem 0xfed40000-0xfed44fff] (subtractive decode)
[ 0.087652] pci 0000:00:1e.0: bridge window [mem 0x000a0000-0x000bffff] (subtractive decode)
[ 0.087654] pci 0000:00:1e.0: bridge window [mem 0x000c0000-0x000dffff] (subtractive decode)
[ 0.087656] pci 0000:00:1e.0: bridge window [mem 0x7f600000-0xfebfffff] (subtractive decode)
[ 0.087670] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
[ 0.087738] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PEX0._PRT]
[ 0.087760] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PEX1._PRT]
[ 0.087788] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.HUB0._PRT]
[ 0.087841] pci0000:00: Requesting ACPI _OSC control (0x1d)
[ 0.087844] pci0000:00: ACPI _OSC request failed (AE_NOT_FOUND), returned control mask: 0x1d
[ 0.087845] ACPI _OSC control for PCIe not granted, disabling ASPM
[ 0.093325] ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 7 9 *10 11 12 14 15)
[ 0.093363] ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 7 9 10 *11 12 14 15)
[ 0.093400] ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 7 *9 10 11 12 14 15)
[ 0.093437] ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 7 9 10 11 12 14 *15)
[ 0.093475] ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 7 9 10 11 12 14 15) *0, disabled.
[ 0.093513] ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 7 9 10 11 12 14 15) *0, disabled.
[ 0.093551] ACPI: PCI Interrupt Link [LNK0] (IRQs 3 4 5 7 9 10 11 12 14 15) *0, disabled.
[ 0.093588] ACPI: PCI Interrupt Link [LNK1] (IRQs 3 4 *5 7 9 10 11 12 14 15)
[ 0.093651] vgaarb: device added: PCI:0000:00:02.0,decodes=io+mem,owns=io+mem,locks=none
[ 0.093651] vgaarb: loaded
[ 0.093651] vgaarb: bridge control possible 0000:00:02.0
[ 0.093651] SCSI subsystem initialized
[ 0.093651] libata version 3.00 loaded.
[ 0.094001] usbcore: registered new interface driver usbfs
[ 0.094013] usbcore: registered new interface driver hub
[ 0.094018] usbcore: registered new device driver usb
[ 0.094029] PCI: Using ACPI for IRQ routing
[ 0.099289] PCI: pci_cache_line_size set to 64 bytes
[ 0.099342] reserve RAM buffer: 000000000009f400 - 000000000009ffff
[ 0.099344] reserve RAM buffer: 000000007f590000 - 000000007fffffff
[ 0.099433] NetLabel: Initializing
[ 0.099435] NetLabel: domain hash size = 128
[ 0.099436] NetLabel: protocols = UNLABELED CIPSOv4
[ 0.099449] NetLabel: unlabeled traffic allowed by default
[ 0.099500] HPET: 3 timers in total, 0 timers will be used for per-cpu timer
[ 0.099503] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0
[ 0.099508] hpet0: 3 comparators, 64-bit 14.318180 MHz counter
[ 0.104012] Switching to clocksource hpet
[ 0.112240] pnp: PnP ACPI init
[ 0.112257] ACPI: bus type pnp registered
[ 0.112353] pnp 00:00: [bus 00-ff]
[ 0.112355] pnp 00:00: [io 0x0cf8-0x0cff]
[ 0.112357] pnp 00:00: [io 0x0000-0x0cf7 window]
[ 0.112359] pnp 00:00: [io 0x0d00-0xffff window]
[ 0.112361] pnp 00:00: [mem 0xfed40000-0xfed44fff window]
[ 0.112363] pnp 00:00: [mem 0x000a0000-0x000bffff window]
[ 0.112364] pnp 00:00: [mem 0x000c0000-0x000dffff window]
[ 0.112366] pnp 00:00: [mem 0x7f600000-0xfebfffff window]
[ 0.112425] pnp 00:00: Plug and Play ACPI device, IDs PNP0a08 PNP0a03 (active)
[ 0.112474] pnp 00:01: [io 0x0010-0x001f]
[ 0.112475] pnp 00:01: [io 0x0022-0x003f]
[ 0.112477] pnp 00:01: [io 0x0044-0x004d]
[ 0.112478] pnp 00:01: [io 0x0050-0x005e]
[ 0.112480] pnp 00:01: [io 0x0062-0x0063]
[ 0.112481] pnp 00:01: [io 0x0065-0x006f]
[ 0.112483] pnp 00:01: [io 0x0074-0x007f]
[ 0.112484] pnp 00:01: [io 0x0091-0x0093]
[ 0.112486] pnp 00:01: [io 0x00a2-0x00bf]
[ 0.112487] pnp 00:01: [io 0x00e0-0x00ef]
[ 0.112489] pnp 00:01: [io 0x04d0-0x04d1]
[ 0.112490] pnp 00:01: [io 0x0290-0x029f]
[ 0.112492] pnp 00:01: [io 0x0800-0x087f]
[ 0.112493] pnp 00:01: [io 0x0290-0x0297]
[ 0.112494] pnp 00:01: [io 0x0880-0x088f]
[ 0.112546] system 00:01: [io 0x04d0-0x04d1] has been reserved
[ 0.112549] system 00:01: [io 0x0290-0x029f] has been reserved
[ 0.112551] system 00:01: [io 0x0800-0x087f] has been reserved
[ 0.112553] system 00:01: [io 0x0290-0x0297] has been reserved
[ 0.112555] system 00:01: [io 0x0880-0x088f] has been reserved
[ 0.112558] system 00:01: Plug and Play ACPI device, IDs PNP0c02 (active)
[ 0.112568] pnp 00:02: [dma 4]
[ 0.112570] pnp 00:02: [io 0x0000-0x000f]
[ 0.112572] pnp 00:02: [io 0x0080-0x0090]
[ 0.112573] pnp 00:02: [io 0x0094-0x009f]
[ 0.112575] pnp 00:02: [io 0x00c0-0x00df]
[ 0.112595] pnp 00:02: Plug and Play ACPI device, IDs PNP0200 (active)
[ 0.112634] pnp 00:03: [irq 0 disabled]
[ 0.112647] pnp 00:03: [irq 8]
[ 0.112649] pnp 00:03: [mem 0xfed00000-0xfed003ff]
[ 0.112674] pnp 00:03: Plug and Play ACPI device, IDs PNP0103 (active)
[ 0.112694] pnp 00:04: [io 0x0070-0x0073]
[ 0.112716] pnp 00:04: Plug and Play ACPI device, IDs PNP0b00 (active)
[ 0.112723] pnp 00:05: [io 0x0061]
[ 0.112747] pnp 00:05: Plug and Play ACPI device, IDs PNP0800 (active)
[ 0.112755] pnp 00:06: [io 0x00f0-0x00ff]
[ 0.112760] pnp 00:06: [irq 13]
[ 0.112781] pnp 00:06: Plug and Play ACPI device, IDs PNP0c04 (active)
[ 0.112888] pnp 00:07: [io 0x03f0-0x03f5]
[ 0.112893] pnp 00:07: [io 0x03f7]
[ 0.112897] pnp 00:07: [irq 6]
[ 0.112899] pnp 00:07: [dma 2]
[ 0.112935] pnp 00:07: Plug and Play ACPI device, IDs PNP0700 (active)
[ 0.113084] pnp 00:08: [io 0x03f8-0x03ff]
[ 0.113089] pnp 00:08: [irq 4]
[ 0.113141] pnp 00:08: Plug and Play ACPI device, IDs PNP0501 (active)
[ 0.113336] pnp 00:09: [io 0x02f8-0x02ff]
[ 0.113341] pnp 00:09: [irq 3]
[ 0.113385] pnp 00:09: Plug and Play ACPI device, IDs PNP0510 (active)
[ 0.113613] pnp 00:0a: [io 0x0378-0x037f]
[ 0.113616] pnp 00:0a: [io 0x0778-0x077b]
[ 0.113620] pnp 00:0a: [irq 7]
[ 0.113621] pnp 00:0a: [dma 3]
[ 0.113669] pnp 00:0a: Plug and Play ACPI device, IDs PNP0401 (active)
[ 0.113702] pnp 00:0b: [irq 12]
[ 0.113725] pnp 00:0b: Plug and Play ACPI device, IDs PNP0f13 (active)
[ 0.113747] pnp 00:0c: [io 0x0060]
[ 0.113749] pnp 00:0c: [io 0x0064]
[ 0.113753] pnp 00:0c: [irq 1]
[ 0.113781] pnp 00:0c: Plug and Play ACPI device, IDs PNP0303 (active)
[ 0.113804] pnp 00:0d: [io 0x0400-0x04bf]
[ 0.113840] system 00:0d: [io 0x0400-0x04bf] has been reserved
[ 0.113842] system 00:0d: Plug and Play ACPI device, IDs PNP0c02 (active)
[ 0.113857] pnp 00:0e: [mem 0xffb80000-0xffbfffff]
[ 0.113884] pnp 00:0e: Plug and Play ACPI device, IDs INT0800 (active)
[ 0.114043] pnp 00:0f: [mem 0xe0000000-0xefffffff]
[ 0.114086] system 00:0f: [mem 0xe0000000-0xefffffff] has been reserved
[ 0.114089] system 00:0f: Plug and Play ACPI device, IDs PNP0c02 (active)
[ 0.114138] pnp 00:10: [mem 0x000f0000-0x000fffff]
[ 0.114140] pnp 00:10: [mem 0x7f600000-0x7f6fffff]
[ 0.114142] pnp 00:10: [mem 0xfed00000-0xfed000ff]
[ 0.114143] pnp 00:10: [mem 0x7f590000-0x7f5fffff]
[ 0.114145] pnp 00:10: [mem 0x00000000-0x0009ffff]
[ 0.114146] pnp 00:10: [mem 0x00100000-0x7f58ffff]
[ 0.114148] pnp 00:10: [mem 0xfec00000-0xfec00fff]
[ 0.114150] pnp 00:10: [mem 0xfed13000-0xfed1dfff]
[ 0.114151] pnp 00:10: [mem 0xfed20000-0xfed3ffff]
[ 0.114153] pnp 00:10: [mem 0xfed45000-0xfed8ffff]
[ 0.114154] pnp 00:10: [mem 0xfee00000-0xfee00fff]
[ 0.114156] pnp 00:10: [mem 0xffb00000-0xffb7ffff]
[ 0.114158] pnp 00:10: [mem 0xfff00000-0xffffffff]
[ 0.114159] pnp 00:10: [mem 0x000e0000-0x000effff]
[ 0.114210] system 00:10: [mem 0x000f0000-0x000fffff] could not be reserved
[ 0.114213] system 00:10: [mem 0x7f600000-0x7f6fffff] has been reserved
[ 0.114215] system 00:10: [mem 0xfed00000-0xfed000ff] has been reserved
[ 0.114217] system 00:10: [mem 0x7f590000-0x7f5fffff] could not be reserved
[ 0.114219] system 00:10: [mem 0x00000000-0x0009ffff] could not be reserved
[ 0.114222] system 00:10: [mem 0x00100000-0x7f58ffff] could not be reserved
[ 0.114224] system 00:10: [mem 0xfec00000-0xfec00fff] could not be reserved
[ 0.114226] system 00:10: [mem 0xfed13000-0xfed1dfff] has been reserved
[ 0.114229] system 00:10: [mem 0xfed20000-0xfed3ffff] has been reserved
[ 0.114231] system 00:10: [mem 0xfed45000-0xfed8ffff] has been reserved
[ 0.114233] system 00:10: [mem 0xfee00000-0xfee00fff] has been reserved
[ 0.114235] system 00:10: [mem 0xffb00000-0xffb7ffff] has been reserved
[ 0.114237] system 00:10: [mem 0xfff00000-0xffffffff] has been reserved
[ 0.114240] system 00:10: [mem 0x000e0000-0x000effff] has been reserved
[ 0.114242] system 00:10: Plug and Play ACPI device, IDs PNP0c01 (active)
[ 0.114250] pnp: PnP ACPI: found 17 devices
[ 0.114251] ACPI: ACPI bus type pnp unregistered
[ 0.120676] pci 0000:00:1c.0: PCI bridge to [bus 01-01]
[ 0.120680] pci 0000:00:1c.0: bridge window [io 0xc000-0xcfff]
[ 0.120684] pci 0000:00:1c.0: bridge window [mem 0xfde00000-0xfdefffff]
[ 0.120688] pci 0000:00:1c.0: bridge window [mem 0xfdd00000-0xfddfffff 64bit pref]
[ 0.120696] pci 0000:02:00.0: BAR 6: assigned [mem 0xfdb00000-0xfdb1ffff pref]
[ 0.120698] pci 0000:00:1c.1: PCI bridge to [bus 02-02]
[ 0.120701] pci 0000:00:1c.1: bridge window [io 0xe000-0xefff]
[ 0.120705] pci 0000:00:1c.1: bridge window [mem 0xfdc00000-0xfdcfffff]
[ 0.120709] pci 0000:00:1c.1: bridge window [mem 0xfdb00000-0xfdbfffff 64bit pref]
[ 0.120714] pci 0000:00:1e.0: PCI bridge to [bus 03-03]
[ 0.120716] pci 0000:00:1e.0: bridge window [io 0xd000-0xdfff]
[ 0.120720] pci 0000:00:1e.0: bridge window [mem 0xfd900000-0xfd9fffff]
[ 0.120724] pci 0000:00:1e.0: bridge window [mem 0xfd800000-0xfd8fffff 64bit pref]
[ 0.120751] pci 0000:00:1e.0: setting latency timer to 64
[ 0.120755] pci_bus 0000:00: resource 4 [io 0x0000-0x0cf7]
[ 0.120757] pci_bus 0000:00: resource 5 [io 0x0d00-0xffff]
[ 0.120759] pci_bus 0000:00: resource 6 [mem 0xfed40000-0xfed44fff]
[ 0.120761] pci_bus 0000:00: resource 7 [mem 0x000a0000-0x000bffff]
[ 0.120762] pci_bus 0000:00: resource 8 [mem 0x000c0000-0x000dffff]
[ 0.120764] pci_bus 0000:00: resource 9 [mem 0x7f600000-0xfebfffff]
[ 0.120766] pci_bus 0000:01: resource 0 [io 0xc000-0xcfff]
[ 0.120768] pci_bus 0000:01: resource 1 [mem 0xfde00000-0xfdefffff]
[ 0.120770] pci_bus 0000:01: resource 2 [mem 0xfdd00000-0xfddfffff 64bit pref]
[ 0.120772] pci_bus 0000:02: resource 0 [io 0xe000-0xefff]
[ 0.120774] pci_bus 0000:02: resource 1 [mem 0xfdc00000-0xfdcfffff]
[ 0.120776] pci_bus 0000:02: resource 2 [mem 0xfdb00000-0xfdbfffff 64bit pref]
[ 0.120778] pci_bus 0000:03: resource 0 [io 0xd000-0xdfff]
[ 0.120780] pci_bus 0000:03: resource 1 [mem 0xfd900000-0xfd9fffff]
[ 0.120782] pci_bus 0000:03: resource 2 [mem 0xfd800000-0xfd8fffff 64bit pref]
[ 0.120784] pci_bus 0000:03: resource 4 [io 0x0000-0x0cf7]
[ 0.120786] pci_bus 0000:03: resource 5 [io 0x0d00-0xffff]
[ 0.120787] pci_bus 0000:03: resource 6 [mem 0xfed40000-0xfed44fff]
[ 0.120789] pci_bus 0000:03: resource 7 [mem 0x000a0000-0x000bffff]
[ 0.120791] pci_bus 0000:03: resource 8 [mem 0x000c0000-0x000dffff]
[ 0.120793] pci_bus 0000:03: resource 9 [mem 0x7f600000-0xfebfffff]
[ 0.120832] NET: Registered protocol family 2
[ 0.120935] IP route cache hash table entries: 65536 (order: 7, 524288 bytes)
[ 0.121506] TCP established hash table entries: 262144 (order: 10, 4194304 bytes)
[ 0.123478] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
[ 0.124028] TCP: Hash tables configured (established 262144 bind 65536)
[ 0.124030] TCP: reno registered
[ 0.124037] UDP hash table entries: 1024 (order: 3, 32768 bytes)
[ 0.124061] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes)
[ 0.124182] NET: Registered protocol family 1
[ 0.124201] pci 0000:00:02.0: Boot video device
[ 0.124343] PCI: CLS 64 bytes, default 64
[ 0.124405] Unpacking initramfs...
[ 0.221610] Freeing initrd memory: 5988k freed
[ 0.224711] audit: initializing netlink socket (disabled)
[ 0.224727] type=2000 audit(1336233928.223:1): initialized
[ 0.236407] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[ 0.237925] VFS: Disk quotas dquot_6.5.2
[ 0.237962] Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 0.238326] msgmni has been set to 3977
[ 0.238377] SELinux: Registering netfilter hooks
[ 0.238820] alg: No test for stdrng (krng)
[ 0.238826] NET: Registered protocol family 38
[ 0.238858] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[ 0.238884] io scheduler noop registered
[ 0.238886] io scheduler deadline registered
[ 0.238931] io scheduler cfq registered (default)
[ 0.239067] pcieport 0000:00:1c.0: irq 40 for MSI/MSI-X
[ 0.239146] pcieport 0000:00:1c.1: irq 41 for MSI/MSI-X
[ 0.239212] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[ 0.239229] pciehp: PCI Express Hot Plug Controller Driver version: 0.4
[ 0.239231] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
[ 0.239505] intel_idle: does not run on family 6 model 23
[ 0.239564] input: Power Button as /devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input0
[ 0.239568] ACPI: Power Button [PWRB]
[ 0.239611] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input1
[ 0.239613] ACPI: Power Button [PWRF]
[ 0.239652] ACPI: Fan [FAN] (on)
[ 0.239786] ACPI: Requesting acpi_cpufreq
[ 0.242489] thermal LNXTHERM:00: registered as thermal_zone0
[ 0.242491] ACPI: Thermal Zone [THRM] (201 C)
[ 0.242515] GHES: HEST is not enabled!
[ 0.242591] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 0.263041] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[ 0.283508] serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
[ 0.304116] 00:08: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[ 0.304393] Non-volatile memory driver v1.3
[ 0.304395] Linux agpgart interface v0.103
[ 0.304453] agpgart-intel 0000:00:00.0: Intel G33 Chipset
[ 0.304529] agpgart-intel 0000:00:00.0: detected gtt size: 524288K total, 262144K mappable
[ 0.305033] agpgart-intel 0000:00:00.0: detected 8192K stolen memory
[ 0.305141] agpgart-intel 0000:00:00.0: AGP aperture is 256M @ 0xd0000000
[ 0.305797] loop: module loaded
[ 0.305867] ata_piix 0000:00:1f.1: version 2.13
[ 0.305905] ata_piix 0000:00:1f.1: setting latency timer to 64
[ 0.306161] scsi0 : ata_piix
[ 0.306227] scsi1 : ata_piix
[ 0.306565] ata2: PATA max UDMA/100 cmd 0x1f0 ctl 0x3f6 bmdma 0xfa00 irq 14
[ 0.306567] ata3: PATA max UDMA/100 cmd 0x170 ctl 0x376 bmdma 0xfa08 irq 15
[ 0.306585] ata_piix 0000:00:1f.2: MAP [ P0 P2 P1 P3 ]
[ 0.306615] ata_piix 0000:00:1f.2: setting latency timer to 64
[ 0.306626] ata3: port disabled--ignoring
[ 0.306906] scsi2 : ata_piix
[ 0.306963] scsi3 : ata_piix
[ 0.307296] ata4: SATA max UDMA/133 cmd 0xf900 ctl 0xf800 bmdma 0xf500 irq 19
[ 0.307298] ata5: SATA max UDMA/133 cmd 0xf700 ctl 0xf600 bmdma 0xf508 irq 19
[ 0.307361] Fixed MDIO Bus: probed
[ 0.307482] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 0.307513] ehci_hcd 0000:00:1d.7: setting latency timer to 64
[ 0.307516] ehci_hcd 0000:00:1d.7: EHCI Host Controller
[ 0.307571] ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 1
[ 0.307587] ehci_hcd 0000:00:1d.7: using broken periodic workaround
[ 0.307597] ehci_hcd 0000:00:1d.7: debug port 1
[ 0.311468] ehci_hcd 0000:00:1d.7: cache line size of 64 is not supported
[ 0.311481] ehci_hcd 0000:00:1d.7: irq 23, io mem 0xfdfff000
[ 0.317022] ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00
[ 0.317056] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 0.317060] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.317064] usb usb1: Product: EHCI Host Controller
[ 0.317068] usb usb1: Manufacturer: Linux 3.4.0-rc5 ehci_hcd
[ 0.317071] usb usb1: SerialNumber: 0000:00:1d.7
[ 0.317178] hub 1-0:1.0: USB hub found
[ 0.317182] hub 1-0:1.0: 8 ports detected
[ 0.317251] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 0.317264] uhci_hcd: USB Universal Host Controller Interface driver
[ 0.317281] uhci_hcd 0000:00:1d.0: setting latency timer to 64
[ 0.317284] uhci_hcd 0000:00:1d.0: UHCI Host Controller
[ 0.317330] uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 2
[ 0.317351] uhci_hcd 0000:00:1d.0: irq 23, io base 0x0000fe00
[ 0.317379] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
[ 0.317381] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.317383] usb usb2: Product: UHCI Host Controller
[ 0.317385] usb usb2: Manufacturer: Linux 3.4.0-rc5 uhci_hcd
[ 0.317386] usb usb2: SerialNumber: 0000:00:1d.0
[ 0.317456] hub 2-0:1.0: USB hub found
[ 0.317460] hub 2-0:1.0: 2 ports detected
[ 0.317514] uhci_hcd 0000:00:1d.1: setting latency timer to 64
[ 0.317517] uhci_hcd 0000:00:1d.1: UHCI Host Controller
[ 0.317552] uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 3
[ 0.317572] uhci_hcd 0000:00:1d.1: irq 19, io base 0x0000fd00
[ 0.317598] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001
[ 0.317601] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.317603] usb usb3: Product: UHCI Host Controller
[ 0.317604] usb usb3: Manufacturer: Linux 3.4.0-rc5 uhci_hcd
[ 0.317606] usb usb3: SerialNumber: 0000:00:1d.1
[ 0.317676] hub 3-0:1.0: USB hub found
[ 0.317679] hub 3-0:1.0: 2 ports detected
[ 0.317731] uhci_hcd 0000:00:1d.2: setting latency timer to 64
[ 0.317734] uhci_hcd 0000:00:1d.2: UHCI Host Controller
[ 0.317772] uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 4
[ 0.317801] uhci_hcd 0000:00:1d.2: irq 18, io base 0x0000fc00
[ 0.317828] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001
[ 0.317830] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.317832] usb usb4: Product: UHCI Host Controller
[ 0.317833] usb usb4: Manufacturer: Linux 3.4.0-rc5 uhci_hcd
[ 0.317835] usb usb4: SerialNumber: 0000:00:1d.2
[ 0.317909] hub 4-0:1.0: USB hub found
[ 0.317913] hub 4-0:1.0: 2 ports detected
[ 0.317965] uhci_hcd 0000:00:1d.3: setting latency timer to 64
[ 0.317968] uhci_hcd 0000:00:1d.3: UHCI Host Controller
[ 0.318014] uhci_hcd 0000:00:1d.3: new USB bus registered, assigned bus number 5
[ 0.318045] uhci_hcd 0000:00:1d.3: irq 16, io base 0x0000fb00
[ 0.318071] usb usb5: New USB device found, idVendor=1d6b, idProduct=0001
[ 0.318073] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.318075] usb usb5: Product: UHCI Host Controller
[ 0.318077] usb usb5: Manufacturer: Linux 3.4.0-rc5 uhci_hcd
[ 0.318078] usb usb5: SerialNumber: 0000:00:1d.3
[ 0.318148] hub 5-0:1.0: USB hub found
[ 0.318152] hub 5-0:1.0: 2 ports detected
[ 0.318236] usbcore: registered new interface driver usbserial
[ 0.318244] usbcore: registered new interface driver usbserial_generic
[ 0.318250] USB Serial support registered for generic
[ 0.318253] usbserial: USB Serial Driver core
[ 0.318291] i8042: PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:PS2M] at 0x60,0x64 irq 1,12
[ 0.318605] serio: i8042 KBD port at 0x60,0x64 irq 1
[ 0.318634] serio: i8042 AUX port at 0x60,0x64 irq 12
[ 0.318686] mousedev: PS/2 mouse device common for all mice
[ 0.318812] rtc_cmos 00:04: RTC can wake from S4
[ 0.318919] rtc_cmos 00:04: rtc core: registered rtc_cmos as rtc0
[ 0.318940] rtc0: alarms up to one month, 242 bytes nvram, hpet irqs
[ 0.319010] device-mapper: uevent: version 1.0.3
[ 0.319074] device-mapper: ioctl: 4.22.0-ioctl (2011-10-19) initialised: dm-devel@redhat.com
[ 0.319108] cpuidle: using governor ladder
[ 0.319110] cpuidle: using governor menu
[ 0.319276] EFI Variables Facility v0.08 2004-May-17
[ 0.319365] usbcore: registered new interface driver usbhid
[ 0.319367] usbhid: USB HID core driver
[ 0.319388] zcache: using lzo compressor
[ 0.319437] zcache: cleancache enabled using kernel transcendent memory and compression buddies
[ 0.319523] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 0.319548] TCP: cubic registered
[ 0.319549] Initializing XFRM netlink socket
[ 0.319632] NET: Registered protocol family 10
[ 0.319812] Mobile IPv6
[ 0.319815] NET: Registered protocol family 17
[ 0.319829] Registering the dns_resolver key type
[ 0.319977] PM: Hibernation image not present or could not be loaded.
[ 0.319990] registered taskstats version 1
[ 0.320335] Magic number: 12:577:84
[ 0.320433] rtc_cmos 00:04: setting system clock to 2012-05-05 16:05:29 UTC (1336233929)
[ 0.320805] Initializing network drop monitor service
[ 0.339758] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input2
[ 0.459300] ata5.01: NODEV after polling detection
[ 0.463130] ata5.00: ATAPI: Optiarc DVD RW AD-7280S, 1.01, max UDMA/100
[ 0.469132] ata5.00: configured for UDMA/100
[ 0.473054] ata4.00: ATA-8: WDC WD5000AAKS-00V1A0, 05.01D05, max UDMA/133
[ 0.473060] ata4.00: 976773168 sectors, multi 16: LBA48 NCQ (depth 0/32)
[ 0.476539] ata2.00: ATA-6: ST3160021A, 8.01, max UDMA/100
[ 0.476543] ata2.00: 312581808 sectors, multi 16: LBA48
[ 0.476552] ata2.01: ATAPI: HL-DT-ST GCE-8527B, 1.04, max UDMA/33
[ 0.479343] ata4.00: configured for UDMA/133
[ 0.498369] ata2.00: configured for UDMA/100
[ 0.523180] ata2.01: configured for UDMA/33
[ 0.523587] scsi 0:0:0:0: Direct-Access ATA ST3160021A 8.01 PQ: 0 ANSI: 5
[ 0.523797] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 0.523802] sd 0:0:0:0: [sda] 312581808 512-byte logical blocks: (160 GB/149 GiB)
[ 0.523897] sd 0:0:0:0: [sda] Write Protect is off
[ 0.523903] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 0.524021] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 0.524322] scsi 0:0:1:0: CD-ROM HL-DT-ST CD-RW GCE-8527B 1.04 PQ: 0 ANSI: 5
[ 0.527048] sr0: scsi3-mmc drive: 52x/52x writer cd/rw xa/form2 cdda tray
[ 0.527053] cdrom: Uniform CD-ROM driver Revision: 3.20
[ 0.527192] sr 0:0:1:0: Attached scsi CD-ROM sr0
[ 0.527285] sr 0:0:1:0: Attached scsi generic sg1 type 5
[ 0.527485] scsi 2:0:0:0: Direct-Access ATA WDC WD5000AAKS-0 05.0 PQ: 0 ANSI: 5
[ 0.527653] sd 2:0:0:0: [sdb] 976773168 512-byte logical blocks: (500 GB/465 GiB)
[ 0.527681] sd 2:0:0:0: Attached scsi generic sg2 type 0
[ 0.527747] sd 2:0:0:0: [sdb] Write Protect is off
[ 0.527752] sd 2:0:0:0: [sdb] Mode Sense: 00 3a 00 00
[ 0.527793] sd 2:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 0.528065] sda: sda1
[ 0.528383] scsi 3:0:0:0: CD-ROM Optiarc DVD RW AD-7280S 1.01 PQ: 0 ANSI: 5
[ 0.528807] sd 0:0:0:0: [sda] Attached SCSI disk
[ 0.530198] sr1: scsi3-mmc drive: 48x/48x writer dvd-ram cd/rw xa/form2 cdda tray
[ 0.530358] sr 3:0:0:0: Attached scsi CD-ROM sr1
[ 0.530442] sr 3:0:0:0: Attached scsi generic sg3 type 5
[ 0.560993] sdb: sdb1 sdb2 sdb3 sdb4 < sdb5 >
[ 0.561359] sd 2:0:0:0: [sdb] Attached SCSI disk
[ 0.562710] Freeing unused kernel memory: 996k freed
[ 0.563007] Write protecting the kernel read-only data: 12288k
[ 0.568381] Freeing unused kernel memory: 1932k freed
[ 0.573145] Freeing unused kernel memory: 1476k freed
[ 0.643047] dracut: dracut-013-22.fc16
[ 0.651488] udevd[100]: starting version 173
[ 0.684984] [drm] Initialized drm 1.1.0 20060810
[ 0.689379] i915 0000:00:02.0: setting latency timer to 64
[ 0.722035] i915 0000:00:02.0: irq 42 for MSI/MSI-X
[ 0.722050] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
[ 0.722053] [drm] Driver supports precise vblank timestamp query.
[ 0.722097] vgaarb: device changed decodes: PCI:0000:00:02.0,olddecodes=io+mem,decodes=io+mem:owns=io+mem
[ 0.737366] [drm] initialized overlay support
[ 0.747638] [drm] Got built-in EDID base block and 0 extensions from "edid/1280x1024.bin" for connector "VGA-1"
[ 0.755590] fbcon: inteldrmfb (fb0) is primary device
[ 0.797258] Console: switching to colour frame buffer device 160x64
[ 0.803790] fb0: inteldrmfb frame buffer device
[ 0.803793] drm: registered panic notifier
[ 0.803868] [drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0
[ 0.807571] dracut: Starting plymouth daemon
[ 0.826570] [drm] Got built-in EDID base block and 0 extensions from "edid/1280x1024.bin" for connector "VGA-1"
[ 0.948778] Floppy drive(s): fd0 is 1.44M
[ 0.971742] FDC 0 is a post-1991 82077
[ 1.077358] input: ImPS/2 Generic Wheel Mouse as /devices/platform/i8042/serio1/input/input3
[ 1.226027] Refined TSC clocksource calibration: 2755.320 MHz.
[ 1.226036] Switching to clocksource tsc
[ 1.323927] zcache: created ephemeral tmem pool, id=0, client=65535
[ 1.324875] EXT4-fs (sdb2): mounted filesystem with ordered data mode. Opts: (null)
[ 1.402686] zcache: destroyed pool id=0, cli_id=65535
[ 1.430257] dracut: Checking ext4: /dev/disk/by-uuid/4837c784-4583-4efc-8a40-260819368469
[ 1.430350] dracut: issuing e2fsck -a /dev/disk/by-uuid/4837c784-4583-4efc-8a40-260819368469
[ 1.483787] dracut: /dev/disk/by-uuid/4837c784-4583-4efc-8a40-260819368469: clean, 399659/2621440 files, 2799970/10485760 blocks
[ 1.484117] dracut: Remounting /dev/disk/by-uuid/4837c784-4583-4efc-8a40-260819368469 with -o relatime,ro
[ 1.488699] zcache: created ephemeral tmem pool, id=0, client=65535
[ 1.489172] EXT4-fs (sdb2): mounted filesystem with ordered data mode. Opts: (null)
[ 1.505766] dracut: Mounted root filesystem /dev/sdb2
[ 1.669210] dracut: Switching root
[ 2.009797] type=1404 audit(1336233931.188:2): enforcing=1 old_enforcing=0 auid=4294967295 ses=4294967295
[ 2.074693] SELinux: 2048 avtab hash slots, 98221 rules.
[ 2.095398] SELinux: 2048 avtab hash slots, 98221 rules.
[ 2.218955] SELinux: 9 users, 13 roles, 3940 types, 218 bools, 1 sens, 1024 cats
[ 2.218959] SELinux: 82 classes, 98221 rules
[ 2.222560] SELinux: Completing initialization.
[ 2.222563] SELinux: Setting up existing superblocks.
[ 2.222570] SELinux: initialized (dev sysfs, type sysfs), uses genfs_contexts
[ 2.222576] SELinux: initialized (dev rootfs, type rootfs), uses genfs_contexts
[ 2.222580] SELinux: initialized (dev bdev, type bdev), uses genfs_contexts
[ 2.222585] SELinux: initialized (dev proc, type proc), uses genfs_contexts
[ 2.222593] SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs
[ 2.222613] SELinux: initialized (dev devtmpfs, type devtmpfs), uses transition SIDs
[ 2.223111] SELinux: initialized (dev sockfs, type sockfs), uses task SIDs
[ 2.223116] SELinux: initialized (dev debugfs, type debugfs), uses genfs_contexts
[ 2.224988] SELinux: initialized (dev pipefs, type pipefs), uses task SIDs
[ 2.224997] SELinux: initialized (dev anon_inodefs, type anon_inodefs), uses genfs_contexts
[ 2.225011] SELinux: initialized (dev devpts, type devpts), uses transition SIDs
[ 2.225026] SELinux: initialized (dev hugetlbfs, type hugetlbfs), uses transition SIDs
[ 2.225033] SELinux: initialized (dev mqueue, type mqueue), uses transition SIDs
[ 2.225040] SELinux: initialized (dev selinuxfs, type selinuxfs), uses genfs_contexts
[ 2.225064] SELinux: initialized (dev usbfs, type usbfs), uses genfs_contexts
[ 2.225074] SELinux: initialized (dev sysfs, type sysfs), uses genfs_contexts
[ 2.225914] SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs
[ 2.225919] SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs
[ 2.226453] SELinux: initialized (dev sdb2, type ext4), uses xattr
[ 2.228617] type=1403 audit(1336233931.406:3): policy loaded auid=4294967295 ses=4294967295
[ 2.244422] systemd[1]: Successfully loaded SELinux policy in 243ms 94us.
[ 2.278889] systemd[1]: Successfully loaded SELinux database in 33ms 860us, size on heap is 483K.
[ 2.295562] SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs
[ 2.295936] SELinux: initialized (dev cgroup, type cgroup), uses genfs_contexts
[ 2.339131] systemd[1]: Relabelled /dev and /run in 43ms 125us.
[ 2.350310] SELinux: initialized (dev cgroup, type cgroup), uses genfs_contexts
[ 2.350887] SELinux: initialized (dev cgroup, type cgroup), uses genfs_contexts
[ 2.351589] SELinux: initialized (dev cgroup, type cgroup), uses genfs_contexts
[ 2.352128] SELinux: initialized (dev cgroup, type cgroup), uses genfs_contexts
[ 2.353070] SELinux: initialized (dev cgroup, type cgroup), uses genfs_contexts
[ 2.353569] SELinux: initialized (dev cgroup, type cgroup), uses genfs_contexts
[ 2.354129] SELinux: initialized (dev cgroup, type cgroup), uses genfs_contexts
[ 2.354631] SELinux: initialized (dev cgroup, type cgroup), uses genfs_contexts
[ 2.354725] systemd[1]: systemd 37 running in system mode. (+PAM +LIBWRAP +AUDIT +SELINUX +SYSVINIT +LIBCRYPTSETUP; fedora)
[ 2.370681] systemd[1]: Set hostname to <karlalex.palosanto.com>.
[ 3.000545] SELinux: initialized (dev autofs, type autofs), uses genfs_contexts
[ 3.123349] SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs
[ 3.562975] SELinux: initialized (dev securityfs, type securityfs), uses genfs_contexts
[ 3.563022] SELinux: initialized (dev hugetlbfs, type hugetlbfs), uses transition SIDs
[ 5.838399] udevd[328]: starting version 173
[ 6.151203] zcache: created ephemeral tmem pool, id=1, client=65535
[ 6.151214] EXT4-fs (sdb2): re-mounted. Opts: (null)
[ 6.168104] RPC: Registered named UNIX socket transport module.
[ 6.168106] RPC: Registered udp transport module.
[ 6.168108] RPC: Registered tcp transport module.
[ 6.168109] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 6.168339] SELinux: initialized (dev rpc_pipefs, type rpc_pipefs), uses genfs_contexts
[ 6.369904] SELinux: initialized (dev configfs, type configfs), uses genfs_contexts
[ 6.476824] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
[ 6.476932] r8169 0000:02:00.0: irq 43 for MSI/MSI-X
[ 6.482958] intel_rng: FWH not detected
[ 6.486388] SELinux: initialized (dev binfmt_misc, type binfmt_misc), uses genfs_contexts
[ 6.511940] r8169 0000:02:00.0: eth0: RTL8168b/8111b at 0xffffc90000352000, 00:22:68:44:17:2f, XID 98500000 IRQ 43
[ 6.511944] r8169 0000:02:00.0: eth0: jumbo features [frames: 4080 bytes, tx checksumming: ko]
[ 6.514594] iTCO_vendor_support: vendor-support=0
[ 6.515032] iTCO_wdt: Intel TCO WatchDog Timer Driver v1.07
[ 6.515121] iTCO_wdt: Found a ICH7 or ICH7R TCO device (Version=2, TCOBASE=0x0460)
[ 6.515264] iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0)
[ 6.515656] leds_ss4200: no LED devices found
[ 6.538795] parport_pc 00:0a: reported by Plug and Play ACPI
[ 6.538851] parport0: PC-style at 0x378 (0x778), irq 7 [PCSPP,TRISTATE]
[ 6.580178] snd_hda_intel 0000:00:1b.0: irq 44 for MSI/MSI-X
[ 6.583909] input: PC Speaker as /devices/platform/pcspkr/input/input4
[ 6.606825] ALSA sound/pci/hda/patch_realtek.c:1254 SKU: Nid=0x1d sku_cfg=0x40038601
[ 6.606829] ALSA sound/pci/hda/patch_realtek.c:1256 SKU: port_connectivity=0x1
[ 6.606831] ALSA sound/pci/hda/patch_realtek.c:1257 SKU: enable_pcbeep=0x0
[ 6.606833] ALSA sound/pci/hda/patch_realtek.c:1258 SKU: check_sum=0x00000003
[ 6.606836] ALSA sound/pci/hda/patch_realtek.c:1259 SKU: customization=0x00000086
[ 6.606838] ALSA sound/pci/hda/patch_realtek.c:1260 SKU: external_amp=0x0
[ 6.606840] ALSA sound/pci/hda/patch_realtek.c:1261 SKU: platform_type=0x0
[ 6.606843] ALSA sound/pci/hda/patch_realtek.c:1262 SKU: swap=0x0
[ 6.606845] ALSA sound/pci/hda/patch_realtek.c:1263 SKU: override=0x1
[ 6.607017] ALSA sound/pci/hda/hda_codec.c:5099 autoconfig: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:line
[ 6.607020] ALSA sound/pci/hda/hda_codec.c:5103 speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[ 6.607023] ALSA sound/pci/hda/hda_codec.c:5107 hp_outs=1 (0x1b/0x0/0x0/0x0/0x0)
[ 6.607025] ALSA sound/pci/hda/hda_codec.c:5108 mono: mono_out=0x0
[ 6.607027] ALSA sound/pci/hda/hda_codec.c:5111 dig-out=0x1e/0x0
[ 6.607029] ALSA sound/pci/hda/hda_codec.c:5112 inputs:
[ 6.607032] ALSA sound/pci/hda/hda_codec.c:5116 Rear Mic=0x18
[ 6.607034] ALSA sound/pci/hda/hda_codec.c:5116 Front Mic=0x19
[ 6.607037] ALSA sound/pci/hda/hda_codec.c:5116 Line=0x1a
[ 6.607039] ALSA sound/pci/hda/hda_codec.c:5118
[ 6.616615] ALSA sound/pci/hda/patch_realtek.c:1317 realtek: No valid SSID, checking pincfg 0x40038601 for NID 0x1d
[ 6.616619] ALSA sound/pci/hda/patch_realtek.c:1333 realtek: Enabling init ASM_ID=0x8601 CODEC_ID=10ec0662
[ 6.656351] microcode: CPU0 sig=0x10676, pf=0x1, revision=0x60c
[ 6.727346] input: HDA Intel Line as /devices/pci0000:00/0000:00:1b.0/sound/card0/input5
[ 6.734841] input: HDA Intel Front Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input6
[ 6.736926] input: HDA Intel Rear Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input7
[ 6.737043] input: HDA Intel Front Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input8
[ 6.737128] input: HDA Intel Line Out as /devices/pci0000:00/0000:00:1b.0/sound/card0/input9
[ 6.781844] ppdev: user-space parallel port driver
[ 6.825005] microcode: CPU0 updated to revision 0x60f, date = 2010-09-29
[ 6.830691] microcode: CPU1 sig=0x10676, pf=0x1, revision=0x60c
[ 6.840006] microcode: CPU1 updated to revision 0x60f, date = 2010-09-29
[ 6.857992] microcode: Microcode Update Driver: v2.00 <tigran@aivazian.fsnet.co.uk>, Peter Oruba
[ 6.868315] r8169 0000:02:00.0: vpd r/w failed. This is likely a firmware bug on this device. Contact the card vendor for a firmware update.
[ 6.921007] r8169 0000:02:00.0: vpd r/w failed. This is likely a firmware bug on this device. Contact the card vendor for a firmware update.
[ 6.927168] udevd[354]: renamed network interface eth0 to p17p1
[ 12.520485] Adding 8388604k swap on /dev/sdb3. Priority:0 extents:1 across:8388604k
[ 12.906264] systemd-fsck[620]: /dev/sda1: limpio, 64834/9773056 ficheros, 33782137/39072080 bloques
[ 12.951833] systemd-fsck[642]: /dev/sdb5: limpio, 684930/27369472 ficheros, 87415908/109460736 bloques
[ 13.050747] systemd-fsck[633]: /dev/sdb1: limpio, 268/51200 ficheros, 53012/204800 bloques
[ 13.140556] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
[ 13.167498] zcache: created ephemeral tmem pool, id=2, client=65535
[ 13.167862] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
[ 13.167875] SELinux: initialized (dev sda1, type ext3), uses xattr
[ 13.227665] EXT4-fs (sdb5): mounting ext3 file system using the ext4 subsystem
[ 13.260075] zcache: created ephemeral tmem pool, id=3, client=65535
[ 13.261154] EXT4-fs (sdb5): mounted filesystem with ordered data mode. Opts: (null)
[ 13.261168] SELinux: initialized (dev sdb5, type ext3), uses xattr
[ 13.305581] zcache: created ephemeral tmem pool, id=4, client=65535
[ 13.305720] EXT4-fs (sdb1): mounted filesystem with ordered data mode. Opts: (null)
[ 13.321571] fedora-storage-init[649]: Configurando gestor de vol\xffffffc3\xffffffba\xffffffbamenes l\xffffffc3\xffffffb3\xffffffb3gicos: No volume groups found
[ 13.332180] fedora-storage-init[649]: [ OK ]
[ 13.337781] SELinux: initialized (dev sdb1, type ext4), uses xattr
[ 13.567353] fedora-storage-init[678]: Configurando gestor de vol\xffffffc3\xffffffba\xffffffbamenes l\xffffffc3\xffffffb3\xffffffb3gicos: No volume groups found
[ 13.577724] fedora-storage-init[678]: [ OK ]
[ 13.684244] lvm[685]: No volume groups found
[ 13.766717] systemd-tmpfiles[688]: Successfully loaded SELinux database in 24ms 126us, size on heap is 484K.
[ 14.062205] sandbox[697]: Starting sandbox[ OK ]
[ 14.094792] auditd[702]: Started dispatcher: /sbin/audispd pid: 711
[ 14.102239] audispd[711]: priority_boost_parser called with: 4
[ 14.102738] audispd[711]: max_restarts_parser called with: 10
[ 14.104835] audispd[711]: audispd initialized with q_depth=120 and 1 active plugins
[ 14.137397] /usr/sbin/gpm[727]: *** info [daemon/startup.c(136)]:
[ 14.137409] /usr/sbin/gpm[727]: Started gpm successfully. Entered daemon mode.
[ 14.155053] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
[ 14.166647] iptables.init[700]: iptables: Aplicando reglas del cortafuegos:[ OK ]
[ 14.179132] abrtd[726]: Init complete, entering main loop
[ 14.180570] acpid[743]: starting up with netlink and the input layer
[ 14.180582] acpid[743]: skipping incomplete file /etc/acpi/events/videoconf
[ 14.180591] acpid[743]: 1 rule loaded
[ 14.180599] acpid[743]: waiting for events: event logging is off
[ 14.196198] auditctl[703]: No rules
[ 14.196210] auditctl[703]: AUDIT_STATUS: enabled=0 flag=1 pid=702 rate_limit=0 backlog_limit=320 lost=0 backlog=0
[ 14.206733] auditd[702]: Init complete, auditd 2.2.1 listening for events (startup state enable)
[ 14.207629] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 14.255257] ip6tables.init[698]: ip6tables: Aplicando las reglas del cortafuegos: [ OK ]
[ 14.263650] NetworkManager[753]: <info> NetworkManager (version 0.9.4-3.git20120403.fc16) is starting...
[ 14.263689] NetworkManager[753]: <info> Read config file /etc/NetworkManager/NetworkManager.conf
[ 14.293807] avahi-daemon[776]: Found user 'avahi' (UID 70) and group 'avahi' (GID 70).
[ 14.294184] avahi-daemon[776]: Successfully dropped root privileges.
[ 14.294632] avahi-daemon[776]: avahi-daemon 0.6.30 starting up.
[ 14.317498] avahi-daemon[776]: WARNING: No NSS support for mDNS detected, consider installing nss-mdns!
[ 14.761888] chronyd[789]: chronyd version 1.26-20110831gitb088b7 starting
[ 14.762469] chronyd[789]: Linux kernel major=3 minor=4 patch=0
[ 14.762498] chronyd[789]: hz=100 shift_hz=7 freq_scale=1.00000000 nominal_tick=10000 slew_delta_tick=833 max_tick_bias=1000
[ 14.764168] chronyd[789]: Frequency 40.138 +- 0.530 ppm read from /var/lib/chrony/drift
[ 14.892815] NetworkManager[753]: <info> VPN: loaded org.freedesktop.NetworkManager.vpnc
[ 14.894079] NetworkManager[753]: <info> VPN: loaded org.freedesktop.NetworkManager.openconnect
[ 14.894230] NetworkManager[753]: <info> VPN: loaded org.freedesktop.NetworkManager.openvpn
[ 14.894841] NetworkManager[753]: <info> VPN: loaded org.freedesktop.NetworkManager.pptp
[ 14.896563] dkms_autoinstaller[798]: dkms: running auto installation service for kernel 3.4.0-rc5
[ 14.902370] systemd-logind[768]: New seat seat0.
[ 14.907075] avahi-daemon[776]: Successfully called chroot().
[ 14.907088] avahi-daemon[776]: Successfully dropped remaining capabilities.
[ 14.907098] avahi-daemon[776]: Loading service file /services/ssh.service.
[ 14.907107] avahi-daemon[776]: Loading service file /services/udisks.service.
[ 14.907116] avahi-daemon[776]: Network interface enumeration completed.
[ 14.907125] avahi-daemon[776]: Registering HINFO record with values 'X86_64'/'LINUX'.
[ 14.907134] avahi-daemon[776]: Server startup complete. Host name is karlalex.local. Local service cookie is 3484726399.
[ 14.907145] avahi-daemon[776]: Service "karlalex" (/services/udisks.service) successfully established.
[ 14.907154] avahi-daemon[776]: Service "karlalex" (/services/ssh.service) successfully established.
[ 15.052676] r8169 0000:02:00.0: p17p1: link down
[ 15.053175] ADDRCONF(NETDEV_UP): p17p1: link is not ready
[ 15.053680] r8169 0000:02:00.0: p17p1: link down
[ 15.623816] [drm] Got built-in EDID base block and 0 extensions from "edid/1280x1024.bin" for connector "VGA-1"
[ 15.644790] [drm] Got built-in EDID base block and 0 extensions from "edid/1280x1024.bin" for connector "VGA-1"
[ 15.935772] [drm] Got built-in EDID base block and 0 extensions from "edid/1280x1024.bin" for connector "VGA-1"
[ 16.725744] r8169 0000:02:00.0: p17p1: link up
[ 16.726160] ADDRCONF(NETDEV_CHANGE): p17p1: link becomes ready
[ 17.075855] [drm] Got built-in EDID base block and 0 extensions from "edid/1280x1024.bin" for connector "VGA-1"
[ 17.088857] [drm] Got built-in EDID base block and 0 extensions from "edid/1280x1024.bin" for connector "VGA-1"
[ 17.105712] [drm] Got built-in EDID base block and 0 extensions from "edid/1280x1024.bin" for connector "VGA-1"
[ 17.121729] [drm] Got built-in EDID base block and 0 extensions from "edid/1280x1024.bin" for connector "VGA-1"
[ 17.138738] [drm] Got built-in EDID base block and 0 extensions from "edid/1280x1024.bin" for connector "VGA-1"
[ 18.409216] hda-intel: IRQ timing workaround is activated for card #0. Suggest a bigger bdl_pos_adj.
[ 27.363094] p17p1: no IPv6 routers present
[ 34.529377] fuse init (API version 7.18)
[ 34.554263] SELinux: initialized (dev fuse, type fuse), uses genfs_contexts
[ 34.564534] SELinux: initialized (dev fusectl, type fusectl), uses genfs_contexts
[ 36.175349] [drm] Got built-in EDID base block and 0 extensions from "edid/1280x1024.bin" for connector "VGA-1"
[ 36.427308] [drm] Got built-in EDID base block and 0 extensions from "edid/1280x1024.bin" for connector "VGA-1"
[ 36.445225] [drm] Got built-in EDID base block and 0 extensions from "edid/1280x1024.bin" for connector "VGA-1"
[ 36.466622] [drm] Got built-in EDID base block and 0 extensions from "edid/1280x1024.bin" for connector "VGA-1"
[ 36.484452] [drm] Got built-in EDID base block and 0 extensions from "edid/1280x1024.bin" for connector "VGA-1"
[ 36.499849] [drm] Got built-in EDID base block and 0 extensions from "edid/1280x1024.bin" for connector "VGA-1"
[ 48.576875] [drm] Got built-in EDID base block and 0 extensions from "edid/1280x1024.bin" for connector "VGA-1"
[ 55.615358] [drm] Got built-in EDID base block and 0 extensions from "edid/1280x1024.bin" for connector "VGA-1"
[ 1535.484607] SELinux: initialized (dev fuse, type fuse), uses genfs_contexts
[ 2087.551414] [drm] Got built-in EDID base block and 0 extensions from "edid/1280x1024.bin" for connector "VGA-1"
[ 2087.567935] [drm] Got built-in EDID base block and 0 extensions from "edid/1280x1024.bin" for connector "VGA-1"
[ 2087.584804] [drm] Got built-in EDID base block and 0 extensions from "edid/1280x1024.bin" for connector "VGA-1"
[ 2088.154419] [drm] Got built-in EDID base block and 0 extensions from "edid/1280x1024.bin" for connector "VGA-1"
[ 2088.285776] [drm] Got built-in EDID base block and 0 extensions from "edid/1280x1024.bin" for connector "VGA-1"
[ 2088.300773] [drm] Got built-in EDID base block and 0 extensions from "edid/1280x1024.bin" for connector "VGA-1"
[ 2250.530498] [drm] Got built-in EDID base block and 0 extensions from "edid/1280x1024.bin" for connector "VGA-1"
[ 2250.675707] [drm] Got built-in EDID base block and 0 extensions from "edid/1280x1024.bin" for connector "VGA-1"
[ 2250.808719] [drm] Got built-in EDID base block and 0 extensions from "edid/1280x1024.bin" for connector "VGA-1"
[ 2250.960825] [drm] Got built-in EDID base block and 0 extensions from "edid/1280x1024.bin" for connector "VGA-1"
[ 2251.060208] [drm] Got built-in EDID base block and 0 extensions from "edid/1280x1024.bin" for connector "VGA-1"
[ 2251.140700] [drm] Got built-in EDID base block and 0 extensions from "edid/1280x1024.bin" for connector "VGA-1"
[ 4066.226607] [drm] Got built-in EDID base block and 0 extensions from "edid/1280x1024.bin" for connector "VGA-1"
[ 4376.139776] TCP: lp registered
[ 6218.711633] atkbd serio0: Unknown key released (translated set 2, code 0x62 on isa0060/serio0).
[ 6218.711639] atkbd serio0: Use 'setkeycodes 62 <keycode>' to make it known.
[ 6218.781664] atkbd serio0: Unknown key released (translated set 2, code 0x62 on isa0060/serio0).
[ 6218.781670] atkbd serio0: Use 'setkeycodes 62 <keycode>' to make it known.
[ 6496.426607] atkbd serio0: Unknown key released (translated set 2, code 0x62 on isa0060/serio0).
[ 6496.426613] atkbd serio0: Use 'setkeycodes 62 <keycode>' to make it known.
[ 6496.586287] atkbd serio0: Unknown key released (translated set 2, code 0x62 on isa0060/serio0).
[ 6496.586293] atkbd serio0: Use 'setkeycodes 62 <keycode>' to make it known.
[ 6939.490712] [drm] Got built-in EDID base block and 0 extensions from "edid/1280x1024.bin" for connector "VGA-1"
[ 8284.704014] ------------[ cut here ]------------
[ 8284.704027] WARNING: at net/sched/sch_generic.c:256 dev_watchdog+0x277/0x280()
[ 8284.704031] Hardware name: OEM
[ 8284.704034] NETDEV WATCHDOG: p17p1 (r8169): transmit queue 0 timed out
[ 8284.704037] Modules linked in: tcp_lp fuse lockd ip6t_REJECT nf_conntrack_ipv6 nf_defrag_ipv6 ip6table_filter ip6_tables nf_conntrack_ipv4 nf_defrag_ipv4 xt_state nf_conntrack coretemp ppdev microcode snd_hda_codec_realtek pcspkr snd_hda_intel snd_hda_codec snd_hwdep snd_seq snd_seq_device snd_pcm i2c_i801 parport_pc parport iTCO_wdt iTCO_vendor_support binfmt_misc r8169 mii snd_timer snd uinput soundcore snd_page_alloc sunrpc floppy i915 drm_kms_helper drm i2c_algo_bit i2c_core video [last unloaded: scsi_wait_scan]
[ 8284.704098] Pid: 0, comm: swapper/1 Not tainted 3.4.0-rc5 #37
[ 8284.704101] Call Trace:
[ 8284.704104] <IRQ> [<ffffffff81059bbf>] warn_slowpath_common+0x7f/0xc0
[ 8284.704117] [<ffffffff81059cb6>] warn_slowpath_fmt+0x46/0x50
[ 8284.704124] [<ffffffff8151a747>] dev_watchdog+0x277/0x280
[ 8284.704131] [<ffffffff81068f61>] run_timer_softirq+0x131/0x440
[ 8284.704136] [<ffffffff8151a4d0>] ? qdisc_reset+0x50/0x50
[ 8284.704142] [<ffffffff810611a8>] __do_softirq+0xb8/0x280
[ 8284.704147] [<ffffffff8101cd62>] ? native_sched_clock+0x22/0x80
[ 8284.704153] [<ffffffff810908c5>] ? sched_clock_local+0x25/0x90
[ 8284.704160] [<ffffffff81615f9c>] call_softirq+0x1c/0x30
[ 8284.704166] [<ffffffff810172e5>] do_softirq+0x65/0xa0
[ 8284.704171] [<ffffffff8106169e>] irq_exit+0x9e/0xc0
[ 8284.704176] [<ffffffff816168cb>] smp_apic_timer_interrupt+0x6b/0x98
[ 8284.704182] [<ffffffff8161564a>] apic_timer_interrupt+0x6a/0x70
[ 8284.704185] <EOI> [<ffffffff8101e253>] ? mwait_idle+0x93/0x320
[ 8284.704194] [<ffffffff8101e1fa>] ? mwait_idle+0x3a/0x320
[ 8284.704199] [<ffffffff8101ee19>] cpu_idle+0xd9/0x130
[ 8284.704205] [<ffffffff815fb6c1>] start_secondary+0x266/0x26d
[ 8284.704210] ---[ end trace 6c89d3c4eb442114 ]---
[ 8284.704399] r8169 0000:02:00.0: p17p1: link up
[ 8961.040098] [drm] Got built-in EDID base block and 0 extensions from "edid/1280x1024.bin" for connector "VGA-1"
[ 8961.052827] [drm] Got built-in EDID base block and 0 extensions from "edid/1280x1024.bin" for connector "VGA-1"
[ 8961.571870] [drm] Got built-in EDID base block and 0 extensions from "edid/1280x1024.bin" for connector "VGA-1"
[ 8962.904680] [drm] Got built-in EDID base block and 0 extensions from "edid/1280x1024.bin" for connector "VGA-1"
[ 8962.968829] [drm] Got built-in EDID base block and 0 extensions from "edid/1280x1024.bin" for connector "VGA-1"
[ 8962.984800] [drm] Got built-in EDID base block and 0 extensions from "edid/1280x1024.bin" for connector "VGA-1"
[ 8963.034904] [drm] Got built-in EDID base block and 0 extensions from "edid/1280x1024.bin" for connector "VGA-1"
[ 8963.052733] [drm] Got built-in EDID base block and 0 extensions from "edid/1280x1024.bin" for connector "VGA-1"
[ 8971.688912] SELinux: initialized (dev fuse, type fuse), uses genfs_contexts
[ 8972.870843] [drm] Got built-in EDID base block and 0 extensions from "edid/1280x1024.bin" for connector "VGA-1"
[ 8972.898888] [drm] Got built-in EDID base block and 0 extensions from "edid/1280x1024.bin" for connector "VGA-1"
[ 8972.915895] [drm] Got built-in EDID base block and 0 extensions from "edid/1280x1024.bin" for connector "VGA-1"
[ 8972.931749] [drm] Got built-in EDID base block and 0 extensions from "edid/1280x1024.bin" for connector "VGA-1"
[ 8972.947876] [drm] Got built-in EDID base block and 0 extensions from "edid/1280x1024.bin" for connector "VGA-1"
[ 8972.965752] [drm] Got built-in EDID base block and 0 extensions from "edid/1280x1024.bin" for connector "VGA-1"
[ 8973.550426] [drm] Got built-in EDID base block and 0 extensions from "edid/1280x1024.bin" for connector "VGA-1"
[ 8974.903430] [drm] Got built-in EDID base block and 0 extensions from "edid/1280x1024.bin" for connector "VGA-1"
[ 9067.167911] [drm] Got built-in EDID base block and 0 extensions from "edid/1280x1024.bin" for connector "VGA-1"
[ 9405.495652] atkbd serio0: Unknown key released (translated set 2, code 0x62 on isa0060/serio0).
[ 9405.495658] atkbd serio0: Use 'setkeycodes 62 <keycode>' to make it known.
[ 9405.603285] atkbd serio0: Unknown key released (translated set 2, code 0x62 on isa0060/serio0).
[ 9405.603291] atkbd serio0: Use 'setkeycodes 62 <keycode>' to make it known.
[ 9405.691078] atkbd serio0: Unknown key released (translated set 2, code 0x62 on isa0060/serio0).
[ 9405.691085] atkbd serio0: Use 'setkeycodes 62 <keycode>' to make it known.
[ 9405.792925] atkbd serio0: Unknown key released (translated set 2, code 0x62 on isa0060/serio0).
[ 9405.792931] atkbd serio0: Use 'setkeycodes 62 <keycode>' to make it known.
[ 9405.889286] atkbd serio0: Unknown key released (translated set 2, code 0x62 on isa0060/serio0).
[ 9405.889292] atkbd serio0: Use 'setkeycodes 62 <keycode>' to make it known.
[ 9406.005593] atkbd serio0: Unknown key released (translated set 2, code 0x62 on isa0060/serio0).
[ 9406.005599] atkbd serio0: Use 'setkeycodes 62 <keycode>' to make it known.
[ 9406.130508] atkbd serio0: Unknown key released (translated set 2, code 0x62 on isa0060/serio0).
[ 9406.130514] atkbd serio0: Use 'setkeycodes 62 <keycode>' to make it known.
[ 9406.252587] atkbd serio0: Unknown key released (translated set 2, code 0x62 on isa0060/serio0).
[ 9406.252594] atkbd serio0: Use 'setkeycodes 62 <keycode>' to make it known.
[ 9406.560247] atkbd serio0: Unknown key released (translated set 2, code 0x62 on isa0060/serio0).
[ 9406.560253] atkbd serio0: Use 'setkeycodes 62 <keycode>' to make it known.
[ 9406.719918] atkbd serio0: Unknown key released (translated set 2, code 0x62 on isa0060/serio0).
[ 9406.719925] atkbd serio0: Use 'setkeycodes 62 <keycode>' to make it known.
[ 9406.976180] atkbd serio0: Unknown key released (translated set 2, code 0x62 on isa0060/serio0).
[ 9406.976186] atkbd serio0: Use 'setkeycodes 62 <keycode>' to make it known.
[ 9407.179233] atkbd serio0: Unknown key released (translated set 2, code 0x62 on isa0060/serio0).
[ 9407.179239] atkbd serio0: Use 'setkeycodes 62 <keycode>' to make it known.
[10030.720200] r8169 0000:02:00.0: p17p1: link up
[10048.704218] r8169 0000:02:00.0: p17p1: link up
[10288.707774] r8169 0000:02:00.0: p17p1: link up
^ permalink raw reply
* Re: Fwd: Re: WARNING: at net/sched/sch_generic.c:256 dev_watchdog+0x277/0x280()
From: Francois Romieu @ 2012-05-05 23:01 UTC (permalink / raw)
To: Alex Villacís Lasso; +Cc: netdev
In-Reply-To: <4FA59F5B.5000800@palosanto.com>
Alex Villacís Lasso <a_villacis@palosanto.com> :
[...]
> It happened again, on a non-tainted kernel. The dmesg log is attached.
It sucks.
Can you do a poor man's bisection of the r8169 driver between v3.3 and
v3.4-rc1 (aka 'git cat-file -p $some_rev:drivers/net/ethernet/realtek/r8169.c')
I'd try 1e874e041fc7c222cbd85b20c4406070be1f687a then
8027aa245bbd125350f6a78c5a78771d143aba55 if it does not fail.
--
Ueimor
^ permalink raw reply
* Re: ipctl - new tool for efficient read/write of net related sysctl
From: Stephen Hemminger @ 2012-05-06 1:29 UTC (permalink / raw)
To: Oskar Berggren; +Cc: netdev
In-Reply-To: <CAHOuc7MQiquWxMZ4YApXXKdsRY_StrTfAK9r_DdkstyYe+kCPQ@mail.gmail.com>
>
> In a project of mine I need to read (and possibly set) many of the
> properties
> found under /proc/sys/net/ipv4/conf/. This is simple enough, except
> that
> when you have hundreds of interfaces, it is really slow. In my tests
> it takes
> about 4 seconds to read a single variable for 700 interfaces. For a
> while I
> worked around this using the binary sysctl() interface, but this is
> deprecated.
>
What about exposing these as NETLINK attributes? That would be faster
and you could do bulk updates.
^ permalink raw reply
* [PATCH net-next 0/2] extend sch_mqprio to distribute traffic not only by ETS TC
From: Amir Vadai @ 2012-05-06 7:05 UTC (permalink / raw)
To: David S. Miller; +Cc: netdev, John Fastabend, Oren Duer, Liran Liss, Amir Vadai
This series comes to revive the discussion initiated on the thread "net:
support tx_ring per UP in HW based QoS mechanism" (see
http://marc.info/?t=133165957200004&r=1&w=2) with the major issue to be address
is - how should sk_prio<=> TC be done, for both, tagged and untagged traffic.
Following is a staged description addressing the background, problem
description, current situation, suggestion for the change and implementation of
it.
Background
----------
Egress traffic has 3 layers of management to configure QoS attributes:
* Application - sets sk_prio
* setsockopt() - application may set sk_prio using SO_PRIORITY or IP_TOS
* Host admin - sets sk_prio <=> UP
* net_prio cgroup
* Egress map for tagged traffic
* Net admin - sets UP <=> TC + TC QoS attributes
* lldpad
Commit 4f57c087de9 "net: implement mechanism for HW based QOS" introduced a
mechanism for lower layer devices to steer traffic using skb->priority to tx
queues.
Problem
-------
How should sk_prio <=> TC be done, for both, tagged and untagged traffic?
Current situation
-----------------
* The network priority cgroup infrastructure commit 5bc1421e, introduced implicit
assumption that sk_prio == UP.
* tc tool is used to map UP <=> TC for both tagged and untagged traffic.
* egress map and lldptool and ignored when tc tool is being used.
* HW queue is per TC.
Suggestion
----------
* sk_prio is an attribute controlled by the Application or cgroup.
As used to be in tagged traffic
* tc tool is used by the Host admin and sets sk_prio <=> UP for untagged
traffic. The rest of the chain is UP <=> TC mapped by the Net admin (using
DCBx netlink).
To keep backward compatibility, will have an option to set tc tool to
compatabilty mode, in which, the old sk_prio <=> TC will be kept.
* Depending on HW, queue selection is by UP or by TC.
Implementation
--------------
Extended mqprio hw attribute:
* Bit 1: is queue offset/count owned by HW
* Bits 2-7: HW queueing type.
* 0 - by ETS TC
* 1 - by UP
__skb_tx_hash() is now aware to the HW queuing type (pg_type): for pg_type
being ETS TC, traffic is distributed as it was before - tagged and untagged
packets are distributed by netdev_get_prio_tc_map. For pg_type being UP, tagged
and untagged packets are distributed by UP (taken from egress map for tagged
traffic, or netdev_get_prio_tc_map for untagged).
Amir Vadai (2):
net_sched/mqprio: add support for different pgroup types
net/mlx4_en: num cores tx rings for every UP
drivers/net/ethernet/mellanox/mlx4/en_main.c | 6 ++-
drivers/net/ethernet/mellanox/mlx4/en_netdev.c | 42 ++++++++++++++++++-----
drivers/net/ethernet/mellanox/mlx4/en_tx.c | 12 -------
drivers/net/ethernet/mellanox/mlx4/mlx4_en.h | 9 ++---
include/linux/netdevice.h | 27 +++++++++++++++
include/linux/pkt_sched.h | 3 +-
net/core/dev.c | 12 +++++--
net/sched/sch_mqprio.c | 11 +++++-
8 files changed, 88 insertions(+), 34 deletions(-)
--
1.7.8.2
^ permalink raw reply
* [PATCH net-next 1/2] net_sched/mqprio: add support for different pgroup types
From: Amir Vadai @ 2012-05-06 7:05 UTC (permalink / raw)
To: David S. Miller; +Cc: netdev, John Fastabend, Oren Duer, Liran Liss, Amir Vadai
In-Reply-To: <1336287910-12010-1-git-send-email-amirv@mellanox.com>
Currently, HW based QoS mechanisms use the framework and means introduced in
commits 4f57c087d "net: implement mechanism for HW based QOS" and b8970f0bfc
"net_sched: implement a root container qdisc sch_mqprio".
The approach present in these patches is strongly orientated to the extended
transmission selection (ETS) algorithm traffic classes (TC).
This patch enhances the current scheme to allow for these mechanisms to be used
also with hardware who has queues per UP - user priority (Linux has well
established mechanisms to set UP for both tagged and untagged traffic).
Now, __skb_tx_hash() will direct a flow to a tx ring from a range of tx rings.
This range is defined by the admin through the mqprio scheduler for the
specific HW. For TC based queues, the range is by TC number and for UP based
queues, the range is by UP.
Signed-off-by: Amir Vadai <amirv@mellanox.com>
---
include/linux/netdevice.h | 27 +++++++++++++++++++++++++++
include/linux/pkt_sched.h | 3 ++-
net/core/dev.c | 12 +++++++++---
net/sched/sch_mqprio.c | 11 +++++++++--
4 files changed, 47 insertions(+), 6 deletions(-)
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index 7f377fb..ecdd953 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -835,6 +835,9 @@ struct netdev_fcoe_hbainfo {
* is always called from the stack with the rtnl lock held and netif tx
* queues stopped. This allows the netdevice to perform queue management
* safely.
+ * int (*ndo_set_pg_type)(struct net_device *dev, u8 pg_type)
+ * Called to setup 'tc' type. According to this type, traffic is
+ * distributed across tx rings. If not set, ETS TC is in use.
*
* Fiber Channel over Ethernet (FCoE) offload functions.
* int (*ndo_fcoe_enable)(struct net_device *dev);
@@ -973,6 +976,8 @@ struct net_device_ops {
int (*ndo_get_vf_port)(struct net_device *dev,
int vf, struct sk_buff *skb);
int (*ndo_setup_tc)(struct net_device *dev, u8 tc);
+ int (*ndo_set_pg_type)(struct net_device *dev,
+ u8 pg_type);
#if IS_ENABLED(CONFIG_FCOE)
int (*ndo_fcoe_enable)(struct net_device *dev);
int (*ndo_fcoe_disable)(struct net_device *dev);
@@ -1307,6 +1312,11 @@ struct net_device {
/* Data Center Bridging netlink ops */
const struct dcbnl_rtnl_ops *dcbnl_ops;
#endif
+ enum {
+ PGROUP_TC,
+ PGROUP_UP,
+ PGROUP_MAX,
+ } pg_type:8;
u8 num_tc;
struct netdev_tc_txq tc_to_txq[TC_MAX_QUEUE];
u8 prio_tc_map[TC_BITMASK + 1];
@@ -1329,6 +1339,23 @@ struct net_device {
#define NETDEV_ALIGN 32
static inline
+int netdev_get_pg_type(const struct net_device *dev)
+{
+ return dev->pg_type;
+}
+
+static inline
+int netdev_set_pg_type(struct net_device *dev, u8 pg_type)
+{
+ if (pg_type >= PGROUP_MAX)
+ return -EINVAL;
+
+ dev->pg_type = pg_type;
+
+ return 0;
+}
+
+static inline
int netdev_get_prio_tc_map(const struct net_device *dev, u32 prio)
{
return dev->prio_tc_map[prio & TC_BITMASK];
diff --git a/include/linux/pkt_sched.h b/include/linux/pkt_sched.h
index ffe975c..1ae7d3c 100644
--- a/include/linux/pkt_sched.h
+++ b/include/linux/pkt_sched.h
@@ -596,7 +596,8 @@ struct tc_drr_stats {
struct tc_mqprio_qopt {
__u8 num_tc;
__u8 prio_tc_map[TC_QOPT_BITMASK + 1];
- __u8 hw;
+ __u8 hw; /* bit 0: hw owned, bits 1-7: hw queuing type.
+ * valid types: 0 - ETS TC, 1 - UP */
__u16 count[TC_QOPT_MAX_QUEUE];
__u16 offset[TC_QOPT_MAX_QUEUE];
};
diff --git a/net/core/dev.c b/net/core/dev.c
index 09024fd..72ac4bf 100644
--- a/net/core/dev.c
+++ b/net/core/dev.c
@@ -2325,9 +2325,15 @@ u16 __skb_tx_hash(const struct net_device *dev, const struct sk_buff *skb,
}
if (dev->num_tc) {
- u8 tc = netdev_get_prio_tc_map(dev, skb->priority);
- qoffset = dev->tc_to_txq[tc].offset;
- qcount = dev->tc_to_txq[tc].count;
+ u8 pgroup;
+
+ if (dev->pg_type == PGROUP_TC || !vlan_tx_tag_present(skb))
+ pgroup = netdev_get_prio_tc_map(dev, skb->priority);
+ else
+ pgroup = (vlan_tx_tag_get(skb) >> 13);
+
+ qoffset = dev->tc_to_txq[pgroup].offset;
+ qcount = dev->tc_to_txq[pgroup].count;
}
if (skb->sk && skb->sk->sk_hash)
diff --git a/net/sched/sch_mqprio.c b/net/sched/sch_mqprio.c
index d1831ca..2149cbb 100644
--- a/net/sched/sch_mqprio.c
+++ b/net/sched/sch_mqprio.c
@@ -134,11 +134,18 @@ static int mqprio_init(struct Qdisc *sch, struct nlattr *opt)
priv->qdiscs[i] = qdisc;
}
+ if (dev->netdev_ops->ndo_set_pg_type)
+ err = dev->netdev_ops->ndo_set_pg_type(dev, qopt->hw >> 1);
+ else
+ err = netdev_set_pg_type(dev, PGROUP_TC);
+ if (err)
+ goto err;
+
/* If the mqprio options indicate that hardware should own
* the queue mapping then run ndo_setup_tc otherwise use the
* supplied and verified mapping
*/
- if (qopt->hw) {
+ if (qopt->hw & 1) {
priv->hw_owned = 1;
err = dev->netdev_ops->ndo_setup_tc(dev, qopt->num_tc);
if (err)
@@ -240,7 +247,7 @@ static int mqprio_dump(struct Qdisc *sch, struct sk_buff *skb)
opt.num_tc = netdev_get_num_tc(dev);
memcpy(opt.prio_tc_map, dev->prio_tc_map, sizeof(opt.prio_tc_map));
- opt.hw = priv->hw_owned;
+ opt.hw = (!!priv->hw_owned & 1) | (netdev_get_pg_type(dev) << 1);
for (i = 0; i < netdev_get_num_tc(dev); i++) {
opt.count[i] = dev->tc_to_txq[i].count;
--
1.7.8.2
^ permalink raw reply related
* [PATCH net-next 2/2] net/mlx4_en: num cores tx rings for every UP
From: Amir Vadai @ 2012-05-06 7:05 UTC (permalink / raw)
To: David S. Miller
Cc: netdev, John Fastabend, Oren Duer, Liran Liss, Amir Vadai,
Amir Vadai
In-Reply-To: <1336287910-12010-1-git-send-email-amirv@mellanox.com>
Instead of having num cores tx rings for untagged traffic and only 1 tx ring
per UP, allocate num cores * num UP's tx rings - There is no reason why all
cores will share the same tx_ring when using tagged traffic.
Signed-off-by: Amir Vadai <amirv@mellanox.co.il>
---
drivers/net/ethernet/mellanox/mlx4/en_main.c | 6 ++-
drivers/net/ethernet/mellanox/mlx4/en_netdev.c | 42 ++++++++++++++++++-----
drivers/net/ethernet/mellanox/mlx4/en_tx.c | 12 -------
drivers/net/ethernet/mellanox/mlx4/mlx4_en.h | 9 ++---
4 files changed, 41 insertions(+), 28 deletions(-)
diff --git a/drivers/net/ethernet/mellanox/mlx4/en_main.c b/drivers/net/ethernet/mellanox/mlx4/en_main.c
index 346fdb2..988b242 100644
--- a/drivers/net/ethernet/mellanox/mlx4/en_main.c
+++ b/drivers/net/ethernet/mellanox/mlx4/en_main.c
@@ -101,6 +101,8 @@ static int mlx4_en_get_profile(struct mlx4_en_dev *mdev)
int i;
params->udp_rss = udp_rss;
+ params->num_tx_rings_p_up = min_t(int, num_online_cpus(),
+ MLX4_EN_MAX_TX_RING_P_UP);
if (params->udp_rss && !(mdev->dev->caps.flags
& MLX4_DEV_CAP_FLAG_UDP_RSS)) {
mlx4_warn(mdev, "UDP RSS is not supported on this device.\n");
@@ -113,8 +115,8 @@ static int mlx4_en_get_profile(struct mlx4_en_dev *mdev)
params->prof[i].tx_ppp = pfctx;
params->prof[i].tx_ring_size = MLX4_EN_DEF_TX_RING_SIZE;
params->prof[i].rx_ring_size = MLX4_EN_DEF_RX_RING_SIZE;
- params->prof[i].tx_ring_num = MLX4_EN_NUM_TX_RINGS +
- MLX4_EN_NUM_PPP_RINGS;
+ params->prof[i].tx_ring_num = params->num_tx_rings_p_up *
+ MLX4_EN_NUM_UP;
params->prof[i].rss_rings = 0;
}
diff --git a/drivers/net/ethernet/mellanox/mlx4/en_netdev.c b/drivers/net/ethernet/mellanox/mlx4/en_netdev.c
index eaa8fad..9cf85ba 100644
--- a/drivers/net/ethernet/mellanox/mlx4/en_netdev.c
+++ b/drivers/net/ethernet/mellanox/mlx4/en_netdev.c
@@ -47,12 +47,20 @@
static int mlx4_en_setup_tc(struct net_device *dev, u8 up)
{
- if (up != MLX4_EN_NUM_UP)
+ if (up && up != MLX4_EN_NUM_UP)
return -EINVAL;
return 0;
}
+static int mlx4_en_set_pg_type(struct net_device *dev, u8 pg_type)
+{
+ if (pg_type != PGROUP_UP)
+ return -EINVAL;
+
+ return netdev_set_pg_type(dev, pg_type);
+}
+
static int mlx4_en_vlan_rx_add_vid(struct net_device *dev, unsigned short vid)
{
struct mlx4_en_priv *priv = netdev_priv(dev);
@@ -661,7 +669,7 @@ int mlx4_en_start_port(struct net_device *dev)
/* Configure ring */
tx_ring = &priv->tx_ring[i];
err = mlx4_en_activate_tx_ring(priv, tx_ring, cq->mcq.cqn,
- max(0, i - MLX4_EN_NUM_TX_RINGS));
+ i / priv->mdev->profile.num_tx_rings_p_up);
if (err) {
en_err(priv, "Failed allocating Tx ring\n");
mlx4_en_deactivate_cq(priv, cq);
@@ -986,6 +994,9 @@ void mlx4_en_destroy_netdev(struct net_device *dev)
mlx4_en_free_resources(priv);
+ kfree(priv->tx_ring);
+ kfree(priv->tx_cq);
+
free_netdev(dev);
}
@@ -1043,7 +1054,6 @@ static const struct net_device_ops mlx4_netdev_ops = {
.ndo_open = mlx4_en_open,
.ndo_stop = mlx4_en_close,
.ndo_start_xmit = mlx4_en_xmit,
- .ndo_select_queue = mlx4_en_select_queue,
.ndo_get_stats = mlx4_en_get_stats,
.ndo_set_rx_mode = mlx4_en_set_multicast,
.ndo_set_mac_address = mlx4_en_set_mac,
@@ -1057,6 +1067,7 @@ static const struct net_device_ops mlx4_netdev_ops = {
#endif
.ndo_set_features = mlx4_en_set_features,
.ndo_setup_tc = mlx4_en_setup_tc,
+ .ndo_set_pg_type = mlx4_en_set_pg_type,
};
int mlx4_en_init_netdev(struct mlx4_en_dev *mdev, int port,
@@ -1066,6 +1077,7 @@ int mlx4_en_init_netdev(struct mlx4_en_dev *mdev, int port,
struct mlx4_en_priv *priv;
int i;
int err;
+ unsigned int q, offset = 0;
dev = alloc_etherdev_mqs(sizeof(struct mlx4_en_priv),
prof->tx_ring_num, prof->rx_ring_num);
@@ -1091,6 +1103,18 @@ int mlx4_en_init_netdev(struct mlx4_en_dev *mdev, int port,
priv->ctrl_flags = cpu_to_be32(MLX4_WQE_CTRL_CQ_UPDATE |
MLX4_WQE_CTRL_SOLICITED);
priv->tx_ring_num = prof->tx_ring_num;
+ priv->tx_ring = kzalloc(sizeof(struct mlx4_en_tx_ring) *
+ priv->tx_ring_num, GFP_KERNEL);
+ if (!priv->tx_ring) {
+ err = -ENOMEM;
+ goto out;
+ }
+ priv->tx_cq = kzalloc(sizeof(struct mlx4_en_cq) * priv->tx_ring_num,
+ GFP_KERNEL);
+ if (!priv->tx_cq) {
+ err = -ENOMEM;
+ goto out;
+ }
priv->rx_ring_num = prof->rx_ring_num;
priv->mac_index = -1;
priv->msg_enable = MLX4_EN_MSG_LEVEL;
@@ -1140,12 +1164,12 @@ int mlx4_en_init_netdev(struct mlx4_en_dev *mdev, int port,
netdev_set_num_tc(dev, MLX4_EN_NUM_UP);
- /* First 9 rings are for UP 0 */
- netdev_set_tc_queue(dev, 0, MLX4_EN_NUM_TX_RINGS + 1, 0);
-
- /* Partition Tx queues evenly amongst UP's 1-7 */
- for (i = 1; i < MLX4_EN_NUM_UP; i++)
- netdev_set_tc_queue(dev, i, 1, MLX4_EN_NUM_TX_RINGS + i);
+ /* Partition Tx queues evenly amongst UP's */
+ q = priv->tx_ring_num / MLX4_EN_NUM_UP;
+ for (i = 0; i < MLX4_EN_NUM_UP; i++) {
+ netdev_set_tc_queue(dev, i, q, offset);
+ offset += q;
+ }
SET_ETHTOOL_OPS(dev, &mlx4_en_ethtool_ops);
diff --git a/drivers/net/ethernet/mellanox/mlx4/en_tx.c b/drivers/net/ethernet/mellanox/mlx4/en_tx.c
index 9a38483..ac735d2 100644
--- a/drivers/net/ethernet/mellanox/mlx4/en_tx.c
+++ b/drivers/net/ethernet/mellanox/mlx4/en_tx.c
@@ -523,18 +523,6 @@ static void build_inline_wqe(struct mlx4_en_tx_desc *tx_desc, struct sk_buff *sk
tx_desc->ctrl.fence_size = (real_size / 16) & 0x3f;
}
-u16 mlx4_en_select_queue(struct net_device *dev, struct sk_buff *skb)
-{
- u16 vlan_tag = 0;
-
- if (vlan_tx_tag_present(skb)) {
- vlan_tag = vlan_tx_tag_get(skb);
- return MLX4_EN_NUM_TX_RINGS + (vlan_tag >> 13);
- }
-
- return skb_tx_hash(dev, skb);
-}
-
static void mlx4_bf_copy(void __iomem *dst, unsigned long *src, unsigned bytecnt)
{
__iowrite64_copy(dst, src, bytecnt / 8);
diff --git a/drivers/net/ethernet/mellanox/mlx4/mlx4_en.h b/drivers/net/ethernet/mellanox/mlx4/mlx4_en.h
index 5d87637..6ae3509 100644
--- a/drivers/net/ethernet/mellanox/mlx4/mlx4_en.h
+++ b/drivers/net/ethernet/mellanox/mlx4/mlx4_en.h
@@ -111,9 +111,7 @@ enum {
#define MLX4_EN_MIN_TX_SIZE (4096 / TXBB_SIZE)
#define MLX4_EN_SMALL_PKT_SIZE 64
-#define MLX4_EN_NUM_TX_RINGS 8
-#define MLX4_EN_NUM_PPP_RINGS 8
-#define MAX_TX_RINGS (MLX4_EN_NUM_TX_RINGS + MLX4_EN_NUM_PPP_RINGS)
+#define MLX4_EN_MAX_TX_RING_P_UP 32
#define MLX4_EN_NUM_UP 8
#define MLX4_EN_DEF_TX_RING_SIZE 512
#define MLX4_EN_DEF_RX_RING_SIZE 1024
@@ -339,6 +337,7 @@ struct mlx4_en_profile {
u32 active_ports;
u32 small_pkt_int;
u8 no_reset;
+ u8 num_tx_rings_p_up;
struct mlx4_en_port_profile prof[MLX4_MAX_PORTS + 1];
};
@@ -477,9 +476,9 @@ struct mlx4_en_priv {
u16 num_frags;
u16 log_rx_info;
- struct mlx4_en_tx_ring tx_ring[MAX_TX_RINGS];
+ struct mlx4_en_tx_ring *tx_ring;
struct mlx4_en_rx_ring rx_ring[MAX_RX_RINGS];
- struct mlx4_en_cq tx_cq[MAX_TX_RINGS];
+ struct mlx4_en_cq *tx_cq;
struct mlx4_en_cq rx_cq[MAX_RX_RINGS];
struct work_struct mcast_task;
struct work_struct mac_task;
--
1.7.8.2
^ permalink raw reply related
* RE: [PATCH net-next 1/3] Add capability to retrieve plug-in module EEPROM
From: Yaniv Rosner @ 2012-05-06 8:02 UTC (permalink / raw)
To: Ben Hutchings, smhodgson@solarflare.com
Cc: netdev@vger.kernel.org, bruce.w.allan@intel.com, decot@google.com,
alexander.h.duyck@intel.com, linux-kernel@vger.kernel.org,
David Miller
In-Reply-To: <1335289485.17274.46.camel@bwh-desktop.uk.solarflarecom.com>
> On Mon, 2012-04-23 at 17:28 -0400, David Miller wrote:
> > You can't just submit three seperate patches each with the same exact
> > Subject line.
> >
> > Otherwise someone scanning the commit headers can't figure out what
> > is different in each of these changes.
> >
> > There also is no signoff from Ben for patches #2 or #3, did he review
> > them? If so, why didn't he ACK or sign off on it? If not, why not?
>
> Sorry, I've been busy with another project. I'll reply to Stuart's
> patches faster next round.
>
> Ben.
Hi Stuart,
It's been 3 weeks since you sent the initial patch series which were not
accepted. Please reply if you're going to resubmit fixed patches soon,
otherwise I'll take over, and complete this task from where you left it.
Thanks much,
Yaniv
>
> --
> Ben Hutchings, Staff Engineer, Solarflare
> Not speaking for my employer; that's the marketing department's job.
> They asked us to note that Solarflare product names are trademarked.
>
> --
> To unsubscribe from this list: send the line "unsubscribe netdev" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply
* Re: [PATCH net v2] cdc_ether: Ignore bogus union descriptor for RNDIS devices
From: Markus Kolb @ 2012-05-06 10:13 UTC (permalink / raw)
To: David Miller
Cc: linux-201011-TzK+PxyQ8t4hFhg+JK9F0w, bjorn-yOkvZcmFvRU,
netdev-u79uwXL29TY76Z2rM5mHXA, linux-usb-u79uwXL29TY76Z2rM5mHXA,
shaola-r/HQZD9NxM9g9hUCZPvPmw, jrnieder-Re5JQEeQqe8AvxtiuMwx3w,
oliver-GvhC2dPhHPQdnm+yROfE0A, 655387-61a8vm9lEZVf4u+23C9RwQ,
stable-u79uwXL29TY76Z2rM5mHXA
In-Reply-To: <20120503.011129.639700793389264897.davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org>
David Miller wrote on 03.05.2012 07:11:
> From: Markus Kolb<linux-201011-TzK+PxyQ8t4hFhg+JK9F0w@public.gmane.org>
> Date: Thu, 03 May 2012 06:57:39 +0200
>
>> I'll build it during next rainy day and will report its success
>> after some usage ;-)
>
> Thank you.
Works without any problem for me.
So maybe this patch will be included in the official kernels before I'll
buy a new mobile phone?! ;-)
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply
page: next (older) | prev (newer) | latest
- recent:[subjects (threaded)|topics (new)|topics (active)]
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox