IDE to SATA adapter

Kernels & Hardware, configuring network, installing services

Re: IDE to SATA adapter

Postby phenest » 2017-03-12 17:00

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.
NEC Spirit 550 P4 3.8GHz HT - 2GB RAM - nVidia 7600GT - Pioneer BDR-209DBK
ASUS Sabertooth P67 i7 3770K - 32GB RAM - 2x nVidia 660GTX SLI'd
User avatar
phenest
 
Posts: 1571
Joined: 2010-03-09 09:38
Location: The Matrix

Re: IDE to SATA adapter

Postby Segfault » 2017-03-12 17:15

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.
Segfault
 
Posts: 554
Joined: 2005-09-24 12:24

Re: IDE to SATA adapter

Postby phenest » 2017-03-12 18:20

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?
NEC Spirit 550 P4 3.8GHz HT - 2GB RAM - nVidia 7600GT - Pioneer BDR-209DBK
ASUS Sabertooth P67 i7 3770K - 32GB RAM - 2x nVidia 660GTX SLI'd
User avatar
phenest
 
Posts: 1571
Joined: 2010-03-09 09:38
Location: The Matrix

Re: IDE to SATA adapter

Postby Segfault » 2017-03-12 18:28

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
Segfault
 
Posts: 554
Joined: 2005-09-24 12:24

Re: IDE to SATA adapter

Postby phenest » 2017-03-12 18:38

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.
NEC Spirit 550 P4 3.8GHz HT - 2GB RAM - nVidia 7600GT - Pioneer BDR-209DBK
ASUS Sabertooth P67 i7 3770K - 32GB RAM - 2x nVidia 660GTX SLI'd
User avatar
phenest
 
Posts: 1571
Joined: 2010-03-09 09:38
Location: The Matrix

Re: IDE to SATA adapter

Postby Segfault » 2017-03-12 18:43

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.
Segfault
 
Posts: 554
Joined: 2005-09-24 12:24

Re: IDE to SATA adapter

Postby phenest » 2017-03-12 18:52

NEC Spirit 550 P4 3.8GHz HT - 2GB RAM - nVidia 7600GT - Pioneer BDR-209DBK
ASUS Sabertooth P67 i7 3770K - 32GB RAM - 2x nVidia 660GTX SLI'd
User avatar
phenest
 
Posts: 1571
Joined: 2010-03-09 09:38
Location: The Matrix

Re: IDE to SATA adapter

Postby Segfault » 2017-03-12 19:17

Last thing I'd try, add all_generic_ide to your kernel command line.
Segfault
 
Posts: 554
Joined: 2005-09-24 12:24

Re: IDE to SATA adapter

Postby phenest » 2017-03-12 20:12

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.
NEC Spirit 550 P4 3.8GHz HT - 2GB RAM - nVidia 7600GT - Pioneer BDR-209DBK
ASUS Sabertooth P67 i7 3770K - 32GB RAM - 2x nVidia 660GTX SLI'd
User avatar
phenest
 
Posts: 1571
Joined: 2010-03-09 09:38
Location: The Matrix

Re: IDE to SATA adapter

Postby pcalvert » 2017-03-13 04:19

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
pcalvert
 
Posts: 1737
Joined: 2006-04-21 11:19
Location: Sol Sector

Re: IDE to SATA adapter

Postby phenest » 2017-03-13 18:40

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.
NEC Spirit 550 P4 3.8GHz HT - 2GB RAM - nVidia 7600GT - Pioneer BDR-209DBK
ASUS Sabertooth P67 i7 3770K - 32GB RAM - 2x nVidia 660GTX SLI'd
User avatar
phenest
 
Posts: 1571
Joined: 2010-03-09 09:38
Location: The Matrix

Previous

Return to System configuration

Who is online

Users browsing this forum: No registered users and 2 guests

fashionable