View previous topic :: View next topic |
Author |
Message |
tuxmin l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/473518307438a03b302dca.jpg)
Joined: 24 Apr 2004 Posts: 838 Location: Heidelberg
|
Posted: Wed Nov 16, 2005 1:20 pm Post subject: PDC202xx_old corrupts file system (Asus A7V133) |
|
|
Hi folks,
I'm pulling my hair out on this one... I did a fresh Gentoo install on a system with an ASUS A7V133 that
has a VIA southbridge and an additional PDC20265 (Promise Ultra100) controller onboard. The system
ran like a charm with Windows XP.
I use gentoo-sources-2.6.14-r1.
To take full advantage of all IDE channels I did the following pluging
hda: HDD 300GB
hdc: DVD/CD-RW combo drive
hde: HDD 80GB
hdg: DVD-Rom drive
Eventually I found that hdg wasn't running in DMA mode as it should, so I issued hdparm -d1 /dev/hdg and
tried to mount a CD -- that fried hde (no typo)! No joke, the entire filesystem, 80GB of MP3, got lost because
I accessed the DVD drive! Luckily I had a backup... fsck tried hard to save the filesystem but all was gone...
OK, I googled around and found a discussion on one of these kernel groups where similar crashes were
reported -- unfortunately I couldn't come to a solution.
The consensus was, that this bug was introduced in 2.6.0-rc5, while kernel-2.4 is unaffected. There were some
dubious patches around which I wouldn't risk to use.
However, I did some further testing with an isolated DVD drive attached to the PDC controller.
The boot process shows the following:
Code: |
Nov 16 13:54:10 chao PDC20265: ROM enabled at 0x40010000
Nov 16 13:54:10 chao PDC20265: 100% native mode on irq 10
Nov 16 13:54:10 chao PDC20265: (U)DMA Burst Bit ENABLED Primary PCI Mode Secondary PCI Mode.
Nov 16 13:54:10 chao ide2: BM-DMA at 0x8800-0x8807, BIOS settings: hde:pio, hdf:pio
Nov 16 13:54:10 chao ide3: BM-DMA at 0x8808-0x880f, BIOS settings: hdg:pio, hdh:pio
Nov 16 13:54:10 chao Probing IDE interface ide2...
Nov 16 13:54:10 chao hde: TOSHIBA DVD-ROM SD-M1612, ATAPI CD/DVD-ROM drive
Nov 16 13:54:11 chao ide2 at 0xa000-0xa007,0x9802 on irq 10
Nov 16 13:54:11 chao hde: ATAPI 48X DVD-ROM drive, 512kB Cache
Nov 16 13:54:12 chao Probing IDE interface ide3...
|
as you can see, the drive isn't set to DMA transfer mode (it is set to DMA when attached to
the VIA controller and works perfectly, trust me).
Now I issue hdparm -d1 /dev/hde and try to mount a CD: the following happens
Code: |
Nov 16 13:57:11 chao ide-cd: cmd 0x28 timed out
Nov 16 13:57:11 chao hde: DMA timeout retry
Nov 16 13:57:11 chao PDC202XX: Primary channel reset.
Nov 16 13:57:11 chao PDC202XX: Secondary channel reset.
Nov 16 13:57:11 chao hde: timeout waiting for DMA
Nov 16 13:57:11 chao hde: tray open
Nov 16 13:57:11 chao end_request: I/O error, dev hde, sector 1423744
Nov 16 13:57:11 chao Buffer I/O error on device hde, logical block 355936
Nov 16 13:57:11 chao hde: tray open
Nov 16 13:57:11 chao end_request: I/O error, dev hde, sector 1423748
Nov 16 13:57:11 chao Buffer I/O error on device hde, logical block 355937
Nov 16 13:57:11 chao hde: tray open
|
this would continue forever... but if I issue hdparm -d0 /dev/hde from another console it finally reads
Code: |
Nov 16 13:57:15 chao hde: DMA disabled
Nov 16 13:57:54 chao ISO 9660 Extensions: Microsoft Joliet Level 3
Nov 16 13:57:54 chao ISOFS: changing to secondary root
|
and the CD gets mounted properly...
The A7V133 is a rather popular MoBo. Has anyone ever managed to get things working with kernel 2.6
or can give some input on this matter? _________________ ALT-F4 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
pyth0n n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Mario/Mario_-_Mario3.gif)
Joined: 24 Apr 2004 Posts: 13
|
Posted: Wed Feb 15, 2006 4:36 am Post subject: |
|
|
Having LOTS of problems with the same hardware here.
But I can´t even get Gentoo to install.
I´m using the 2005.r1 LiveCD and the 2005.r1 athlon-xp stage3
Linux livecd 2.6.12-gentoo-r10 #1 SMP Thu Nov 3 19:51:33 UTC 2005 i686 AMD Athlon(TM) XP 1700+ AuthenticAMD GNU/Linux
I´m getting an annoying and abusing quantity of Segmentation Fault error. Also I´m getting lot´s os kernel lost sync saying that ALL the modules I have loaded gave conflict
Tried to boot with acpi=no noapm noacpi noscsi nofirewire nousb nodetec and some other no but I´m always getting segfault in some stage of the install process.
Anyone know why?
I read in this forum that slots 4 and 5 also have problem with Linux. Is that correct? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
tuxmin l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/473518307438a03b302dca.jpg)
Joined: 24 Apr 2004 Posts: 838 Location: Heidelberg
|
Posted: Thu Feb 16, 2006 8:46 pm Post subject: |
|
|
A friend of mine, who's actually a windoze guru, told me, that this chip probalby does not support ATAPI devices, although it recognizes them... maybe the windows driver adds some support in sorftware, don't know. However, eventually I got tired of testing and connected all my ATAPI drives to the VIA controller and only one harddisk to the PDC -- system is stable since then... _________________ ALT-F4 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|