Linux 2.6.21.5 to 2.6.22.3: /dev/sda becomes /dev/hda
My system:
Toshiba Satellite A135-S4527 Slackware Linux 12.0 I'm currently using a custom build of kernel 2.6.21.5, under which my hard drive (correctly) appears as /dev/sda and my partitions appear as /dev/sda[1-6]. When I build a 2.6.22.3 kernel (using a slightly updated configuration), however, my hard drive becomes /dev/hda. When I manage to actually boot the system, reiserfsck warns that DMA is off on the hard drive. The system also suffers a severe slow-down. What seems like the relevant section of the boot messages for the working kernel: Code:
ata: 0x170 IDE port busy Code:
Attached devices: Code:
17: udi = '/org/freedesktop/Hal/devices/storage_serial_SATA_Hitachi_HTS5416_SB2D01E4J6MJMB' |
Here's something I can spot a mile away?
Is there something wrong with 2.6.21.5 ?
What's this obsession with having the latest and greatest all the time? When are you going to be a little bit settled with just a simple milestone? Why not give 2.6.21.5 a chance to get it's bugs worked out before jumping onto the bandwagon of the Jone's Operating System + 1 ? Don't you think it's bit of an obsession ? Nobody can answer your question because that version of the kernel still has the paint drying on it. 2.6.21.5 was a major milestone, Slackware testifies to this. Give it a break! - perry |
No problem here with kernel
Code:
slack@medino: ~ $ uname -r Here the output of dmesg: Code:
ata1: SATA max UDMA/133 cmd 0x000101f0 ctl 0x000103f6 bmdma 0x00011100 irq 14 Code:
slack@medino: ~ $ cat /proc/scsi/scsi P. S.: I can send you my /usr/src/linux/.config to check where the differences are. |
Quote:
It seems like that would be of immense help.:D |
Your e-mail?
Fluxx. |
Thanks, Fluxx!
|
I have this problem too.
I apologize too, ;-)
WKali |
I would have sworn there is a rule against taking a discussion out the forum areas,
where they are public & can help everybody, into e-mail, where they aren't & don't. Please do not use e-mail this way. If you think the files are too long or wide, consider using a pastebin & posting the link here. |
Quote:
The main idea is that IDE must be entirely disabled. Disabling IDE caused my hard drive to function properly (and appear as sda) and my CD/DVD drive to function properly (I hadn't realized that this was misrepresented, too). |
It is also a problem of Slackware's default kernel. I have two notebooks with SATA-controllers and DVD-burner.
Slackware's default kernels (2.6.21.5) use the harddisk as /dev/sda, what is correct and the DVD-burner as /dev/hdc, what causes immense problems. The DVD-drive is slow, dma cannot be enabled, burning is slow and needs 100 % CPU. During burning process there is no go for mouse or other usage of the system. This behaviour cannot be solved with the default kernel. Watching a DVD/VCD is horrible, there is a CPU-usage of 100 % (1,6 GHz Centrino, 1024 MB RAM) and the message, that the system is to slow to play DVDs!!! There are only some single pictures in a FPS of may be 10-12. Only a recompiled kernel is able to use the DVD-burner in a correct way. To make this work I had to disable in /usr/src/linux/.config in section "Device Drivers" the subsection "ATA" completely. Then the harddisk is /dev/sda (what is correct as before) and the DVD-burner is /dev/sr0 (what is correct then). No problems to use the DVD-burner, to watch DVD/VCD. The CPU usage is then 17 % with 600 MHz while watching a VideoDVD with mplayer. I do not know the problem, but kernels of e. g. PCLinuxOS can handle the hardware of the notebook out of the box (/dev/sda and /dev/sr0). Fluxx. P. S.: Sorry, I couldn't post the .config here, because 25000 signs are allowed and it had about 76000. |
|
All times are GMT -5. The time now is 10:23 PM. |