LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Solaris / OpenSolaris (https://www.linuxquestions.org/questions/solaris-opensolaris-20/)
-   -   OpenSolaris Post Installation help (https://www.linuxquestions.org/questions/solaris-opensolaris-20/opensolaris-post-installation-help-747941/)

kapz 08-16-2009 11:26 AM

[SOLVED]OpenSolaris Post Installation help
 
Hi! I recently decided to try opensol and get more familiar with UNIX.

I installed 2009.6 and all went fine till installation. Then after the install finished, the PC rebooted and took some long time to boot, so I kept looking at the splash screen(while booting) after some time hit the escape key and I could see the message in console mode as 'Loading services 1124\150..'
Then eventually after some more time the GDM came up n then logged in all fine and made some general desktop changes, but it didnt recognize my NIC and sound card so opened up device driver tool and the names of the devices appeared correctly in it.But couldnt install( require NIC)

Then....

I rebooted opensol(as i would sometime!) and now it wont load GDM but instead the boot splash keeps running for like literally forever until I press the esc key. After pressing the esc key All i can see is the console login prompt. I again rebooted and hit the escape at the beginning and it just displays Sun OS and a few version heading lines and then the console prompt shows up.

Q1> If there was a problem with installation it should have never booted the first time, but it did.
Q2>While booting after first time why the Loading Services message isnt displayed.
Q3>Where is the grub's menu.lst file located, coz I checked in /rpool but the dir is empty. However there is a /boot/grub dir where all other files are located except the menu.lst

Please help me with this, I woul dreally appreciate the response. Thanks in advance.

jlliagre 08-16-2009 03:27 PM

Quote:

Originally Posted by kapz (Post 3645446)
Q1> If there was a problem with installation it should have never booted the first time, but it did.

Is that a question ?
Quote:

Q2>While booting after first time why the Loading Services message isnt displayed.
That's not the default option.
I suggest you edit the grub boot entry to read:
Code:

kernel$ /platform/i86pc/kernel/$ISADIR/unix -B $ZFS-BOOTFS,console=text -v -m verbose
instead of:
Code:

kernel$ /platform/i86pc/kernel/$ISADIR/unix -B $ZFS-BOOTFS,console=graphics
That will give you a quite verbose boot and will probably help you figuring out what's wrong with your installation.
Quote:

Q3>Where is the grub's menu.lst file located, coz I checked in /rpool but the dir is empty. However there is a /boot/grub dir where all other files are located except the menu.lst
The command:
Code:

bootadm list-menu
should tell you. It should be under /rpool/boot/grub/menu.lst

kapz 08-16-2009 09:56 PM

Hi jlliagre thanks for posting. Q1 meant that,does opensol boots the first time even if its not compatible or not installed properly..the reason for asking it like this is because I've installed opensol 3 times now and the second time it is always screwed up!

I tried the code:
kernel$ /platform/i86pc/kernel/$ISADIR/unix -B $ZFS-BOOTFS,console=text -v -m verbose

but then the screen is garbled and nothing appears or happens, even if i press the esc key, then have to reboot it ultimately.

Any pointers....?

kapz 08-17-2009 12:26 AM

Hi again...I think now I know what was the poblem.... I've reinstalled opensol today and everything woks fine even after restarting it several times, and now can also see boot and grub dirs in /rpool...Earlier I installed opensol first and then everything after it(win,linux) so was using linux grub to chainload opensol...which in turn wud load opensol grub and then opensol but opensol didnt seem to like that....now the questions that remain...

can i directly edit menu.lst to add linux or I should use some command to do it, sorry but I have no knowledge of solaris whatsoever, and linux ways might not be accepted by it, so asking first is safe.

How do i go about driver for NIC, my card is based on Realtek 8139 chipset(sc92031)...can I load win/linux drivers for opensol? The name is detected properly by opensol and it shows its status as driver mising in the device driver tool...?

jlliagre 08-17-2009 04:30 AM

Quote:

Originally Posted by kapz (Post 3646062)
can i directly edit menu.lst to add linux or I should use some command to do it, sorry but I have no knowledge of solaris whatsoever, and linux ways might not be accepted by it, so asking first is safe.

You can either add the linux entry to the Solaris grub menu or chainload Linux grub. The second option is the safest as grub versions might be slightly incompatible depending on which Linux is used.
Quote:

How do i go about driver for NIC, my card is based on Realtek 8139 chipset(sc92031)...can I load win/linux drivers for opensol? The name is detected properly by opensol and it shows its status as driver mising in the device driver tool...?
You can't install Linux drivers. A Realtek 8139 driver for Solaris is downloadable from http://homepage2.nifty.com/mrym3/taiyodo/eng/

kapz 08-18-2009 01:24 AM

Hi and thanks a bunch! :) The chainloading solution worked out for me as FreeBSD's bootloader wud overwrite sol grub(I think solaris grub needs more work to b done on it to improve.. maybe)...anyways thanks for the link as well, got driver but dont know what to do with it! they're all just .o files..

jlliagre 08-18-2009 03:58 AM

Quote:

Originally Posted by kapz (Post 3647541)
Hi and thanks a bunch! :) The chainloading solution worked out for me as FreeBSD's bootloader wud overwrite sol grub(I think solaris grub needs more work to b done on it to improve.. maybe)

Why would FreeBSD overwrite Solaris GRUB ? Solaris grub is installed in the Solaris partition, not in the MBR.
Quote:

...anyways thanks for the link as well, got driver but dont know what to do with it! they're all just .o files..
What did you download ? They are tar.gz files and you should use one of the rf archive.
All of these drivers have a README.txt file explaining how to install them.

kapz 08-19-2009 02:48 AM

quote][Why would FreeBSD overwrite Solaris GRUB ? Solaris grub is installed in the Solaris partition, not in the MBR[/quote]

No ans for that but when i added win and freebsd entries in opensolaris grub's menu.lst(which was active bootloader) through [rootnoverify (hd0,x),makeactive,chainload +1] and booted win it went fine, the next time i booted freebsd and rebooted there was only freebsd bootloader and no grub! also there were no other entries..so I thot it overwrite the grub.

Yep found the Readme, working on it...it says there are binary packages in it as well but Readme instructs to compile...binary folder has 2 .o files and a object file, dunno how to install/insert that object file.

kapz 08-19-2009 02:50 AM

Quote:

Originally Posted by jilliagre (Post 3649044)
Why would FreeBSD overwrite Solaris GRUB ? Solaris grub is installed in the Solaris partition, not in the MBR

No ans for that but when i added win and freebsd entries in opensolaris grub's menu.lst(which was active bootloader) through [rootnoverify (hd0,x),makeactive,chainload +1] and booted win it went fine, the next time i booted freebsd and rebooted there was only freebsd bootloader and no grub! also there were no other entries..so I thot it overwrite the grub.

Yep found the Readme, working on it...it says there are binary packages in it as well but Readme instructs to compile...binary folder has 2 .o files and a object file, dunno how to install/insert that object file.[/QUOTE]

jlliagre 08-19-2009 04:27 AM

Solaris need to be the active partition and it looks like freebsd is changing that from your description.

The readme file states recompilation is required only with SPARC platform. I'm missing why you do not simply follow the instructions there.

kapz 08-19-2009 07:12 PM

Hi! Thank you for posting. Yep read instructions but before doing that i've managed to get into trouble yet again.
I found this post in opensol forums:
(Link - http://pl.opensolaris.org/jive/threa...ssageID=371551) and followed the instructions that says:

"At a guess, this is a Realtek 8139D and may already have a working
driver in OpenSolaris. I would try:

update_drv -a -i '"pci1904,2031"' rtls
update_drv -a -i '"pci1904,8139"' rtls
ifconfig -a plumb"

Also after that downloaded ntfs-3g pkg from sunbinry website and installed it, and all was fine.

Now wen i boot, the opensol fails to boot properly and again the bootsplash keeps running until I press esc key, then I get the following:

Hostname:my hostname
WARNING: RTLS don't support this device: vendorID = 0x1904, deviceID = 0x2031
WARNING: : chip reset fail.
NOTICE: Inside module_info
NOTICE: Inside module_init
NOTICE: fuse_dbg_msg fuse_init:127
NOTICE: Fuse File System Init invoked, fstype = 24

Hostname console login:

I tried:
root@host# update_drv -d -i '"pci1904,2031"' rtls
No entry found for diver (rtls) in file (/etc/driver_aliases).

root@host# update_drv -d -i '"pci1904,8139"' rtls
No entry found for diver (rtls) in file (/etc/driver_aliases).
NOTICE: Inside_module_info

root@host# beadm activate opensolaris
Unable to activate opensolaris.
File system not mounted.

Help..............!

kapz 11-14-2009 06:35 PM

OpenSolaris is all FRAGILE..I've used it for a while and if u experiment with it, its screwed for good. Anyways all da best for future release.


All times are GMT -5. The time now is 03:26 AM.