Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
System suddenly can't find SATA devices
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
billmil
n00b
n00b


Joined: 06 Jan 2004
Posts: 72

PostPosted: Wed Jan 18, 2006 6:19 pm    Post subject: System suddenly can't find SATA devices Reply with quote

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
View user's profile Send private message
wolf@zh
n00b
n00b


Joined: 14 Feb 2003
Posts: 72

PostPosted: Wed Jan 18, 2006 8:16 pm    Post subject: Reply with quote

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
View user's profile Send private message
billmil
n00b
n00b


Joined: 06 Jan 2004
Posts: 72

PostPosted: Wed Jan 18, 2006 8:18 pm    Post subject: Hackish workaround! Reply with quote

Ok. I got past this problem by replacing in my /etc/fstab all my

Quote:

/dev/sda


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
View user's profile Send private message
wolf@zh
n00b
n00b


Joined: 14 Feb 2003
Posts: 72

PostPosted: Wed Jan 18, 2006 8:36 pm    Post subject: Reply with quote

remerged bootlayout procps udev devfsd, that did the job, everything back to normal¨;-)
Back to top
View user's profile Send private message
billmil
n00b
n00b


Joined: 06 Jan 2004
Posts: 72

PostPosted: Thu Jan 19, 2006 11:37 pm    Post subject: file under "D" Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum