[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] Re: Problem with Tigon3 network card in Dom0
Hi, > > The network card in this machine is (as reported by dmesg when booted with > > standard Ubuntu install): > > > > [ 59.434219] tg3.c:v3.59.1 (August 25, 2006) > > [ 59.434235] ACPI: PCI Interrupt 0000:05:00.0[A] -> GSI 17 (level, low) > > [ -> IRQ 177 59.434243] PCI: Setting latency timer of device > > [ 0000:05:00.0 to 64 59.459777] eth0: Tigon3 [partno(BCM95754) rev b002 > > [ PHY(5787)] (PCI Express) 10/100/1000BaseT Ethernet 00:13:72:34:30:d1 > > [ 59.459782] eth0: RXcsums[1] LinkChgREG[1] MIirq[1] ASF[0] Split[0] > > [ WireSpeed[1] TSOcap[1] 59.459785] eth0: dma_rwctrl[76180000] > > [ dma_mask[64-bit] > > > > > > But when I try to boot with the Xen kernel, there is no message about the > > card in dmesg and it just seems that it has vanished... > > Well, Ubuntu 6.10 comes with a 2.6.17 kernel that has support for your > Broadcom NIC. But XENs 2.6.16 doesn't have (it has support for Broadcom tg3 > NICs of course, but not for your specific modell). The simplest way is to > download Broadcoms open source drivers and compile them for your XEN > kernel. > I have the same problem here and it isn't a big thing to do... Yes, thanks a lot, it was that... I had read somewhere that Broadcom NICs were supported in the kernel 2.6.16 and I assumed that it had to be something with my configuration, but just changing from 2.6.17 to 2.6.16 and having this specific model was a rare coincidence... In case someone finds a similar problem, I include below the changes that I had to do to a couple of files in the xen kernel sources to allow compilation. Basically I just copied the files tg3.c and tg3.h provided by Broadcom (http://www.broadcom.com/support/ethernet_nic/netxtreme_desktop.php) to xen-3.0.4_1-src/linux-2.6.16.33-xen/drivers/net and then did these changes in tg3.h: --------- 332c332 < /*static inline void netif_tx_lock(struct net_device *dev) --- > static inline void netif_tx_lock(struct net_device *dev) 336c336 < }*/ --- > } 338c338 < /*static inline void netif_tx_unlock(struct net_device *dev) --- > static inline void netif_tx_unlock(struct net_device *dev) 342c342 < }*/ --- > } in the file include/linux/skbuff.h added the line for SKB_GSO_TCPV6: -------------------- SKB_GSO_UDPV4 = 1 << 1, /* This indicates the skb is from an untrusted source. */ SKB_GSO_DODGY = 1 << 2, SKB_GSO_TCPV6 = 1 << 4, }; /** * struct sk_buff - socket buffer * @next: Next buffer in list Then recompile, and presto, I can boot to Dom0 without (apparent) problems. Cheers, Angel de Vicente -- ---------------------------------- http://www.iac.es/galeria/angelv/ PostDoc Software Support Instituto de Astrofísica de Canarias _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |