LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-10-2005, 07:46 AM   #16
realnerd
Member
 
Registered: Aug 2004
Distribution: Gentoo (main), FreeBSD, VoidLinux, Crux
Posts: 49

Original Poster
Blog Entries: 1

Rep: Reputation: 15

Thanks, keefaz

for your post. In Slackware-10.1 as well as in Mandrake-9.2, the output of lspci | grep -i ide is:

00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE]

Any ideas ?

realnerd
 
Old 07-10-2005, 07:51 AM   #17
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
Do you have DMA enabled? Maybe the disk es getting out of sync but that should slow all the system.

Another thing which I doubt but could be possible is that your fs got corrupted at some point and can't recover from that. fsck should take care of that, but.. who knows
 
Old 07-10-2005, 08:01 AM   #18
realnerd
Member
 
Registered: Aug 2004
Distribution: Gentoo (main), FreeBSD, VoidLinux, Crux
Posts: 49

Original Poster
Blog Entries: 1

Rep: Reputation: 15
Hi gbonvehi,

sorry but how do I know if I have DMA enabled ?

realnerd
 
Old 07-10-2005, 08:18 AM   #19
realnerd
Member
 
Registered: Aug 2004
Distribution: Gentoo (main), FreeBSD, VoidLinux, Crux
Posts: 49

Original Poster
Blog Entries: 1

Rep: Reputation: 15
OK, i have found on the net the following command:

hdparm -i /dev/hda

It gives:

/dev/hda:

Model=SAMSUNG SV0602H, FwRev=RH100-10, SerialNo=0451J1DT901651
Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
RawCHS=16383/16/63, TrkSize=34902, SectSize=554, ECCbytes=4
BuffType=DualPortCache, BuffSize=2048kB, MaxMultSect=16, MultSect=16
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=117304992
IORDY=yes, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes: pio0 pio1 pio2 pio3 pio4
DMA modes: mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 udma2 udma3 udma4 *udma5
AdvancedPM=no WriteCache=enabled
Drive conforms to: ATA/ATAPI-6 T13 1410D revision 1:

* signifies the current active mode

Is it giving the relevant information ?

realnerd
 
Old 07-10-2005, 08:20 AM   #20
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Also please, try to note the output of dmesg | grep -i ide
on both mandrake and slackware after they boot, this way
we can see if they use the same IDE driver or not
 
Old 07-10-2005, 08:28 AM   #21
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
I see from your hdparm output, that multiple sector I/O is enabled
in your drive, the hdparm man page says that some drives claim to
support multiple mode, but lose data at some settings and under
rare circumstances, such failures can result in massive filesystem
corruption.

I don't know if it is relevant though, and I think the ide driver is
enough smart to enable or disable this feature itself at boot.
(assuming of course you don't use hdparm settings in /etc/rc.d/rc.local
or similar)

Maybe you should try to set multiple mode support off with :
hdparm -m 0 /dev/hda

Also it would be interesting to see the same hdparm -i /dev/hda
output from mandrake
 
Old 07-20-2005, 02:53 PM   #22
realnerd
Member
 
Registered: Aug 2004
Distribution: Gentoo (main), FreeBSD, VoidLinux, Crux
Posts: 49

Original Poster
Blog Entries: 1

Rep: Reputation: 15
Hi keefaz, hi egag,

I'm back home now and these are the data requested:

Mandrake dmesg | grep -i ide:
--------------------------------

Kernel command line: BOOT_IMAGE=Mandrake-9.2 ro root=306 hdc=ide-scsi
ide_setup: hdc=ide-scsi
Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
SIS5513: IDE controller at PCI slot 00:02.5
SIS5513: SiS 962/963 MuTIOL IDE UDMA133 controller
ide0: BM-DMA at 0xb400-0xb407, BIOS settings: hdaMA, hdbio
ide1: BM-DMA at 0xb408-0xb40f, BIOS settings: hdcMA, hddMA
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: attached ide-disk driver.
/dev/ide/host0/bus0/target0/lun0: p1 p2 < p5 p6 p7 p8 p9 p10 >
ide: late registration of driver.
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,6), internal journal
hdc: attached ide-scsi driver.
scsi1 : SCSI host adapter emulation for IDE ATAPI devices
hdd: attached ide-cdrom driver.
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,8), internal journal
eth0: Identified 8139 chip type 'RTL-8139C'

Slackware dmesg | grep -i ide:
---------------------------------

BIOS-provided physical RAM map:
Kernel command line: auto BOOT_IMAGE=SLK-10.1 ro root=309 hdc=ide-scsi
ide_setup: hdc=ide-scsi
Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
SIS5513: IDE controller at PCI slot 00:02.5
SIS5513: SiS 962/963 MuTIOL IDE UDMA133 controller
ide0: BM-DMA at 0xb400-0xb407, BIOS settings: hdaMA, hdbio
ide1: BM-DMA at 0xb408-0xb40f, BIOS settings: hdcMA, hddMA
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: attached ide-disk driver.
hdd: attached ide-cdrom driver.
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,9), internal journal
hdc: attached ide-scsi driver.
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,10), internal journal
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,8), internal journal
eth0: Identified 8139 chip type 'RTL-8100B/8139D'

Mandrake lspci | grep -i ide:
------------------------------

00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE]

Slackware lspci | grep -i ide:
------------------------------

00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE]

Does it give any useful information?

Thanks for your patience,

realnerd
 
Old 07-20-2005, 03:04 PM   #23
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Thanks for the infos, from that we can see they use the same IDE driver

Now a last test would be the output of hdparm -i /dev/hda from mandrake
(we have already the hdparm output from slackware)

For the moment I suspect the multiple mode setting that is responsible
for your ext3 fs problem, but I don't really know
 
Old 07-21-2005, 12:36 PM   #24
realnerd
Member
 
Registered: Aug 2004
Distribution: Gentoo (main), FreeBSD, VoidLinux, Crux
Posts: 49

Original Poster
Blog Entries: 1

Rep: Reputation: 15
Hi keefaz,

here is the output of hdparm -i /dev/hda in Mandrake:

/dev/hda:

Model=SAMSUNG SV0602H, FwRev=RH100-10, SerialNo=0451J1DT901651
Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
RawCHS=16383/16/63, TrkSize=34902, SectSize=554, ECCbytes=4
BuffType=DualPortCache, BuffSize=2048kB, MaxMultSect=16, MultSect=16
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=117304992
IORDY=yes, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes: pio0 pio1 pio2 pio3 pio4
DMA modes: mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 udma2 udma3 udma4 *udma5
AdvancedPM=no WriteCache=enabled
Drive conforms to: ATA/ATAPI-6 T13 1410D revision 1:

* signifies the current active mode

Does it confirm your hypothesis?

realnerd
 
Old 07-21-2005, 01:30 PM   #25
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
No, it just destroy my hypothesis

I can't figure out of my little head, what could be your drive problem...
Sorry for asking again but could you post some of the errors you get ?
 
Old 07-27-2005, 02:17 PM   #26
realnerd
Member
 
Registered: Aug 2004
Distribution: Gentoo (main), FreeBSD, VoidLinux, Crux
Posts: 49

Original Poster
Blog Entries: 1

Rep: Reputation: 15
Hi keefaz,

this evening the same phenomenon occurred, I will try to describe it:

I was using my Slackware (fluxbox, firefox, thunderbird, jin) and was connected to the internet (ADSL usb modem Sagem fast 800).
Then, thunderbird seemed to hang (fading away). Knowing that the problem would occur, I shifted to a console and tried a "df -h" (no problem) and then "free -m".

bash: /usr/bin/free: Input/output error

I went back to thunderbird and tried to "run filters on folder" (I had mails): no effect but suddenly thunderbird disappeared.

As firefox was running, I tried to load a html page (Linuxquestions.org of course) and firefox disappeared.

I moved to jin (chessplaying java software) and closed it: I got the message "unable to save preferences to ~/.jin/user.prefs"

I decided to leave fluxbox after stopping the ADSL connection:

bash: /usr/local/bin/stopadsl: Input/output error

When I tried to leave normally fluxbox, I got a black screen (instead of the usual gdm) with the following messages:

Ext3-fs error (device ide(3,9)) in start_transaction: journal has aborted

As I wanted to reboot, I made a CTRL+ALT+SUP and got the following message:

unable to execute "/sbin/shutdown"

Then I switched off the computer and used Mandrake to write this message. Mandrake is working perfectly. I don't know why I get problems with my Slackware 10.1.

That's all for now, the patient is still ill and is waiting for some magical advice

Thanks for helping me again,

realnerd
 
Old 07-27-2005, 03:21 PM   #27
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
well...i think that disk is not ok.
i don't know how large that partition is, but you might make it a little smaller,
by moving the startpoint.
you'll need to reinstall, and i don't know if that's a prob.

it's just what i would try with such a disk, i don't know any other way to find the cause...

egag
 
Old 08-05-2005, 04:12 PM   #28
realnerd
Member
 
Registered: Aug 2004
Distribution: Gentoo (main), FreeBSD, VoidLinux, Crux
Posts: 49

Original Poster
Blog Entries: 1

Rep: Reputation: 15
And now it may be the end: the available size of my /dev/hda9 partition decreased in a few minutes from 1013M to 361M, I don't know why, I tried to close all my running programmes...The Xserver was down and when I reboot my usual session manager gdm is totally unable to function. My system is down, I cannot do anything (example: if I make a ls I get the message "segmentation fault"). I am again using Mandrake.

de profundis clamavi ad te, Slackware.

If any of you have an idea, I would appreciate...

Thanks, Slackers!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ext3 fs error ipren Linux - General 1 03-20-2005 10:59 AM
EXT3-fs error esteeven Linux - Hardware 3 10-20-2004 07:25 AM
EXT3-fs error harrows12 Linux - General 2 09-17-2004 09:27 AM
EXT3-fs error maenho Linux - Software 3 07-25-2004 08:33 AM
EXT3 Error ITTOscar Linux - Software 0 05-20-2004 09:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration