LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 10-28-2008, 12:51 PM   #1
openSauce
Member
 
Registered: Oct 2007
Distribution: Fedora, openSUSE
Posts: 252

Rep: Reputation: 39
Is it possible for a driver to cause a hardware/firmware fault?


Hi,

I'm running Fedora 8 x86_64 on a Toshiba Satellite Pro A200 laptop (no hardware added or removed since it was bought, new). It has an Atheros AR5007EG wireless chip, and I've recently been messing about with ndiswrapper and madwifi trying to get it to work.

Finally got it working with a patched version of madwifi, and removed ndiswrapper, and all seems to be well most of the time. However, twice since then (this was a week or two ago), the machine seems to have failed to detect the chip:

First time was under WinXP - the usual system tray icon for wireless networks was missing, I had no connection or list of available networks, and the "found new hardware" wizard popped up, without saying what the new hardware was.

Second time was under Fedora - Network Manager did not list any available networks, and the chip was missing from the output of lspci.

In both cases, the LED on the front, which indicates wireless is switched on, failed to light up. I can confirm the wifi switch at the front was switched on, and I was in an area with plenty of wifi reception.

Now, that sounds like a hardware or firmware problem to me, and my understanding of how these things work suggests that simply installing a new driver can't possibly cause something like that, even if it killed the OS or wiped the hard drive. But it does seem like a bit of a coincidence - am I wrong? Could the driver possibly have had side-effects like that, and is there anything more I can do to diagnose it?
 
Old 10-28-2008, 03:17 PM   #2
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
Sure, a bad driver can do that but it rarely ever happens. The last time that a potentially dangerous Linux driver was released, it was found and removed before it could do any real damage.
Now if this really happened to you, you should find plenty of similar messages on the net because it would affect anyone with your kind of hardware. More likely, you may simply have an unreliable piece of hardware, especially if the issue manifests itself under XP too.
 
Old 10-28-2008, 03:24 PM   #3
pingu
Senior Member
 
Registered: Jul 2004
Location: Skuttunge SWEDEN
Distribution: Debian preferably
Posts: 1,350

Rep: Reputation: 127Reputation: 127
After what you say, you fiddled around under Linux Since the card sometimes fails under Windows too it is very unlikely that it's anything but hardware fault.
AFAIK, installing a bad driver could damage not really hardware but could change the contents of a ROM on it - more likely then an infected or fake driver. This has been used to kill motherboards by viruses changing CMOS.
This is very unlikely the case. If you picked madwifi & ndiswrapper from trusted places I'd say there's no risk at all. I really think it's just a coincidence - or maybe you had to mess around to get it to work because it was already faulty?
 
Old 10-28-2008, 03:38 PM   #4
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
Here is a guide to getting that card working in Linux
http://www.ubuntugeek.com/atheros-ar...rdy-heron.html


yes a bad driver can futz with hardware.. the e1000e intel Gigabit driver is a prime recent example

best of luck
 
Old 10-28-2008, 03:56 PM   #5
openSauce
Member
 
Registered: Oct 2007
Distribution: Fedora, openSUSE
Posts: 252

Original Poster
Rep: Reputation: 39
Quote:
Originally Posted by pingu View Post
or maybe you had to mess around to get it to work because it was already faulty?
No - it was because the required version of madwifi/HAL was on a branch rather than the main trunk (details here) so wasn't installed by default, and I had to compile from source which I'm not very experienced at. Had to switch my kernel to an older version I could find the headers for, but it took me a while to work that out.

I still don't know why ndiswrapper didn't work, as apparently others have managed to get it going ok, but I'm not entirely sure I was using depmod and modprobe correctly as I don't fully understand what they do and was just following a how-to. I'm also not sure I used the correct Windows driver with ndiswrapper, as the archive I downloaded had several files and no readme. The fact that lspci incorrectly reported the chip as AR5006EG (apparently a well-known problem) also didn't help.

It's not so much that I think madwifi or ndiswrapper might have released dodgy or infected software, but rather that my poking around without fully knowing what I was doing might have damaged something. Maybe through some interaction between the patched madwifi and the version installed by default, or between ndiswrapper and madwifi. I thought if the worst came to the worst I could just restore a backup of the / partition, but if I somehow changed a ROM on the hardware that wouldn't help.

Still, if you both think it's just coincidence, maybe that's all it is. I'm certainly using the wifi a lot more now that I've got it working in Linux, so maybe the problem was always there and it's only now become noticeable.
 
Old 10-28-2008, 04:00 PM   #6
openSauce
Member
 
Registered: Oct 2007
Distribution: Fedora, openSUSE
Posts: 252

Original Poster
Rep: Reputation: 39
Thanks farslayer - I followed a very similar guide to that one and got it working in the end. It was only after I got it working that this intermittent fault appeared.
 
Old 10-28-2008, 04:23 PM   #7
pingu
Senior Member
 
Registered: Jul 2004
Location: Skuttunge SWEDEN
Distribution: Debian preferably
Posts: 1,350

Rep: Reputation: 127Reputation: 127
Quote:
...rather that my poking around without fully knowing what I was doing might have damaged something.
Nope, no way. To damage the hardware all by yourself you have to be really cunning.
 
  


Reply



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
How do you find Driver & Firmware information? ken.koontz Linux - Newbie 2 06-18-2008 12:20 AM
yast segmentation fault, system freezing - nvidia driver at fault? BaltikaTroika SUSE / openSUSE 2 12-02-2005 09:34 AM
IPW2200 Driver Firmware? Corallis Fedora 0 07-20-2004 08:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration