Re: user rsyslog/syslog

2016-02-23 Thread Ruben Safir
On 02/24/2016 02:36 AM, Ran Shalit wrote:
> Hello,

systemd?

> 
> I am trying to write to rsyslog from application.
> With openlog(..., LOG_USER), it works fine and I find the log in
> /var/log/user.log (it is defines in /etc/rsyslog.d/50-defaults.conf )
> But we need to enable different applications to have each its own log file.
> I tried to use LOG_LOCAL0 instead and configured it in
> /etc/rsyslog.d/50-defaults.conf the same way as user:
> 
> local0.* action
> {
>   type="omfile"
>  FILE="/var/log/local0.log"
>  FileOwner="root"
>  FileGroup="adm"
> 
> }
> 
> I then did
> 1. /etc/init.d/rsyslog stop
> 2. /etc/init.d/rsyslog start
> I see no warnings or errors, and I started the application trying to
> write to LOG_LOCAL0, But there is no new file created, no logs.
> 
> Is there any idea whatws wrong, or how I can achieve this multi user's logs ?
> 
> Thank you,
> Ran
> 
> ___
> Kernelnewbies mailing list
> Kernelnewbies@kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
> 


-- 
So many immigrant groups have swept through our town
that Brooklyn, like Atlantis, reaches mythological
proportions in the mind of the world - RI Safir 1998
http://www.mrbrklyn.com

DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002
http://www.nylxs.com - Leadership Development in Free Software
http://www2.mrbrklyn.com/resources - Unpublished Archive
http://www.coinhangout.com - coins!
http://www.brooklyn-living.com

Being so tracked is for FARM ANIMALS and and extermination camps,
but incompatible with living as a free human being. -RI Safir 2013

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


user rsyslog/syslog

2016-02-23 Thread Ran Shalit
Hello,

I am trying to write to rsyslog from application.
With openlog(..., LOG_USER), it works fine and I find the log in
/var/log/user.log (it is defines in /etc/rsyslog.d/50-defaults.conf )
But we need to enable different applications to have each its own log file.
I tried to use LOG_LOCAL0 instead and configured it in
/etc/rsyslog.d/50-defaults.conf the same way as user:

local0.* action
{
  type="omfile"
 FILE="/var/log/local0.log"
 FileOwner="root"
 FileGroup="adm"

}

I then did
1. /etc/init.d/rsyslog stop
2. /etc/init.d/rsyslog start
I see no warnings or errors, and I started the application trying to
write to LOG_LOCAL0, But there is no new file created, no logs.

Is there any idea whatws wrong, or how I can achieve this multi user's logs ?

Thank you,
Ran

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: Is there a bug in dgnc.ko?

2016-02-23 Thread Greg KH
On Wed, Feb 24, 2016 at 12:57:42PM +0800, Navy Cheng wrote:
> Hi,
> 
> My kernel version is v4.4, and I have built drivers/staging/dgnc/dgnc.ko.
> I change to *dir*/drivers/staging/dgnc and do like this:
> 
> sudo insmod ./dgnc.ko

Do you have the hardware that this driver controls?

> sudo lsmod | grep dgnc

Does that show anything?

> sudo rmmod ./dgnc
> sudo insmod ./dgnc.ko
> 
> After I re-insmod the dgnc module, my laptop is breakdown.

Then there's a bug to fix in the driver, it must not clean up everything
properly.  Based on a quick read of it, there is lots of things that
need to be fixed in it, that's why it is in staging.  If you are
interested, I would suggest fixing this issue would be a great start.

good luck!

greg k-h

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: Is there a bug in dgnc.ko?

2016-02-23 Thread Valdis . Kletnieks
On Wed, 24 Feb 2016 12:57:42 +0800, Navy Cheng said:
> Hi,
>
> My kernel version is v4.4, and I have built drivers/staging/dgnc/dgnc.ko.
> I change to *dir*/drivers/staging/dgnc and do like this:
>
> sudo insmod ./dgnc.ko

What output, if any, did this generate?

> sudo lsmod | grep dgnc

Again, what messages?

> sudo rmmod ./dgnc

Again, what happened?

> sudo insmod ./dgnc.ko

And here?

> After I re-insmod the dgnc module, my laptop is breakdown.

What does "breakdown" mean?  Did it hang entirely? Did you get a message
in your dmesg output and/or on the console?  Other?

> My OS is debian 8.0. Is there a bug in dgnc.ko or something wrong with my
> OS or kernel. If there is a bug, How can I find it?

Start by providing enough info to see if there's a bug.


pgpX2dnvnRt0v.pgp
Description: PGP signature
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Is there a bug in dgnc.ko?

2016-02-23 Thread Navy Cheng
Hi,

My kernel version is v4.4, and I have built drivers/staging/dgnc/dgnc.ko.
I change to *dir*/drivers/staging/dgnc and do like this:

sudo insmod ./dgnc.ko
sudo lsmod | grep dgnc
sudo rmmod ./dgnc
sudo insmod ./dgnc.ko

After I re-insmod the dgnc module, my laptop is breakdown.

My OS is debian 8.0. Is there a bug in dgnc.ko or something wrong with my
OS or kernel. If there is a bug, How can I find it?

Thanks.


___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Partial (?) kernel crash dump ?

2016-02-23 Thread Rolland Santimano
I'm trying to save a crashdump on a DellFC630 with 128G of RAM,
running Ubuntu 14.10, kernel 3.16.0-23-generic; used to host a bunch
of KVM-style VMs.

Since saving the full dump is taking forever & a day, I'm looking to
save a partial dump -- maybe a few addr space regions only from the
kernel VAS.

Is this even possible ? Any other options ? Or am I missing something here ?

-- 
Rolland

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: Kernel Panic in FIPS mode

2016-02-23 Thread Tapas Sarangi
Thanks. I am taking the kernel from kernel.org not the one provided by
Red Hat or any other OS. AFAIU, certification or module signatures are
done during kernel compilation (by turning on MODULE_SIG*).

On Tue, Feb 23, 2016 at 2:02 PM, Leo Silva (a.k.a kirotawa)
 wrote:
> If it's a kernel provide by a company, such as RHEL or SUSE, I'd recommend
> to ask for them support/bugzilla.
>
> Regarding FIPS/fipsmode, it's a kind of certification that is done by these
> company with focus on specific hardware and Kernels, if just a bit is
> different on a crypto algorithm it'll probably fail, since test
> certification, fips, was not done using this 'new algorithm' as base.
>
> []'s
>
> On Tue, Feb 23, 2016 at 4:41 PM, Tapas Sarangi 
> wrote:
>>
>> I am recompiling 3.18.27 on a platform derived from el6. FIPS mode is
>> enabled by checking the following configs:
>>
>> CONFIG_CRYPTO_FIPS=y
>> CONFIG_CRYPTO_TEST=y
>>
>> Following RH docs, initramfs was regenerated using dracut-fips (el6).
>> I also generated hmac signed vmlinuz during the compilation.
>>
>> During boot, kernel panics with the following trace:
>> kernel line has the arguments, 'fips=1 boot=/dev/sda1'.
>>
>>
>> "end Kernel Panic - not syncing: Module crc32c_intel signature
>> verification failed in FIPS mode"
>>
>> Some additional  info:
>> It seems under fips mode, initrd runs, './sbin/fips.sh' which then
>> runs 'modprobe tcrypt'.
>>
>> I tried running modprobe tcrypt without the fips mode on the same
>> kernel, but it fails with this message.
>>
>> FATAL: Error inserting tcrypt
>> (/lib/modules/3.18.27-1.timbuktu/kernel/crypto/tcrypt.ko.gz): Unknown
>> symbol in module, or unknown parameter (see dmesg)
>>
>> Looking at dmesg:
>>
>> [   31.248054] sha256_ssse3: Using AVX optimized SHA-256 implementation
>>
>> [   31.308174] sha512_ssse3: Using AVX optimized SHA-512 implementation
>>
>> [   31.407674] alg: No test for crc32 (crc32-pclmul)
>>
>> [   31.408410] alg: No test for crc32 (crc32-table)
>>
>> [   31.409086] alg: hash: Failed to load transform for hmac(crc32): -2
>>
>> [   31.413155] alg: No test for fips(ansi_cprng) (fips_ansi_cprng)
>>
>> [   31.440281] tcrypt: one or more tests failed!
>>
>>
>> Now, one of these messages,
>>
>> [   31.409086] alg: hash: Failed to load transform for hmac(crc32): -2
>>
>> comes, most likely from :
>>
>>
>> linux-3.18.27/crypto/tcrypt.c (L1498)
>>
>> case 110:
>>
>> ret += tcrypt_test("hmac(crc32)");
>>
>> break;
>>
>>
>> and also from
>>
>> linux-3.18.27/crypto/testmgr.c
>>
>>  .alg = "hmac(crc32)",
>>
>> .test = alg_test_hash,
>>
>> .suite = {
>>
>> .hash = {
>>
>> .vecs = bfin_crc_tv_template,
>>
>> .count = BFIN_CRC_TEST_VECTORS
>>
>>}
>>
>> }
>>
>>
>> Any suggestion on how to solve this problem would be appreciated.
>> Please let me know if I can provide more info. I am ready to help on
>> that.
>>
>> ___
>> Kernelnewbies mailing list
>> Kernelnewbies@kernelnewbies.org
>> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
>
>
>
> --
>
> --
> Leônidas S. Barbosa (Kirotawa)
> blog: corecode.wordpress.com

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: Kernel Panic in FIPS mode

2016-02-23 Thread Tapas Sarangi
Thanks. I understand your point, but I am one of those people who
simply can't do an upgrade to the LTS kernel. Again, I think this
doesn't necessarily answer my question about FIPS and kernel panic.

An additional note, older kernels (2.6.x) and its RH derivatives,
works fine when started under FIPS mode.

I am sure I am missing some basics when turning the OS to run under
FIPS mode, which is why this email to the experts :-)

On Tue, Feb 23, 2016 at 3:14 PM, Greg KH  wrote:
> On Tue, Feb 23, 2016 at 02:41:37PM -0600, Tapas Sarangi wrote:
>> Thanks for the reply.
>>  I am using and compiling kernel from kernel.org. I believe 3.18.27
>> with patches is as new as in January of this year.
>
> The 3.18 kernel was released in December of 2014, the .y patches on the
> end of that release are for people who for some reason or another are
> stuck with that kernel release, and are part of the longterm releases.
>
> The overall kernel is over a year old, please upgrade.
>
> greg k-h

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: Kernel Panic in FIPS mode

2016-02-23 Thread Greg KH
On Tue, Feb 23, 2016 at 02:41:37PM -0600, Tapas Sarangi wrote:
> Thanks for the reply.
>  I am using and compiling kernel from kernel.org. I believe 3.18.27
> with patches is as new as in January of this year. 

The 3.18 kernel was released in December of 2014, the .y patches on the
end of that release are for people who for some reason or another are
stuck with that kernel release, and are part of the longterm releases.

The overall kernel is over a year old, please upgrade.

greg k-h

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: Kernel Panic in FIPS mode

2016-02-23 Thread Tapas Sarangi
Thanks for the reply.
 I am using and compiling kernel from kernel.org. I believe 3.18.27 with 
patches is as new as in January of this year. 

 

Sent from my iPhone

> On Feb 23, 2016, at 2:02 PM, Greg KH  wrote:
> 
>> On Tue, Feb 23, 2016 at 01:41:50PM -0600, Tapas Sarangi wrote:
>> I am recompiling 3.18.27 on a platform derived from el6. FIPS mode is
>> enabled by checking the following configs:
>> 
>> CONFIG_CRYPTO_FIPS=y
>> CONFIG_CRYPTO_TEST=y
> 
> 
> 
> If you are using a RHEL system, you need to contact Red Hat for support
> as that is what you are paying for.  Their kernel is a very "odd" one.
> 
> Also note that 3.18 is very old and obsolete as well, please use a
> "modern" kernel release, the community can't support old kernels like
> that.
> 
> best of luck,
> 
> greg k-h

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: Kernel Panic in FIPS mode

2016-02-23 Thread Leo Silva (a.k.a kirotawa)
If it's a kernel provide by a company, such as RHEL or SUSE, I'd recommend
to ask for them support/bugzilla.

Regarding FIPS/fipsmode, it's a kind of certification that is done by these
company with focus on specific hardware and Kernels, if just a bit is
different on a crypto algorithm it'll probably fail, since test
certification, fips, was not done using this 'new algorithm' as base.

[]'s

On Tue, Feb 23, 2016 at 4:41 PM, Tapas Sarangi 
wrote:

> I am recompiling 3.18.27 on a platform derived from el6. FIPS mode is
> enabled by checking the following configs:
>
> CONFIG_CRYPTO_FIPS=y
> CONFIG_CRYPTO_TEST=y
>
> Following RH docs, initramfs was regenerated using dracut-fips (el6).
> I also generated hmac signed vmlinuz during the compilation.
>
> During boot, kernel panics with the following trace:
> kernel line has the arguments, 'fips=1 boot=/dev/sda1'.
>
>
> "end Kernel Panic - not syncing: Module crc32c_intel signature
> verification failed in FIPS mode"
>
> Some additional  info:
> It seems under fips mode, initrd runs, './sbin/fips.sh' which then
> runs 'modprobe tcrypt'.
>
> I tried running modprobe tcrypt without the fips mode on the same
> kernel, but it fails with this message.
>
> FATAL: Error inserting tcrypt
> (/lib/modules/3.18.27-1.timbuktu/kernel/crypto/tcrypt.ko.gz): Unknown
> symbol in module, or unknown parameter (see dmesg)
>
> Looking at dmesg:
>
> [   31.248054] sha256_ssse3: Using AVX optimized SHA-256 implementation
>
> [   31.308174] sha512_ssse3: Using AVX optimized SHA-512 implementation
>
> [   31.407674] alg: No test for crc32 (crc32-pclmul)
>
> [   31.408410] alg: No test for crc32 (crc32-table)
>
> [   31.409086] alg: hash: Failed to load transform for hmac(crc32): -2
>
> [   31.413155] alg: No test for fips(ansi_cprng) (fips_ansi_cprng)
>
> [   31.440281] tcrypt: one or more tests failed!
>
>
> Now, one of these messages,
>
> [   31.409086] alg: hash: Failed to load transform for hmac(crc32): -2
>
> comes, most likely from :
>
>
> linux-3.18.27/crypto/tcrypt.c (L1498)
>
> case 110:
>
> ret += tcrypt_test("hmac(crc32)");
>
> break;
>
>
> and also from
>
> linux-3.18.27/crypto/testmgr.c
>
>  .alg = "hmac(crc32)",
>
> .test = alg_test_hash,
>
> .suite = {
>
> .hash = {
>
> .vecs = bfin_crc_tv_template,
>
> .count = BFIN_CRC_TEST_VECTORS
>
>}
>
> }
>
>
> Any suggestion on how to solve this problem would be appreciated.
> Please let me know if I can provide more info. I am ready to help on
> that.
>
> ___
> Kernelnewbies mailing list
> Kernelnewbies@kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>



-- 

--
Leônidas S. Barbosa (Kirotawa)
blog: corecode.wordpress.com
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: Kernel Panic in FIPS mode

2016-02-23 Thread Greg KH
On Tue, Feb 23, 2016 at 01:41:50PM -0600, Tapas Sarangi wrote:
> I am recompiling 3.18.27 on a platform derived from el6. FIPS mode is
> enabled by checking the following configs:
> 
> CONFIG_CRYPTO_FIPS=y
> CONFIG_CRYPTO_TEST=y



If you are using a RHEL system, you need to contact Red Hat for support
as that is what you are paying for.  Their kernel is a very "odd" one.

Also note that 3.18 is very old and obsolete as well, please use a
"modern" kernel release, the community can't support old kernels like
that.

best of luck,

greg k-h

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Kernel Panic in FIPS mode

2016-02-23 Thread Tapas Sarangi
I am recompiling 3.18.27 on a platform derived from el6. FIPS mode is
enabled by checking the following configs:

CONFIG_CRYPTO_FIPS=y
CONFIG_CRYPTO_TEST=y

Following RH docs, initramfs was regenerated using dracut-fips (el6).
I also generated hmac signed vmlinuz during the compilation.

During boot, kernel panics with the following trace:
kernel line has the arguments, 'fips=1 boot=/dev/sda1'.


"end Kernel Panic - not syncing: Module crc32c_intel signature
verification failed in FIPS mode"

Some additional  info:
It seems under fips mode, initrd runs, './sbin/fips.sh' which then
runs 'modprobe tcrypt'.

I tried running modprobe tcrypt without the fips mode on the same
kernel, but it fails with this message.

FATAL: Error inserting tcrypt
(/lib/modules/3.18.27-1.timbuktu/kernel/crypto/tcrypt.ko.gz): Unknown
symbol in module, or unknown parameter (see dmesg)

Looking at dmesg:

[   31.248054] sha256_ssse3: Using AVX optimized SHA-256 implementation

[   31.308174] sha512_ssse3: Using AVX optimized SHA-512 implementation

[   31.407674] alg: No test for crc32 (crc32-pclmul)

[   31.408410] alg: No test for crc32 (crc32-table)

[   31.409086] alg: hash: Failed to load transform for hmac(crc32): -2

[   31.413155] alg: No test for fips(ansi_cprng) (fips_ansi_cprng)

[   31.440281] tcrypt: one or more tests failed!


Now, one of these messages,

[   31.409086] alg: hash: Failed to load transform for hmac(crc32): -2

comes, most likely from :


linux-3.18.27/crypto/tcrypt.c (L1498)

case 110:

ret += tcrypt_test("hmac(crc32)");

break;


and also from

linux-3.18.27/crypto/testmgr.c

 .alg = "hmac(crc32)",

.test = alg_test_hash,

.suite = {

.hash = {

.vecs = bfin_crc_tv_template,

.count = BFIN_CRC_TEST_VECTORS

   }

}


Any suggestion on how to solve this problem would be appreciated.
Please let me know if I can provide more info. I am ready to help on
that.

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: Test e-mail, please ignore...

2016-02-23 Thread Roger H Newell
On Tue, Feb 23, 2016 at 1:08 PM, Valdis Kletnieks
 wrote:
> For some reason, I'm not seeing posts I send to the list.
> (Has somebody changed the list config, or is there something more
> subtle going on?)
>
> ___
> Kernelnewbies mailing list
> Kernelnewbies@kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

I think it could be normal. Have you checked the archive to make sure
your emails are really going out to the list ? I had a similar issue
where I wasn't receiving emails from the list that I sent to it but
they are in fact there when I check the archive. Some email software
won't show the message twice because it already exists in your sent
folder as is the case with gmail.

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Test e-mail, please ignore...

2016-02-23 Thread Valdis Kletnieks
For some reason, I'm not seeing posts I send to the list.
(Has somebody changed the list config, or is there something more
subtle going on?)

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Fwd: Re: Project Idea..

2016-02-23 Thread SUNITA
-- Forwarded message --
From: "SUNITA" 
Date: 23 Feb 2016 17:23
Subject: Re: Project Idea..
To: "Mulyadi Santosa" 
Cc:

Dear Mulyadi,

Thank you for your reply.  I m proceeding with the modification in
CFS.  Hope this will be useful research.

Regards,
Sunita

On 2/22/16, Mulyadi Santosa  wrote:
> On Mon, Feb 22, 2016 at 12:24 PM, SUNITA  wrote:
>
>> Respected Sir/Madam,
>> I am trying to study the effect of Scheduler Policies on Energy
>> Consumption of Portable Device.
>>
>> This will be achieved by modifying the current Completely Fair
>> Scheduler by changing the range of nice values from 40 to 100 and
>> adding a new scheduing policy.
>> CFS uses SCHED_RR, SCHED_FCFS, SCHED_OTHER, SCHED_BATCH Policy for
>> scheduling any process.  The idea is to insert a new scheduling policy
>> by modifying the header files.
>>
>> Can this be a good topic to carry out research.I welcome any other
>> idea related Linux Kernel CFS.
>>
>> Regards,
>> SUNIITA
>>
>> ___
>> Kernelnewbies mailing list
>> Kernelnewbies@kernelnewbies.org
>> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>>
>
> Hi Suniita
>
> Sounds challenging.
>
> It might be good topic. Just make sure you understand how to measure power
> consumption and prepare various scenario of load simulation to mimic real
> power consumption pattern.
>
>
> --
> regards,
>
> Mulyadi Santosa
> Freelance Linux trainer and consultant
>
> blog: the-hydra.blogspot.com
> training: mulyaditraining.blogspot.com
>
> This email has been sent from a virus-free computer protected by Avast.
> www.avast.com 
> <#DDB4FAA8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: Project Idea..

2016-02-23 Thread SUNITA
On 22 Feb 2016 21:48, "Greg KH"  wrote:

> On Mon, Feb 22, 2016 at 10:54:54AM +0530, SUNITA wrote:
> > Respected Sir/Madam,
> > I am trying to study the effect of Scheduler Policies on Energy
> > Consumption of Portable Device.
>
> There are lots of people currently working on this, and have been for
> many years.  I know of at least 3 complete implementations at the
> moment (two of which ship in some Android phones), so I would suggest
> working with one of those groups to try to get their code merged into
> the Linux kernel.  To create a 4th implementation would seem like a bit
> of a redundant effort.
>
> Search the archives of lwn.net for details about this if you are
> interested.
>
> good luck!
>
> greg k-h
>
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Porting to an S3C2416 failed with no console message

2016-02-23 Thread Woody Wu
Hi,

I am trying to port 3.18 kernel to a S3C2416.  Years ago, a guy helped me
ported a 3.1.0 kernel to the same board, and the guy left and the kernel
got too old. The guy also ported an u-boot as boot loader to load the 3.1.0
kernel.  I had the source code of the ported u-boot and the 3.1.0 linux.

Now, my problem is that my porting of 3.18 seems not working, I did not see
any kernel message printed to the first SoC serial port as I expected. As
long as I can get kernel message printed to the serial, I think I can step
by step finish the whole porting work eventually. But now, there is no
message and I have no other hardware debugging tools and knowledges, I felt
I lost my way totally.

I hope someone can give me some suggestions, clues to help me
understand where to check and what's the possible causes.

Since I found the old porting of the 3.1.0 is quit similar to SMDK2416,
then I started my work from also the SMDK2416 board code in 3.18.
Basically, I defined the machine-code to match that passed from u-boot, and
copied the MACHINE-START definition section with removing of some
not-immediately-needed stuff such as USB, NAND and HMSUI etc. I also
enabled the S3C2410 serial driver and enabled the serial console supporting
for the Samsung SoC. Of course, I had the kernel parameter of
"console=ttySAC0", ttySAC0 is the Linux device name of the first UART port
in the SoC. These are basically what I had done and I guess the SoC serial
part between my board and SMDK2416 should be very similar and the kernel
should at least be able to print it's first message then I should have
chance to fix other differences. But there is no kernel message at all as I
mentioned above.

What should I check for the problem usually? Is there a checking list to go
through? I hope you experts can give me some clues.  Thanks in advance!

Best Regards,
woody


-- 
Life is the only flaw in an otherwise perfect nonexistence
-- Schopenhauer

woody
public key at http://subkeys.pgp.net:11371 (narkewo...@gmail.com)
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies