Hi, all Currently I met an problem when I was trying to dumping kernel core to network storage. Scenario is that: there is only sole network storage for diskless client when client got kernel panic. in this mode, only panic thread works. while at this time I want use network card to dump kernel core bit by bit to the network storage manually. Seems there is interface in GLDv3 that enable user to set NIC card into poll mode to disable all NIC''s interrupt and manually poll NIC''s RX function to receive data. But I got another message that this interface is actually not implemented in crossbow. Here is my question: Can I manually enter NIC''s poll mode through some kind API? Thanks ZhangYi This message posted from opensolaris.org
zhang yi wrote:> Hi, all > > Currently I met an problem when I was trying to dumping kernel core to network storage. > Scenario is that: there is only sole network storage for diskless client when client got kernel panic. in this mode, only panic thread works. while at this time I want use network card to dump kernel core bit by bit to the network storage manually. > > Seems there is interface in GLDv3 that enable user to set NIC card into poll mode to disable all NIC''s interrupt and manually poll NIC''s RX function to receive data. But I got another message that this interface is actually not implemented in crossbow. > > Here is my question: > Can I manually enter NIC''s poll mode through some kind API? >good question. Crossbow doesn''t expose an API to permanently disable the interrupts and switch to polling mode exclusively. Instead, the code automatically and dynamically chooses to switch to and from polling mode depending on the current load. Kais.> Thanks > ZhangYi > > > This message posted from opensolaris.org > _______________________________________________ > crossbow-discuss mailing list > crossbow-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/crossbow-discuss > >
Thanks your reply. That''s means there is no public interface we can use to disable NIC interrupt and switch to poll mode? Did there are primitive or private interface we could use? Thanks ZhangYi This message posted from opensolaris.org
yi zhang - Sun Microsystems - Beijing China
2008-Jun-23 09:18 UTC
[crossbow-discuss] NIC card in poll mode
Hi, Kais: Then that means there still exist API interface that could set NIC in poll mode, maybe not so permanently? and also maybe that interface is not open in public? Could you please kindly give me some clue on how to do this? or how to find some document or something else. Seems this is the last straw currently we can do to solve network dumping during system panic. Thanks a lot ZhangYi Kais Belgaied wrote:> zhang yi wrote: >> Hi, all >> >> Currently I met an problem when I was trying to dumping kernel core >> to network storage. Scenario is that: there is only sole network >> storage for diskless client when client got kernel panic. in this >> mode, only panic thread works. while at this time I want use network >> card to dump kernel core bit by bit to the network storage manually. >> >> Seems there is interface in GLDv3 that enable user to set NIC card >> into poll mode to disable all NIC''s interrupt and manually poll NIC''s >> RX function to receive data. But I got another message that this >> interface is actually not implemented in crossbow. >> >> Here is my question: >> Can I manually enter NIC''s poll mode through some kind API? >> > > good question. Crossbow doesn''t expose an API to permanently disable > the interrupts and switch to polling mode > exclusively. Instead, the code automatically and dynamically chooses > to switch to and from polling mode depending on the > current load. > > > Kais. >> Thanks >> ZhangYi >> >> >> This message posted from opensolaris.org >> _______________________________________________ >> crossbow-discuss mailing list >> crossbow-discuss at opensolaris.org >> http://mail.opensolaris.org/mailman/listinfo/crossbow-discuss >> >> >