Skip to contentSkip to conversation

MORE THAN 10 IDE CONTROLLERS

DISCUSSION baptiste coudurier 3 participants 4 messages May 24, 2004 – May 25, 2004

lore
Share & tools
lore
#0 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello

Im trying to use more than 10 ide controllers on a 2.4.26 kernel and i did not succeed.

i patched already according to several posts (Alan Cox) so now i get :

PDC20269: ROM enabled at 0xfdee0000
~ idea: BM-DMA at 0xdf50-0xdf57, BIOS settings: hdu:pio, hdv:pio
~ ideb: BM-DMA at 0xdf58-0xdf5f, BIOS settings: hdw:pio, hdx:pio

but unfortunately :

ide1 at 0x170-0x177,0x376 on irq 15
ide3 at 0xdfa0-0xdfa7,0xdfaa on irq 23
ideb: UNABLE TO GET MAJOR NUMBER 0

i guess i need to patch major and minor numbers for the devices as well but i did not reach to.

i search into Documentation/devices.txt without sucess.

Does anyone know what are major/minors for hdu, hdv, hdw, hdx ?

Thks a lot for your help.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iQCVAwUBQLI9SQrJMlxcGrqqAQKpNwP/Q+YvqeK0VaRHsv+K54cQ8DXK3D2374x8 KpUJ4Tp7Aj3hgPA9eepDP+fxlbiZ36ppl8Mu4L173uClRxQwI7nET9O8lpYIyZLz oDVSBJYfIUb+iRuBHgldJTt6x7FHboSiIw80MNgoGgF2/iVYOIack0xGUCSJBCji ilswRk1d874=
=y89h
-----END PGP SIGNATURE-----

#1 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

baptiste coudurier schrieb:
| Does anyone know what are major/minors for hdu, hdv, hdw, hdx ?

not being a professional, i see:

evil@sheep:~$ la /dev/hd?
brw-rw----    1 root     disk       3,   0 2004-03-10 11:33 /dev/hda
brw-rw----    1 root     disk       3,  64 2004-03-10 11:33 /dev/hdb
brw-rw----    1 root     disk      22,   0 2004-03-10 11:33 /dev/hdc
brw-rw----    1 root     disk      22,  64 2004-03-10 11:33 /dev/hdd
brw-rw----    1 root     disk      33,   0 2004-03-10 11:40 /dev/hde
brw-rw----    1 root     disk      33,  64 2004-03-10 11:40 /dev/hdf
brw-rw----    1 root     disk      34,   0 2004-03-10 11:40 /dev/hdg
brw-rw----    1 root     disk      34,  64 2004-03-10 11:40 /dev/hdh

so, it's a major number for every controller (e.g. "22" for hdc+hdd each belonging to one controller). hdi+hdj would be major 35, minor [0|64] ? i'd try this out for hdx and further...

did you try devfs/udev? perhaps it could solve this by itsself....?

Christian.

PS: maybe Documentation/devices.txt helps out too.

- --
BOFH excuse #75:

There isn't any problem
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFAs0lG+A7rjkF8z0wRAmp5AJ985JGLXpxX5rSJnQM0GJNq0LkcIQCfT4hH kj4lr37B1urPVTAMiLbMXlE=
=fohg
-----END PGP SIGNATURE-----

#2 lore raw
Quoted 18 lines · Christian Kujau

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

baptiste coudurier schrieb:
| Does anyone know what are major/minors for hdu, hdv, hdw, hdx ?

not being a professional, i see:

evil@sheep:~$ la /dev/hd?
brw-rw----    1 root     disk       3,   0 2004-03-10 11:33 /dev/hda
brw-rw----    1 root     disk       3,  64 2004-03-10 11:33 /dev/hdb
brw-rw----    1 root     disk      22,   0 2004-03-10 11:33 /dev/hdc
brw-rw----    1 root     disk      22,  64 2004-03-10 11:33 /dev/hdd
brw-rw----    1 root     disk      33,   0 2004-03-10 11:40 /dev/hde
brw-rw----    1 root     disk      33,  64 2004-03-10 11:40 /dev/hdf
brw-rw----    1 root     disk      34,   0 2004-03-10 11:40 /dev/hdg
brw-rw----    1 root     disk      34,  64 2004-03-10 11:40 /dev/hdh
Quoted 3 lines

so, it's a major number for every controller (e.g. "22" for hdc+hdd each belonging to one controller). hdi+hdj would be major 35, minor [0|64] ? i'd try this out for hdx and further...

afaik even the 2.6.x kernel defines only 10 major numbers for IDE devices (from 0 upto 9). All are predefined - see include/linux/major.h

Quoted 27 lines

did you try devfs/udev? perhaps it could solve this by itsself....?

Christian.

PS: maybe Documentation/devices.txt helps out too.

- --
BOFH excuse #75:

There isn't any problem
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFAs0lG+A7rjkF8z0wRAmp5AJ985JGLXpxX5rSJnQM0GJNq0LkcIQCfT4hH kj4lr37B1urPVTAMiLbMXlE=
=fohg
-----END PGP SIGNATURE-----
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

#3 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Eugeny S. Mints wrote:

| Christian Kujau wrote:
|
| baptiste coudurier schrieb:
| | Does anyone know what are major/minors for hdu, hdv, hdw, hdx ?
|
| not being a professional, i see:
|
| evil@sheep:~$ la /dev/hd?
| brw-rw----    1 root     disk       3,   0 2004-03-10 11:33 /dev/hda
| brw-rw----    1 root     disk       3,  64 2004-03-10 11:33 /dev/hdb
| brw-rw----    1 root     disk      22,   0 2004-03-10 11:33 /dev/hdc
| brw-rw----    1 root     disk      22,  64 2004-03-10 11:33 /dev/hdd
| brw-rw----    1 root     disk      33,   0 2004-03-10 11:40 /dev/hde
| brw-rw----    1 root     disk      33,  64 2004-03-10 11:40 /dev/hdf
| brw-rw----    1 root     disk      34,   0 2004-03-10 11:40 /dev/hdg
| brw-rw----    1 root     disk      34,  64 2004-03-10 11:40 /dev/hdh
|
| so, it's a major number for every controller (e.g. "22" for hdc+hdd each
| belonging to one controller). hdi+hdj would be major 35, minor [0|64] ?
| i'd try this out for hdx and further...
|
|
|> afaik even the 2.6.x kernel defines only 10 major numbers for IDE
|> devices (from 0 upto 9). All are predefined - see include/linux/major.h
|
|
| did you try devfs/udev? perhaps it could solve this by itsself....?
|
| Christian.
|
| PS: maybe Documentation/devices.txt helps out too.
|
| --
| BOFH excuse #75:
|
| There isn't any problem

I finally patched the kernel sucessfully, adding some new major numbers

Everything seems to work fine execpt for hdparm yet. Im still working on it. I can supply a patch if anyone is interested.
Thks for your help

- --
Baptiste Coudurier UIN : 1980693
Debian GNU/Linux user ESF Courchevel 1850
GnuPG fp: 8D77 134D 20CC 9220 201F:C5DB 0AC9 325C 5C1A BAAA checking for life_signs in -lKenny... no
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iQCVAwUBQLNPHgrJMlxcGrqqAQLM4gQAlbHpflsWyuwssE4SoWn5QqteJfetM/bE v1YYEtEDbeIlceOMxpH53mwoFv2w0bLiE3dqoiG2NA4o7yA7v+DJq6s599rwmR8o KhQYAt/kzMpgzUBPK9Q1qZRKFppM16EwwwKqoehK1z9vAd99Opnm6/Zo8LjYibh1 YYsNtowc6gE=
=VcMI
-----END PGP SIGNATURE-----