View previous topic :: View next topic |
Author |
Message |
billmil n00b
Joined: 06 Jan 2004 Posts: 72
|
Posted: Wed Jan 18, 2006 6:19 pm Post subject: System suddenly can't find SATA devices |
|
|
Hi,
I rebooted this morning and found that all-of-a-sudden my the system couldn't mount any of my hard disk partitions.
The error is
Quote: |
"no such file or directory...while trying to open /dev/sda1"
|
where /sda correspond to my SATA drive.
No 'sda*' devices exist in the /dev directory.
When I reboot from the Gentoo 2005.1 live cd, the '/dev' directory does have '/dev/sda*' devices. Thankfully I could mount my home directory and archive uncommitted code changes to another machine.
"What's changed?" I ask myself since I last rebooted a month ago.
a) I emerged GRUB
b) I created a symbolic link from one filesystem to another.
A former colleague told me that b) above could cause such a problem. I rebooted w/ the live cd, mounted the drive, removed the offending link, then rebooted from the hard drive. Same problem.
I then did a visual diff on the 'dmesg' outputs between the gentoo livecd boot and my hard disk boot.
It looks like the problem is that the system is putting the devices here:
Quote: |
/dev/scsci/host1/bus0/target0/lun0/
|
as part1,part2,etc..
Instead of in /dev/ as sda1,sda2, etc.
I honestly don't know what's changed..
I also see this error in the dmesg further upstream in the 'hard disk' boot. I don't see it in the 'live cd' boot.
Quote: |
*** PCI Interrupts are no longer routed automatically. If the device
*** has stopped working , it is probably because the driver
*** failed to call pci_enable_device(). As a temporary workaround
*** the "pci=routeirq" argument restores the old behavior. Email me ff this *** argument makes the device work again,...
|
any insights?
thanks,
bill m |
|
Back to top |
|
|
wolf@zh n00b
Joined: 14 Feb 2003 Posts: 72
|
Posted: Wed Jan 18, 2006 8:16 pm Post subject: |
|
|
welcome in the club! did some updates yesterday, rebooted today and bam! drive is working correctly, all the data is there and readable.....don't have any clue, now im trying to reemerge some packages like baselayout, procps, udev,.... maybe this helps... |
|
Back to top |
|
|
billmil n00b
Joined: 06 Jan 2004 Posts: 72
|
Posted: Wed Jan 18, 2006 8:18 pm Post subject: Hackish workaround! |
|
|
Ok. I got past this problem by replacing in my /etc/fstab all my
with
Quote: |
/dev/scsci/host1/bus0/target0/lun0/part
|
Apparently updating udev caused this issue. I need further input on this. Plus more understanding of udev and what caused this.
Ok. at least I can go back to work.
thanks,
bill m |
|
Back to top |
|
|
wolf@zh n00b
Joined: 14 Feb 2003 Posts: 72
|
Posted: Wed Jan 18, 2006 8:36 pm Post subject: |
|
|
remerged bootlayout procps udev devfsd, that did the job, everything back to normal¨ |
|
Back to top |
|
|
billmil n00b
Joined: 06 Jan 2004 Posts: 72
|
Posted: Thu Jan 19, 2006 11:37 pm Post subject: file under "D" |
|
|
file under "D" for "D'oh" ...
it looks like the problem lay in the fact that I had emerged but had 17 unaltered /etc in etc-update.
I rebooted without considering the consequence of said stale config files.
I will never shut down before checking my config files again. |
|
Back to top |
|
|
|