Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
problems with JMicron and SATA
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
jasiu85
n00b
n00b


Joined: 08 Oct 2007
Posts: 38

PostPosted: Sat Nov 10, 2007 10:36 am    Post subject: problems with JMicron and SATA Reply with quote

Hi everyone,

I've been trying to install Gentoo, but when I was almost done, something happened with my SATA drive.

I told emerge to install some packets and went to work. After I came back home, I saw that emerge has done its job. When I tried to enter some other command, I got the following kernel message:

Quote:

ata2.00: failed to IDENTIFY (I/O error, err_mask=0x104)


After that ata2.00 said that it was trying to do a soft reset and a hard reset, but neither of those helped. All I could do was to reboot my computer.

So what happened actually? I did some research and came up with the following possibilities:

- I have JMicron 363 controller, maybe kernel 2.6.19 on 2007.0 CD doesn't support it well?
- I've checked SATA data cable, seems to be fine.
- It seems that emerge finished its job long before I came back from work, can it be that the disk switched to some kind of "idle" mode and kernel or JMicron couldn't "wake it up"?
- Maybe something's wrong with the hardware (ASUS P5K, JMicron JMB363, Seagate Barracuda)

What do you say?

Thanks,

Mike
Back to top
View user's profile Send private message
mr-simon
Guru
Guru


Joined: 22 Nov 2002
Posts: 367
Location: Leamington Spa, Warks, UK

PostPosted: Sat Nov 10, 2007 6:40 pm    Post subject: Reply with quote

I've had trouble with my jmicron controller, with the Gentoo liveCD. It works well with kernel 2.6.22 fine, but I have experienced problems with older kernels.

I had to abort my first Gentoo installation because of similar problems. I couldn't get through the installation without my disk going nuts on me. I installed again using the most recent ubuntu liveCD which had kernel 2.6.22, instead of the Gentoo CD, and it worked OK. Maybe this will work for you?
_________________
"Pokey, are you drunk on love?"
"Yes. Also whiskey. But mostly love... and whiskey."
Back to top
View user's profile Send private message
xanas3712
Guru
Guru


Joined: 15 Oct 2004
Posts: 455

PostPosted: Sun Nov 11, 2007 6:11 am    Post subject: Reply with quote

It's the 2007.0 livecd. I don't know how it is that gentoo cannot have fixed that when 2007 was released. It really is one thing about this distro that annoys me. It's been a year since this jmicron issue started and you still have to do roundabout things to install gentoo (and many other linux distros) due to a problem that was fixed early on. Any distro by now could be supporting this on their livecds, but many still are not.

It makes no sense at all to me.

I just tested it now and it doesn't work with either the 2007.0 livecd normally or using gentoo all-generic-ide.
Back to top
View user's profile Send private message
jasiu85
n00b
n00b


Joined: 08 Oct 2007
Posts: 38

PostPosted: Mon Nov 12, 2007 11:07 pm    Post subject: Reply with quote

How about this?

My mobo has additional SATA ports and if I plug my drive in there, kernel sees it as /dev/hda. No fast SATA, no JMicron. Hmm, no problems? Can I do the following:

- plug the drive into the mobo and turn JMicron off,
- install gentoo on /dev/hda
- compile a kernel that supports JMicron,
- turn JMicron on again, plug the drive into it,
- boot the system,
- change /dev/hda to /dev/sda in all required places.

Is it a good idea?

Mike
Back to top
View user's profile Send private message
mr-simon
Guru
Guru


Joined: 22 Nov 2002
Posts: 367
Location: Leamington Spa, Warks, UK

PostPosted: Tue Nov 13, 2007 10:19 am    Post subject: Reply with quote

Seems like it'll work, although if the drive works off one of those ports, I don't see any reason why you need to move it. Just because it shows up as hda instead of sda, doesn't mean that it's speed-limited in any way. It's just how the driver appears to the kernel, I believe.

Although, if you really want to move the drive, that should be no problem either. You just need to make sure you update your fstab and root= kernel parameter.
_________________
"Pokey, are you drunk on love?"
"Yes. Also whiskey. But mostly love... and whiskey."
Back to top
View user's profile Send private message
jasiu85
n00b
n00b


Joined: 08 Oct 2007
Posts: 38

PostPosted: Tue Nov 13, 2007 12:04 pm    Post subject: Reply with quote

Well, actually there is a difference in speed. I don't know why that is, but before I tried to install Gentoo for the first time, I did full badblocks scan using non-JMicron port. I then discovered what JMicron is all about, changed the port and observed huge difference in speed... Anyway, thanks for the info, I shall then give it a try.

Mike
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