LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here.

Notices

Reply
 
Search this Thread
Old 08-16-2009, 11:26 AM   #1
kapz
Member
 
Registered: Mar 2009
Location: kernel space
Distribution: Slackware_x64
Posts: 191

Rep: Reputation: 16
[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.

Last edited by kapz; 11-14-2009 at 06:37 PM.
 
Old 08-16-2009, 03:27 PM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,481

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Quote:
Originally Posted by kapz View Post
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
 
Old 08-16-2009, 09:56 PM   #3
kapz
Member
 
Registered: Mar 2009
Location: kernel space
Distribution: Slackware_x64
Posts: 191

Original Poster
Rep: Reputation: 16
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....?
 
Old 08-17-2009, 12:26 AM   #4
kapz
Member
 
Registered: Mar 2009
Location: kernel space
Distribution: Slackware_x64
Posts: 191

Original Poster
Rep: Reputation: 16
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...?
 
Old 08-17-2009, 04:30 AM   #5
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,481

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Quote:
Originally Posted by kapz View Post
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/
 
Old 08-18-2009, 01:24 AM   #6
kapz
Member
 
Registered: Mar 2009
Location: kernel space
Distribution: Slackware_x64
Posts: 191

Original Poster
Rep: Reputation: 16
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..

Last edited by kapz; 08-18-2009 at 01:25 AM.
 
Old 08-18-2009, 03:58 AM   #7
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,481

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Quote:
Originally Posted by kapz View Post
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.
 
Old 08-19-2009, 02:48 AM   #8
kapz
Member
 
Registered: Mar 2009
Location: kernel space
Distribution: Slackware_x64
Posts: 191

Original Poster
Rep: Reputation: 16
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.
 
Old 08-19-2009, 02:50 AM   #9
kapz
Member
 
Registered: Mar 2009
Location: kernel space
Distribution: Slackware_x64
Posts: 191

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by jilliagre View Post
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]
 
Old 08-19-2009, 04:27 AM   #10
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,481

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
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.
 
Old 08-19-2009, 07:12 PM   #11
kapz
Member
 
Registered: Mar 2009
Location: kernel space
Distribution: Slackware_x64
Posts: 191

Original Poster
Rep: Reputation: 16
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..............!
 
Old 11-14-2009, 06:35 PM   #12
kapz
Member
 
Registered: Mar 2009
Location: kernel space
Distribution: Slackware_x64
Posts: 191

Original Poster
Rep: Reputation: 16
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Opensolaris installation Gins Solaris / OpenSolaris 9 12-04-2008 06:40 AM
OpenSolaris 2008.05 Installation problem austinramsay Solaris / OpenSolaris 6 07-06-2008 02:52 AM
Wine installation on OpenSolaris 2008.05 rithik_ghoshal Solaris / OpenSolaris 6 06-11-2008 07:32 AM
OpenSolaris 2008.05 Installation Help harley51 Solaris / OpenSolaris 11 05-08-2008 03:06 PM


All times are GMT -5. The time now is 02:11 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration