Unsolved

This post is more than 5 years old

2 Posts

86751

February 17th, 2005 09:00

linux on Latitude D810 (or D610)

I am in process of buying a new Dell laptop and since I have a need to
run both Windows and linux I wonder whether
anyone yet have had the chance to try out to install (any distribution)
Linux on the new "sonoma" Dell Latitude notebooks D810 and D610?
All comments and experiences on this issue is welcome.

Cheers,

Peter

1 Message

June 14th, 2005 15:00

I've got a latitude D810 running Gentoo 2005.0 and have had great luck with it so far, save for one or two nagging issues.
the first, and most annoying, seems to be Dell's choice of a SATA hd in this model, which really screws up setting DMA on the cd-rw/dvd, in that, it can't. this leads to horrid dvd performance, and dismal cd burning speeds (8x burn, tops.)
I've switched from the heavily patched gentoo kernel builds to a vanilla 2.6.11 kernel, and still cannot set dma on hdc/sr0/scd0, I assume if this hd was still ATAPI, I probably wouldnt have this problem. Has anyone else gotten this working, if so, post the relevant sections of your kernel config, i'd be curious to see them.

Also, the docking station required some a couple tweaks to get working with the radeon X600 in this machine.

also, the trackpoint buttons don't work, but as I don't usually use them, it's not that great of an issue.

Message Edited by SuperV on 06-14-2005 11:45 AM

4 Posts

June 14th, 2005 17:00

Thus far, I have not done much with DMA (I do all of my cd burning and DVD watching on my xp partition). However, if you want to get the trackpoint buttonw to work (I assume you have an alps touchpad/trackstick), you need to modify your drivers/input/mouse/alps.c to change the following lines:

find:
input_report_key(dev, BTN_A, left);
input_report_key(dev, BTN_B, right);

and change to:
input_report_key(dev, BTN_LEFT, left);
input_report_key(dev, BTN_RIGHT, right);

then, find and delete the lines that look like:
psmouse->dev.keybit[LONG(BTN_A)] |= BIT(BTN_A);
psmouse->dev.keybit[LONG(BTN_B)] |= BIT(BTN_B);

and remove them. Recompile your kernel, and you should be good to go. Note, I'm running vanilla kernel 2.6.11.10.

Have you been able to get 3D video acceleration working? If so, which version of xorg/XFree86 are you running?

3 Posts

June 16th, 2005 06:00

I have the same problem with slow performance on cd-rw/dvd unit.

I have FC3 with all latest updates.
I was searching the net for a solution for this problem
and you are the first to mention the same problem as I have.

I was getting worried that I did somthing wrong :)

PLEASE anybody, HELP! any information will help :)

Also, I have a problem with CPU freq. If I boot with power adapter
connected then CPU freq is high. If for some reason CPU freq
is lowered, I cannot get it up again. Only a reboot helps.

I disabled cpuspeed, Installed cpufreq-utils, but still
cannot rise CPU freq.

14 Posts

June 16th, 2005 13:00

I have read that Suse's 2.6.11.4 kernel fixed the problem with the DVD-R/RW but I don't know of anyone running Suse with the CD-RW/DVD-ROM. Basically the driver was on the ide-scsi blacklist in the kernel, but it was taken off that list in 2.6.11. I haven't had much time to examine the problem recently, but I plan to try to work on it this weekend. My guess is the fix may involve calling the ide-scsi module from grub (the drive will appear in /dev as /dev/scd0). Well I have to go to work but I'll post any updates if I find anything.

3 Posts

June 17th, 2005 11:00

I have FC3 with latest updates.
I checked kernel sources and the drive is not blacklisted.

I have a HDD connected to SATA which works fine.
It is detected as a SCSI device. /dev/sda

The CD-RW/DVD conected to SATA works ok, but without DMA.
It is detected as normal IDE device /dev/hdc

I was thinking why it is detected as IDE instead of SCSI, and
looked in dmesg. IDE probing was done first finding the CD-RW/DVD.
SCSI probing was done afterwords:

=== dmesg ===
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ide0: I/O resource 0x1F0-0x1F7 not free.
ide0: ports already in use, skipping probe
Probing IDE interface ide1...
hdc: SAMSUNG CDRW/DVD SN-324S, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
hdc: ATAPI 24X DVD-ROM CD-R/RW drive, 2048kB Cache
Uniform CD-ROM driver Revision: 3.20
...
SCSI subsystem initialized
libata version 1.10 loaded.
ata_piix version 1.03
ACPI: PCI interrupt 0000:00:1f.2 -> GSI 7 (level, low) -> IRQ 7
ata: 0x170 IDE port busy
PCI: Setting latency timer of device 0000:00:1f.2 to 64
ata1: SATA max UDMA/133 cmd 0x1F0 ctl 0x3F6 bmdma 0xBFA0 irq 14
ata1: dev 0 cfg 49:2b00 82:346b 83:5b29 84:4003 85:3469 86:1a09 87:4003 88:203f
ata1: dev 0 ATA, max UDMA/100, 117210240 sectors:
ata1: dev 0 configured for UDMA/100
scsi0 : ata_piix
Vendor: ATA Model: FUJITSU MHT2060A Rev: 006C
Type: Direct-Access ANSI SCSI revision: 05
SCSI device sda: 117210240 512-byte hdwr sectors (60012 MB)
SCSI device sda: drive cache: write back
SCSI device sda: 117210240 512-byte hdwr sectors (60012 MB)
SCSI device sda: drive cache: write back
sda: sda1 sda2 sda3 sda4 < sda5 sda6 >
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
=== dmesg end ===

I saw thad since CD-RW/DVD IDE port was already busy, SCSI did not try it.
So, I added ide1=noprobe hdc=noprobe as kernel parameters.

This time IDE left alone the CD-RW/DVD drive and SCSI
made some discoveries:

=== dmesg ide1=noprobe ===
SCSI subsystem initialized
libata version 1.10 loaded.
ata_piix version 1.03
ACPI: PCI interrupt 0000:00:1f.2 -> GSI 7 (level, low) -> IRQ 7
PCI: Setting latency timer of device 0000:00:1f.2 to 64
ata1: SATA max UDMA/133 cmd 0x1F0 ctl 0x3F6 bmdma 0xBFA0 irq 14
ata1: dev 0 cfg 49:2b00 82:346b 83:5b29 84:4003 85:3469 86:1a09 87:4003 88:203f
ata1: dev 0 ATA, max UDMA/100, 117210240 sectors:
ata1: dev 0 configured for UDMA/100
scsi0 : ata_piix
Vendor: ATA Model: FUJITSU MHT2060A Rev: 006C
Type: Direct-Access ANSI SCSI revision: 05
SCSI device sda: 117210240 512-byte hdwr sectors (60012 MB)
SCSI device sda: drive cache: write back
SCSI device sda: 117210240 512-byte hdwr sectors (60012 MB)
SCSI device sda: drive cache: write back
sda: sda1 sda2 sda3 sda4 < sda5 sda6 >
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
ata2: SATA max UDMA/133 cmd 0x170 ctl 0x376 bmdma 0xBFA8 irq 15
ata2: dev 0 cfg 49:0f00 82:0000 83:0000 84:0000 85:0000 86:0000 87:0000 88:0407
ata2: dev 0 ATAPI, max UDMA/33
ata2: dev 0 configured for UDMA/33
scsi1 : ata_piix
=== dmesg end ===

Now SCSI detects the CD-RW/DVD, but does not attach it!
I looked in /dev and there is no new device :(

From other posts on the net I got some hints and looked in
kernel-2.6.11/linux-2.6.11/include/linux
and saw this line:
#undef ATA_ENABLE_ATAPI /* define to enable ATAPI support */

Since the drive is detected as ATAPI, I think I will have to
modify this line to define ATA_ENABLE_ATAPI and rebuild
the kernel or the module.

Unfortunatlly, I have never rebuilt a module or kernel.

14 Posts

June 17th, 2005 19:00

hidralist,
   Great find.  Recompiling the kernel is simple; there are multipe walkthroughs online.  My personal favorite is http://www.digitalhermit.com/linux/Kernel-Build-HOWTO.html.  I frequently post to alt.linux.redhat on USENET and I posted a quick walkthrough for someone else there a week or so ago, you can find it here: http://groups-beta.google.com/group/alt.linux.redhat/browse_thread/thread/ebb3260b1c42e579/a3a267007db9c321?hl=en#a3a267007db9c321
 
When I get off work tonight I'll try messing around with ide1=noprobe.

3 Posts

June 20th, 2005 09:00

Thanks for the links.

I managed to repair the problem:
1. Expand FC3 kernel sources 2.6.11
2. modify include/linux/libata.h
#define ATA_ENABLE_ATAPI /* define to enable ATAPI support */
3. modify default FC3 kernel build config:
- include SCSI in kernel
- put IDE as module
4. recompile kernel

Speed for read improved significantly, both for CD and DVD.
Wrote one CD with no problems.
No Events found!

Top