[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#636095: linux-image-3.0.0-1-loongson-2f: loongson-2f should have ext4 built-in support and not as a module



Package: linux-2.6
Version: 3.0.0-1
Severity: normal

*** Please type your report below this line ***

I have 2 lemote mini-pcs, and for both I have separate partitions for
boot and root.  boot needs to be ext3, given that's what pmon boot
loader supports.  However root can be whatever filesystem linux
supports.

Now problem is the lonngson-2f kernel comes without initrd, and the
one generated by initramfs-tools doesn't work.  So whatever FS is used
needs to be built inside the kernel itself and not compiled as a
module.

ext3 is built inside the kernel, however ext4 is not:

% 'grep' -i ext3 /boot/config-3.0.0-1-loongson-2f
CONFIG_EXT3_FS=y
CONFIG_EXT3_DEFAULTS_TO_ORDERED=y
CONFIG_EXT3_FS_XATTR=y
CONFIG_EXT3_FS_POSIX_ACL=y
CONFIG_EXT3_FS_SECURITY=y

% 'grep' -i ext4 /boot/config-3.0.0-1-loongson-2f
CONFIG_EXT4_FS=m
CONFIG_EXT4_FS_XATTR=y
CONFIG_EXT4_FS_POSIX_ACL=y
CONFIG_EXT4_FS_SECURITY=y
# CONFIG_EXT4_DEBUG is not set

I've used ext4 as the FS for root en several systems, including x86-64
and x86-32.  Moreover I also tried using archloong (arch linux side
attempt for loongson), which had ext4 built inside the kernel, and I
had no problems whatsoever with it.

So current configuration inhibits ext4 FS to be used as the root one,
and I really see no reason not to have it built in.

Please reconsider having ext4 built inside the kernel at least for
loongson-2f one.

Thanks,

Javier.


-- Package-specific info:
** Version:
Linux version 3.0.0-1-loongson-2f (Debian 3.0.0-1)
(ben@decadent.org.uk) (gcc version 4.5.3 (Debian 4.5.3-3) ) #1 Mon Jul
25 21:17:28 UTC 2011

** Command line:
console=tty machtype=lemote-fuloong-2f-box root=/dev/sda6
video=sisfb:1280x1024-24@60 resume=/dev/sda5 PMON_VER=LM6004-1.3.6
EC_VER=undefined machtype=lemote-fuloong-2f-box

** Not tainted

** Kernel log:
[    2.100000] PM: Hibernation image partition 8:5 present
[    2.100000] PM: Looking for hibernation image.
[    2.104000] PM: Image not found (code -22)
[    2.104000] PM: Hibernation image not present or could not be loaded.
[    2.104000] registered taskstats version 1
[    2.104000] /build/buildd-linux-2.6_3.0.0-1-mipsel-TFQf1R/linux-2.6-3.0.0/debian/build/source_mipsel_none/drivers/rtc/hctosys.c:
unable to open rtc device (rtc0)
[    2.108000] Initializing network drop monitor service
[    2.132000] EXT3-fs: barriers not enabled
[    2.140000] kjournald starting.  Commit interval 5 seconds
[    2.140000] EXT3-fs (sda6): mounted filesystem with ordered data mode
[    2.140000] VFS: Mounted root (ext3 filesystem) readonly on device 8:6.
[    2.144000] Freeing unused kernel memory: 240k freed
[    4.292000] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
[    4.300000] r8169 0000:00:06.0: (unregistered net_device): no PCI
Express capability
[    4.308000] r8169 0000:00:06.0: eth0: RTL8169sc/8110sc at
0x9000000050072000, 00:23:9e:00:0f:62, XID 18000000 IRQ 36
[    4.492000] cpufreq: Loongson-2F CPU frequency driver.
[    4.508000] rtc_cmos rtc_cmos: rtc core: registered rtc_cmos as rtc0
[    4.528000] rtc0: alarms up to one day, 114 bytes nvram
[    4.584000] usbcore: registered new interface driver usbfs
[    4.676000] usbcore: registered new interface driver hub
[    4.720000] usbcore: registered new device driver usb
[    4.744000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.824000] PCI: Setting latency timer of device 0000:00:0e.5 to 64
[    4.824000] ehci_hcd 0000:00:0e.5: EHCI Host Controller
[    4.828000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    4.852000] ehci_hcd 0000:00:0e.5: new USB bus registered, assigned
bus number 1
[    4.900000] ehci_hcd 0000:00:0e.5: irq 11, io mem 0x50071000
[    4.920000] ehci_hcd 0000:00:0e.5: USB 0.0 started, EHCI 1.00
[    4.932000] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    4.936000] usb usb1: New USB device strings: Mfr=3, Product=2,
SerialNumber=1
[    4.940000] usb usb1: Product: EHCI Host Controller
[    4.944000] usb usb1: Manufacturer: Linux 3.0.0-1-loongson-2f ehci_hcd
[    4.948000] usb usb1: SerialNumber: 0000:00:0e.5
[    4.960000] hub 1-0:1.0: USB hub found
[    4.976000] hub 1-0:1.0: 4 ports detected
[    4.988000] PCI: Enabling device 0000:00:0e.4 (0000 -> 0002)
[    5.004000] PCI: Setting latency timer of device 0000:00:0e.4 to 64
[    5.004000] ohci_hcd 0000:00:0e.4: OHCI Host Controller
[    5.020000] ohci_hcd 0000:00:0e.4: new USB bus registered, assigned
bus number 2
[    5.028000] ohci_hcd 0000:00:0e.4: irq 11, io mem 0x50070000
[    5.120000] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
[    5.124000] usb usb2: New USB device strings: Mfr=3, Product=2,
SerialNumber=1
[    5.128000] usb usb2: Product: OHCI Host Controller
[    5.132000] usb usb2: Manufacturer: Linux 3.0.0-1-loongson-2f ohci_hcd
[    5.136000] usb usb2: SerialNumber: 0000:00:0e.4
[    5.144000] hub 2-0:1.0: USB hub found
[    5.148000] hub 2-0:1.0: 4 ports detected
[    5.400000] PCI: Setting latency timer of device 0000:00:0e.3 to 64
[    5.532000] usb 2-3: new low speed USB device number 2 using ohci_hcd
[    5.760000] usb 2-3: New USB device found, idVendor=04d9, idProduct=1702
[    5.764000] usb 2-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    5.768000] usb 2-3: Product: USB Keyboard
[    5.772000] usb 2-3: Manufacturer:
[    5.968000] usb 2-4: new low speed USB device number 3 using ohci_hcd
[    6.000000] input:   USB Keyboard as
/devices/pci0000:00/0000:00:0e.4/usb2/2-3/2-3:1.0/input/input0
[    6.012000] generic-usb 0003:04D9:1702.0001: input,hidraw0: USB HID
v1.10 Keyboard [  USB Keyboard] on usb-0000:00:0e.4-3/input0
[    6.048000] input:   USB Keyboard as
/devices/pci0000:00/0000:00:0e.4/usb2/2-3/2-3:1.1/input/input1
[    6.060000] generic-usb 0003:04D9:1702.0002: input,hidraw1: USB HID
v1.10 Device [  USB Keyboard] on usb-0000:00:0e.4-3/input1
[    6.076000] usbcore: registered new interface driver usbhid
[    6.080000] usbhid: USB HID core driver
[    6.156000] usb 2-4: New USB device found, idVendor=0458, idProduct=003a
[    6.160000] usb 2-4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    6.164000] usb 2-4: Product: Optical Mouse
[    6.168000] usb 2-4: Manufacturer: Genius
[    6.196000] input: Genius Optical Mouse as
/devices/pci0000:00/0000:00:0e.4/usb2/2-4/2-4:1.0/input/input2
[    6.216000] generic-usb 0003:0458:003A.0003: input,hidraw2: USB HID
v1.11 Mouse [Genius Optical Mouse] on usb-0000:00:0e.4-4/input0
[    9.832000] Adding 3903744k swap on /dev/sda5.  Priority:-1
extents:1 across:3903744k
[   10.932000] EXT3-fs (sda6): using internal journal
[   11.368000] loop: module loaded
[   11.492000] fuse init (API version 7.16)
[   18.460000] EXT3-fs: barriers not enabled
[   18.472000] kjournald starting.  Commit interval 5 seconds
[   18.476000] EXT3-fs (sda1): using internal journal
[   18.480000] EXT3-fs (sda1): mounted filesystem with ordered data mode
[   18.696000] EXT4-fs (sda7): mounted filesystem with ordered data
mode. Opts: (null)
[   18.860000] EXT4-fs (sda8): mounted filesystem with ordered data
mode. Opts: (null)
[   18.992000] EXT4-fs (sda9): mounted filesystem with ordered data
mode. Opts: (null)
[   19.096000] EXT4-fs (sda10): mounted filesystem with ordered data
mode. Opts: (null)
[   19.176000] EXT4-fs (sda11): mounted filesystem with ordered data
mode. Opts: (null)
[   19.276000] EXT4-fs (sda12): mounted filesystem with ordered data
mode. Opts: (null)
[   19.404000] EXT4-fs (sda13): mounted filesystem with ordered data
mode. Opts: (null)
[   19.660000] EXT4-fs (sda14): mounted filesystem with ordered data
mode. Opts: (null)
[   20.608000] r8169 0000:00:06.0: eth0: link down
[   21.452000] NET: Registered protocol family 10
[   21.460000] ADDRCONF(NETDEV_UP): eth0: link is not ready
[   22.036000] r8169 0000:00:06.0: eth0: link up
[   22.044000] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   22.308000] RPC: Registered named UNIX socket transport module.
[   22.312000] RPC: Registered udp transport module.
[   22.316000] RPC: Registered tcp transport module.
[   22.320000] RPC: Registered tcp NFSv4.1 backchannel transport module.
[   22.364000] FS-Cache: Loaded
[   22.452000] FS-Cache: Netfs 'nfs' registered for caching
[   22.500000] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[   28.940000] ioctl32(Xorg:1305): Unknown cmd fd(8)
cmd(8004f300){t:'�';sz:4} arg(7fd428b4) on /dev/fb0
[   28.940000] ioctl32(Xorg:1305): Unknown cmd fd(8)
cmd(80046ef8){t:'n';sz:4} arg(00989e60) on /dev/fb0
[   28.940000] sisfb 0000:00:08.0: Invalid ROM contents
[   32.448000] eth0: no IPv6 routers present
[   38.064000] sisfb 0000:00:08.0: Invalid ROM contents
[   38.064000] sisfb 0000:00:08.0: Invalid ROM contents


** Model information
system type             : lemote-fuloong-2f-box
cpu model               : ICT Loongson-2 V0.3  FPU V0.1

** Loaded modules:
Module                  Size  Used by
cpufreq_stats           3130  0
cpufreq_conservative     6257  0
cpufreq_userspace       2128  0
cpufreq_powersave       1094  0
nfsd                  359805  2
nfs                   383137  0
lockd                  92252  2 nfsd,nfs
fscache                41569  1 nfs
auth_rpcgss            48166  2 nfsd,nfs
nfs_acl                 2959  2 nfsd,nfs
sunrpc                234434  6 nfsd,nfs,lockd,auth_rpcgss,nfs_acl
ipv6                  378237  26
ext4                  424010  8
jbd2                   76710  1 ext4
crc16                   1447  1 ext4
autofs4                27460  3
fuse                   80422  1
loop                   18465  0
evdev                  11734  5
usbhid                 44648  0
hid                    93455  1 usbhid
snd_cs5535audio        11665  0
snd_ac97_codec        134508  1 snd_cs5535audio
ac97_bus                1294  1 snd_ac97_codec
snd_pcm                87605  2 snd_cs5535audio,snd_ac97_codec
snd_seq                62903  0
snd_timer              22681  2 snd_pcm,snd_seq
snd_seq_device          7017  1 snd_seq
snd                    72623  6
snd_cs5535audio,snd_ac97_codec,snd_pcm,snd_seq,snd_timer,snd_seq_device
ohci_hcd               24339  0
ehci_hcd               46296  0
soundcore               6089  1 snd
snd_page_alloc          6989  2 snd_cs5535audio,snd_pcm
usbcore               176676  4 usbhid,ohci_hcd,ehci_hcd
rtc_cmos                7696  0
loongson2_cpufreq       2827  0
loongson2_clock         2536  1 loongson2_cpufreq
r8169                  49164  0
mii                     4787  1 r8169


** PCI devices:
00:06.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd.
RTL-8169 Gigabit Ethernet [10ec:8169] (rev 10)
       Subsystem: Realtek Semiconductor Co., Ltd. RTL8169/8110 Family
PCI Gigabit Ethernet NIC [10ec:8169]
       Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop-
ParErr+ Stepping- SERR- FastB2B- DisINTx-
       Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium
>TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
       Latency: 64 (8000ns min, 16000ns max), Cache Line Size: 32 bytes
       Interrupt: pin A routed to IRQ 36
       Region 0: I/O ports at 4000 [size=256]
       Region 1: Memory at 50072000 (32-bit, non-prefetchable) [size=256]
       Expansion ROM at 50040000 [size=128K]
       Capabilities: <access denied>
       Kernel driver in use: r8169

00:08.0 VGA compatible controller [0300]: Silicon Integrated Systems
[SiS] 315PRO PCI/AGP VGA Display Adapter [1039:0325] (prog-if 00 [VGA
controller])
       Subsystem: Device [3030:3030]
       Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B- DisINTx-
       Status: Cap+ 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium
>TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
       Latency: 71 (750ns min, 4000ns max)
       Interrupt: pin A routed to IRQ 38
       BIST result: 00
       Region 0: Memory at 40000000 (32-bit, prefetchable) [size=256M]
       Region 1: Memory at 50000000 (32-bit, non-prefetchable) [size=256K]
       Region 2: I/O ports at 4800 [size=128]
       Expansion ROM at 50060000 [size=64K]
       Capabilities: <access denied>
       Kernel driver in use: sisfb

00:0e.0 ISA bridge [0601]: Advanced Micro Devices [AMD] CS5536 [Geode
companion] ISA [1022:2090] (rev 03)
       Subsystem: Advanced Micro Devices [AMD] CS5536 [Geode
companion] ISA [1022:2090]
       Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B- DisINTx-
       Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
       Region 0: I/O ports at 4cf0 [size=8]
       Region 1: I/O ports at 4400 [size=256]
       Region 2: I/O ports at 4c80 [size=64]
       Region 4: I/O ports at 4880 [size=128]
       Region 5: I/O ports at 4cc0 [size=32]

00:0e.2 IDE interface [0101]: Advanced Micro Devices [AMD] CS5536
[Geode companion] IDE [1022:209a] (rev 01) (prog-if 80 [Master])
       Subsystem: Advanced Micro Devices [AMD] CS5536 [Geode
companion] IDE [1022:209a]
       Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B- DisINTx-
       Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
       Latency: 64 (16000ns max), Cache Line Size: 32 bytes
       Interrupt: pin A routed to IRQ 14
       Region 0: [virtual] Memory at 000001f0 (32-bit,
non-prefetchable) [size=8]
       Region 1: [virtual] Memory at 000003f0 (type 3,
non-prefetchable) [size=1]
       Region 2: [virtual] Memory at 00000170 (32-bit,
non-prefetchable) [size=8]
       Region 3: [virtual] Memory at 00000370 (type 3,
non-prefetchable) [size=1]
       Region 4: I/O ports at 4ce0 [size=16]
       Kernel driver in use: pata_amd

00:0e.3 Multimedia audio controller [0401]: Advanced Micro Devices
[AMD] CS5536 [Geode companion] Audio [1022:2093] (rev 01)
       Subsystem: Advanced Micro Devices [AMD] CS5536 [Geode
companion] Audio [1022:2093]
       Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B- DisINTx-
       Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
       Latency: 0 (16000ns max), Cache Line Size: 32 bytes
       Interrupt: pin A routed to IRQ 9
       Region 0: I/O ports at 4c00 [size=128]
       Kernel driver in use: cs5535audio

00:0e.4 USB Controller [0c03]: Advanced Micro Devices [AMD] CS5536
[Geode companion] OHC [1022:2094] (rev 02) (prog-if 10 [OHCI])
       Subsystem: Advanced Micro Devices [AMD] CS5536 [Geode
companion] OHC [1022:2094]
       Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B- DisINTx-
       Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
       Latency: 0 (16000ns max), Cache Line Size: 32 bytes
       Interrupt: pin A routed to IRQ 11
       Region 0: Memory at 50070000 (32-bit, non-prefetchable) [size=4K]
       Kernel driver in use: ohci_hcd

00:0e.5 USB Controller [0c03]: Advanced Micro Devices [AMD] CS5536
[Geode companion] EHC [1022:2095] (rev 02) (prog-if 20 [EHCI])
       Subsystem: Advanced Micro Devices [AMD] CS5536 [Geode
companion] EHC [1022:2095]
       Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B- DisINTx-
       Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
       Latency: 0 (16000ns max), Cache Line Size: 32 bytes
       Interrupt: pin A routed to IRQ 11
       Region 0: Memory at 50071000 (32-bit, non-prefetchable) [size=4K]
       Kernel driver in use: ehci_hcd


** USB devices:
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 04d9:1702 Holtek Semiconductor, Inc.
Bus 002 Device 003: ID 0458:003a KYE Systems Corp. (Mouse Systems)
NetScroll+ Mini Traveler / Genius NetScroll 120


-- System Information:
Debian Release: wheezy/sid
 APT prefers unstable
 APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: mipsel (mips64)

Kernel: Linux 3.0.0-1-loongson-2f
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages linux-image-3.0.0-1-loongson-2f depends on:
ii  debconf [debconf-2.0]         1.5.41     Debian configuration management sy
ii  linux-base                    3.3        Linux image base package
ii  module-init-tools             3.16-1     tools for managing Linux kernel mo

Versions of packages linux-image-3.0.0-1-loongson-2f recommends:
ii  firmware-linux-free           3          Binary firmware for various driver

Versions of packages linux-image-3.0.0-1-loongson-2f suggests:
pn  linux-doc-3.0.0               <none>     (no description available)

Versions of packages linux-image-3.0.0-1-loongson-2f is related to:
pn  firmware-bnx2                 <none>     (no description available)
pn  firmware-bnx2x                <none>     (no description available)
pn  firmware-ipw2x00              <none>     (no description available)
pn  firmware-ivtv                 <none>     (no description available)
pn  firmware-iwlwifi              <none>     (no description available)
ii  firmware-linux                0.33       Binary firmware for various driver
ii  firmware-linux-nonfree        0.33       Binary firmware for various driver
pn  firmware-qlogic               <none>     (no description available)
pn  firmware-ralink               <none>     (no description available)
pn  xen-hypervisor                <none>     (no description available)

-- debconf information excluded



-- 
Javier.



Reply to: