SPARC and device drivers


 
Thread Tools Search this Thread
Operating Systems Solaris SPARC and device drivers
# 1  
Old 12-30-2010
SPARC and device drivers

Hello all, I'm new here.. Can you please help me with device driver on Solaris10, Sun SPARC server; I need to know how to test if a PCI card is recognized and has a working driver. How to do it? As it is, the driver seems to be 'not attached', but some say it could be because the PCI card is not used. Also, we need to change permissions on /dev/mux0 which points to /devices/... but it says "file not found" When trying to initialize/use the PCI card it says "cannot open device". Smilie Please help.
# 2  
Old 12-30-2010
- run prtconf -pv to show the pci identification details for the installed card.
- then, find vendor-id and device-id, example:
vendor-id: 00008086
device-id: 0000103b
- grep 82801DB /boot/solaris/devicedb/master
- add the identifier for your driver into /etc/driver_aliases.
- Load the driver with the modload command, example:modload /kernel/drv/iprb
This User Gave Thanks to kimo For This Post:
# 3  
Old 12-30-2010
Thanks kimo, I'll try that first thing in morning. If it works, I'll send you holidays gift. Smilie I was also considering trying 'reconfiguration boot', could that help in any way? We once did such a boot and at least it didn't break anything. It is very very important that I don't mess up something on that server.

edit: there's also this error
Code:
svc.startd[7]: [ID 652011 daemon.warning] svc:/system/manifest-import:default: Method "/lib/svc/method/manifest-import" failed with exit status 208.


Last edited by orange47; 12-31-2010 at 04:41 AM..
# 4  
Old 12-31-2010
Quote:
Originally Posted by kimo
- then, find vendor-id and device-id, example:
vendor-id: 00008086
device-id: 0000103b
- grep 82801DB /boot/solaris/devicedb/master
I guess you mean here:
Code:
grep 8086,103b /boot/solaris/devicedb/master

---------- Post updated at 14:40 ---------- Previous update was at 12:46 ----------

Quote:
Originally Posted by orange47
I was also considering trying 'reconfiguration boot', could that help in any way?
That would help indeed although you can simply run:
Code:
devfsadm -v

for the same result.
Quote:
We once did such a boot and at least it didn't break anything. It is very very important that I don't mess up something on that server.
Then don't modify /etc/driver_aliases as previously suggested. Incorrect entries might make your system unbootable (but still fixable). You should experience on a test system, not a critical one.
Quote:
edit: there's also this error
Code:
svc.startd[7]: [ID 652011 daemon.warning] svc:/system/manifest-import:default: Method "/lib/svc/method/manifest-import" failed with exit status 208.

Anything of interest in this service log file ? (/var/svc/log/system-manifest-import:default.log)
# 5  
Old 01-12-2011
Lightbulb

OK, we tried reconfiguration reboot (with touch reconfigure and init 6) but nothing changed. Smilie
Still, at least its not worse than before Smilie
I was hoping that reboot would change /dev/mux0 but it didn't!
Its the same old:

Code:
lrwxrwxrwx   1 root     sys           41 Jan 12  2009 /dev/mux0 -> ../devices/pci@1d,700000/pci5555,3@1:mux0

and I believe that is the root of our problem (system was OK before 2009). perhaps we should delete that link and do reboot? But how to backup it first?

Here is the relevant line in /etc/driver_aliases :
Code:
 mux dvb

About manifest-import error, it somehow sorted itself out, there are NO errors in dmesg.
# 6  
Old 01-12-2011
If your problem is that dangling symbolic link, you can run
Code:
devfsadm -Cv

to clear it.
This User Gave Thanks to jlliagre For This Post:
# 7  
Old 01-12-2011
@jlliagre
OK, thank you, I'll try that.

Just a thought.. Would it be possible to simply remove it manually with rm ?
(I'm worried a bit that devfsadm might delete some other dev that is essential)
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Configuring NIC device in Solaris 9 SPARC OS [QEMU]

I have Xubuntu 18.04 installed on my PC. I have created a 10G .img image file created by QEMU-IMG. I have installed inside of it Solaris 9 SPARC edition . If I try and mount the image file as a loop device (using sudo losetup /dev/loop0 /path-to-img-file) I can only mount it as read only. ... (1 Reply)
Discussion started by: alphatron150
1 Replies

2. HP-UX

Failed to open tape device /dev/rmt/0mn:Device busy (errno = 16)

Hi, Unable to make tape backup, please help. /opt/ignite/bin/make_tape_recovery -a /dev/rmt/?mn -I -v -m tar -x inc_entire=vg00 * Creating local directories for configuration files and archive. ======= 04/25/16 16:28:08 IST Started /opt/ignite/bin/make_tape_recovery. (Mon... (4 Replies)
Discussion started by: anuragr
4 Replies

3. Red Hat

Unable To Activate Ethernet Network Device in RHEL 5.5 - e100 device eth0 does not seem to be presen

Hi All, Could anyone please help to resolve the below problem. I installed RHEL5.5 in my desktop.But when i try to activate the ethernet connection then it gives me the error. I spent 2 days for the above and go through with several suggestion found by googling. But no luck. ... (0 Replies)
Discussion started by: Tanmoy
0 Replies

4. UNIX for Advanced & Expert Users

Learn Linux File System and Device Drivers

I am to start working on two project on Linux Device Drivers and other on File System. So I got the book "Understanding Linux Kernel" by Daniel and Marco. But I am confused as how to proce Will anybody pls let me know how to go to about studying the chapter in this book? I mean the order in... (1 Reply)
Discussion started by: shefalibv
1 Replies

5. Programming

linux device drivers

hi, this is manju .... i want linux device drivers source codes. pls help me (2 Replies)
Discussion started by: miraclemanju
2 Replies

6. Solaris

writing device drivers,for a beginner!!!

Hi all, Please excuse me if this is not the right forum to ask my question. I would like to know more about writing device drivers for Unix,particularly Solaris 10. excuse me if am being vague, but I have absolutely no idea about how i can start. I did try to search for a beginners guide to... (1 Reply)
Discussion started by: wrapster
1 Replies

7. UNIX for Dummies Questions & Answers

drivers unix 5.01 is compatible with drivers epson fx-2190

Please, I'm From Argentina, And I Need To Know If The Drivers Of Program Unix, Version 5.01 Is Compatible Whit Drivers Of The Printer Epson Fx-2190 Thanks, And I Hope Yuor Answer. (0 Replies)
Discussion started by: juan alberghina
0 Replies

8. Windows & DOS: Issues & Discussions

Are Your Device Drivers Wacked Or Hacked?

Suggestion. Besides running scans it is also a good thing to run "sigverif". This will create a list of ALL drivers on your system, signed and unsigned. The output is located in your C:Windowssigverif.txt file. It surprised me most people do not do this. Many trojans mask themselves as... (0 Replies)
Discussion started by: ZOverLord
0 Replies

9. Programming

Linux Device Drivers

Here is a cool book. And the price is right! Linux Device Drivers, 2nd Edition (0 Replies)
Discussion started by: Perderabo
0 Replies

10. UNIX for Dummies Questions & Answers

View device drivers?

I might sound stupid for asking, but could someone please tell me how to view all the device drivers? I'm just starting to use UNIX after using Windows for years. Thanks. -sysop0130 (1 Reply)
Discussion started by: sysop0130
1 Replies
Login or Register to Ask a Question