Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
install CD doesnt detect networking hardware?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
th0th696
Apprentice
Apprentice


Joined: 08 Dec 2004
Posts: 185

PostPosted: Fri Sep 08, 2006 2:21 am    Post subject: install CD doesnt detect networking hardware? Reply with quote

So I have an old G4 350mHz (sawtooth maybe?) and it's refusing to use the network hardware. I've tried net-setup and manually kicking up dhcpcd to no avail. Any clues? I had a friend with a blue and white G3 who said he had the same problem (wishing I hadn't told him he was crazy). Anyhow ifconfig shows eth0 up but no IP address is given. I even gave it a static IP thru net-setup but ifconfig still showed no IP.

Last edited by th0th696 on Fri Sep 08, 2006 10:35 pm; edited 1 time in total
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Fri Sep 08, 2006 3:15 am    Post subject: Reply with quote

I'm not really sure what's going on there. Are there *any* network cards being detected? If so, which ones? You might want to try the bmac driver (modprobe bmac) but that might only be on the B+W machines.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
th0th696
Apprentice
Apprentice


Joined: 08 Dec 2004
Posts: 185

PostPosted: Fri Sep 08, 2006 3:39 am    Post subject: modprobe bmac Reply with quote

Code:
modprobe bmac


module bmac not found


Maybe I'm missing something? Anyhow when doing

Code:
net-setup


it lets me select eth0 and it calls it " Apple Computer Inc. UniNorth GMAC (Sun GEM)" so I'm assuming the kernel recognizes it. But then again it's not working so I must be wrong.
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Fri Sep 08, 2006 4:57 am    Post subject: Reply with quote

Okay, so we built in bmac this time, but you don't need it anyway. :p

SunGEM is certainly built in. We've seem to be having lots of issues with dhcpcd though, so can you try manually setting an ip?

ifconfig eth0 x.x.x.x

Does that set? If so, then try setting the gateway (route add default gw x.x.x.x). Can you now ping outside the network (no dns yet)? If so, well, the network is working. If not, can you check dmesg and tell us what it says?

You're using 2006.1 right? Can you try booting 2006.0 and see if it works there?
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
th0th696
Apprentice
Apprentice


Joined: 08 Dec 2004
Posts: 185

PostPosted: Fri Sep 08, 2006 5:10 am    Post subject: ifconfig eth0 10.0.1.201 Reply with quote

okay so setting a static IP using

Code:
ifconfig eth0 10.0.1.201


works. Although it would be nice for dhcpcd to be working, I can cetainly work my way through the install from here but I would love to be able to post anything that might be relevant to ease people in the future.

now that I can ssh in here's dmesg output:

Code:
dmesg
Using PowerMac machine description
Total memory = 704MB; using 2048kB for hash table (at cfe00000)
Linux version 2.6.17-gentoo-r5-apple (root@power1) (gcc version 4.1.1 (Gentoo 4.1.1)) #1 Wed Aug 16 09:00:58 UTC 2006
Found initrd at 0xc1a00000:0xc1cf0f83
Found UniNorth memory controller & host bridge @ 0xf8000000 revision: 0x03
Mapped at 0xfdfc0000
Found a Keylargo mac-io controller, rev: 2, mapped at 0xfdf40000
PowerMac motherboard: PowerMac G4 AGP Graphics
Found UniNorth PCI host bridge at 0xf0000000. Firmware bus number: 0->0
Found UniNorth PCI host bridge at 0xf2000000. Firmware bus number: 0->1
Found UniNorth PCI host bridge at 0xf4000000. Firmware bus number: 0->0
via-pmu: Server Mode is disabled
PMU driver v2 initialized for Core99, firmware: 0c
nvram: Checking bank 0...
nvram: gen0=164, gen1=163
nvram: Active bank is: 0
nvram: OF partition at 0x210
nvram: XP partition at 0xffffffff
nvram: NR partition at 0xffffffff
Top of RAM: 0x2c000000, Total RAM: 0x2c000000
Memory hole size: 0MB
On node 0 totalpages: 180224
  DMA zone: 180224 pages, LIFO batch:31
Built 1 zonelists
Kernel command line: root=/dev/ram rw root=/dev/ram0 init=/linuxrc  nokeymap looptype=squashfs loop=/image.squashfs  cdroot
mpic: Setting up MPIC " MPIC 1   " version 1.2 at 80040000, max 4 CPUs
mpic: ISU size: 64, shift: 6, mask: 3f
mpic: Initializing for 64 sources
PID hash table entries: 4096 (order: 12, 16384 bytes)
GMT Delta read from XPRAM: 0 minutes, DST: on
time_init: decrementer frequency = 24.907667 MHz
time_init: processor frequency   = 350.000000 MHz
Console: colour dummy device 80x25
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
High memory: 0k
Memory: 704256k/720896k available (3852k kernel code, 16244k reserved, 324k data, 150k bss, 184k init)
Calibrating delay loop... 49.66 BogoMIPS (lpj=24832)
Mount-cache hash table entries: 512
device-tree: Duplicate name in /cpus/PowerPC,G4@0, renamed to "l2-cache#1"
checking if image is initramfs... it is
Freeing initrd memory: 3011k freed
NET: Registered protocol family 16
KeyWest i2c @0xf8001003 irq 42 /uni-n@f8000000/i2c@f8001000
 channel 0 bus <multibus>
 channel 1 bus <multibus>
KeyWest i2c @0x80018000 irq 26 /pci@f2000000/pci-bridge@d/mac-io@7/i2c@18000
 channel 0 bus <multibus>
PMU i2c /pci@f2000000/pci-bridge@d/mac-io@7/via-pmu@16000
 channel 1 bus <multibus>
 channel 2 bus <multibus>
PCI: Probing PCI hardware
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
NET: Registered protocol family 2
IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
TCP established hash table entries: 131072 (order: 7, 524288 bytes)
TCP bind hash table entries: 65536 (order: 6, 262144 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
TCP reno registered
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
squashfs: version 3.0 (2006/03/15) Phillip Lougher
SGI XFS with ACLs, security attributes, large block numbers, no debug enabled
SGI XFS Quota Management subsystem
Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered (default)
Generic RTC Driver v1.07
Macintosh non-volatile memory driver v1.1
PCI: Enabling device 0000:00:10.0 (0086 -> 0087)
aty128fb: Invalid ROM signature 1111 should  be 0xaa55
aty128fb: BIOS not located, guessing timings.
aty128fb: Rage128 PF PRO AGP [chip rev 0x1] 16M 128-bit SDR SGRAM (1:1)
Console: switching to colour frame buffer device 128x48
fb0: ATY Rage128 frame buffer device on Rage128 PF PRO AGP
vga16fb: initializing
vga16fb: mapped to 0x000a0000
fb1: VGA16 VGA frame buffer device
mice: PS/2 mouse device common for all mice
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
loop: loaded (max 8 devices)
sungem.c:v0.98 8/24/03 David S. Miller (davem@redhat.com)
PHY ID: 406212, addr: 0
eth0: Sun GEM (PCI) 10/100/1000BaseT Ethernet 00:0a:27:e3:11:84
eth0: Found BCM5201 PHY
MacIO PCI driver attached to Keylargo chipset
input: Macintosh mouse button emulation as /class/input/input0
apm_emu: APM Emulation 0.5 initialized.
adb: starting probe task...
adb: finished probe task...
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ide0: Found Apple KeyLargo ATA-4 controller, bus ID 2, irq 19
Probing IDE interface ide0...
hda: HDS722512VLAT80, ATA DISK drive
hda: Enabling Ultra DMA 4
ide0 at 0xed014000-0xed014007,0xed014160 on irq 19
ide1: Found Apple KeyLargo ATA-3 controller, bus ID 0, irq 20
Probing IDE interface ide1...
hdc: HITACHI DVD-ROM GD-3000, ATAPI CD/DVD-ROM drive
eth0: Link is up at 100 Mbps, full-duplex.
hdc: Enabling MultiWord DMA 2
ide1 at 0xed016000-0xed016007,0xed016160 on irq 20
ide2: Found Apple KeyLargo ATA-3 controller, bus ID 1, irq 21
Probing IDE interface ide2...
Probing IDE interface ide2...
hda: max request size: 512KiB
hda: 241254720 sectors (123522 MB) w/7938KiB Cache, CHS=16383/255/63, UDMA(66)
hda: cache flushes supported
 hda: hda1 hda2 hda3 hda4 < hda5 hda6 hda7 hda8 hda9 hda10 hda11 hda12 >
hdc: ATAPI 32X DVD-ROM drive, 512kB Cache, DMA
Uniform CD-ROM driver Revision: 3.20
mesh: configured for synchronous 5 MB/s
usbmon: debugfs is not available
ohci_hcd: 2005 April 22 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
PCI: Enabling device 0001:11:08.0 (0000 -> 0002)
ohci_hcd 0001:11:08.0: OHCI Host Controller
ohci_hcd 0001:11:08.0: new USB bus registered, assigned bus number 1
ohci_hcd 0001:11:08.0: irq 27, io mem 0x80082000
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
PCI: Enabling device 0001:11:09.0 (0000 -> 0002)
ohci_hcd 0001:11:09.0: OHCI Host Controller
ohci_hcd 0001:11:09.0: new USB bus registered, assigned bus number 2
ohci_hcd 0001:11:09.0: irq 28, io mem 0x80081000
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
USB Universal Host Controller Interface driver v3.0
usb 1-1: new full speed USB device using ohci_hcd and address 2
usb 1-1: configuration #1 chosen from 1 choice
hub 1-1:1.0: USB hub found
hub 1-1:1.0: 3 ports detected
usb 2-1: new low speed USB device using ohci_hcd and address 2
usb 2-1: configuration #1 chosen from 1 choice
usb 1-1.1: new low speed USB device using ohci_hcd and address 3
usb 1-1.1: configuration #1 chosen from 1 choice
usbcore: registered new driver hiddev
input: Logitech USB-PS/2 Optical Mouse as /class/input/input1
input: USB HID v1.10 Mouse [Logitech USB-PS/2 Optical Mouse] on usb-0001:11:09.0-1
input: Alps Electric Apple USB Keyboard as /class/input/input2
input: USB HID v1.00 Keyboard [Alps Electric Apple USB Keyboard] on usb-0001:11:08.0-1.1
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
usbcore: registered new driver appletouch
i2c /dev entries driver
PowerMac i2c bus pmu 2 registered
PowerMac i2c bus pmu 1 registered
PowerMac i2c bus mac-io 0 registered
PowerMac i2c bus uni-n 1 registered
PowerMac i2c bus uni-n 0 registered
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
Freeing unused kernel memory: 184k init
attempt to access beyond end of device
hda4: rw=0, want=66, limit=2
isofs_fill_super: bread failed, dev=hda4, iso_blknum=16, block=32
ISO 9660 Extensions: Microsoft Joliet Level 3
Unable to load NLS charset utf8
Unable to load NLS charset utf8
ISO 9660 Extensions: RRIP_1991A
eth0: Link is up at 100 Mbps, full-duplex.
eth0: Pause is disabled
ieee1394: Initialized config rom entry `ip1394'
PCI: Enabling device 0001:11:0a.0 (0010 -> 0012)
ohci1394: fw-host0: OHCI-1394 1.0 (PCI): IRQ=[63]  MMIO=[80080000-800807ff]  Max Packet=[2048]  IR/IT contexts=[4/8]
orinoco 0.15rc3 (David Gibson <hermes@gibson.dropbear.id.au>, Pavel Roskin <proski@gnu.org>, et al)
airport 0.15rc3 (Benjamin Herrenschmidt <benh@kernel.crashing.org>)
Linux agpgart interface v0.101 (c) Dave Jones
agpgart: Detected Apple UniNorth chipset
agpgart: configuring for size idx: 4
agpgart: AGP aperture is 16M @ 0x0
orinoco 0.15rc3 (David Gibson <hermes@gibson.dropbear.id.au>, Pavel Roskin <proski@gnu.org>, et al)
airport 0.15rc3 (Benjamin Herrenschmidt <benh@kernel.crashing.org>)
hda: Enabling Ultra DMA 4
hdc: Enabling MultiWord DMA 2
ieee1394: Initialized config rom entry `ip1394'
ohci1394: fw-host0: OHCI-1394 1.0 (PCI): IRQ=[63]  MMIO=[80080000-800807ff]  Max Packet=[2048]  IR/IT contexts=[4/8]
ieee1394: Current remote IRM is not 1394a-2000 compliant, resetting...
ieee1394: Node added: ID:BUS[0-00:1023]  GUID[0050770500071002]
ieee1394: Host added: ID:BUS[0-01:1023]  GUID[000a27fffee31184]
ieee1394: sbp2: Driver forced to serialize I/O (serialize_io=1)
ieee1394: sbp2: Try serialize_io=0 for better performance
scsi0 : SBP-2 IEEE-1394
ieee1394: sbp2: Logged into SBP-2 device
ieee1394: Node 0-00:1023: Max speed [S400] - Max payload [2048]
  Vendor: SONY      Model: DVD RW DRU-710A   Rev: BYX5
  Type:   CD-ROM                             ANSI SCSI revision: 00
sr0: scsi3-mmc drive: 47x/62x writer cd/rw xa/form2 cdda tray
sr 0:0:0:0: Attached scsi CD-ROM sr0
eth0: Link is up at 100 Mbps, full-duplex.
eth0: Pause is disabled
XFS mounting filesystem hda12
Ending clean XFS mount for filesystem: hda12
kjournald starting.  Commit interval 5 seconds
EXT3 FS on hda3, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS on hda5, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS on hda7, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS on hda8, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS on hda9, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS on hda10, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS on hda11, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
XFS mounting filesystem hda12
Ending clean XFS mount for filesystem: hda12
kjournald starting.  Commit interval 5 seconds
EXT3 FS on hda6, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
IPv6 over IPv4 tunneling driver
eth0: no IPv6 routers present
Back to top
View user's profile Send private message
th0th696
Apprentice
Apprentice


Joined: 08 Dec 2004
Posts: 185

PostPosted: Fri Sep 08, 2006 4:25 pm    Post subject: quick note about resolv.conf Reply with quote

Just a quick note if anyone else gets stuck here. Even though the network was working I could not get it to resolve until I made a proper /etc/resolv.conf

Code:
nameserver x.x.x.x
search example.net


And to get it to take I had to run net-setup after it was inserted and an IP address was set to eth0

Code:
ifconfig eth0 10.0.1.201
nano /etc/resolv.conf   #why isn't vi on the install CD?

net-setup


In net-setup I used the static IP again. This was the only sequence I could make work. Good luck!
Back to top
View user's profile Send private message
nibiru
n00b
n00b


Joined: 09 Jun 2005
Posts: 38

PostPosted: Mon Sep 11, 2006 1:14 pm    Post subject: Re: quick note about resolv.conf Reply with quote

th0th696 wrote:
Just a quick note if anyone else gets stuck here. Even though the network was working I could not get it to resolve until I made a proper /etc/resolv.conf

Code:
nameserver x.x.x.x
search example.net


And to get it to take I had to run net-setup after it was inserted and an IP address was set to eth0

Code:
ifconfig eth0 10.0.1.201
nano /etc/resolv.conf   #why isn't vi on the install CD?

net-setup


In net-setup I used the static IP again. This was the only sequence I could make work. Good luck!


Thank you all for this thread :)

I had a similar problem, I had the network going down randomly (no route to host or many ping failures) and could never imagine it was a dhcpcd fault.

I confirm this happens with:

2006.1
dhcpcd
last ibook (12'' G4 1.33)

I thought I had broken my ethernet port or card, but it was working in OS-X so I came here and found dhcp was guilty :-)
Back to top
View user's profile Send private message
th0th696
Apprentice
Apprentice


Joined: 08 Dec 2004
Posts: 185

PostPosted: Mon Sep 11, 2006 3:16 pm    Post subject: same prob diff post Reply with quote

Now that we've determined dhcpcd to be the problem I noticed in the forum today another post which may be the same problem as here:

https://forums.gentoo.org/viewtopic-p-3570260.html#3570260
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC 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