Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

IDE to SATA adapter

Linux Kernel, Network, and Services configuration.
Message
Author
User avatar
phenest
Posts: 1702
Joined: 2010-03-09 09:38
Location: The Matrix

Re: IDE to SATA adapter

#16 Post by phenest »

I can make the nodes but I still don't have access to the SSD. The drive has been disabled because of:

Code: Select all

[    1.708699] ata2.01: NODEV after polling detection
...
[   12.468738] ata2.01: disabled
I don't think this is a mounting issue. It's a detection issue from an external kernel. But the drive itself is bootable.
ASRock H77 Pro4-M i7 3770K - 32GB RAM - Pioneer BDR-209D

Segfault
Posts: 993
Joined: 2005-09-24 12:24
Has thanked: 5 times
Been thanked: 17 times

Re: IDE to SATA adapter

#17 Post by Segfault »

What mounting?
After you created those nodes for SSD, did fdisk -l see the drive? You are sure you got the minor numbers right?
There is the kernel driver for controller, and controller deals with drive. When the drive is detected a node is created in /dev/. There may be a timing issue, the SSD may respond too fast for PATA driver for instance. No telling without enabling debug for PATA in kernel if this is the case.

User avatar
phenest
Posts: 1702
Joined: 2010-03-09 09:38
Location: The Matrix

Re: IDE to SATA adapter

#18 Post by phenest »

The bit I don't understand is, if I create the nodes, what links the nodes to the drive? Do I need to restart udev or something?
ASRock H77 Pro4-M i7 3770K - 32GB RAM - Pioneer BDR-209D

Segfault
Posts: 993
Joined: 2005-09-24 12:24
Has thanked: 5 times
Been thanked: 17 times

Re: IDE to SATA adapter

#19 Post by Segfault »

mknod is probably used by udev, certainly not the other way around.
When you create a node the major and minor number will point to that specific piece of hardware. I have two drives, when I run

Code: Select all

mknod /dev/sdc b 8 32
it wiil create the node for sdc. I could remove udev completely from my system and still, if I plug in another drive I will be able to access it as sdc using the node I created. Of course, if i have a partition on it I'd need to create a node for it.

Code: Select all

mknod /dev/sdc1 b 8 33

User avatar
phenest
Posts: 1702
Joined: 2010-03-09 09:38
Location: The Matrix

Re: IDE to SATA adapter

#20 Post by phenest »

Ok, I understand that. To answer your previous questions:
Segfault wrote:After you created those nodes for SSD, did fdisk -l see the drive?
No.
Segfault wrote:You are sure you got the minor numbers right?
Yes. Owner, group and permissions too, if they're necessary.
ASRock H77 Pro4-M i7 3770K - 32GB RAM - Pioneer BDR-209D

Segfault
Posts: 993
Joined: 2005-09-24 12:24
Has thanked: 5 times
Been thanked: 17 times

Re: IDE to SATA adapter

#21 Post by Segfault »

It might be the PATA driver problem then which is not written with SSD hooked up to an IDE port in mind. Probably cannot be solved without kernel hacking then. Can you pastebin the whole dmesg from Stretch? Just for kicks.

User avatar
phenest
Posts: 1702
Joined: 2010-03-09 09:38
Location: The Matrix

Re: IDE to SATA adapter

#22 Post by phenest »

ASRock H77 Pro4-M i7 3770K - 32GB RAM - Pioneer BDR-209D

Segfault
Posts: 993
Joined: 2005-09-24 12:24
Has thanked: 5 times
Been thanked: 17 times

Re: IDE to SATA adapter

#23 Post by Segfault »

Last thing I'd try, add all_generic_ide to your kernel command line.

User avatar
phenest
Posts: 1702
Joined: 2010-03-09 09:38
Location: The Matrix

Re: IDE to SATA adapter

#24 Post by phenest »

Already done that along with others:
irqpoll
libata.force=2.01: (with several different parameters)
and a few others I can't remember right now.
ASRock H77 Pro4-M i7 3770K - 32GB RAM - Pioneer BDR-209D

pcalvert
Posts: 1939
Joined: 2006-04-21 11:19
Location: Sol Sector
Has thanked: 1 time
Been thanked: 2 times

Re: IDE to SATA adapter

#25 Post by pcalvert »

phenest wrote:Jessie gives the same results. Live CD's have the same problem too, but a Jessie installer has no problems.
Did you try a live CD based on Wheezy? I'm not saying it will work (who knows?); I'm mainly just curious.

Phil
Freespoke is a new search engine that respects user privacy and does not engage in censorship.

User avatar
phenest
Posts: 1702
Joined: 2010-03-09 09:38
Location: The Matrix

Re: IDE to SATA adapter

#26 Post by phenest »

I haven't tried Wheezy and don't have an ISO to hand. When I have some spare time, and bandwidth, I'll give it a try.
ASRock H77 Pro4-M i7 3770K - 32GB RAM - Pioneer BDR-209D

Post Reply