Finnix

Blog Post

Article posted on Jan 7

Another minor iMystery solved

  • Posted by Ryan Finnie on January 7, 2006, 7:49 pm

On Wednesday, I brought a dev copy of Finnix-PPC to work to try out on the Macs there. I have a G4 tower and a G4 mini at home, which this copy both worked great on. But at work, we have a G3 iMac and a G4 MDD "Windtunnel", and I like to test on as much hardware as possible. The G3 worked fine (if slow; IIRC, it's a 6MHz proc with 24Kb of memory), but Finnix could no longer find the CDROM drive on the Windtunnel, even though 86.1 could boot just fine.

After some digging, I found that the CDROM drive was on /dev/hde, which Finnix did not have an entry in /dev for. This made me say "well how did this work in 86.1?", but I did not have an 86.1 PPC disc handy. Nonetheless, this led to a bug fix and a feature enhancement: adding more /dev entries to the initrd and "three strikes and you're on your own", respectively.

Before, if the Finnix initrd could not find its CD boot device, you were screwed. You would be dropped down to an ash shell, but there was no way to continue the process if you found a fix. "Three strikes and you're on your own" was a solution to a combination of this and some USB enhancements/fixes I made for 86.2; namely, some USB devices will take longer to "settle down" than the 5 seconds Finnix gives it before it starts mounting and checking for a compressed image. If Finnix does not find an image on the first time, it will wait 10 seconds, then try again. This process repeats 3 times. If Finnix still cannot find the image, it gives the user a "you're on your own" warning, and drops the user down to a shell. However, if the user can deduce why Finnix did not find the image, he can manually mount the device to /ramdisk/cdrom, and when he exits from the shell, Finnix will continue on, assuming it successfully mounted the image.

As for why Finnix-PPC worked on the Windtunnel on 86.1, but the dev copy didn't work? The Windtunnel has 3 IDE channels. In kernel 2.6.14, ide0 contained the hard drive (hda), ide1 contained the CDROM drive (hdc), and ide2 had no devices. In 2.6.15, the location of ide1 and ide2 swapped for some reason, so now the CDROM drive is detected as being on hde. Adding /dev/hde* to the initrd (and many more devices, just in case) fixed the problem.

  • Leave Comment
  • Posted in Development, Finnix

Leave a Reply

Click here to cancel reply.

If you have an OpenID, you may fill it in here. If your OpenID provider provides a name and email, those values will be used instead of the values here. Learn more about OpenID or find an OpenID provider.

« 86.2 coming... soon
Finnix 86.2 Released »

Finnix

  • Wiki
  • Blog
  • Snapshots

Finnix on Identi.ca

  • zinayfuzz: RT @fo0bar !Finnix 108 released! http://ur1.ca/dsds4 External link
  • fo0bar: !Finnix 108 released! http://ur1.ca/dsds4 External link Geotagged
  • neustradamus: !Finnix 108 has been released ( !Debian ) http://www.finnix.org/ External link
  • zinayfuzz: RT @fo0bar !Finnix 107 released! http://ur1.ca/c9oqp External link
  • fo0bar: !Finnix 107 released! http://ur1.ca/c9oqp External link Geotagged

Categories

  • Announcements (33)
  • Development (35)
  • Finnix (106)
  • Miscellany (24)

Archives

  • May 2013 (2)
  • December 2012 (1)
  • November 2012 (1)
  • October 2012 (1)
  • July 2012 (1)
  • April 2012 (1)
  • March 2012 (2)
  • February 2012 (2)
  • January 2012 (1)
  • December 2011 (1)
  • October 2011 (2)
  • September 2011 (1)

Recent Comments

  • Ryan Finnie: Package lists are available in the release notes.
  • Ben in Seattle: This seems like a very neat distribution, but I’m having a devil of a time figuring out what...
  • Ryan Finnie: It is installed, it’s just at /usr/games/robotfindskitten, which is not in root’s path.
  • robotfindskitten enjoyer: robotfindskitten does not appear to be installed by default in Finnix 106. This is a great...
  • Steve Nordquist: I would have HFS+ with i18n filenames available for available console charsets (Chinese...

Search

Meta

  • Log in
Powered by WordPress.