LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 08-12-2004, 11:25 AM   #1
franklint99
LQ Newbie
 
Registered: Aug 2004
Posts: 1

Rep: Reputation: 0
Ethernet interface problems on Solaris 8.


I'm having some problems with a Solaris 8 on x86 server not seeing its ethernet interface between reboots without reconfiguring every time.

About two weeks ago, a backup script on my main file sever spontaneously appeared to crash NIS, and the box was rebooted. When it came back up, it appeared to have forgotten about its ethernet interface, an Intel GigE card at e1000g0. The error message at boot was:

"Protocol wrong type for socket"

... followed by the attempt to move the IP from e1000g0 to any other active interface, which of course failed, since it's the only interface in the box.

I've found that the only way to get the interface up is to boot -rs so it forces a reconfiguration and then drops into single-user mode. Then I can plumb the interface and number it by hand. I can then init 3 and everything is fine. If I don't boot into single user mode, it tries to start NIS, fails, and the box hangs.

If I reboot at this point, the box fails detect the interface again and I have to go through the whole process once more.

I've tried at least one other Intel GigE card, as well as moving them between PCI slots to no avail. I've removed the driver and added it back in, same thing.

Does anyone have any idea what might be the problem? I'm completely stumped.

I'm not sure if it's pertinent, but the when I run my backup script and it crashes NIS, I get the following errors in /var/adm messages.

Aug 10 15:27:10 myserver smbd[23184]: [ID 105279 user.error] nis_cast: t_open: /dev/udp:No such device or address
Aug 10 15:27:10 myserver smbd[23176]: [ID 566193 user.error] n2a get_local_info: ioctl (get interface flags): No such device or address

This is what happened to cause the reboot in the first place, after which the interface failed to show up. I'm not sure if it's important, but I figured I'd include it anyway.

Thanks for any help!

Franklin
 
Old 08-12-2004, 03:58 PM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
I can't help on fixing the problem but will try to suggest a workaround.

As you are able to boot in single user, plumb the interface on the command line, then resume the booting to the multi-user state, why don't you add you own /etc/rc2.d/S00giga with the same actions that work by hand like:

devfsadm (or drvconfig/devlinks, not sure devfsadm was there with S8).
ifconfig e1000g0 plumb
ifconfig e1000g0 inet x.x.x.x ... up
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Solaris 8 Lan interface problem UltraSoul Solaris / OpenSolaris 1 04-30-2005 06:06 AM
adding secondery ip to interface /solaris juanb Linux - Networking 1 04-14-2005 03:32 AM
Is Management interface detected by Solaris ? markraem Solaris / OpenSolaris 1 07-06-2004 07:40 PM
How can i see if an ethernet interface is physically up/down ? markraem Linux - Networking 4 07-02-2004 03:06 PM
Help me bringing up an ethernet interface Maranza Linux - Networking 4 12-25-2003 07:22 AM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 11:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration