Re: pivot_root: No such file or directory

2004-11-09 Thread Harald Dunkel
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Count László de Almásy wrote:
| Harald Dunkel [EMAIL PROTECTED] writes:
|
|Workaround is to add your sata driver to /etc/mkinitrd/modules
|and rebuild the initrd.
|
|
| I've now run into this problem when I tried to build by own 2.6.9
| kernel via kernel-package.
|
| How can I figure out which sata drivers I need to add to 
/etc/mkinitrd/modules?
|
You should check the output of lspci and lspci -n for
your sata controller. lspci | grep -i sata returns for
my PC:
:01:07.0 RAID bus controller: Silicon Image, Inc. (formerly CMD Technology 
Inc) SiI 3512 [SATALink/SATARaid] Serial ATA Controller (rev 01)

lspci -n | grep :01:07.0 says
:01:07.0 0104: 1095:3512 (rev 01)
~    
Next step is to search for 1095 and 3512 in
/lib/modules/2.6.9/modules.pcimap:
% grep 1095 /lib/modules/2.6.9/modules.pcimap | grep 3512
sata_sil 0x1095 0x3512 0x 0x 0x 
0x 0x0
      
In this example sata_sil is the module name to add
to /etc/mkinitrd/modules. Since modules.pcimap is
generated using information compiled into the kernel
modules, only the modules you have built are listed.
Regards
Harri
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Debian - http://enigmail.mozdev.org
iD8DBQFBkF2ZUTlbRTxpHjcRAiGVAJ9lvcmbuasMuTtCJJ3KT12rBrsN/gCfVFKK
WKsRFiO5BaM4oKVgBYS3CwI=
=q4oN
-END PGP SIGNATURE-



Re: pivot_root: No such file or directory

2004-11-09 Thread Count László de Almásy
Thank-you so much, I got it working now!  I would have never figured
this out myself.

On Tue, 09 Nov 2004 07:03:06 +0100, Harald Dunkel
[EMAIL PROTECTED] wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Count László de Almásy wrote:
 | Harald Dunkel [EMAIL PROTECTED] writes:
 |
 |Workaround is to add your sata driver to /etc/mkinitrd/modules
 |and rebuild the initrd.
 |
 |
 | I've now run into this problem when I tried to build by own 2.6.9
 | kernel via kernel-package.
 |
 | How can I figure out which sata drivers I need to add to 
 /etc/mkinitrd/modules?
 |
 
 You should check the output of lspci and lspci -n for
 your sata controller. lspci | grep -i sata returns for
 my PC:
 
 :01:07.0 RAID bus controller: Silicon Image, Inc. (formerly CMD 
 Technology Inc) SiI 3512 [SATALink/SATARaid] Serial ATA Controller (rev 01)
 
 lspci -n | grep :01:07.0 says
 
 :01:07.0 0104: 1095:3512 (rev 01)
 ~    
 Next step is to search for 1095 and 3512 in
 /lib/modules/2.6.9/modules.pcimap:
 
 % grep 1095 /lib/modules/2.6.9/modules.pcimap | grep 3512
 sata_sil 0x1095 0x3512 0x 0x 0x 
 0x 0x0
       
 In this example sata_sil is the module name to add
 to /etc/mkinitrd/modules. Since modules.pcimap is
 generated using information compiled into the kernel
 modules, only the modules you have built are listed.
 
 Regards
 
 Harri
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.2.5 (GNU/Linux)
 Comment: Using GnuPG with Debian - http://enigmail.mozdev.org
 
 iD8DBQFBkF2ZUTlbRTxpHjcRAiGVAJ9lvcmbuasMuTtCJJ3KT12rBrsN/gCfVFKK
 WKsRFiO5BaM4oKVgBYS3CwI=
 =q4oN
 -END PGP SIGNATURE-





Re: pivot_root: No such file or directory

2004-11-08 Thread Count László de Almásy
Harald Dunkel [EMAIL PROTECTED] writes:

 mkinitrd fails to find the sata driver necessary to mount
 your root disk. See

 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=263169

 Workaround is to add your sata driver to /etc/mkinitrd/modules
 and rebuild the initrd.

I've now run into this problem when I tried to build by own 2.6.9
kernel via kernel-package.

How can I figure out which sata drivers I need to add to /etc/mkinitrd/modules?

Thanks.




Re: pivot_root: No such file or directory

2004-09-21 Thread Harald Dunkel
In The Night wrote:
Found it...
/etc/mkinitrd needed:
libata
sata_via
sd_mod
ext3
The boot procedure on initrd used modprobe, so the module
dependencies should be handled automagically. Ext3 should
have been detected by mkinitrd.
You could mount your initrd using
mount -o loop /boot/initrd.img-2.6.7 /loop
and check /loop/loadmodules, /loop/linuxrc.conf
And if you add BUSYBOX=yes and DELAY=5 to mkinitrd.conf,
then you will be asked to enter a very restricted shell
at boot time.
Regards
Harri



Re: pivot_root: No such file or directory

2004-09-20 Thread In The Night
Now I've got the SCSI subsystem up and running...
But still pivot_root error and panic.

Disklayout as of today:
hda = PATA HDD
hdb = PATA HDD
hdc = PATA HDD
hdd = PATA DVD
hde = SATA HDD
hdg = SATA HDD

Important /etc/fstab-entries:
proc/proc   procdefaults0   0
/dev/hdg1   /   ext3defaults,errors=remount-ro 0   1
/dev/hdg3   /boot   ext3defaults0   2
/dev/hdg9   /home   ext3defaults0   2
/dev/hdg8   /tmpext3defaults0   2
/dev/hdg6   /usrext3defaults0   2
/dev/hdg7   /varext3defaults0   2
/dev/hdg5   noneswapsw  0   0

I believe it's something to do with the root= entry in menu.lst.

My menu.lst entry for 2.6.7
title   Debian GNU/Linux, kernel 2.6.7 
root(hd0,2)
kernel  /vmlinuz-2.6.7 root=/dev/hdg1 ro 
initrd  /initrd.img-2.6.7
savedefault
boot

My menu.lst entry for 2.6.8
title   Debian GNU/Linux, kernel 2.6.8-3-amd64-k8 
root(hd0,2)
kernel  /vmlinuz-2.6.8-3-amd64-k8 root=/dev/sdb1 ro 
initrd  /initrd.img-2.6.8-3-amd64-k8
savedefault
boot

I've remade the initrd, with sata_via in /etc/mkinitrd/modules

My current situation makes me suspect that I'm pointing to the wrong device in 
menu.lst (root=)
I do have 8 USB ports which at a later stage uses /dev/sdXX a device-names, in 
2.6.7.

Help, I _really_ need it now.

-- 
.O. Scream, Scream like the silence of the bits.
..O Dead lies the flag by the feet of the cold one.
OOO Freedom WILL break the walls of mammon.


pgpbKtMAVpAAd.pgp
Description: PGP signature


Re: pivot_root: No such file or directory

2004-09-20 Thread Stephen Waters
1) Is pivot_root the ext3-not-compiled-in problem?
2) Can you boot manually from Grub, changing the root= commandline
option?

(I have a meeting and have to go home, so I won't be responding till
tomorrow if you write back...  just trynig to give you some ideas)

-s

On Mon, 2004-09-20 at 17:37, In The Night wrote:
 Now I've got the SCSI subsystem up and running...
 But still pivot_root error and panic.
 
 Disklayout as of today:
 hda = PATA HDD
 hdb = PATA HDD
 hdc = PATA HDD
 hdd = PATA DVD
 hde = SATA HDD
 hdg = SATA HDD
 
 Important /etc/fstab-entries:
 proc/proc   procdefaults0   0
 /dev/hdg1   /   ext3defaults,errors=remount-ro 0   1
 /dev/hdg3   /boot   ext3defaults0   2
 /dev/hdg9   /home   ext3defaults0   2
 /dev/hdg8   /tmpext3defaults0   2
 /dev/hdg6   /usrext3defaults0   2
 /dev/hdg7   /varext3defaults0   2
 /dev/hdg5   noneswapsw  0   0
 
 I believe it's something to do with the root= entry in menu.lst.
 
 My menu.lst entry for 2.6.7
 title   Debian GNU/Linux, kernel 2.6.7 
 root(hd0,2)
 kernel  /vmlinuz-2.6.7 root=/dev/hdg1 ro 
 initrd  /initrd.img-2.6.7
 savedefault
 boot
 
 My menu.lst entry for 2.6.8
 title   Debian GNU/Linux, kernel 2.6.8-3-amd64-k8 
 root(hd0,2)
 kernel  /vmlinuz-2.6.8-3-amd64-k8 root=/dev/sdb1 ro 
 initrd  /initrd.img-2.6.8-3-amd64-k8
 savedefault
 boot
 
 I've remade the initrd, with sata_via in /etc/mkinitrd/modules
 
 My current situation makes me suspect that I'm pointing to the wrong device 
 in menu.lst (root=)
 I do have 8 USB ports which at a later stage uses /dev/sdXX a device-names, 
 in 2.6.7.
 
 Help, I _really_ need it now.


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


Re: pivot_root: No such file or directory

2004-09-20 Thread In The Night
Found it...
/etc/mkinitrd needed:
libata
sata_via
sd_mod
ext3


In my case anyway


In The Night ([EMAIL PROTECTED]) wrote:
 And here is some info from syslog booting 2.6.7:
 
 Sep 20 23:43:02 localhost kernel: VIA8237SATA: IDE controller at PCI slot 
 :00:0f.0
 Sep 20 23:43:02 localhost kernel: VIA8237SATA: chipset revision 128
 Sep 20 23:43:02 localhost kernel: VIA8237SATA: 100%% native mode on irq 20
 Sep 20 23:43:02 localhost kernel: ide2: BM-DMA at 0xdc00-0xdc07, BIOS 
 settings: hde:pio, hdf:pio
 Sep 20 23:43:02 localhost kernel: ide3: BM-DMA at 0xdc08-0xdc0f, BIOS 
 settings: hdg:pio, hdh:pio
 Sep 20 23:43:02 localhost kernel: hde: ST3200822AS, ATA DISK drive
 Sep 20 23:43:02 localhost kernel: Using anticipatory io scheduler
 Sep 20 23:43:02 localhost kernel: ide2 at 0xec00-0xec07,0xe802 on irq 20
 Sep 20 23:43:02 localhost kernel: hdg: ST380013AS, ATA DISK drive
 Sep 20 23:43:02 localhost kernel: ide3 at 0xe400-0xe407,0xe002 on irq 20
 
 
 
 In The Night ([EMAIL PROTECTED]) wrote:
  Now I've got the SCSI subsystem up and running...
  But still pivot_root error and panic.
  
  Disklayout as of today:
  hda = PATA HDD
  hdb = PATA HDD
  hdc = PATA HDD
  hdd = PATA DVD
  hde = SATA HDD
  hdg = SATA HDD
  
  Important /etc/fstab-entries:
  proc/proc   procdefaults0   0
  /dev/hdg1   /   ext3defaults,errors=remount-ro 0   1
  /dev/hdg3   /boot   ext3defaults0   2
  /dev/hdg9   /home   ext3defaults0   2
  /dev/hdg8   /tmpext3defaults0   2
  /dev/hdg6   /usrext3defaults0   2
  /dev/hdg7   /varext3defaults0   2
  /dev/hdg5   noneswapsw  0   0
  
  I believe it's something to do with the root= entry in menu.lst.
  
  My menu.lst entry for 2.6.7
  title   Debian GNU/Linux, kernel 2.6.7 
  root(hd0,2)
  kernel  /vmlinuz-2.6.7 root=/dev/hdg1 ro 
  initrd  /initrd.img-2.6.7
  savedefault
  boot
  
  My menu.lst entry for 2.6.8
  title   Debian GNU/Linux, kernel 2.6.8-3-amd64-k8 
  root(hd0,2)
  kernel  /vmlinuz-2.6.8-3-amd64-k8 root=/dev/sdb1 ro 
  initrd  /initrd.img-2.6.8-3-amd64-k8
  savedefault
  boot
  
  I've remade the initrd, with sata_via in /etc/mkinitrd/modules
  
  My current situation makes me suspect that I'm pointing to the wrong device 
  in menu.lst (root=)
  I do have 8 USB ports which at a later stage uses /dev/sdXX a device-names, 
  in 2.6.7.
  
  Help, I _really_ need it now.
  
  -- 
  .O. Scream, Scream like the silence of the bits.
  ..O Dead lies the flag by the feet of the cold one.
  OOO Freedom WILL break the walls of mammon.
 
 
 
 -- 
 .O.   Scream, Scream like the silence of the bits.
 ..O   Dead lies the flag by the feet of the cold one.
 OOO   Freedom WILL break the walls of mammon.



-- 
.O. Scream, Scream like the silence of the bits.
..O Dead lies the flag by the feet of the cold one.
OOO Freedom WILL break the walls of mammon.


signature.asc
Description: Digital signature


Re: pivot_root: No such file or directory

2004-09-14 Thread Harald Dunkel
In The Night wrote:
Hmmm
I've tried that.
I've tried mkinitrd -r /dev/sdb1 too...
The problem seems to be me having root on a SATA-drive
mkinitrd fails to find the sata driver necessary to mount
your root disk. See
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=263169
Workaround is to add your sata driver to /etc/mkinitrd/modules
and rebuild the initrd.
What I _really_ do not understand is why this is not seen
as a serious problem.
Regards
Harri