Hello

First, excuse my poor English (I'm French...)

Well, I'm making a bootable USB key for Maths students since 3 years, you can
find it here: http://clefagreg.dnsalias.org/

At the beginning, I was using cloop and a rather complicated systems of links
like Knoppix. Now I'm using unionfs + squashfs:

The root of the system is a RO file system union some various extensions (RO
squashfs systems) union a RW ramdisk. Everything work very well.

But I have a new problem. I need to run wine for a key dedidaced to a
competitive entrance exam (Education Nationale teachers). And I have a problem
with kernel Oops in unionfs and wine,

Kernels used: 2.6.29-1, unionfs 2.5.1 (for 2.6.29-rc2)
squashfs: version 4.0 (2009/01/31)

here is the error:

Jun 30 18:00:25 agreg kernel: BUG: unable to handle kernel NULL pointer 
dereference at 000000a1
Jun 30 18:00:25 agreg kernel: IP: [<f847db0f>] unionfs_setattr+0x362/0x377 
[unionfs]
Jun 30 18:00:25 agreg kernel: *pde = 00000000 
Jun 30 18:00:25 agreg kernel: Oops: 0000 [#1] PREEMPT SMP 
Jun 30 18:00:25 agreg kernel: last sysfs file: 
/sys/devices/pci0000:00/0000:00:1c.0/0000:02:00.0/resource
Jun 30 18:00:25 agreg kernel: Modules linked in: radeon drm af_packet 
dm_snapshot dm_mirror dm_region_hash dm_log dm_mod ata_generic snd_intel8x0 
snd_ac97_codec ac97_bus snd_pcm_oss snd_mixer_oss snd_pcm snd_timer ata_piix 
pata_acpi i2c_i801 snd serio_raw i2c_core soundcore snd_page_alloc parport_pc 
rtc_cmos rtc_core 8250_pnp rtc_lib parport 8250 serial_core thermal processor 
thermal_sys button intel_agp agpgart tg3 libphy evdev dcdbas squashfs loop 
unionfs usb_storage libusual uhci_hcd ohci_hcd hid_pl hid_cypress hid_gyration 
hid_sony hid_ntrig hid_samsung hid_microsoft hid_tmff hid_monterey hid_ezkey 
hid_apple hid_a4tech hid_logitech ehci_hcd usbhid ff_memless hid_cherry 
hid_sunplus usbcore hid_petalynx hid_belkin hid_chicony
Jun 30 18:00:25 agreg kernel: 
Jun 30 18:00:25 agreg kernel: Pid: 3856, comm: wineserver Not tainted 
(2.6.29.1-clefagreg #1) OptiPlex GX620               
Jun 30 18:00:25 agreg kernel: EIP: 0060:[<f847db0f>] EFLAGS: 00010202 CPU: 1
Jun 30 18:00:25 agreg kernel: EIP is at unionfs_setattr+0x362/0x377 [unionfs]
Jun 30 18:00:25 agreg kernel: EAX: 00000000 EBX: ed25f434 ECX: ed25f42c EDX: 
f6a65e80
Jun 30 18:00:25 agreg kernel: ESI: f4b761e8 EDI: 00000001 EBP: 00000000 ESP: 
f1e6bed0
Jun 30 18:00:25 agreg kernel:  DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
Jun 30 18:00:25 agreg kernel: Process wineserver (pid: 3856, ti=f1e6a000 
task=f68967e0 task.ti=f1e6a000)
Jun 30 18:00:25 agreg kernel: Stack:
Jun 30 18:00:25 agreg kernel:  f1e6bf30 ed25f42c ed25f6c0 ed2476c0 00000000 
f1e6bf50 f68967e0 f4b761c0
Jun 30 18:00:25 agreg kernel:  f1e6bf30 00002068 00000000 f4b761e8 c0180b30 
ed25f42c 00000008 00008180
Jun 30 18:00:25 agreg kernel:  00000001 00000000 00000000 00002068 ffffffea 
ed25f42c 01000000 c016fc2b
Jun 30 18:00:25 agreg kernel: Call Trace:
Jun 30 18:00:25 agreg kernel:  [<c0180b30>] notify_change+0x152/0x28e
Jun 30 18:00:25 agreg kernel:  [<c016fc2b>] do_truncate+0x60/0x77
Jun 30 18:00:25 agreg kernel:  [<c016fd97>] do_sys_ftruncate+0x155/0x15b
Jun 30 18:00:25 agreg kernel:  [<c016fdb9>] sys_ftruncate64+0x1c/0x21
Jun 30 18:00:25 agreg kernel:  [<c0103326>] syscall_call+0x7/0xb
Jun 30 18:00:25 agreg kernel: Code: 8c 01 00 00 8b 4a 18 85 c9 74 0e 64 a1 00 
c0 51 c0 3b 88 d4 00 00 00 74 08 8d 42 08 e8 3d 53 cb c7 83 c4 20 89 e8 5b 5e 
5f 5d c3 <8b> 87 a0 00 00 00 f6 40 30 01 0f 85 d8 fd ff ff e9 93 fe ff ff 
Jun 30 18:00:25 agreg kernel: EIP: [<f847db0f>] unionfs_setattr+0x362/0x377 
[unionfs] SS:ESP 0068:f1e6bed0
Jun 30 18:00:25 agreg kernel: ---[ end trace 007ab05e35501a96 ]---


I tried another kernel: 2.6.30 with unionfs 2.5.2 (for 2.6.30) , I have the 
same error

Sep  6 11:13:18 agreg kernel: BUG: unable to handle kernel NULL pointer 
dereference at 000000a4
Sep  6 11:13:18 agreg kernel: IP: [<f8b70a76>] unionfs_setattr+0x37f/0x3a0 
[unionfs]
Sep  6 11:13:18 agreg kernel: *pde = 00000000 
Sep  6 11:13:18 agreg kernel: Oops: 0000 [#1] PREEMPT SMP 
Sep  6 11:13:18 agreg kernel: last sysfs file: 
/sys/class/input/input16/capabilities/sw
Sep  6 11:13:18 agreg kernel: Modules linked in: i915 drm i2c_algo_bit 
af_packet dm_snapshot dm_mirror dm_region_hash dm_log dm_mod snd_hda_codec_idt 
snd_hda_codec_intelhdmi arc4 ohci1394 ecb ieee1394 i2c_i801 i2c_core ahci 
serio_raw snd_hda_intel video output uvcvideo usbhid rtc_cmos rtc_core rtc_lib 
videodev v4l1_compat snd_hda_codec snd_pcm_oss snd_mixer_oss snd_pcm snd_timer 
iwl3945 button thermal processor thermal_sys wmi battery iwlcore rfkill 
mac80211 led_class cfg80211 ac sky2 snd soundcore snd_page_alloc intel_agp 
agpgart evdev dcdbas joydev squashfs loop unionfs usb_storage usb_libusual 
uhci_hcd ohci_hcd ehci_hcd usbcore
Sep  6 11:13:18 agreg kernel: 
Sep  6 11:13:18 agreg kernel: Pid: 4374, comm: wineserver Not tainted (2.6.30.5 
#1) Inspiron 1525                   
Sep  6 11:13:18 agreg kernel: EIP: 0060:[<f8b70a76>] EFLAGS: 00210202 CPU: 0
Sep  6 11:13:18 agreg kernel: EIP is at unionfs_setattr+0x37f/0x3a0 [unionfs]
Sep  6 11:13:18 agreg kernel: EAX: f5881f80 EBX: e2779f34 ECX: e2779f34 EDX: 
f6176340
Sep  6 11:13:18 agreg kernel: ESI: d75806bc EDI: 00000000 EBP: d758e954 ESP: 
e2779ed8
Sep  6 11:13:18 agreg kernel:  DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
Sep  6 11:13:18 agreg kernel: Process wineserver (pid: 4374, ti=e2778000 
task=f69a2b20 task.ti=e2778000)
Sep  6 11:13:18 agreg kernel: Stack:
Sep  6 11:13:18 agreg kernel:  00000000 f8b7f7e0 e2779f34 d758edf8 e83bdc6c 
00000000 00000000 c129968b
Sep  6 11:13:18 agreg kernel:  d7580694 00000000 e2779f34 00002068 d75806bc 
00000000 c1093cdd d758e954
Sep  6 11:13:18 agreg kernel:  00000008 00008180 00002068 d758e954 ffffffea 
d2dc0d40 c1082919 00002068
Sep  6 11:13:18 agreg kernel: Call Trace:
Sep  6 11:13:18 agreg kernel:  [<c129968b>] ? __down_write_nested+0x2b/0x86
Sep  6 11:13:18 agreg kernel:  [<c1093cdd>] ? notify_change+0x158/0x293
Sep  6 11:13:18 agreg kernel:  [<c1082919>] ? do_truncate+0x5e/0x75
Sep  6 11:13:18 agreg kernel:  [<c1082a49>] ? do_sys_ftruncate+0x119/0x134
Sep  6 11:13:18 agreg kernel:  [<c1082a80>] ? sys_ftruncate64+0x1c/0x21
Sep  6 11:13:18 agreg kernel:  [<c1002f31>] ? syscall_call+0x7/0xb
Sep  6 11:13:18 agreg kernel: Code: 00 52 c8 8b 45 54 8b 90 98 01 00 00 8b 4a 
18 85 c9 74 0e 64 a1 00 b0 42 c1 3b 88 00 01 00 00 74 1f 8d 42 08 e8 1e 4c 4c 
c8 eb 15 <8b> 87 a4 00 00 00 f6 40 30 01 0f 85 b8 fd ff ff e9 76 fe ff ff 
Sep  6 11:13:18 agreg kernel: EIP: [<f8b70a76>] unionfs_setattr+0x37f/0x3a0 
[unionfs] SS:ESP 0068:e2779ed8
Sep  6 11:13:18 agreg kernel: CR2: 00000000000000a4
Sep  6 11:13:18 agreg kernel: ---[ end trace 4769436c59084b85 ]---

With kernel 2.6.26 and corresponding unionfs 2.4 (for 2.6.26) , I don't have a 
kernel oops 
but wine freezes...

Have someone meet this kernel oops? have someone an idea to solve this problem?

Thanks to have read

Regards

François Boisson
_______________________________________________
unionfs mailing list: http://unionfs.filesystems.org/
unionfs@mail.fsl.cs.sunysb.edu
http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs

Reply via email to