Package: udev
Version: 0.084-3

Hello,

I recently encountered a case of filesystem corruption, which was
probably caused by a combination of hdparm setting during udev
initialization, and disk access during module loading. Setting of the
DMA mode failed, and the fs went downhill, as you can see from the error
messages and the following unresolved module symbols (the module was
really corrupted, not previously missing).

Fortunately, I repaired the filesystem using fsck, and I had also a full
backup, so it didn't harm me, and I also found that now the default HD
parameters are sane, so there is in fact no need to use hdparm and this
is not an issue for me anymore. However, I would recommend to avoid
calling hdparm from udev for drives that already contain a mounted
filesystem, to be on the safe side. On the other hand, hdparm init
script called from init seems to be safe, as init is serialized.

This all occurred on 2.6.16-rc1-mm5, Reiser4, Seagate Barracuda 7200.7,
VIA 8233 disk controller.

hdparm contents in question:

/dev/hdc {
        dma = on
        io32_support = 1
        interrupt_unmask = on
}

syslog fragment:

Feb  5 08:11:36 holly kernel: ehci_hcd 0000:00:10.3: EHCI Host
Controller
Feb  5 08:11:36 holly kernel: ehci_hcd 0000:00:10.3: new USB bus
registered, assigned bus number 4
Feb  5 08:11:36 holly kernel: ehci_hcd 0000:00:10.3: irq 19, io mem
0xec012000
Feb  5 08:11:36 holly kernel: ehci_hcd 0000:00:10.3: USB 2.0 started,
EHCI 1.00, driver 10 Dec 2004
Feb  5 08:11:36 holly kernel: usb usb4: new device found, idVendor=0000,
idProduct=0000
Feb  5 08:11:36 holly kernel: usb usb4: new device strings: Mfr=3,
Product=2, SerialNumber=1
Feb  5 08:11:36 holly kernel: usb usb4: Product: EHCI Host Controller

Feb  5 08:11:36 holly kernel: usb usb4: Manufacturer: Linux
2.6.16-rc1-mm5 ehci_hcd
Feb  5 08:11:36 holly kernel: usb usb4: SerialNumber: 0000:00:10.3

Feb  5 08:11:36 holly kernel: usb usb4: configuration #1 chosen from 1
choice
Feb  5 08:11:36 holly kernel: hub 4-0:1.0: USB hub found

Feb  5 08:11:36 holly kernel: hub 4-0:1.0: 6 ports detected

Feb  5 08:11:36 holly kernel: input: GenPS/2 Genius Mouse as
/class/input/input1
Feb  5 08:11:36 holly kernel: <4>reiser4[modprobe(480)]: parse_node40
(fs/reiser4/plugin/node/node40.c:673)[nikita-494]:
Feb  5 08:11:36 holly kernel: WARNING: Wrong level found in node: 1 != 0

Feb  5 08:11:36 holly kernel: <4>reiser4[modprobe(480)]: parse_node40
(fs/reiser4/plugin/node/node40.c:673)[nikita-494]:
Feb  5 08:11:36 holly kernel: WARNING: Wrong level found in node: 1 != 0

Feb  5 08:11:36 holly kernel: <4>reiser4[modprobe(480)]: parse_node40
(fs/reiser4/plugin/node/node40.c:673)[nikita-494]:
Feb  5 08:11:36 holly kernel: WARNING: Wrong level found in node: 1 != 0

Feb  5 08:11:36 holly kernel: hdc: set_drive_speed_status: status=0x58 {
DriveReady SeekComplete DataRequest }
Feb  5 08:11:36 holly kernel: ide: failed opcode was: unknown

Feb  5 08:11:36 holly kernel: b2c2-flexcop: B2C2 FlexcopII/II(b)/III
digital TV receiver chip loaded successfully
Feb  5 08:11:36 holly kernel: flexcop-pci: will use the HW PID filter.

Feb  5 08:11:36 holly kernel: flexcop-pci: card revision 2

Feb  5 08:11:36 holly kernel: ACPI: PCI Interrupt 0000:00:0c.0[A] -> GSI
18 (level, low) -> IRQ 21
Feb  5 08:11:36 holly kernel: DVB: registering new adapter (FlexCop
Digital TV device).
Feb  5 08:11:36 holly kernel: b2c2-flexcop: MAC address =
00:d0:d7:0c:ea:51
Feb  5 08:11:36 holly kernel: b2c2-flexcop: i2c master_xfer failed

Feb  5 08:11:36 holly kernel: b2c2-flexcop: i2c master_xfer failed

Feb  5 08:11:36 holly kernel: b2c2-flexcop: found the mt352 at i2c
address: 0x0f
Feb  5 08:11:36 holly kernel: DVB: registering frontend 0 (Zarlink MT352
DVB-T)...
Feb  5 08:11:36 holly kernel: b2c2-flexcop: initialization of
'Air2PC/AirStar 2 DVB-T' at the 'PCI' bus controlled by a '
Feb  5 08:11:36 holly kernel: <4>reiser4[modprobe(1159)]: parse_node40
(fs/reiser4/plugin/node/node40.c:673)[nikita-494]:
Feb  5 08:11:36 holly kernel: WARNING: Wrong level found in node: 1 != 0

Feb  5 08:11:36 holly kernel: <4>reiser4[modprobe(1159)]: parse_node40
(fs/reiser4/plugin/node/node40.c:673)[nikita-494]:
Feb  5 08:11:36 holly kernel: WARNING: Wrong level found in node: 1 != 0

Feb  5 08:11:36 holly kernel: ACPI: PCI Interrupt Link [ALKC] BIOS
reported IRQ 0, using IRQ 22
Feb  5 08:11:36 holly kernel: ACPI: PCI Interrupt Link [ALKC] enabled at
IRQ 22
Feb  5 08:11:36 holly kernel: ACPI: PCI Interrupt 0000:00:11.5[C] ->
Link [ALKC] -> GSI 22 (level, low) -> IRQ 22
Feb  5 08:11:36 holly kernel: PCI: Via IRQ fixup for 0000:00:11.5, from
11 to 6
Feb  5 08:11:36 holly kernel: PCI: Setting latency timer of device
0000:00:11.5 to 64
Feb  5 08:11:36 holly kernel: snd_emu10k1: Unknown symbol
__snd_util_mem_alloc
Feb  5 08:11:36 holly kernel: snd_emu10k1: Unknown symbol
snd_util_memhdr_new
Feb  5 08:11:36 holly kernel: snd_emu10k1: Unknown symbol
__snd_util_mem_free
Feb  5 08:11:36 holly kernel: snd_emu10k1: Unknown symbol
snd_util_memhdr_free
Feb  5 08:11:36 holly kernel: snd_emu10k1: Unknown symbol
__snd_util_memblk_new
Feb  5 08:11:36 holly kernel: usb 3-1: new full speed USB device using
uhci_hcd and address 2
Feb  5 08:11:36 holly kernel: usb 3-1: new device found, idVendor=04a9,
idProduct=220e
Feb  5 08:11:36 holly kernel: usb 3-1: new device strings: Mfr=1,
Product=2, SerialNumber=0

Regards,
-- 
Jindrich Makovicka


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to