* 2 small kernel config issues related to UML + RTC
@ 2011-05-29 9:22 ` Toralf Förster
0 siblings, 0 replies; 8+ messages in thread
From: Toralf Förster @ 2011-05-29 9:22 UTC (permalink / raw)
To: user-mode-linux-devel; +Cc: linux-kernel
Hello,
with the current git kernel I run
$>make ARCH=um menuconfig
and searched for the string "RTC" b/c during boot of my UML image I realized nowadays the message:
"Kernel not built with RTC support, ALARM timers will not wake from suspend"
Although the menuconfig gives me the answer :
│ Symbol: STMMAC_RTC_TIMER [=n] │
│ Type : boolean │
│ Prompt: Real time clock │
│ Defined at drivers/net/stmmac/Kconfig:50 │
│ Depends on: <choice> && RTC_CLASS │
│ Location: │
│ -> Network device support (NETDEVICES [=y]) │
│ -> Ethernet (1000 Mbit) (NETDEV_1000 [=n]) │
│ -> STMicroelectronics 10/100/1000 Ethernet driver (STMMAC_ETH [=n]) │
│ -> STMMAC Timer optimisation (STMMAC_TIMER [=n]) │
│ -> Select Timer device (<choice> [=n]) │
I cannot found the menu item.
To sum it up IMO the kernel mesage doesn't makes sense for UML
and furthermore searching for "RTC" shouldn't give non-existent menu items, isn't it ?
--
MfG/Sincerely
Toralf Förster
pgp finger print: 7B1A 07F4 EC82 0F90 D4C2 8936 872A E508 7DB6 9DA3
^ permalink raw reply [flat|nested] 8+ messages in thread
* 2 small kernel config issues related to UML + RTC
@ 2011-05-29 9:22 ` Toralf Förster
0 siblings, 0 replies; 8+ messages in thread
From: Toralf Förster @ 2011-05-29 9:22 UTC (permalink / raw)
To: user-mode-linux-devel; +Cc: linux-kernel
Hello,
with the current git kernel I run
$>make ARCH=um menuconfig
and searched for the string "RTC" b/c during boot of my UML image I realized nowadays the message:
"Kernel not built with RTC support, ALARM timers will not wake from suspend"
Although the menuconfig gives me the answer :
│ Symbol: STMMAC_RTC_TIMER [=n] │
│ Type : boolean │
│ Prompt: Real time clock │
│ Defined at drivers/net/stmmac/Kconfig:50 │
│ Depends on: <choice> && RTC_CLASS │
│ Location: │
│ -> Network device support (NETDEVICES [=y]) │
│ -> Ethernet (1000 Mbit) (NETDEV_1000 [=n]) │
│ -> STMicroelectronics 10/100/1000 Ethernet driver (STMMAC_ETH [=n]) │
│ -> STMMAC Timer optimisation (STMMAC_TIMER [=n]) │
│ -> Select Timer device (<choice> [=n]) │
I cannot found the menu item.
To sum it up IMO the kernel mesage doesn't makes sense for UML
and furthermore searching for "RTC" shouldn't give non-existent menu items, isn't it ?
--
MfG/Sincerely
Toralf Förster
pgp finger print: 7B1A 07F4 EC82 0F90 D4C2 8936 872A E508 7DB6 9DA3
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: 2 small kernel config issues related to UML + RTC
2011-05-29 9:22 ` Toralf Förster
@ 2011-05-29 9:54 ` richard -rw- weinberger
-1 siblings, 0 replies; 8+ messages in thread
From: richard -rw- weinberger @ 2011-05-29 9:54 UTC (permalink / raw)
To: Toralf Förster; +Cc: user-mode-linux-devel, linux-kernel
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=UTF-8, Size: 2570 bytes --]
2011/5/29 Toralf Förster <toralf.foerster@gmx.de>:
> Hello,
>
> with the current git kernel I run
> $>make ARCH=um menuconfig
>
> and searched for the string "RTC" b/c during boot of my UML image I realized nowadays the message:
>
> "Kernel not built with RTC support, ALARM timers will not wake from suspend"
>
> Although the menuconfig gives me the answer :
>
> Â â Symbol: STMMAC_RTC_TIMER [=n] Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â â
>  â Type  : boolean                                                 â
>  â Prompt: Real time clock                                             â
> Â â Â Defined at drivers/net/stmmac/Kconfig:50 Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â â
> Â â Â Depends on: <choice> && RTC_CLASS Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â â
> Â â Â Location: Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â â
> Â â Â Â -> Network device support (NETDEVICES [=y]) Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â â
> Â â Â Â Â -> Ethernet (1000 Mbit) (NETDEV_1000 [=n]) Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â â
> Â â Â Â Â Â -> STMicroelectronics 10/100/1000 Ethernet driver (STMMAC_ETH [=n]) Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â â
> Â â Â Â Â Â Â -> STMMAC Timer optimisation (STMMAC_TIMER [=n]) Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â â
> Â â Â Â Â Â Â Â -> Select Timer device (<choice> [=n]) Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â â
>
>
> I cannot found the menu item.
>
> To sum it up IMO the kernel mesage doesn't makes sense for UML
> and furthermore searching for "RTC" shouldn't give non-existent menu items, isn't it ?
I saw this message too.
A fix is on the way...
--
Thanks,
//richard
ÿôèº{.nÇ+·®+%Ëÿ±éݶ\x17¥wÿº{.nÇ+·¥{±þG«éÿ{ayº\x1dÊÚë,j\a¢f£¢·hïêÿêçz_è®\x03(éÝ¢j"ú\x1a¶^[m§ÿÿ¾\a«þG«éÿ¢¸?¨èÚ&£ø§~á¶iOæ¬z·vØ^\x14\x04\x1a¶^[m§ÿÿÃ\fÿ¶ìÿ¢¸?I¥
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: 2 small kernel config issues related to UML + RTC
@ 2011-05-29 9:54 ` richard -rw- weinberger
0 siblings, 0 replies; 8+ messages in thread
From: richard -rw- weinberger @ 2011-05-29 9:54 UTC (permalink / raw)
To: Toralf Förster; +Cc: user-mode-linux-devel, linux-kernel
2011/5/29 Toralf Förster <toralf.foerster@gmx.de>:
> Hello,
>
> with the current git kernel I run
> $>make ARCH=um menuconfig
>
> and searched for the string "RTC" b/c during boot of my UML image I realized nowadays the message:
>
> "Kernel not built with RTC support, ALARM timers will not wake from suspend"
>
> Although the menuconfig gives me the answer :
>
> │ Symbol: STMMAC_RTC_TIMER [=n] │
> │ Type : boolean │
> │ Prompt: Real time clock │
> │ Defined at drivers/net/stmmac/Kconfig:50 │
> │ Depends on: <choice> && RTC_CLASS │
> │ Location: │
> │ -> Network device support (NETDEVICES [=y]) │
> │ -> Ethernet (1000 Mbit) (NETDEV_1000 [=n]) │
> │ -> STMicroelectronics 10/100/1000 Ethernet driver (STMMAC_ETH [=n]) │
> │ -> STMMAC Timer optimisation (STMMAC_TIMER [=n]) │
> │ -> Select Timer device (<choice> [=n]) │
>
>
> I cannot found the menu item.
>
> To sum it up IMO the kernel mesage doesn't makes sense for UML
> and furthermore searching for "RTC" shouldn't give non-existent menu items, isn't it ?
I saw this message too.
A fix is on the way...
--
Thanks,
//richard
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: 2 small kernel config issues related to UML + RTC
2011-05-29 9:22 ` Toralf Förster
@ 2011-05-29 17:17 ` Valdis.Kletnieks
-1 siblings, 0 replies; 8+ messages in thread
From: Valdis.Kletnieks @ 2011-05-29 17:17 UTC (permalink / raw)
To: Toralf Förster, Giuseppe Cavallaro
Cc: user-mode-linux-devel, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 899 bytes --]
On Sun, 29 May 2011 11:22:01 +0200, Toralf Förster said:
> â Symbol: STMMAC_RTC_TIMER [=n]
> â Type : boolean
> â Prompt: Real time clock
> â Defined at drivers/net/stmmac/Kconfig:50
> â Depends on: <choice> && RTC_CLASS
> â Location:
> â -> Network device support (NETDEVICES [=y])
> â -> Ethernet (1000 Mbit) (NETDEV_1000 [=n])
> â -> STMicroelectronics 10/100/1000 Ethernet driver (STMMAC_ETH [=n])
> â -> STMMAC Timer optimisation (STMMAC_TIMER [=n])
> â -> Select Timer device (<choice> [=n])
Ouch. That has to be the strangest place one could *possibly* put an RTC driver. ;)
Giuseppe - is that RTC driver *really* an integral part of the chipset and
won't work without the Ethernet parts, or should the driver code for the RTC
live elsewhere in the tree?
[-- Attachment #2: Type: application/pgp-signature, Size: 227 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: 2 small kernel config issues related to UML + RTC
@ 2011-05-29 17:17 ` Valdis.Kletnieks
0 siblings, 0 replies; 8+ messages in thread
From: Valdis.Kletnieks @ 2011-05-29 17:17 UTC (permalink / raw)
To: Toralf Förster, Giuseppe Cavallaro
Cc: user-mode-linux-devel, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 951 bytes --]
On Sun, 29 May 2011 11:22:01 +0200, Toralf F=F6rster said:
> â Symbol: STMMAC_RTC_TIMER =5B=3Dn=5D =20
> â Type : boolean
> â Prompt: Real time clock
> â Defined at drivers/net/stmmac/Kconfig:50
> â Depends on: <choice> && RTC_CLASS
> â Location:
> â -> Network device support (NETDEVICES =5B=3Dy=5D)
> â -> Ethernet (1000 Mbit) (NETDEV_1000 =5B=3Dn=5D)
> â -> STMicroelectronics 10/100/1000 Ethernet driver (STMMAC_E=
TH =5B=3Dn=5D)
> â -> STMMAC Timer optimisation (STMMAC_TIMER =5B=3Dn=5D)
> â -> Select Timer device (<choice> =5B=3Dn=5D)
Ouch. That has to be the strangest place one could *possibly* put an RTC =
driver. ;)
Giuseppe - is that RTC driver *really* an integral part of the chipset an=
d
won't work without the Ethernet parts, or should the driver code for the =
RTC
live elsewhere in the tree?
[-- Attachment #2: Type: application/pgp-signature, Size: 227 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: 2 small kernel config issues related to UML + RTC
2011-05-29 17:17 ` Valdis.Kletnieks
@ 2011-05-30 4:16 ` Giuseppe CAVALLARO
-1 siblings, 0 replies; 8+ messages in thread
From: Giuseppe CAVALLARO @ 2011-05-30 4:16 UTC (permalink / raw)
To: Valdis.Kletnieks; +Cc: Toralf Förster, user-mode-linux-devel, linux-kernel
Hi Valdis
On 5/29/2011 7:17 PM, Valdis.Kletnieks@vt.edu wrote:
> On Sun, 29 May 2011 11:22:01 +0200, Toralf Förster said:
>> │ Symbol: STMMAC_RTC_TIMER [=n]
>> │ Type : boolean
>> │ Prompt: Real time clock
>> │ Defined at drivers/net/stmmac/Kconfig:50
>> │ Depends on: <choice> && RTC_CLASS
>> │ Location:
>> │ -> Network device support (NETDEVICES [=y])
>> │ -> Ethernet (1000 Mbit) (NETDEV_1000 [=n])
>> │ -> STMicroelectronics 10/100/1000 Ethernet driver (STMMAC_ETH [=n])
>> │ -> STMMAC Timer optimisation (STMMAC_TIMER [=n])
>> │ -> Select Timer device (<choice> [=n])
>
> Ouch. That has to be the strangest place one could *possibly* put an RTC driver. ;)
>
> Giuseppe - is that RTC driver *really* an integral part of the chipset and
> won't work without the Ethernet parts, or should the driver code for the RTC
> live elsewhere in the tree?
No the external RTC (or the SH-4 TMU) HW can be used by the driver to
handle the rx/tx process mitigating the DMA interrupts. This is not the
best approach but it actually helped many people to space the CPU
especially on old chips w/o dedicate timer.
It's likely I will remove all this code as soon as I work on a chip with
the embedded watchdog.
Regards
Giuseppe
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: 2 small kernel config issues related to UML + RTC
@ 2011-05-30 4:16 ` Giuseppe CAVALLARO
0 siblings, 0 replies; 8+ messages in thread
From: Giuseppe CAVALLARO @ 2011-05-30 4:16 UTC (permalink / raw)
To: Valdis.Kletnieks; +Cc: Toralf Förster, user-mode-linux-devel, linux-kernel
Hi Valdis
On 5/29/2011 7:17 PM, Valdis.Kletnieks@vt.edu wrote:
> On Sun, 29 May 2011 11:22:01 +0200, Toralf Förster said:
>> │ Symbol: STMMAC_RTC_TIMER [=n]
>> │ Type : boolean
>> │ Prompt: Real time clock
>> │ Defined at drivers/net/stmmac/Kconfig:50
>> │ Depends on: <choice> && RTC_CLASS
>> │ Location:
>> │ -> Network device support (NETDEVICES [=y])
>> │ -> Ethernet (1000 Mbit) (NETDEV_1000 [=n])
>> │ -> STMicroelectronics 10/100/1000 Ethernet driver (STMMAC_ETH [=n])
>> │ -> STMMAC Timer optimisation (STMMAC_TIMER [=n])
>> │ -> Select Timer device (<choice> [=n])
>
> Ouch. That has to be the strangest place one could *possibly* put an RTC driver. ;)
>
> Giuseppe - is that RTC driver *really* an integral part of the chipset and
> won't work without the Ethernet parts, or should the driver code for the RTC
> live elsewhere in the tree?
No the external RTC (or the SH-4 TMU) HW can be used by the driver to
handle the rx/tx process mitigating the DMA interrupts. This is not the
best approach but it actually helped many people to space the CPU
especially on old chips w/o dedicate timer.
It's likely I will remove all this code as soon as I work on a chip with
the embedded watchdog.
Regards
Giuseppe
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2011-05-30 4:17 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-29 9:22 2 small kernel config issues related to UML + RTC Toralf Förster
2011-05-29 9:22 ` Toralf Förster
2011-05-29 9:54 ` richard -rw- weinberger
2011-05-29 9:54 ` richard -rw- weinberger
2011-05-29 17:17 ` Valdis.Kletnieks
2011-05-29 17:17 ` Valdis.Kletnieks
2011-05-30 4:16 ` Giuseppe CAVALLARO
2011-05-30 4:16 ` Giuseppe CAVALLARO
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.