Re: Kernel building 2.6.18-5-686 - 2.6.25.2 on VMWare

2008-05-15 Thread Hugo Vanwoerkom

Mike Ely wrote:

Hi there,

I'm trying to update from the Debian-supplied stock kernel to 2.6.25.2 on
Etch (for GFS2 purposes), and, on my VMWare instance, the new kernel seems
always to hang at Waiting for root filesystem.


So as I understand it, you run Etch on VMware and compile (with 
make-kpkg?) 2.6.25.2 (2.6.25.3 is stable). What .config do you use?


Then on VMware you boot 2.6.25.2 and run into trouble?




I've tried passing different options to make-kpkg, but the result is always
the same.  Kernel, modules, initrd all build successfully, but no joy.  Boot
times out waiting for the root filesystem, and eventually dumps me into an
emergency shell.  Here's the relevant dmesg output from a successful boot
into 2.6.18-5-686:

SCSI subsystem initialized
Fusion MPT base driver 3.04.01
Copyright (c) 1999-2005 LSI Logic Corporation
Fusion MPT SPI Host driver 3.04.01
mptbase: Initiating ioc0 bringup
ioc0: 53C1030: Capabilities={Initiator}
scsi0 : ioc0: LSI53C1030, FwRev=h, Ports=1, MaxQ=128, IRQ=169
  Vendor: VMware,   Model: VMware Virtual S  Rev: 1.0
  Type:   Direct-Access  ANSI SCSI revision: 02
 target0:0:0: Beginning Domain Validation
 target0:0:0: Domain Validation skipping write tests
 target0:0:0: Ending Domain Validation
 target0:0:0: FAST-160 WIDE SCSI 320.0 MB/s DT IU RDSTRM RTI WRFLOW PCOMP
(6.25 ns, offset 127)

Obviously, I can't paste the failed dmesg here, but basically what it does
is start the Fusion driver, and load ioc0 but not scsi0.

Anyone seen similar?  What am I missing on my kernel build?




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Kernel building 2.6.18-5-686 - 2.6.25.2 on VMWare

2008-05-15 Thread Mike Ely
On 5/15/08 6:59 AM, Hugo Vanwoerkom [EMAIL PROTECTED] wrote:

 Mike Ely wrote:
 Hi there,
 
 I'm trying to update from the Debian-supplied stock kernel to 2.6.25.2 on
 Etch (for GFS2 purposes), and, on my VMWare instance, the new kernel seems
 always to hang at Waiting for root filesystem.
 
 So as I understand it, you run Etch on VMware and compile (with
 make-kpkg?) 2.6.25.2 (2.6.25.3 is stable).
Exactly.  I guess I haven't got around to downloading .3 however.

 What .config do you use?
I start with either the one in /boot/ or simply by doing a make oldconfig
and then editing it by hand to put the GFS2 stuff in that I need.

 
 Then on VMware you boot 2.6.25.2 and run into trouble?
Yep, precisely.


 
 
 
 I've tried passing different options to make-kpkg, but the result is always
 the same.  Kernel, modules, initrd all build successfully, but no joy.  Boot
 times out waiting for the root filesystem, and eventually dumps me into an
 emergency shell.  Here's the relevant dmesg output from a successful boot
 into 2.6.18-5-686:
 
 SCSI subsystem initialized
 Fusion MPT base driver 3.04.01
 Copyright (c) 1999-2005 LSI Logic Corporation
 Fusion MPT SPI Host driver 3.04.01
 mptbase: Initiating ioc0 bringup
 ioc0: 53C1030: Capabilities={Initiator}
 scsi0 : ioc0: LSI53C1030, FwRev=h, Ports=1, MaxQ=128, IRQ=169
   Vendor: VMware,   Model: VMware Virtual S  Rev: 1.0
   Type:   Direct-Access  ANSI SCSI revision: 02
  target0:0:0: Beginning Domain Validation
  target0:0:0: Domain Validation skipping write tests
  target0:0:0: Ending Domain Validation
  target0:0:0: FAST-160 WIDE SCSI 320.0 MB/s DT IU RDSTRM RTI WRFLOW PCOMP
 (6.25 ns, offset 127)
 
 Obviously, I can't paste the failed dmesg here, but basically what it does
 is start the Fusion driver, and load ioc0 but not scsi0.
 
 Anyone seen similar?  What am I missing on my kernel build?
 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Kernel building not idempotent?

2007-06-11 Thread Caeles

(Sorry if this breaks threading. I had forgotten to mention that I am not
subscribed to the list.)

Wackojacko wrote:
 Caeles wrote:
   [...] the custom kernel does not use an
  initramfs [...]

 Thought so, his is the problem. Debian kernels build the majority of
 the drivers as modules and include them in an initrd. You need to pass
 the --initrd option to make-kpkg when building the kernel.

Thanks a lot! That did the trick.


Douglas Allan Tutty wrote:
 Not that it helps, but why do you need a custom kernel?  What hardware
 do you have that doesn't work?

Maybe I don't need a custom kernel. I just like to make a specialized
one. So far, sound does not work. But I have not looked into the problem.
So I cannot actually claim it was the kernel's fault. Will do that later.


Regards,

  Mark Weyer


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Kernel building not idempotent?

2007-06-08 Thread Douglas Allan Tutty
On Thu, Jun 07, 2007 at 09:56:59AM +0200, Caeles wrote:
 
 I have trouble with building a custom kernel and hope somebody can help.

Not that it helps, but why do you need a custom kernel?  What hardware
do you have that doesn't work?

Note that with Etch, SATA drives now show up as /dev/sd* rather than
/dev/hd*, also that use of udev is now mandatory.

Doug.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Kernel building not idempotent?

2007-06-07 Thread Wackojacko

Caeles wrote:

I have trouble with building a custom kernel and hope somebody can help.

Short story:
The last thing I tried was to unpack the kernel sources, unpack
/proc/config.gz to .config, run make-kpkg, install the resulting binary
package, and try the lines new for grub.
I would have expected, that this should have given me the exact same
kernel that I had before. Instead it gave me a kernel that panics on boot.



The current running kernel also has its config in /boot/config-`uname -r`

I assume I have to apply the kernel-patches at some point. But I could
not figure out, how that is done. Where is the documentation for the
kernel-patches package? Running
  /usr/src/kernel-patches/apply/debian -h
gives some cryptic instructions. But how do I tell this script where the
kernel sources needing to be patched are? And is this the right script
after all?


Are you using vanilla sources or the debian ones?  AFAIK the debian 
sources you download with apt-get are already patched.



I did try running this script from within the sources directory. It then
told me it had nothing to do. If that was the right way to invoke the
script, then I am again mystified as to why the new kernel differed from
the old one.

Longer story:
The kernel panic has to do with the kernel not finding the root partition.
I originally had that problem when trying to install sarge. Then, even the
installer did not find my SATA II disc. What I then did was to install
woody, upgrade to sarge without replacing the kernel, and wait for etch.
Now the installer of etch as well as the installed kernel find the disc,
but the compiled kernel does not. Knoppix as well as etch address the disc
as /dev/sda (ie SCSI), woody adressed it as /dev/hde (ie IDE). In the mean
time I tried compiling a kernel in the old way without make-dpkg. Similar
results.

One maybe noteworthy fact is, that the custom kernel does not use an
initramfs, while the installed kernel does (at least according to grub's
menu.lst).


Thought so, his is the problem.  Debian kernels build the majority of 
the drivers as modules and include them in an initrd.  You need to pass 
the --initrd option to make-kpkg when building the kernel. 
Alternatively, build the modules for your SATA controller and root 
filesystem into the kernel an no need for initrd.


The CPU is an AMD sempron. The previous woody and sarge installs were i386,
the etch install is amd64.

Thankful for any help,

  Mark Weyer

P.S.: Sorry for incorrect details, most likely file and package names.
I do not write this mail from the box in question, so cannot check.




HTH

Wackojacko


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Kernel building made easier

2003-07-15 Thread sudeep mukherjee
Hi

I have a Celeron 600MHz with 40 GB Hard Disk.

I already have WINXp(Sorry for this) and RH9.0. Want to install Debian Woody. 
Anypointers would be welcome.

Thanks in advance 


-- 
.~. Sudeep Mukherjee
/V\ Registered Linux user # 255384
   // \\
  /(   )\
   ^`~'^



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Kernel building made easier

2003-07-15 Thread Jesse Meyer
On Tue, 15 Jul 2003, sudeep mukherjee wrote:
 I have a Celeron 600MHz with 40 GB Hard Disk.

Should be plenty fast for the majority of tasks (browsing, news, mp3s, 
several video formats, etc)

 I already have WINXp(Sorry for this)

Don't be sorry for that, Windows XP has its place in the world.

 and RH9.0. Want to install Debian Woody. Anypointers would be welcome.

The exciting way would be to grab the netinstall floppys/cd images from
http://www.debian.org/distrib/netinst[1], and then try to install 
debian.

The boring route would be to read the installation manual at 
http://www.debian.org/doc/user-manuals#install, the GNU/Debian faq at 
http://www.debian.org/doc/user-manuals#faq, the Debian Reference/Quick 
Reference at http://www.debian.org/doc/user-manuals#quick-reference, and 
the apt howto at http://www.debian.org/doc/user-manuals#apt-howto.

One other note:  Many people skip dselect during the installation and 
just use apt-get.  I'm not saying that its the right way of doing
things, just a popular way.  :)

~ Jesse Meyer

[1] If the machine is offline, try the complete cd images instead:
http://www.debian.org/distrib/cd

-- 
 icq: 34583382 / msn: [EMAIL PROTECTED] / yim: tsunad

   We are what we pretend to be, so we must be careful about what we 
pretend to be. - Kurt Vonnegut Jr : Mother Night


pgp0.pgp
Description: PGP signature


Re: kernel building for newbies

2002-11-30 Thread Chris Lale


Caitrin Torres wrote:

Can anyone recommend a tutorial or howto on debian kernel building 
that'd be suitable for someone who's never built a kernel before? 

There is an article at http://newbiedoc.sourceforge.net/ that may help.

Cheers,

Chris.

--
:  ___   Chris Lale   [EMAIL PROTECTED]  :
: /   \   :
: | _/  My PC runs Debian GNU/Linux 3.0. :
: \  Robust, secure and free operating system + applications. :
:  \ Available at http://www.debian.org   :


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: kernel building for newbies

2002-11-30 Thread Johan Ehnberg
Chris Lale wrote:


 Caitrin Torres wrote:

 Can anyone recommend a tutorial or howto on debian kernel building
 that'd be suitable for someone who's never built a kernel before?


 There is an article at http://newbiedoc.sourceforge.net/ that may help.


Also, I like this one, it's very brief:

http://www.debian.org/releases/stable/i386/ch-post-install.en.html#s-kernel-baking

But you'll have to know what to put in your kernel.

Hope this helps!

/johan

--
Johan Ehnberg
[EMAIL PROTECTED]
Windows? No... I don't think so.



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: kernel building for newbies

2002-11-29 Thread Oliver Elphick
On Sat, 2002-11-30 at 00:44, Caitrin Torres wrote:
 Can anyone recommend a tutorial or howto on debian kernel building 
 that'd be suitable for someone who's never built a kernel before? I 
 have an external CD burner that is supposed to use the bpck6 module. 
 A search confirmed that it's a part of the kernel-image and 
 kernel-headers packages, but I'm not entirely sure what to *do* with 
 those packages or what else I need.
 
 Also, is there anything to be gained by switching from 2.4.18 to 
 2.4.19 while I'm at it? This is my home computer, not a production 
 machine, but I still don't want to upgrade if there isn't a good 
 reason.

Install the kernel-package package and study its documentation.
It is designed to build kernel packages for Debian.

Install a kernel-source package to build from.


As for a kernel-image package: install it, check /etc/lilo.conf, run
lilo and reboot.

-- 
Oliver Elphick [EMAIL PROTECTED]
LFIX Limited



signature.asc
Description: This is a digitally signed message part


Re: kernel building for newbies

2002-11-29 Thread Shyamal Prasad

Caitrin == Caitrin Torres [EMAIL PROTECTED] writes:

Caitrin Can anyone recommend a tutorial or howto on debian kernel
Caitrin building that'd be suitable for someone who's never built
Caitrin a kernel before? I have an external CD burner that is
Caitrin supposed to use the bpck6 module.  A search confirmed
Caitrin that it's a part of the kernel-image and kernel-headers
Caitrin packages, but I'm not entirely sure what to *do* with
Caitrin those packages or what else I need.

The generic instructions are at
/usr/share/doc/kernel-source-2.4.18/debian.README.gz (or equivalent
document in your kernel package) and are pretty reasonable.

The standard kernel packages include th bpck6 module.

shyamal@rattler:~$ uname -r
2.4.18-k7
shyamal@rattler:~$ find /lib/modules/2.4.18-k7/kernel/ -name 'bpck*' -print
/lib/modules/2.4.18-k7/kernel/drivers/block/paride/bpck.o
/lib/modules/2.4.18-k7/kernel/drivers/block/paride/bpck6.o

You should be able to 'modprobe bpck6' to test it all.

Caitrin Also, is there anything to be gained by switching from
Caitrin 2.4.18 to 2.4.19 while I'm at it? This is my home
Caitrin computer, not a production machine, but I still don't
Caitrin want to upgrade if there isn't a good reason.

AFAIK, there is not good reason to upgrade if your current hardware
works fine.

Don't trust me on any of this, I have no clue what a bpck6 module is :-)

Cheers!
Shyamal


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: kernel building for newbies

2002-11-29 Thread Caitrin Torres
On Friday 29 November 2002 08:14 pm, Shyamal Prasad wrote:
 Don't trust me on any of this, I have no clue what a bpck6 module
 is :-)

It's the module required by some Microsolutions Backpack cdroms and cd 
burners.

Thank you for the help.

-- 
Caitrin
[EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: kernel building ways

2001-12-27 Thread Romain Lerallut
Thus spake wsa on Thu, Dec 27, 2001 at 12:56:06PM +0100:
 Hi,
 
 I'm just trying to build my second kernel...
 Last time i did it, the kernel-how-to way, resulted in a few module dep 
 errors...
 So i've searched the web and also came across this one:
 http://newbiedoc.sourceforge.net/system/kernel-pkg.en.html
 
 Now what would be the best way to go about building a new kernel and are
 the instructions on that site correct?

They worked for me.
If they're not correct, feel free to report the bugs to the author.
The documentation is also available as a debian package.
(apt-get install newbiedoc)

However, note that make-kpkg does not help you *configure* your
kernel, it just ensures that the build process and installation
are sane.
It *does* make it easier to play with external modules (such as
nvidia, or i2c and lm-sensors) provided you download the debian
package instead of the upstream release.

 And is kpkg only suitable for debian sources...or could i use this method 
 with
 the latest stable 2.4.x.x kernel sources if i ever feel the need to go 
 wild:)

make-kpkg needs some debian-specific stuff, but 
debian's kernel-source packages are usually uploaded a few days (2/3)
after the official kernel release. Which, after the 2.4.15 fiasco, seems a
reasonnable thing to do :)

HTH,
Romain
-- 
Q:  What's the difference between Bell Labs and the Boy Scouts of America?
A:  The Boy Scouts have adult supervision.



Re: kernel building ways

2001-12-27 Thread wsa

Hi,

Okidoki...thanks for the help.
One more thing...i think i'm gonna jumpt to the 2.4 kernel...using
the debian kernel packages.
Which one would be the most stable?
10 .12 .13 .14 or .16?

Cheerios

At 13:20 27-12-2001 +0100, you wrote:

make-kpkg needs some debian-specific stuff, but
debian's kernel-source packages are usually uploaded a few days (2/3)
after the official kernel release. Which, after the 2.4.15 fiasco, seems a
reasonnable thing to do :)

HTH,
Romain





Re: kernel building ways

2001-12-27 Thread Michael P
On Thu, 27 Dec 2001, wsa wrote:

 Which one would be the most stable?
 10 .12 .13 .14 or .16?

I would go for 2.4.17.  2.4 has stopped regressing, and looks to be
getting better with every release, so I'd stick with the newest if I were
you.



Re: kernel building ways

2001-12-27 Thread Sam Varghese
On Thu, Dec 27, 2001 at 01:20:55PM +0100, Romain Lerallut wrote:
 Thus spake wsa on Thu, Dec 27, 2001 at 12:56:06PM +0100:
  Hi,
  
  I'm just trying to build my second kernel...
  Last time i did it, the kernel-how-to way, resulted in a few module dep 
  errors...
  So i've searched the web and also came across this one:
  http://newbiedoc.sourceforge.net/system/kernel-pkg.en.html
  
  Now what would be the best way to go about building a new kernel and are
  the instructions on that site correct?

You can try this link instead:
http://www.debian.org/releases/stable/i386/ch-post-install.en.html#s-kernel-baking

Sam
-- 
(Sam Varghese)
http://www.gnubies.com
The dogs bark but the caravan passes. - ancient Arab proverb



Re: kernel building ways

2001-12-27 Thread Jesse Goerz
On Thursday 27 December 2001 14:58, Sam Varghese wrote:
 On Thu, Dec 27, 2001 at 01:20:55PM +0100, Romain Lerallut 
wrote:
  Thus spake wsa on Thu, Dec 27, 2001 at 12:56:06PM +0100:
   Hi,
  
   I'm just trying to build my second kernel...
   Last time i did it, the kernel-how-to way, resulted in a
   few module dep errors...
   So i've searched the web and also came across this one:
   http://newbiedoc.sourceforge.net/system/kernel-pkg.en.html
  
   Now what would be the best way to go about building a new
   kernel and are the instructions on that site correct?

Yes it's correct to the best of my knowledge.  However, make 
sure you read the last paragraph in the introduction.

Jesse


 You can try this link instead:
 http://www.debian.org/releases/stable/i386/ch-post-install.en.
html#s-kernel-baking

 Sam



Re: kernel building errors

2000-04-24 Thread Stephan Hachinger
Hello!

Looks like you have just not installed the Libncurses4-dev package. After
you've done that, It'll probably work.

Kind Regards,

Stephan Hachinger

- Original Message -
From: Jon Hughes [EMAIL PROTECTED]
To: DebianUsers debian-user@lists.debian.org
Sent: Monday, April 24, 2000 8:00 PM
Subject: kernel building errors


 I am attempting to build kernal 2.2.12 onto a machine
 that currentlyhas 2.0.36.  I downloaded the proper
 kernel from kernel.org and then
 began the proper steps.  When I get to running make
 menuconfig (I don't
 have KDE on this machine since my 'net connection for
 downloading it is
 worse than a 2400 baud modem), I recieve this error:

 rm -f include/asm
 ( cd include ; ln -sf asm-i386 asm)
 make -C scripts/lxdialog all
 make[1]: Entering directory
 `/usr/src/linux/scripts/lxdialog'
 gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer
 -DLOCALE
 -DCURSES_LOC=curses.h   -c lxdialog.c -o
 lxdialog.o
 In file included from lxdialog.c:22:
 dialog.h:29: curses.h: No such file or directory
 make[1]: *** [lxdialog.o] Error 1
 make[1]: Leaving directory
 `/usr/src/linux/scripts/lxdialog'
 make: *** [menuconfig] Error 2

 It sorta drops out after that.  I can run make config
 but that's a pain
 in the rear and I'd like to know why this isn't
 working.


 =
 God, Root. What is the difference?
 Pitr, User Friendly

 __
 Do You Yahoo!?
 Send online invitations with Yahoo! Invites.
 http://invites.yahoo.com


 --
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] 
/dev/null



Re: kernel building

1997-11-10 Thread Scott Ellis
On Mon, 10 Nov 1997, Michael Roark wrote:

 I am trying to build a new kernel, but the build keeps erring out. It 
 fails with the following:
 
 objdump:  illegal option -- k
 
 Any ideas?

rm `which encaps`

-- 
Scott K. Ellis [EMAIL PROTECTED] http://www.gate.net/~storm/


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .