Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
PCI G4 tower: no installation medium found [solved]
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
ZZamboni
Tux's lil' helper
Tux's lil' helper


Joined: 16 Jan 2004
Posts: 96
Location: Zurich, Switzerland

PostPosted: Thu Aug 18, 2005 8:03 pm    Post subject: PCI G4 tower: no installation medium found [solved] Reply with quote

Hi,

I am planning on moving my home server (a first-generation PCI G4 tower) from MacOS X to Gentoo PPC (I already use Gentoo x86 on both my desktop and servers at work). I burned the 2005.1 universal CD, and today I attempted to boot from it. Unfortunately, it doesn't seem to find the CD after booting. Here's what I get:

Code:
>> Attempting to mount cd:- /dev/cdroms/cdrom0
>> Attempting to mount cd:- /dev/hda
>> No bootable medium found. Waiting for new devices...


I tried the CD on my G4 powerbook and it works fine, so my assumption is that the kernel does not recognize the drive. From the OSX system profiler, the DVD drive appears like this:

Code:
      Name: ATA-3 Bus

        MATSHITADVD-ROM SR-8583:

          Model: MATSHITADVD-ROM SR-8583
          Revision: D54A
          Serial Number:
          Drive Type: CD-ROM/DVD-ROM
          Removable Media: Yes
          Detachable Drive: No
          Protocol: ATAPI
          Unit Number: 0
          Socket Type: Internal


Could there be a way to make it recognize the drive?

Thank you for any ideas,
--ZZamboni


Last edited by ZZamboni on Sat Aug 20, 2005 12:14 pm; edited 1 time in total
Back to top
View user's profile Send private message
ZZamboni
Tux's lil' helper
Tux's lil' helper


Joined: 16 Jan 2004
Posts: 96
Location: Zurich, Switzerland

PostPosted: Fri Aug 19, 2005 8:22 pm    Post subject: Reply with quote

*bump*

I did some extra exploring today, from the BusyBox shell (this was with the 2005.0 CD, instead of the 2005.1 CD I tried yesterday). After running /bin/udevstart, the only CD-like device I could find was /dev/cdrom0, which was a symlink to /dev/hda, but I could not mount the CD using it. I tried booting with the option cdroot=/dev/cdrom0, with the same results.

I would really appreciate any ideas.

Thanks,
--ZZamboni
Back to top
View user's profile Send private message
silian87
Advocate
Advocate


Joined: 06 Oct 2003
Posts: 2318
Location: Treviso, Italy

PostPosted: Fri Aug 19, 2005 9:00 pm    Post subject: Reply with quote

try passing to boot cdrom=/dev/hdc (or other stuffs)

Is strange that hda is the cdrom.. I am not a mac expert, but it is strange anyway.
_________________
Musica che ascolto: http://www.last.fm/user/silian87/

Silian87 FAQs: http://marentax.homelinux.org/~silian87/silian87-faq.txt

GTalk: silian87@gmail.com
Back to top
View user's profile Send private message
ZZamboni
Tux's lil' helper
Tux's lil' helper


Joined: 16 Jan 2004
Posts: 96
Location: Zurich, Switzerland

PostPosted: Sat Aug 20, 2005 9:13 am    Post subject: Reply with quote

silian87: thanks - unfortunately /dev/hdc doesn't even exist.

I'm right now trying again, and from the busybox shell in the 2005.1 CD, I get the following:

Code:
/# mount /dev/cdroms/cdrom0 /newroot
mount: /dev/cdroms/cdrom0 is write-protected, mounting read-only
mount: /dev/cdroms/cdrom0 is write-protected, mounting read-only
mount: /dev/cdroms/cdrom0 is write-protected, mounting read-only
mount: /dev/cdroms/cdrom0 is write-protected, mounting read-only
mount: /dev/cdroms/cdrom0 is write-protected, mounting read-only
mount: Mounting /dev/cdroms/cdrom0 on /newroot failed: Invalid argument


So, it seems that it is tying /dev/cdroms/cdrom0 (which is still a symlink to /dev/hda) to the CD drive (I hear it spinning when I execute the command), but for some reason it is failing to mount the filesystem.

thanks for any further ideas...
Back to top
View user's profile Send private message
silian87
Advocate
Advocate


Joined: 06 Oct 2003
Posts: 2318
Location: Treviso, Italy

PostPosted: Sat Aug 20, 2005 9:44 am    Post subject: Reply with quote

It seems to be a livecd problem.... I think would be a nice idea to report this problem on bugs.gentoo.org.

Use the 2005.0 cd to install... :(
_________________
Musica che ascolto: http://www.last.fm/user/silian87/

Silian87 FAQs: http://marentax.homelinux.org/~silian87/silian87-faq.txt

GTalk: silian87@gmail.com
Back to top
View user's profile Send private message
ZZamboni
Tux's lil' helper
Tux's lil' helper


Joined: 16 Jan 2004
Posts: 96
Location: Zurich, Switzerland

PostPosted: Sat Aug 20, 2005 10:11 am    Post subject: Reply with quote

Unfortunately, with the 2005.0 CD (which I had already tried - see my second comment) I get the same results. I will open a bug about this.

Thank you for your help.
Back to top
View user's profile Send private message
silian87
Advocate
Advocate


Joined: 06 Oct 2003
Posts: 2318
Location: Treviso, Italy

PostPosted: Sat Aug 20, 2005 10:38 am    Post subject: Reply with quote

ZZamboni wrote:
Unfortunately, with the 2005.0 CD (which I had already tried - see my second comment) I get the same results. I will open a bug about this.

Thank you for your help.


Sorry, I thinked you said that with the 2005.0 worked and it didn't work with the 2005.1; sorry my error.

Good Luck :wink:
_________________
Musica che ascolto: http://www.last.fm/user/silian87/

Silian87 FAQs: http://marentax.homelinux.org/~silian87/silian87-faq.txt

GTalk: silian87@gmail.com
Back to top
View user's profile Send private message
ZZamboni
Tux's lil' helper
Tux's lil' helper


Joined: 16 Jan 2004
Posts: 96
Location: Zurich, Switzerland

PostPosted: Sat Aug 20, 2005 11:45 am    Post subject: Reply with quote

silian87: no worries, I really appreciate your help :-)

In collecting information for my bug report (which I haven't filed yet - still playing with this) I found that if I specify the filesystem type for the CD from busybox:
Code:
mount -t iso9660 /dev/cdroms/cdrom0 /mnt/cdrom

It manages to mount the CD, although sometimes it still fails. This is an improvement, however, from not specifying the filesystem type, in which case it always fails. Unfortunately, there seems to be no option to tell the /init script to specify the filesystem type when mounting the CD. I'm about to try modifying the init script and create a new LiveCD to try.

I wonder if this is related to some failure because my hardware is so old (slow?), as it seems the CD takes a while to spin up. Just for the record I've tried different combinations of the following kernel options when booting, all with the same effect: ide=nodma scandelay noapic nolapic nosata dodevfs noudev.
Back to top
View user's profile Send private message
ZZamboni
Tux's lil' helper
Tux's lil' helper


Joined: 16 Jan 2004
Posts: 96
Location: Zurich, Switzerland

PostPosted: Sat Aug 20, 2005 12:13 pm    Post subject: Reply with quote

Wooha! Solved it! In the end, I booted with the "debug" option, noticing that it would drop me in a shell before it started to try to mount things. From this shell, I mounted the CD:
Code:
mkdir -p /newroot/mnt/cdrom
mount -t iso9660 /dev/cdroms/cdrom0 /newroot/mnt/cdrom

when I exited from the debug shell, it recognized that the device was already mounted, and everything proceeded normally. Success!

Well... almost - now it does not recognize my network card. It's using the ieee1394 module for it, but it says "eth0: Could not allocate isochronous receive context for the broadcast channel" (sic on "isochronous"), and dhcpcd gives the error "interface eth0 is not Ethernet or 802.2 Token Ring". Oh well, to keep investigating...

Update: Duh - the ieee1394 was because it was autoloading the "ethernet over firewire" driver, which of course does not work. I used "modprobe bmac" and now it works beautifully. Happy happy...
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