RE: Dropping to a shell

2006-03-17 Thread Bhaskar Manda

 -Original Message-
 the instructions for this please? Thanks you for your help!!

 You can lsmod in the shell and find out whether or not the 
 driver for your SATA or SCSI card is loaded. If not, then you 
 have to boot again with your netinst CD and mount the root 
 partition. Modify the /etc/modules to include the driver, and 
 re-make the initramfs.

I'm going off some instructions that I googled, but here it is the best
I can remember. I'd installed from the Etch netinst CD, but after the
first reboot, it always dropped to a shell because the installed kernel
didn't have the sata_mv module, that is needed for my Marvell SATA
controller. I went through the netinst again, all the way upto when it
asks you to reboot. At this point I switched to another console (Alt-F2
or Alt-F3 or Alt-F3 till you find one to use, because the log is on one
of them). Since you are running netinst, your future root partition is
mounted at /target. I edited the /target/etc/mkinitramfs/modules and
added sata_mv. You can find the module you need by doing lsmod, and
looking in the output for the SATA or SCSI driver for your hardware.
Some instruction say at this point to mount /rpoc with `mount proc
/target/proc', but I don't remember that I actually did this. Then
chroot to /target with `chroot /target`. I think at this point you have
to mount your future boot partition, if any, at /boot, for example, if
/dev/sda2 is your boot partition, `mount /dev/sda2 /boot`. Then re-make
the initramfs, with `mkinitramfs -o /boot/initrd.img-version`. You can
TAB, and it'll complete the version or give you a choice. Then `umount
/boot`, `exit` (to exit from the chroot), `umount /target`, and reboot. 



Re: Dropping to a shell

2006-03-16 Thread Glenn English
On Wednesday 15 March 2006 15:15, William Humphrey wrote:
 I am using the latest official testing version of  debian (kernel
 2.6.15) on a DL580 G3 with Quad Procs. I used the netinst image. Once I
 installed the program, I have the problem to where is keep dropping to a
 shell and will not boot. It say that it cannot find my hard drive
 partition which is /dev/cciss/c0d01. And on top of that, it does not
 create an /etc/fstab for me to mount it. I have tried creating a fstab
 myself, but once I reboot, it goes away. Has anyone had this problem? If
 so please help!

Waiting 20 seconds and ctl-d'ing out of the shell works here.

When mine does that drop into a shell trick, I just let it sit for 10 or 15 
seconds. The boot process prints on the screen that it's created the relevant 
drive in /dev. And a couple seconds after that, 'ls /dev/sd*' shows the 
partitions. And ctl-d climbs out of the shell, and the boot process finishes.

What you describe is happening here on 2 machines: a dual Opteron Sun running 
smp etch in 32 bit mode and a single P4 homebrew running sid. Both of them 
have a SCSI boot drive and a SATA to store big stuff on. (The servers running 
sarge are fine.)

The 2.6.15 kernel and/or the current udev and/or something else I don't know 
about are/is bent pretty badly. SATA drives are not SCSI drives. If the 
developers want to run them through the SCSI driver, that's fine. But they 
could at least call them sdA... so things wouldn't get confused. 

And whoever's doing that reordering should be put up against the wall. Or at 
least the installer should be told about the reordering algorithm.

-- 
Glenn English
[EMAIL PROTECTED]
GPG ID: D0D7FF20
  


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



RE: Dropping to a shell

2006-03-16 Thread William Humphrey
Thanks for the reply Glenn!

I just tried your suggestion and it still does the same thing. I also
forgot to mention that I am using Quad Xeon's 3.33ghz 64-bit. I did an
ls- l on my partition /dev/cciss/c0d0p1 and it finds it, but ctrl-d does
get me out of the shell, it just continues to say tty job control
turned off. Do you maybe have any other suggestions?

-Original Message-
From: Glenn English [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 16, 2006 12:32 PM
To: debian-amd64@lists.debian.org
Subject: Re: Dropping to a shell

On Wednesday 15 March 2006 15:15, William Humphrey wrote:
 I am using the latest official testing version of  debian (kernel
 2.6.15) on a DL580 G3 with Quad Procs. I used the netinst image. Once
I
 installed the program, I have the problem to where is keep dropping to
a
 shell and will not boot. It say that it cannot find my hard drive
 partition which is /dev/cciss/c0d01. And on top of that, it does not
 create an /etc/fstab for me to mount it. I have tried creating a fstab
 myself, but once I reboot, it goes away. Has anyone had this problem?
If
 so please help!

Waiting 20 seconds and ctl-d'ing out of the shell works here.

When mine does that drop into a shell trick, I just let it sit for 10
or 15 
seconds. The boot process prints on the screen that it's created the
relevant 
drive in /dev. And a couple seconds after that, 'ls /dev/sd*' shows the 
partitions. And ctl-d climbs out of the shell, and the boot process
finishes.

What you describe is happening here on 2 machines: a dual Opteron Sun
running 
smp etch in 32 bit mode and a single P4 homebrew running sid. Both of
them 
have a SCSI boot drive and a SATA to store big stuff on. (The servers
running 
sarge are fine.)

The 2.6.15 kernel and/or the current udev and/or something else I don't
know 
about are/is bent pretty badly. SATA drives are not SCSI drives. If the 
developers want to run them through the SCSI driver, that's fine. But
they 
could at least call them sdA... so things wouldn't get confused. 

And whoever's doing that reordering should be put up against the wall.
Or at 
least the installer should be told about the reordering algorithm.

-- 
Glenn English
[EMAIL PROTECTED]
GPG ID: D0D7FF20
  


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



RE: Dropping to a shell

2006-03-16 Thread Bhaskar Manda
You can lsmod in the shell and find out whether or not the driver for
your SATA or SCSI card is loaded. If not, then you have to boot again
with your netinst CD and mount the root partition. Modify the
/etc/modules to include the driver, and re-make the initramfs.

-- 
Bhaskar S. Manda
Financial Engineer
Cooperfund, Inc.
611 Enterprise Dr.  Oak Brook, IL 60523-8811
(630) 573-8700  (630) 573-0652 (Fax)
 
 
 

 -Original Message-
 From: William Humphrey [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, March 16, 2006 1:05 PM
 To: Glenn English
 Cc: debian-x86-64@lists.debian.org
 Subject: RE: Dropping to a shell
 
 Thanks for the reply Glenn!
 
 I just tried your suggestion and it still does the same 
 thing. I also forgot to mention that I am using Quad Xeon's 
 3.33ghz 64-bit. I did an
 ls- l on my partition /dev/cciss/c0d0p1 and it finds it, but 
 ctrl-d does get me out of the shell, it just continues to say 
 tty job control turned off. Do you maybe have any other suggestions?
 
 -Original Message-
 From: Glenn English [mailto:[EMAIL PROTECTED]
 Sent: Thursday, March 16, 2006 12:32 PM
 To: debian-amd64@lists.debian.org
 Subject: Re: Dropping to a shell
 
 On Wednesday 15 March 2006 15:15, William Humphrey wrote:
  I am using the latest official testing version of  debian (kernel
  2.6.15) on a DL580 G3 with Quad Procs. I used the netinst 
 image. Once
 I
  installed the program, I have the problem to where is keep 
 dropping to
 a
  shell and will not boot. It say that it cannot find my hard drive 
  partition which is /dev/cciss/c0d01. And on top of that, it 
 does not 
  create an /etc/fstab for me to mount it. I have tried 
 creating a fstab 
  myself, but once I reboot, it goes away. Has anyone had 
 this problem?
 If
  so please help!
 
 Waiting 20 seconds and ctl-d'ing out of the shell works here.
 
 When mine does that drop into a shell trick, I just let it 
 sit for 10 or 15 seconds. The boot process prints on the 
 screen that it's created the relevant drive in /dev. And a 
 couple seconds after that, 'ls /dev/sd*' shows the 
 partitions. And ctl-d climbs out of the shell, and the boot 
 process finishes.
 
 What you describe is happening here on 2 machines: a dual 
 Opteron Sun running smp etch in 32 bit mode and a single P4 
 homebrew running sid. Both of them have a SCSI boot drive and 
 a SATA to store big stuff on. (The servers running sarge are fine.)
 
 The 2.6.15 kernel and/or the current udev and/or something 
 else I don't know about are/is bent pretty badly. SATA drives 
 are not SCSI drives. If the developers want to run them 
 through the SCSI driver, that's fine. But they could at least 
 call them sdA... so things wouldn't get confused. 
 
 And whoever's doing that reordering should be put up against the wall.
 Or at
 least the installer should be told about the reordering algorithm.
 
 --
 Glenn English
 [EMAIL PROTECTED]
 GPG ID: D0D7FF20
   
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact
 [EMAIL PROTECTED]
 
 



Re: Dropping to a shell

2006-03-16 Thread Greg Madden
On Thursday 16 March 2006 08:32, Glenn English wrote:
 On Wednesday 15 March 2006 15:15, William Humphrey wrote:
  I am using the latest official testing version of  debian (kernel
  2.6.15) on a DL580 G3 with Quad Procs. I used the netinst image. Once
  I installed the program, I have the problem to where is keep dropping
  to a shell and will not boot. It say that it cannot find my hard
  drive partition which is /dev/cciss/c0d01. And on top of that, it
  does not create an /etc/fstab for me to mount it. I have tried
  creating a fstab myself, but once I reboot, it goes away. Has anyone
  had this problem? If so please help!

 Waiting 20 seconds and ctl-d'ing out of the shell works here.

 When mine does that drop into a shell trick, I just let it sit for 10
 or 15 seconds. The boot process prints on the screen that it's created
 the relevant drive in /dev. And a couple seconds after that, 'ls
 /dev/sd*' shows the partitions. And ctl-d climbs out of the shell, and
 the boot process finishes.

 What you describe is happening here on 2 machines: a dual Opteron Sun
 running smp etch in 32 bit mode and a single P4 homebrew running sid.
 Both of them have a SCSI boot drive and a SATA to store big stuff on.
 (The servers running sarge are fine.)

 The 2.6.15 kernel and/or the current udev and/or something else I don't
 know about are/is bent pretty badly. SATA drives are not SCSI drives.
 If the developers want to run them through the SCSI driver, that's
 fine. But they could at least call them sdA... so things wouldn't get
 confused.

 And whoever's doing that reordering should be put up against the wall.
 Or at least the installer should be told about the reordering
 algorithm.

 --
 Glenn English
 [EMAIL PROTECTED]
 GPG ID: D0D7FF20

The cciss indicates it is a hardware raid controller, maybe Compaqs 'smart 
array'
-- 
Greg Madden


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



Re: Dropping to a shell

2006-03-15 Thread Dean Hamstead

did you install sid or sarge? (looks like sid)

i also cant see what sort of disk controller the machine uses.

Dean

William Humphrey wrote:
I am using the latest official testing version of  debian (kernel 
2.6.15) on a DL580 G3 with Quad Procs. I used the netinst image. Once I 
installed the program, I have the problem to where is keep dropping to a 
shell and will not boot. It say that it cannot find my hard drive 
partition which is /dev/cciss/c0d01. And on top of that, it does not 
create an /etc/fstab for me to mount it. I have tried creating a fstab 
myself, but once I reboot, it goes away. Has anyone had this problem? If 
so please help!


 


Thanks,

William Humphrey

Senior Manager, IT - Helpdesk/Network Operations

CALGB Information Systems

Duke University - Durham, NC

Phone: (919) 668-9303

Fax: (919) 668-9320

Email: [EMAIL PROTECTED]

 




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