usb hard disk / ext3 partition - permissions change automatically(!) from read-write to read only - ubuntu-feisty & debian-testin

Ilias Paraponiaris paraponiaris at yahoo.com
Thu May 31 03:13:38 EEST 2007


Άργησα να απαντήσω γιατί έκανα αρκετές δοκιμές-ψάξιμο. 
Ιδού το αποτέλεσμα της εντολής dmesg (την έδωσα σε debian-testing, το
ίδιο πρόβλημα όμως ισχύει και σε ubuntu-feisty), όπου πράγματι στο τέλος
αναφέρεται στο sda2 το οποίο έμφανίζει το πρόβλημα:
iplaptop:~# dmesg
Linux version 2.6.18-4-686 (Debian 2.6.18.dfsg.1-12etch2)
(dannf at debian.org) (gcc version 4.1.2 20061115 (prerelease) (Debian
4.1.1-21)) #1 SMP Wed May 9 23:03:12 UTC 2007
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009e800 (usable)
 BIOS-e820: 000000000009e800 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000dc000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000000fef0000 (usable)
 BIOS-e820: 000000000fef0000 - 000000000fefb000 (ACPI data)
 BIOS-e820: 000000000fefb000 - 000000000ff00000 (ACPI NVS)
 BIOS-e820: 000000000ff00000 - 000000000ff80000 (usable)
 BIOS-e820: 000000000ff80000 - 0000000010000000 (reserved)
 BIOS-e820: 00000000fff00000 - 0000000100000000 (reserved)
0MB HIGHMEM available.
255MB LOWMEM available.
On node 0 totalpages: 65408
  DMA zone: 4096 pages, LIFO batch:0
  Normal zone: 61312 pages, LIFO batch:15
DMI 2.3 present.
ACPI: RSDP (v000 FUJ                                   ) @ 0x000f6560
ACPI: RSDT (v001 FUJ    ROCK     0x01250000 FUJ  0x00001000) @
0x0fef57f7
ACPI: FADT (v001 FUJ    ROCK     0x01250000 FUJ  0x00001000) @
0x0fefaf64
ACPI: BOOT (v001 FUJ    ROCK     0x01250000 FUJ  0x00001000) @
0x0fefafd8
ACPI: DSDT (v001 FUJ    ROCK     0x01250000 MSFT 0x0100000d) @
0x00000000
ACPI: PM-Timer IO Port: 0xfc08
Allocating PCI resources starting at 20000000 (gap: 10000000:eff00000)
Detected 1594.880 MHz processor.
Built 1 zonelists.  Total pages: 65408
Kernel command line: root=/dev/hda2 ro
Local APIC disabled by BIOS -- you can enable it with "lapic"
mapped APIC to ffffd000 (01209000)
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
PID hash table entries: 1024 (order: 10, 4096 bytes)
Console: colour VGA+ 80x25
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 251180k/261632k available (1544k kernel code, 9856k reserved,
577k data, 196k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode...
Ok.
Calibrating delay using timer specific routine.. 3193.21 BogoMIPS
(lpj=6386439)
Security Framework v1.0.0 initialized
SELinux:  Disabled at boot.
Capability LSM initialized
Mount-cache hash table entries: 512
CPU: After generic identify, caps: 3febf9ff 00000000 00000000 00000000
00000000 00000000 00000000
CPU: After vendor identify, caps: 3febf9ff 00000000 00000000 00000000
00000000 00000000 00000000
CPU: Trace cache: 12K uops, L1 D cache: 8K
CPU: L2 cache: 512K
CPU: Hyper-Threading is disabled
CPU: After all inits, caps: 3febf9ff 00000000 00000000 00000080 00000000
00000000 00000000
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU0: Intel P4/Xeon Extended MCE MSRs (12) available
CPU0: Thermal monitoring enabled
Compat vDSO mapped to ffffe000.
Checking 'hlt' instruction... OK.
SMP alternatives: switching to UP code
Freeing SMP alternatives: 16k freed
ACPI: Core revision 20060707
ACPI: setting ELCR to 0200 (from 0800)
CPU0: Intel(R) Pentium(R) 4 Mobile CPU 1.60GHz stepping 04
SMP motherboard not detected.
Local APIC not detected. Using dummy APIC emulation.
Brought up 1 CPUs
migration_cost=0
checking if image is initramfs... it is
Freeing initrd memory: 4923k freed
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: PCI BIOS revision 2.10 entry at 0xfd988, last bus=4
PCI: Using configuration type 1
Setting up standard PCI resources
ACPI: Interpreter enabled
ACPI: Using PIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (0000:00)
PCI: Probing PCI hardware (bus 00)
PCI quirk: region fc00-fc7f claimed by ICH4 ACPI/GPIO/TCO
PCI quirk: region fc80-fcbf claimed by ICH4 GPIO
PCI: Ignoring BAR0-3 of IDE controller 0000:00:1f.1
Boot video device is 0000:01:00.0
PCI: Transparent bridge - 0000:00:1e.0
PCI: Bus #04 (-#07) is hidden behind transparent bridge #02 (-#04) (try
'pci=assign-busses')
Please report the result to linux-kernel to fix this permanently
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.AGP_._PRT]
ACPI: Embedded Controller [EC] (gpe 23) interrupt mode.
ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 7 9 10 *11)
ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 7 9 10 *11)
ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 7 9 10 *11)
ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 7 9 10 11) *0, disabled.
ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 7 9 10 11) *0, disabled.
ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 7 9 10 11) *0, disabled.
ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 7 9 10 11) *0, disabled.
ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 7 9 10 11) *0, disabled.
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.HUB_._PRT]
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI init
pnp: PnP ACPI: found 11 devices
PnPBIOS: Disabled by ACPI PNP
PCI: Using ACPI for IRQ routing
PCI: If a device doesn't work, try "pci=routeirq".  If it helps, post a
report
PCI: Bridge: 0000:00:01.0
  IO window: 2000-2fff
  MEM window: e8100000-e81fffff
  PREFETCH window: f0000000-f7ffffff
PCI: Bus 3, cardbus bridge: 0000:02:0a.0
  IO window: 00003400-000034ff
  IO window: 00003800-000038ff
  PREFETCH window: 20000000-21ffffff
  MEM window: 24000000-25ffffff
PCI: Bus 4, cardbus bridge: 0000:02:0a.1
  IO window: 00003c00-00003cff
  IO window: 00004000-000040ff
  PREFETCH window: 22000000-23ffffff
  MEM window: 26000000-27ffffff
PCI: Bridge: 0000:00:1e.0
  IO window: 3000-3fff
  MEM window: e8200000-e82fffff
  PREFETCH window: 20000000-23ffffff
PCI: Setting latency timer of device 0000:00:1e.0 to 64
ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 11
PCI: setting IRQ 11 as level-triggered
ACPI: PCI Interrupt 0000:02:0a.0[A] -> Link [LNKA] -> GSI 11 (level,
low) -> IRQ 11
ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 11
ACPI: PCI Interrupt 0000:02:0a.1[B] -> Link [LNKB] -> GSI 11 (level,
low) -> IRQ 11
NET: Registered protocol family 2
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 4, 65536 bytes)
TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 8192 bind 4096)
TCP reno registered
Simple Boot Flag at 0x37 set to 0x1
audit: initializing netlink socket (disabled)
audit(1180578254.164:1): initialized
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
serial8250: ttyS3 at I/O 0x2e8 (irq = 3) is a 16550A
00:08: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ACPI: PCI Interrupt 0000:00:1f.6[B] -> Link [LNKB] -> GSI 11 (level,
low) -> IRQ 11
ACPI: PCI interrupt for device 0000:00:1f.6 disabled
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
PNP: PS/2 Controller [PNP0303:KBC,PNP0f13:PS2M] at 0x60,0x64 irq 1,12
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
mice: PS/2 mouse device common for all mice
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
NET: Registered protocol family 8
NET: Registered protocol family 20
Using IPI No-Shortcut mode
ACPI: (supports S0 S3 S4 S5)
Freeing unused kernel memory: 196k freed
Time: tsc clocksource has been installed.
input: AT Translated Set 2 keyboard as /class/input/input0
ACPI: CPU0 (power states: C1[C1] C2[C2] C3[C3])
ACPI: Processor [CPU0] (supports 4 throttling states)
usbcore: registered new driver usbfs
usbcore: registered new driver hub
USB Universal Host Controller Interface driver v3.0
ACPI: PCI Interrupt 0000:00:1d.0[A] -> Link [LNKA] -> GSI 11 (level,
low) -> IRQ 11
PCI: Setting latency timer of device 0000:00:1d.0 to 64
uhci_hcd 0000:00:1d.0: UHCI Host Controller
uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 1
uhci_hcd 0000:00:1d.0: irq 11, io base 0x000018c0
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with
idebus=xx
ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 11
ACPI: PCI Interrupt 0000:00:1d.2[C] -> Link [LNKC] -> GSI 11 (level,
low) -> IRQ 11
PCI: Setting latency timer of device 0000:00:1d.2 to 64
uhci_hcd 0000:00:1d.2: UHCI Host Controller
uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 2
uhci_hcd 0000:00:1d.2: irq 11, io base 0x000018e0
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
8139too Fast Ethernet driver 0.9.27
ACPI: PCI Interrupt 0000:02:0c.0[A] -> Link [LNKC] -> GSI 11 (level,
low) -> IRQ 11
eth0: RealTek RTL8139 at 0x3000, 00:e0:00:ae:e1:ca, IRQ 11
eth0:  Identified 8139 chip type 'RTL-8139C'
ieee1394: Initialized config rom entry `ip1394'
ACPI: PCI Interrupt 0000:02:0e.0[A] -> Link [LNKB] -> GSI 11 (level,
low) -> IRQ 11
ohci1394: fw-host0: OHCI-1394 1.1 (PCI): IRQ=[11]
MMIO=[e8204000-e82047ff]  Max Packet=[2048]  IR/IT contexts=[4/8]
ICH3M: IDE controller at PCI slot 0000:00:1f.1
PCI: Enabling device 0000:00:1f.1 (0005 -> 0007)
ACPI: PCI Interrupt 0000:00:1f.1[A] -> Link [LNKC] -> GSI 11 (level,
low) -> IRQ 11
ICH3M: chipset revision 2
ICH3M: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0x1c20-0x1c27, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0x1c28-0x1c2f, BIOS settings: hdc:DMA, hdd:pio
Probing IDE interface ide0...
8139cp: 10/100 PCI Ethernet driver v1.2 (Mar 22, 2004)
usb 1-1: new full speed USB device using uhci_hcd and address 2
usb 1-1: configuration #1 chosen from 1 choice
hub 1-1:1.0: USB hub found
hub 1-1:1.0: 4 ports detected
Time: acpi_pm clocksource has been installed.
hda: IC25N030ATDA04-0, ATA DISK drive
usb 1-2: new low speed USB device using uhci_hcd and address 3
usb 1-2: configuration #1 chosen from 1 choice
usb 1-1.3: new full speed USB device using uhci_hcd and address 4
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
usb 1-1.3: configuration #1 chosen from 1 choice
SCSI subsystem initialized
Initializing USB Mass Storage driver...
ieee1394: Host added: ID:BUS[0-00:1023]  GUID[00000e1001a4a715]
usb 1-1.4: new full speed USB device using uhci_hcd and address 5
usb 1-1.4: configuration #1 chosen from 1 choice
usbcore: registered new driver hiddev
scsi0 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 4
usb-storage: waiting for device to settle before scanning
scsi1 : SCSI emulation for USB Mass Storage devices
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usb-storage: device found at 5
usb-storage: waiting for device to settle before scanning
input: Logitech USB-PS/2 Optical Mouse as /class/input/input1
input: USB HID v1.10 Mouse [Logitech USB-PS/2 Optical Mouse] on
usb-0000:00:1d.0-2
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
hdc: TOSHIBA DVD-ROM SD-R2212, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
hdc: ATAPI 24X DVD-ROM CD-R/RW drive, 2048kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20
hda: max request size: 128KiB
hda: 58605120 sectors (30005 MB) w/1806KiB Cache, CHS=58140/16/63,
UDMA(100)
hda: cache flushes not supported
 hda: hda1 hda2 hda3 < hda5 > hda4
Attempting manual resume
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
  Vendor: Seagate   Model: FreeAgentDesktop  Rev: 100D
  Type:   Direct-Access                      ANSI SCSI revision: 04
usb-storage: device scan complete
  Vendor: HL-DT-ST  Model: DVDRAM GSA-E10L   Rev: LE06
  Type:   CD-ROM                             ANSI SCSI revision: 00
usb-storage: device scan complete
SCSI device sda: 488397168 512-byte hdwr sectors (250059 MB)
sda: Write Protect is off
sda: Mode Sense: 1c 00 00 00
sda: assuming drive cache: write through
SCSI device sda: 488397168 512-byte hdwr sectors (250059 MB)
sda: Write Protect is off
sda: Mode Sense: 1c 00 00 00
sda: assuming drive cache: write through
 sda: sda1 sda2
sd 0:0:0:0: Attached scsi disk sda
sr0: scsi3-mmc drive: 48x/48x writer dvd-ram cd/rw xa/form2 cdda tray
sr 1:0:0:0: Attached scsi CD-ROM sr0
sd 0:0:0:0: Attached scsi generic sg0 type 0
sr 1:0:0:0: Attached scsi generic sg1 type 5
eth1394: eth0: IEEE-1394 IPv4 over 1394 Ethernet (fw-host0)
ts: Compaq touchscreen protocol output
Linux agpgart interface v0.101 (c) Dave Jones
agpgart: Detected an Intel i845 Chipset.
agpgart: AGP aperture is 64M @ 0xec000000
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
intel_rng: FWH not detected
ACPI: PCI Interrupt 0000:00:1f.3[B] -> Link [LNKB] -> GSI 11 (level,
low) -> IRQ 11
Yenta: CardBus bridge found at 0000:02:0a.0 [10cf:10e6]
Yenta O2: res at 0x94/0xD4: ea/00
Yenta O2: enabling read prefetch/write burst
Yenta: ISA IRQ mask 0x04b8, PCI irq 11
Socket status: 30000828
pcmcia: parent PCI bridge I/O window: 0x3000 - 0x3fff
cs: IO port probe 0x3000-0x3fff: clean.
pcmcia: parent PCI bridge Memory window: 0xe8200000 - 0xe82fffff
pcmcia: parent PCI bridge Memory window: 0x20000000 - 0x23ffffff
Yenta: CardBus bridge found at 0000:02:0a.1 [10cf:10e6]
input: PC Speaker as /class/input/input2
Yenta: ISA IRQ mask 0x04b8, PCI irq 11
Socket status: 30000006
Yenta: Raising subordinate bus# of parent bus (#02) from #04 to #07
pcmcia: parent PCI bridge I/O window: 0x3000 - 0x3fff
cs: IO port probe 0x3000-0x3fff: clean.
pcmcia: parent PCI bridge Memory window: 0xe8200000 - 0xe82fffff
pcmcia: parent PCI bridge Memory window: 0x20000000 - 0x23ffffff
ACPI: PCI Interrupt 0000:00:1f.5[B] -> Link [LNKB] -> GSI 11 (level,
low) -> IRQ 11
PCI: Setting latency timer of device 0000:00:1f.5 to 64
Real Time Clock Driver v1.12ac
parport: PnPBIOS parport detected.
parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE,EPP]
input: PS/2 Mouse as /class/input/input3
input: AlpsPS/2 ALPS GlidePoint as /class/input/input4
irda_init()
NET: Registered protocol family 23
pccard: CardBus card inserted into slot 0
found SMC SuperIO Chip (devid=0x5e rev=00 base=0x004e): LPC47N267
smsc_superio_flat(): fir: 0x400, sir: 0x2e8, dma: 03, irq: 3, mode: 0x0e
smsc_ircc_present: can't get sir_base of 0x2e8
intel8x0_measure_ac97_clock: measured 55444 usecs
intel8x0: clocking to 48000
PCI: Enabling device 0000:00:1f.6 (0000 -> 0001)
ACPI: PCI Interrupt 0000:00:1f.6[B] -> Link [LNKB] -> GSI 11 (level,
low) -> IRQ 11
PCI: Setting latency timer of device 0000:00:1f.6 to 64
ath_hal: module license 'Proprietary' taints kernel.
ath_hal: 0.9.18.0 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413,
RF5413)
wlan: 0.8.4.2 (0.9.3)
ath_pci: 0.9.4.5 (0.9.3)
PCI: Enabling device 0000:03:00.0 (0000 -> 0002)
ACPI: PCI Interrupt 0000:03:00.0[A] -> Link [LNKA] -> GSI 11 (level,
low) -> IRQ 11
ath_rate_sample: 1.2 (0.9.3)
wifi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
wifi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps
24Mbps 36Mbps 48Mbps 54Mbps
wifi0: turboG rates: 6Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi0: H/W encryption support: WEP AES AES_CCM TKIP
wifi0: mac 7.9 phy 4.5 radio 5.6
wifi0: Use hw queue 1 for WME_AC_BE traffic
wifi0: Use hw queue 0 for WME_AC_BK traffic
wifi0: Use hw queue 2 for WME_AC_VI traffic
wifi0: Use hw queue 3 for WME_AC_VO traffic
wifi0: Use hw queue 8 for CAB traffic
wifi0: Use hw queue 9 for beacons
cs: IO port probe 0x100-0x3af: clean.
cs: IO port probe 0x3e0-0x4ff: excluding 0x400-0x407 0x4d0-0x4d7
cs: IO port probe 0x820-0x8ff: clean.
cs: IO port probe 0xc00-0xcf7: clean.
cs: IO port probe 0xa00-0xaff: clean.
cs: IO port probe 0x100-0x3af: clean.
cs: IO port probe 0x3e0-0x4ff: excluding 0x400-0x407 0x4d0-0x4d7
cs: IO port probe 0x820-0x8ff: clean.
cs: IO port probe 0xc00-0xcf7: clean.
cs: IO port probe 0xa00-0xaff: clean.
wifi0: Atheros 5212: mem=0x24000000, irq=11
Adding 626492k swap on /dev/hda5.  Priority:-1 extents:1 across:626492k
EXT3 FS on hda2, internal journal
loop: loaded (max 8 devices)
ieee1394: sbp2: Driver forced to serialize I/O (serialize_io=1)
ieee1394: sbp2: Try serialize_io=0 for better performance
device-mapper: ioctl: 4.7.0-ioctl (2006-06-24) initialised:
dm-devel at redhat.com
fuse init (API version 7.7)
FAT: utf8 is not a recommended IO charset for FAT filesystems,
filesystem will be case sensitive!
pcmcia: Detected deprecated PCMCIA ioctl usage from process: discover.
pcmcia: This interface will soon be removed from the kernel; please
expect breakage unless you upgrade to new tools.
pcmcia: see
http://www.kernel.org/pub/linux/utils/kernel/pcmcia/pcmcia.html for
details.
cs: memory probe 0xe8200000-0xe82fffff: excluding 0xe8200000-0xe820ffff
ACPI: Battery Slot [CMB1] (battery present)
ACPI: Battery Slot [CMB2] (battery absent)
ACPI: AC Adapter [AC] (on-line)
ACPI: Power Button (FF) [PWRF]
ACPI: Power Button (CM) [PWRB]
ACPI: Lid Switch [LID]
lp0: using parport0 (interrupt-driven).
ppdev: user-space parallel port driver
eth1: link down
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
ADDRCONF(NETDEV_UP): eth1: link is not ready
IPv6 over IPv4 tunneling driver
[drm] Initialized drm 1.0.1 20051102
ACPI: PCI Interrupt 0000:01:00.0[A] -> Link [LNKA] -> GSI 11 (level,
low) -> IRQ 11
[drm] Initialized radeon 1.25.0 20060524 on minor 0
mtrr: 0xf0000000,0x8000000 overlaps existing 0xf0000000,0x2000000
mtrr: 0xf0000000,0x8000000 overlaps existing 0xf0000000,0x2000000
mtrr: 0xf0000000,0x8000000 overlaps existing 0xf0000000,0x2000000
agpgart: Found an AGP 2.0 compliant device at 0000:00:00.0.
agpgart: Putting AGP V2 device at 0000:00:00.0 into 1x mode
agpgart: Putting AGP V2 device at 0000:01:00.0 into 1x mode
[drm] Setting GART location based on new memory map
[drm] writeback test succeeded in 2 usecs
ath0: no IPv6 routers present
Bluetooth: Core ver 2.10
NET: Registered protocol family 31
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
Bluetooth: L2CAP ver 2.8
Bluetooth: L2CAP socket layer initialized
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM TTY layer initialized
Bluetooth: RFCOMM ver 1.8
kjournald starting.  Commit interval 5 seconds
EXT3-fs warning (device sda2): ext3_clear_journal_err: Filesystem error
recorded from previous mount: IO failure
EXT3-fs warning (device sda2): ext3_clear_journal_err: Marking fs in
need of filesystem check.
EXT3-fs warning: mounting fs with errors, running e2fsck is recommended
EXT3 FS on sda2, internal journal
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
ath0: no IPv6 routers present
sd 0:0:0:0: Device not ready: <6>: Current: sense key: Not Ready
    Additional sense: Logical unit not ready, initializing command
required
end_request: I/O error, dev sda, sector 6291527
Buffer I/O error on device sda1, logical block 6291464
Buffer I/O error on device sda1, logical block 6291465
Buffer I/O error on device sda1, logical block 6291466
Buffer I/O error on device sda1, logical block 6291467
Buffer I/O error on device sda1, logical block 6291468
Buffer I/O error on device sda1, logical block 6291469
Buffer I/O error on device sda1, logical block 6291470
Buffer I/O error on device sda1, logical block 6291471
sd 0:0:0:0: Device not ready: <6>: Current: sense key: Not Ready
    Additional sense: Logical unit not ready, initializing command
required
end_request: I/O error, dev sda, sector 420031737
EXT3-fs error (device sda2): ext3_find_entry: reading directory #2
offset 0
Aborting journal on device sda2.
sd 0:0:0:0: Device not ready: <6>: Current: sense key: Not Ready
    Additional sense: Logical unit not ready, initializing command
required
end_request: I/O error, dev sda, sector 420031785
Buffer I/O error on device sda2, logical block 1545
lost page write due to I/O error on sda2
ext3_abort called.
EXT3-fs error (device sda2): ext3_journal_start_sb: Detected aborted
journal
Remounting filesystem read-only


On Wed, 2007-05-30 at 17:34 +0300, Manolis Kiagias wrote: 
> ndemou at gmail.com wrote:
> > ενδιαφέρον πρόβλημα όντως: Παραθέτω κάποια ενδιαφέροντα [μη προσωπικά
> > :-P] δεδομένα από προσωπικό email του Ηλία όπου ένας άλλος χρήστης
> > αναφέρει το ίδιο πρόβλημα σε ίδιο δίσκο προσθέτοντας όμως και κάμποσα
> > σχετικά event logs που ρίχνουν φως στην κατάσταση (σε αναμονή του
> > dmesg απο Ηλία). Έχω προσθέσει και το τι πρόσεξα/ψυχανεμίζομαι εγώ ο
> > μη ειδικός.
> >
> > Ilias Paraponiaris wrote:
> >   
> >> [Ορίστε η μοναδική] ΑΠΑΝΤΗΣΗ [που έλαβα] ΑΠΟ [την] DEBIAN-USER-LIST:
> >> I have the same drive which I completely reformated to ext3, and I am
> >>         having the same problem.
> >>
> >>         Here are some relevant log entries reported by logcheck:
> >>
> >>         Security Events for kernel
> >>         =-=-=-=-=-=-=-=-=-=-=-=-=-
> >>         May 27 08:07:40 corvus kernel: end_request: I/O error, dev sda,
> >>         sector 208748607
> >>         [many times]
> >>     
> >
> > μπα? many Ι/Ο errors?
> >
> >   
> >>         System Events
> >>         =-=-=-=-=-=-=
> >>         May 27 08:07:40 corvus kernel: sd 1:0:0:0: Device not ready:
> >>         <6>: Current: sense key: Not Ready
> >>     
> >
> > χμμ... *μάλλον* ο δίσκος προσπαθεί να κάνει spinup και μέχρι να το
> > κάνει ο kernel επιμένει να του ζητά δεδομένα
> >
> >   
> >>         May 27 08:07:40 corvus kernel:     Additional sense: Logical
> >>         unit not ready, initializing command required
> >>         May 27 08:07:40 corvus kernel: ext3_abort called.
> >>         May 27 08:07:40 corvus kernel: EXT3-fs error (device sda1):
> >>         ext3_journal_start_sb: Detected aborted journal
> >>         May 27 08:07:40 corvus kernel: Remounting filesystem read-only
> >>     
> >
> > ...και μετά απο τόσα "λάθη" ο kernel λέει "τι διάολο χτυπημένο
> > filesystem είναι αυτό... καλύτερα να το κάνω mount read/only μην το
> > αποτελειώσουμε στο επόμενο write"
> >
> > με κάθε επιφύλαξη μοιάζει με kernel bug ίσως ειδικά στον driver για
> > τον δίσκο σου αλλά δεν είμαι καθόλου μα καθόλου ειδικός ούτε κι
> > έμεπιρος. Ίσως επίσης απλά ο κατασκευαστής του δίσκου κάνει του
> > κεφαλιού του και δεν ακολουθεί κάποια standards
> >
> >   
> >>         [...]
> >>         May 27 11:45:47 corvus kernel: EXT3-fs warning: mounting fs with
> >>         errors, running e2fsck is recommended
> >>         ----------------------------------
> >>
> >>         I notice the line:
> >>
> >>         "Logical unit not ready, initializing command required"
> >>
> >>         I wonder if there is a mount option to use to insure that an
> >>         initializing command is sent before other commands.
> >>     
> >
> > δεν τον καταλαβαίνω. Ίσως κάτι ξέρει που δεν ξέρω
> >
> >
> >   
> Α!!! Αυτό χτύπησε ένα καμπανάκι. Το έχω πάθει (με διαφορετικό τρόπο) σε
> κάποιο πρόβλημα τροφοδοσίας που είχα σε σκληρό δίσκο. Φαντάζομαι θα
> μπορεί να συμβεί και αν ο δίσκος έχει κάποιο bad sector σε κρίσιμο
> σημείο και καθυστερεί να ανταποκριθεί. Δεν ξέρουμε βέβαια δεν συμβαίνει
> αυτό στον Ηλία, όμως είναι αν είναι πράγματι ασυμβατότητα ή κάποιου
> είδους bug στον πηρύνα σχετικά με το συγκεκριμένο δίσκο ίσως μπορέσει να
> το ξεπεράσει χρησιμοποιώντας την hdparm και ενδεχομένως μειώνοντας το
> DMA mode που χρησιμοποιεί το kernel. Αυτό μπορεί να γίνει και μέσα από
> το bios ενδεχομένως.
> 
Έψαξα λίγο το hdparm και έβαλα στο /etc/hdparm.conf την ακόλουθη
καταχώρηση:
/dev/sda2 {
	mult_sect_io = 16
	write_cache = off
	dma = on
}

Χωρίς να είμαι βέβαιος για την διαπίστωση, έχω την εντύπωση ότι πλέον ο
δίσκος αργεί λίγο περισσότερο να πέσει σε κατάσταση ύπνωσης ή αναμονής
ή ... (πως λέγεται, iddle?). Παρατηρώ (από τον ήχο και την ένταση του
φωτός στο λαμπάκι) ότι όταν ο δίσκος δεν είναι ενεργός κάνει 1-2
δευτερόλεπτα να ξαναπάρει μπροστά κάθε φορά που επιχειρώ πρόσβαση, και
τότε είναι που γίνεται το ext3 mounted ως read-only.

Χωρίς να γνωρίζω αν χρησιμεύουν, ιδού το αποτέλεσμα της εντολής hdparm
-Tt /dev/sda2:
iplaptop:~# hdparm -Tt /dev/sda2
/dev/sda2:
Timing cached reads:   694 MB in  2.01 seconds = 346.00 MB/sec
Timing buffered disk reads:    4 MB in  4.03 seconds = 1016.02 kB/sec

και της εντολής hdparm /dev/sda2:
iplaptop:~# hdparm /dev/sda2
/dev/sda2:
readonly     =  0 (off)
readahead    = 256 (on)
geometry     = 30401/255/63, sectors = 68372640, start = 420019425

και της εντολής  sdparm -a /dev/sda2:
iplaptop:~# sdparm -a /dev/sda2
    /dev/sda2: Seagate   FreeAgentDesktop  100D
Power condition mode page:
  IDLE        0  [cha: n, def:  0, sav:  0]
  STANDBY     1  [cha: y, def:  1, sav:  1]
  ICT         0  [cha: n, def:  0, sav:  0]
  SCT       9000  [cha: y, def:9000, sav:9000]

Καλό Βράδυ
Ηλίας





More information about the Linux-greek-users mailing list