lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:	Sun, 11 Mar 2012 17:05:50 +0100
From:	Laurent Pinchart <laurent.pinchart@...asonboard.com>
To:	stable@...r.kernel.org
Cc:	linux-kernel@...r.kernel.org, Thomas Gleixner <tglx@...utronix.de>
Subject: Regression in stable tree with "genirq: Unmask oneshot irqs when thread was not woken"

Hi,

Commit aa0eb3474beae8f6d9dcc2311dc02bea50cfd7b7 ("genirq: Unmask oneshot irqs
when thread was not woken") in v3.2.9 introduces a regression on the
Beagleboard-xM.

With the patch applied, the serial console becomes silent right after
userspace starts:

[    0.000000] Linux version 3.2.8-00478-g3a80702 (laurent@...lon) (gcc version 4.4.1 ('cs2009q3-67-hard-sb4') ) #114 Sun Mar 11 16:47:29 CET 2012
[    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine: OMAP3 Beagle Board
[    0.000000] Reserving 16777216 bytes SDRAM for VRAM
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] OMAP3630 ES1.1 (l2cache iva sgx neon isp 192mhz_clk )
[    0.000000] Clocking rate (Crystal/Core/MPU): 26.0/332/600 MHz
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 125952
[    0.000000] Kernel command line: console=ttyO2,115200 omapfb.mode=dvi:1024x768MR-32@60 omapdss.def_disp=dvi nfsroot=192.168.1.47:/home/laurent/src/iob/netboot/beagle ip=192.168.1.254:192.168.1.47 roo0
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 496MB = 496MB total
[    0.000000] Memory: 489716k/489716k available, 34572k reserved, 0K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xe0800000 - 0xf8000000   ( 376 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc059fbe8   (5727 kB)
[    0.000000]       .init : 0xc05a0000 - 0xc05d3000   ( 204 kB)
[    0.000000]       .data : 0xc05d4000 - 0xc0791af8   (1783 kB)
[    0.000000]        .bss : 0xc0791b1c - 0xc0d50d10   (5885 kB)
[    0.000000] NR_IRQS:410
[    0.000000] IRQ: Found an INTC at 0xfa200000 (revision 4.0) with 96 interrupts
[    0.000000] Total of 96 interrupts on 1 active controller
[    0.000000] OMAP clockevent source: GPTIMER12 at 32768 Hz
[    0.000000] sched_clock: 32 bits at 32kHz, resolution 30517ns, wraps every 131071999ms
[    0.000000] Console: colour dummy device 80x30
[    0.000000] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar
[    0.000000] ... MAX_LOCKDEP_SUBCLASSES:  8
[    0.000000] ... MAX_LOCK_DEPTH:          48
[    0.000000] ... MAX_LOCKDEP_KEYS:        8191
[    0.000000] ... CLASSHASH_SIZE:          4096
[    0.000000] ... MAX_LOCKDEP_ENTRIES:     16384
[    0.000000] ... MAX_LOCKDEP_CHAINS:      32768
[    0.000000] ... CHAINHASH_SIZE:          16384
[    0.000000]  memory used by lock dependency info: 3951 kB
[    0.000000]  per task-struct memory footprint: 2304 bytes
[    0.000854] Calibrating delay loop... 503.12 BogoMIPS (lpj=1966080)
[    0.079132] pid_max: default: 32768 minimum: 301
[    0.079620] Security Framework initialized
[    0.079772] Mount-cache hash table entries: 512
[    0.084289] CPU: Testing write buffer coherency: ok
[    0.106414] print_constraints: dummy: 
[    0.108856] NET: Registered protocol family 16
[    0.110321] GPMC revision 5.0
[    0.125762] OMAP GPIO hardware version 2.5
[    0.145538] omap_mux_init: Add partition: #1: core, flags: 0
[    0.148925] OMAP3 Beagle Rev: xM Ax/Bx
[    0.169281] Reprogramming SDRC clock to 332000000 Hz
[    0.173767] Found NAND on CS0
[    0.173797] Registering NAND on CS0
[    0.175140] Unable to get DVI reset GPIO
[    0.175720] hw-breakpoint: debug architecture 0x4 unsupported.
[    0.204284]  omap-mcbsp.2: alias fck already exists
[    0.205535]  omap-mcbsp.3: alias fck already exists
[    0.213775] OMAP DMA hardware revision 5.0
[    0.315917] bio: create slab <bio-0> at 0
[    0.327301] SCSI subsystem initialized
[    0.339447] usbcore: registered new interface driver usbfs
[    0.341125] usbcore: registered new interface driver hub
[    0.342376] usbcore: registered new device driver usb
[    0.356323] omap_i2c omap_i2c.1: bus 1 rev1.4.0 at 2600 kHz
[    0.368652] twl4030: PIH (irq 7) chaining IRQs 368..375
[    0.369445] twl4030: power (irq 373) chaining IRQs 376..383
[    0.372528] twl4030: gpio (irq 368) chaining IRQs 384..401
[    0.374603] _omap_mux_init_gpio: Could not set gpio192
[    0.378540] beagle_twl_gpio_setup: unable to configure DVI_LDO_EN
[    0.383758] print_constraints: VUSB1V5: 1500 mV normal standby
[    0.386871] print_constraints: VUSB1V8: 1800 mV normal standby
[    0.390014] print_constraints: VUSB3V1: 3100 mV normal standby
[    0.397857] twl4030_usb twl4030_usb: Initialized TWL4030 USB module
[    0.403472] print_constraints: VMMC1: 1850 <--> 3150 mV at 3000 mV normal standby
[    0.406646] print_constraints: VDAC: 1800 mV normal standby
[    0.409759] print_constraints: VDVI: 1800 mV normal standby
[    0.413238] print_constraints: VSIM: 1800 <--> 3000 mV at 1800 mV normal standby
[    0.416534] print_constraints: VAUX3: 1800 mV normal standby
[    0.419830] print_constraints: VAUX4: 1800 mV normal standby
[    0.428558] omap_i2c omap_i2c.3: bus 3 rev1.4.0 at 100 kHz
[    0.438079] Advanced Linux Sound Architecture Driver Version 1.0.24.
[    0.442657] Switching to clocksource 32k_counter
[    0.632598] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
[    0.643371] musb-hdrc musb-hdrc: USB OTG mode controller at fa0ab000 using DMA, IRQ 92
[    0.644866] NET: Registered protocol family 2
[    0.645599] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.647827] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[    0.648590] TCP bind hash table entries: 16384 (order: 7, 720896 bytes)
[    0.658203] TCP: Hash tables configured (established 16384 bind 16384)
[    0.658294] TCP reno registered
[    0.658325] UDP hash table entries: 256 (order: 2, 24576 bytes)
[    0.658660] UDP-Lite hash table entries: 256 (order: 2, 24576 bytes)
[    0.659698] NET: Registered protocol family 1
[    0.661315] RPC: Registered named UNIX socket transport module.
[    0.661346] RPC: Registered udp transport module.
[    0.661376] RPC: Registered tcp transport module.
[    0.661407] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.662750] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.862762] VFS: Disk quotas dquot_6.5.2
[    0.862854] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.865631] JFFS2 version 2.2. (NAND) (SUMMARY)  �© 2001-2006 Red Hat, Inc.
[    0.866424] msgmni has been set to 956
[    0.873687] io scheduler noop registered
[    0.873718] io scheduler deadline registered
[    0.873870] io scheduler cfq registered (default)
[    0.878204] OMAP DSS rev 2.0
[    0.894470] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.904632] omap_uart.0: ttyO0 at MMIO 0x4806a000 (irq = 72) is a OMAP UART0
[    0.906768] omap_uart.1: ttyO1 at MMIO 0x4806c000 (irq = 73) is a OMAP UART1
[    0.908447] omap_uart.2: ttyO2 at MMIO 0x49020000 (irq = 74) is a OMAP UART2
[    1.563934] console [ttyO2] enabled
[    1.569763] omap_uart.3: ttyO3 at MMIO 0x49042000 (irq = 80) is a OMAP UART3
[    1.626373] brd: module loaded
[    1.657318] loop: module loaded
[    1.669006] mtdoops: mtd device (mtddev=name/number) must be supplied
[    1.676177] omap2-nand driver initializing
[    1.681243] No NAND device found
[    1.684875] No NAND device found
[    1.689666] OneNAND driver initializing
[    1.703002] usbcore: registered new interface driver asix
[    1.709594] usbcore: registered new interface driver cdc_ether
[    1.716705] usbcore: registered new interface driver smsc95xx
[    1.722808] cdc_ncm: 04-Aug-2011
[    1.727081] usbcore: registered new interface driver cdc_ncm
[    1.735412] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.755401] ehci-omap ehci-omap.0: OMAP-EHCI Host Controller
[    3.766540] ehci-omap ehci-omap.0: new USB bus registered, assigned bus number 1
[    3.774993] ehci-omap ehci-omap.0: irq 77, io mem 0x48064800
[    3.794494] ehci-omap ehci-omap.0: USB 2.0 started, EHCI 1.00
[    3.801971] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    3.809173] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.816802] usb usb1: Product: OMAP-EHCI Host Controller
[    3.822448] usb usb1: Manufacturer: Linux 3.2.8-00478-g3a80702 ehci_hcd
[    3.829437] usb usb1: SerialNumber: ehci-omap.0
[    3.839721] hub 1-0:1.0: USB hub found
[    3.843963] hub 1-0:1.0: 3 ports detected
[    3.885040] input: twl4030_pwrbutton as /devices/platform/omap/omap_i2c.1/i2c-1/1-0049/twl4030_pwrbutton/input/input0
[    3.902557] twl_rtc twl_rtc: rtc core: registered twl_rtc as rtc0
[    3.911468] i2c /dev entries driver
[    3.919647] Linux media interface: v0.10
[    3.924652] Linux video capture interface: v2.00
[    3.932800] OMAP Watchdog Timer Rev 0x31: initial timeout 60 sec
[    3.941009] twl4030_wdt twl4030_wdt: Failed to register misc device
[    3.947723] twl4030_wdt: probe of twl4030_wdt failed with error -16
[    4.177398] usb 1-2: new high-speed USB device number 2 using ehci-omap
[    4.204498] usbcore: registered new interface driver usbhid
[    4.210449] usbhid: USB HID core driver
[    4.215270] omap-iommu omap-iommu.0: isp registered
[    4.230285] ALSA device list:
[    4.233489]   No soundcards found.
[    4.237060] oprofile: hardware counters not available
[    4.242431] oprofile: using timer interrupt.
[    4.247711] TCP cubic registered
[    4.251098] Initializing XFRM netlink socket
[    4.255798] NET: Registered protocol family 17
[    4.260620] NET: Registered protocol family 15
[    4.265686] Registering the dns_resolver key type
[    4.271545] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[    4.279724] ThumbEE CPU extension supported.
[    4.318420] omap_i2c omap_i2c.2: bus 2 rev1.4.0 at 100 kHz
[    4.389770] clock: disabling unused clocks to save power
[    4.402099] fbcvt: 1024x768@60: CVT Name - .786M3-R
[    4.438476] usb 1-2: New USB device found, idVendor=0424, idProduct=9514
[    4.445587] usb 1-2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    4.455871] regulator_init_complete: VDAC: incomplete constraints, leaving on
[    4.467559] input: gpio-keys as /devices/platform/gpio-keys/input/input1
[    4.478332] twl_rtc twl_rtc: setting system clock to 2000-01-01 01:32:51 UTC (946690371)
[    4.487396] omap_vout omap_vout: Buffer Size = 3932160
[    4.498199] hub 1-2:1.0: USB hub found
[    4.502441] hub 1-2:1.0: 5 ports detected
[    4.508239] omap_vout omap_vout: : registered and initialized video device 0
[    4.515777] omap_vout omap_vout: Buffer Size = 3932160
[    4.524932] omap_vout omap_vout: : registered and initialized video device 1
[    4.548706] mmc0: host does not support reading read-only switch. assuming write-enable.
[    4.560180] mmc0: new high speed SDHC card at address 0007
[    4.570190] mmcblk0: mmc0:0007 SD8GB 7.41 GiB 
[    4.583740]  mmcblk0: p1 p2
[    4.818359] usb 1-2.1: new high-speed USB device number 3 using ehci-omap
[    4.943817] usb 1-2.1: New USB device found, idVendor=0424, idProduct=ec00
[    4.951080] usb 1-2.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    4.965423] smsc95xx v1.0.4
[    5.055664] smsc95xx 1-2.1:1.0: eth0: register 'smsc95xx' at usb-ehci-omap.0-2.1, smsc95xx USB 2.0 Ethernet, 42:be:ec:b1:6f:85
[    5.638244] IP-Config: Guessing netmask 255.255.255.0
[    5.644134] IP-Config: Complete:
[    5.647583]      device=eth0, addr=192.168.1.254, mask=255.255.255.0, gw=255.255.255.255,
[    5.655975]      host=192.168.1.254, domain=, nis-domain=(none),
[    5.662322]      bootserver=192.168.1.47, rootserver=192.168.1.47, rootpath=
[    5.673065] Waiting 10sec before mounting root device...
[    8.445373] smsc95xx 1-2.1:1.0: eth0: link up, 100Mbps, full-duplex, lpa 0xCDE1
[   15.715942] VFS: Mounted root (nfs filesystem) on device 0:14.
[   15.722930] Freeing init memory: 204K
INIT: [   83.050994] omap3isp omap3isp: Revision 15.0 found
[   83.056945] omap-iommu omap-iommu.0: isp: version 1.1
[   83.862304] mt9p031 2-0048: MT9P031 detected at address 0x48
[   85.328247] alignment: ignoring faults is unsafe on this CPU.  Defaulting to fixup mode.

Although the kernel still manages to print messages to the console. A normal
boot ends up with

[   15.694274] VFS: Mounted root (nfs filesystem) on device 0:14.
[   15.701263] Freeing init memory: 204K
INIT: version 2.86 booting
Please wait: booting...
Starting udev
[   22.946044] omap3isp omap3isp: Revision 15.0 found
[   22.951782] omap-iommu omap-iommu.0: isp: version 1.1
[   24.000457] mt9p031 2-0048: MT9P031 detected at address 0x48
[   25.446319] alignment: ignoring faults is unsafe on this CPU.  Defaulting to fixup mode.
Root filesystem already rw, not remounting
Caching udev devnodes
Populating dev cache
ALSA: Restoring mixer settings...
/usr/sbin/alsactl: load_state:1625: No soundcards found...
NOT configuring network interfaces: / is an NFS mount
Starting portmap daemon: portmap.
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.all.rp_filter = 1
INIT: Entering runlevel: 5
...

Kernel configuration attached.

-- 
Regards,

Laurent Pinchart

View attachment ".config" of type "text/plain" (63535 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ