Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Network do not work on Sunfire V440,
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc
View previous topic :: View next topic  
Author Message
agkbill
n00b
n00b


Joined: 19 Mar 2010
Posts: 35
Location: Sweden, Uppsala

PostPosted: Sun Jan 08, 2012 12:39 pm    Post subject: Network do not work on Sunfire V440, Reply with quote

Hi,

After a couple of days of testing and google search I would need some help with my network setup.

When I Boot from Live-CD I can configure network OK with "net-setup".

My server is connected to a Bubba2 server that runs dhcp server, IP adress to server is 192.168.10.1 and all IP it gives out are 192.168.10.*.

Whe network is upp with Live-CD it looks like this:

Code:

livecd ~ # ifconfig
eth1      Link encap:Ethernet  HWaddr 00:03:ba:ac:56:e0 
          inet addr:192.168.10.75  Bcast:192.168.10.255  Mask:255.255.255.0
          inet6 addr: fe80::203:baff:feac:56e0/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:6 errors:0 dropped:0 overruns:0 frame:0
          TX packets:13 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:944 (944.0 B)  TX bytes:1464 (1.4 KiB)
          Interrupt:38

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

livecd ~ #

livecd ~ # route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         bubba           0.0.0.0         UG    203    0        0 eth1
loopback        livecd.gentoo   255.0.0.0       UG    0      0        0 lo
192.168.10.0    *               255.255.255.0   U     203    0        0 eth1
livecd ~ #

livecd ~ # cat /etc/resolv.conf
# Generated by dhcpcd from eth1
# /etc/resolv.conf.head can replace this line
domain localdomain
nameserver 192.168.10.1
# /etc/resolv.conf.tail can replace this line
livecd ~ #


But when I boot with my own compiled kernel:

Code:

V440 ~ # ifconfig
eth1      Link encap:Ethernet  HWaddr 00:03:ba:b0:d1:c4 
          inet addr:169.254.6.236  Bcast:169.254.255.255  Mask:255.255.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:17

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:32 errors:0 dropped:0 overruns:0 frame:0
          TX packets:32 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:2048 (2.0 KiB)  TX bytes:2048 (2.0 KiB)

V440 ~ # route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
loopback        localhost       255.0.0.0       UG    0      0        0 lo
link-local      *               255.255.0.0     U     3      0        0 eth1
V440 ~ # cat /etc/resolv.conf
# Generated by dhcpcd
# /etc/resolv.conf.head can replace this line
# /etc/resolv.conf.tail can replace this line
V440 ~ #


However somethings looks to be wrong with eth1, dhcpcd show.

Code:
V440 ~ # dmesg | grep eth1
[  122.250191] cassini 0001:02:00.0: eth1: Sun Cassini+ (64bit/33MHz PCI/Cu) Ethernet[17] 00:03:ba:b0:d1:c4
[  133.494823] ADDRCONF(NETDEV_UP): eth1: link is not ready
V440 ~ #



When I boot compiled kernel.

Code:
V440 ~ # lsmod
Module                  Size  Used by
ipv6                  263476  16
openpromfs              4826  1
cassini                44833  0
sg                     23785  0
V440 ~ #


Code:

V440 ~ # lspci -k
0000:00:01.0 SCSI storage controller: LSI Logic / Symbios Logic 53c875 (rev 14)
        Subsystem: LSI Logic / Symbios Logic LSI53C876/E PCI to Dual Channel SCSI Controller
        Kernel driver in use: sym53c8xx
0000:00:01.1 SCSI storage controller: LSI Logic / Symbios Logic 53c875 (rev 14)
        Subsystem: LSI Logic / Symbios Logic LSI53C876/E PCI to Dual Channel SCSI Controller
        Kernel driver in use: sym53c8xx
0000:00:02.0 Ethernet controller: Sun Microsystems Computer Corp. Cassini 10/100/1000 (rev 20)
        Kernel driver in use: cassini
        Kernel modules: cassini
0001:00:01.0 SCSI storage controller: LSI Logic / Symbios Logic 53c875 (rev 14)
        Subsystem: LSI Logic / Symbios Logic LSI53C876/E PCI to Dual Channel SCSI Controller
        Kernel driver in use: sym53c8xx
0001:00:01.1 SCSI storage controller: LSI Logic / Symbios Logic 53c875 (rev 14)
        Subsystem: LSI Logic / Symbios Logic LSI53C876/E PCI to Dual Channel SCSI Controller
        Kernel driver in use: sym53c8xx
0001:00:02.0 PCI bridge: Intel Corporation 21154 PCI-to-PCI Bridge
0001:01:00.0 PCI bridge: Intel Corporation 21154 PCI-to-PCI Bridge
0001:01:04.0 PCI bridge: Intel Corporation 21154 PCI-to-PCI Bridge
0001:02:00.0 Ethernet controller: National Semiconductor Corporation DP83065 [Saturn] 10/100/1000 Ethernet Controller (rev 30)
        Kernel driver in use: cassini
        Kernel modules: cassini
0001:02:01.0 Ethernet controller: National Semiconductor Corporation DP83065 [Saturn] 10/100/1000 Ethernet Controller (rev 30)
        Kernel driver in use: cassini
        Kernel modules: cassini
0001:03:02.0 Ethernet controller: National Semiconductor Corporation DP83065 [Saturn] 10/100/1000 Ethernet Controller (rev 30)
        Kernel driver in use: cassini
        Kernel modules: cassini
0001:03:03.0 Ethernet controller: National Semiconductor Corporation DP83065 [Saturn] 10/100/1000 Ethernet Controller (rev 30)
        Kernel driver in use: cassini
        Kernel modules: cassini
0002:00:02.0 VGA compatible controller: ATI Technologies Inc Radeon RV100 QY [Radeon 7000/VE]
        Subsystem: ATI Technologies Inc XVR-100 (supplied by Sun)
        Kernel driver in use: radeonfb
0002:00:06.0 Non-VGA unclassified device: ALi Corporation M7101 Power Management Controller [PMU]
0002:00:07.0 ISA bridge: ALi Corporation M1533/M1535/M1543 PCI to ISA Bridge [Aladdin IV/V/V+]
0002:00:0a.0 USB Controller: ALi Corporation USB 1.1 Controller (rev 03)
        Kernel driver in use: ohci_hcd
0002:00:0b.0 USB Controller: ALi Corporation USB 1.1 Controller (rev 03)
        Kernel driver in use: ohci_hcd
0002:00:0d.0 IDE interface: ALi Corporation M5229 IDE (rev c4)
0003:00:01.0 Ethernet controller: Sun Microsystems Computer Corp. Cassini 10/100/1000 (rev 20)
        Kernel driver in use: cassini
        Kernel modules: cassini
0003:00:02.0 SCSI storage controller: LSI Logic / Symbios Logic 53c1030 PCI-X Fusion-MPT Dual Ultra320 SCSI (rev 07)
        Subsystem: LSI Logic / Symbios Logic Device 1000
        Kernel driver in use: mptspi
0003:00:02.1 SCSI storage controller: LSI Logic / Symbios Logic 53c1030 PCI-X Fusion-MPT Dual Ultra320 SCSI (rev 07)
        Subsystem: LSI Logic / Symbios Logic Device 1000
        Kernel driver in use: mptspi
V440 ~ #


I do not know how to move forward with this,

All input are welcome.

Thank you.

Best regards,
/Christer
Back to top
View user's profile Send private message
loxins
n00b
n00b


Joined: 16 Aug 2005
Posts: 19
Location: Iceland

PostPosted: Thu Jan 12, 2012 1:08 am    Post subject: Reply with quote

to fix your nameserver problem you can create /etc/resolv.conf.head
and use the following lines
Code:
domain localdomain
nameserver 192.168.10.1



Code:
ADDRCONF(NETDEV_UP): eth1: link is not ready

seems to indicate that your cable is not attached, are you sure you have it plugged in the right card ?
_________________
skammastu thin svo
Back to top
View user's profile Send private message
agkbill
n00b
n00b


Joined: 19 Mar 2010
Posts: 35
Location: Sweden, Uppsala

PostPosted: Sat Jan 14, 2012 1:26 pm    Post subject: Reply with quote

loxins,

Thank you for answering.

Yes I have pluged into right, tried it on gentoo-cd and worked fine.


Well, I give up using Gentoo on my SunFire V440, to much that is not working. I guess Gentoo is great if you get it up and running but it is just that, up and running.

Both OpenBSD and FreeBSD are so easy to get up and running with all hardware correctly detected.

Thank you.
/Christer
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum