Re: i want to migrate from ide to serial ata

2006-02-01 Thread David L. Johnson
On Wed, 01 Feb 2006 21:22:04 +0100
daniele [EMAIL PROTECTED] wrote:

 hello
 i have a little question
 now i have two maxtor hard disk ide
 in the first hard disk i have my debian installation
 i want to buy a new hard disk serial ata
 i will use cp to copy my system on the new hard disk, _but what i need 
 to do to boot from my new hard disk_?

One caution is that you need a fairly recent kernel, 2.6.12 or newer, so that
the sata disk will be recognized.  My first attempt to install on my new
computer could not find the hard disk.  There is a netinstall iso available
with a 2.6.12 kernel that works fine, though.  I guess, though, that if you
are able to mount your new disk to do the transfer, your kernel will be good.

-- 

David L. Johnson

   __o   | A foolish consistency is the hobgoblin of little minds, adored 
 _`\(,_  | by little statesmen and philosophers and divines. --Ralph Waldo
(_)/ (_) | Emerson  
   


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



Re: a beginner user

2006-01-16 Thread David L. Johnson
On Mon, 16 Jan 2006 11:59:06 -0700
Qi Wu [EMAIL PROTECTED] wrote:

I first burn two DVDs and for some reason it did not work. Then I burn a
 net install CD and boot with it. I got the basic installation done! But
 After rebooting, when I tried to install other things, I can't get the
 network working. I tried different mirrow sites, they all failed. So I guess
 it is someting wrong with my config.

I had this happen, too.  In my case, /dev/eth0 was what one kernel assigned
to the ethernet port, but on the kernel installed with the basic package, it
switched to the firewire port on my machine, and put the ethernet card
on /dev/eth1  (or maybe the other way around.  It was a bit confusing). dmesg
will give you that information, though you have to wade through a lot to see
it.
 
Actually, what I need is simply. A network and a windows manager (KDE) so
 I can run some program like Matlab. The machine is at University, so the
 network should be fine. I just don't know how should I config it. I think I
 should use dhcp.  It seems to me that I need to make the internet work at
 first, then I can modify the sources.list and install other things.

You need to find out whether it can find any network at all.  I am betting
that it can't, due to some configuration problem.  netstat will tell you.

Look at /etc/network/interfaces.  You should see something like:

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet dhcp

Then look at dmesg for something about eth0.  If you have something like a
firewire port, and dmesg is indescipherable to you, you can change the
settings in /etc/network/interfaces to eth1 and see what happens...  if it
doesn't help, by all means change it back.  

 -- 

David L. Johnson

   __o   | What am I on?  I'm on my bike, six hours a day, busting my ass.
 _`\(,_  | What are you on?  --Lance Armstrong  
(_)/ (_) | 
   


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



Re: problems whith ide hard-disk

2006-01-12 Thread David L. Johnson
On Fri, 13 Jan 2006 01:34:11 -0300
volrath [EMAIL PROTECTED] wrote:

 i have a hard disk sata and ide on my pc , my problem is that debian for amd
 64 not detect my hard disk ide only detect the sata hard disk , i have a
 copy of sarge and this detect my hard disk ide =S .
 please somebody helpme

This may be the same problem I had.  My ide device is just a CD-ROM
drive, but the situation is probably the same for you.  Check to see whether
you have any /dev/hd* device files. I did not. The explanation is that when
the kernel boots up, it takes over the disk controllers, and this can leave
the ide controller in an unstable state.  udev (which generated device
drivers) then doesn't recognize the existence of the ide controller.

What worked for me was to add (thanks to Lennart Sorensen) ide_cd to
etc/mkinitrd/modules and re-run mkinitrd:  

mkinitrd -o /boot/initrd.img-2.6.whatever-yours-is

For you, I'd guess it'd be better to add ide_disk instead.  This forces
the loading of that module before the sata module, so that the ide devices
should be detected.

Sorry for using English, but you can understand that a lot better than my
Spanish, believe me.

 -- 

David L. Johnson

   __o   | If all economists were laid end to end, they would not reach a
 _`\(,_  | conclusion.  -- George Bernard Shaw  
(_)/ (_) | 
   


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



Re: AMD64 port on a Shuttle ST20G5

2006-01-10 Thread David L. Johnson
On Tue, 10 Jan 2006 12:28:06 +0100
Robert Cates [EMAIL PROTECTED] wrote:

 Hi,
 
 I was wondering if anybody else has a Shuttle ST20G5 with an AMD 64 
 Athlon and has successfully installed the AMD64 port on it.?  I have 
 tried various Linux (x86_64) distros, like Debian 3.1r0, Fedora Core 4, 
 Ubuntu 5.10, Kubuntu 5.10 and Gentoo 2005.1 with mostly a 'kernel panic' 
 at bootup.  In fact, the Debian installer gets to a point and then has a 
 problem accessing the CD drive.  The FC4 installer starts up but when I 
 press enter for the default install, it gives:

I recently got a Shuttle XPC SN95G5V3, with an Athlon 64 (Venice), and --
partly thanks to people on this list, have everything up and running sweetly
now.

Start by getting the debian amd64 version that will recognize your SATA hard
drive (I presume that is what you have -- things are easier with an IDE
drive, so I imagine you have the SATA).  I am looking at to .iso files ---
one of them was the right one.  sarge-amd64-2.6.12-netinst.iso or
debian-testing-amd64-netinst.iso.  I think it's the first one that you want,
since you do need a 2.6.12 kernel to recognize a SATA drive.  Then go through
that installation, and finish over the net installing etch (testing) -- or if
you are more adventurous, go with the unstable.  Maybe the unstable
netinstall image will work right out of the box, but I donno.

I ran into one extra problem, in that the CD was no longer recognized once
the install was finished.  But there was a procedure I got from the helpful
folks on this list to work around that, to get it to first look for ide
devices, then sata, since otherwise it tried to treat the cd using scsi
emulation, which was really buggy.  I'll scrounge those up for you if you
can't get it to run, and can't find archives of this list.

BTW, I also managed to install a 64-bit version of Maple 10 on this machine
-- despite the poor installation program they use.  If you want details on
that, I can help.

 At first I thought this might have something to do with the built-in ATI 
 X200 Radion IGP, 

I have a (non-builtin) Radion that works fine.

so I bought an Nvidia PCI-e card, but no change.  

My understanding is that nvidia is more difficult to get working than Radion.

I've 
 upgraded the BIOS on the Shuttle to the newest available - ft20s018, and 
 I've made various changes to the BIOS, all with no change.  I've tried 
 with APCI disabled, assigning an IRQ to the video and USB enabled and 
 disabled, and other options enabled and disabled, but nothing helps.
 
I haven't changed anything from the original BIOS.  My machine is a little
different from yours, but not that much.

 If anybody has a solution I'd greatly appreciate it.  I really thought 
 this was good hardware when I bought it (specifically for the AMD64 
 port), so I'd hate to think I've waisted my money.

Rest assured.  

-- 

David L. Johnson

   __o   | A foolish consistency is the hobgoblin of little minds, adored 
 _`\(,_  | by little statesmen and philosophers and divines. --Ralph Waldo
(_)/ (_) | Emerson  
   


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



Re: How do I know if...

2006-01-07 Thread David L. Johnson
On Sun, 8 Jan 2006 01:18:12 +0100
Aritz Beraza Garayalde [Rei] [EMAIL PROTECTED] wrote:

 2006/1/7, Robert Cates [EMAIL PROTECTED]:
  Hi,
 
  I have not yet successfully installed an AMD64 port (tried several
  times, but keep getting a kernel panic for some reason), but when I do,
 
 Maybe you have sata devices. You can have a punch of solutions to many
 problems that appear during debian amd64 installation in the list
 archive.

Yeah, I had that fun.  But I did not get kernel panics, instead the
installation could not find the drive at all.  Unless the installation used a
newer kernel than was installed, this shouldn't have been the problem.
 
  I'd like to know and be sure that I'm using 64-bit mode, and not 32-bit
  mode.  How can I check this to make sure I'm running the AMD64 port
  installation in 64-bit mode?

uname -a

-- 

David L. Johnson

   __o   | A foolish consistency is the hobgoblin of little minds, adored 
 _`\(,_  | by little statesmen and philosophers and divines. --Ralph Waldo
(_)/ (_) | Emerson  
   


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



Sata-HD and IDE CD-Rom on etch/2.6.12 solved

2006-01-05 Thread David L. Johnson

Many thanks to Lennart Sorensen for helping me fix this.  

My initial problem was that my new machine, a Shuttle XPC with an Athlon
Venice 3800+ cpu, a SATA hard drive, and an IDE CD-ROM (cdrw/dvd combo) would
boot without any /dev/hd*, and would try to mount the cdrom on /dev/scd0.  If
there was initially no disc in the tray, it would be impossible to mount CDs
at all, if there were, it would, but things were flakey.  

With the fix suggested by Lennart, all seems to be working properly.  I now
have /dev/hdc  and the cd is mounted as an ide-cd on that device.  I've only
booted it once, and that was with a cd in the tray, but it probably will work
fine in general.  It seems much more stable now, and even Gnome automounting
works (and is, btw, pretty cool).  

Here is what I did:

manually add ide-cd to /etc/mkinitrd/modules 

then regenerate the initrd by (thanks for the further info on how to do
this...)

mkinitrd -o /boot/initrd.img-2.6.12-1-amd64-generic

-- 

David L. Johnson

   __o   | And though I have the gift of prophecy, and understand all
 _`\(,_  | mysteries,  and all knowledge; and though I have all faith, so
(_)/ (_) | that I could remove mountains, and have not charity, I am
   nothing. [1 Corinth. 13:2]  


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



Re: X configuration (amd64)

2006-01-02 Thread David L. Johnson
On Mon, 2 Jan 2006 17:57:53 -0500
Aaron Stromas [EMAIL PROTECTED] wrote:

  I've installed amd64 etch and moved on to setting up X. I got iver the
  nVidia card hurdle and run
  
  apt-get install x-window-system
  apt-get install gnome
  apt-get install kde
  
  (trying to avoid restarting the gnome vs. kde flames :))
  
  X starts fine using both GNOME and KDE, 


How do you know that?  What signs are there that one, or both, of these is
running?

 the login screen collects
  password, I get the spalsh screen and it shows the first load step

Which login screen, xdm or gdm?  If gdm, you can log into a termninal to fix
the ~/.xession problems.  I presume you can with xdm as well.

  (?), i.e. the icon the debian sqauare with the caption Window
  Manager but it stops there, no additional loads happen. 

It may be that your ~/.xsession (or the defaut one) has both kde and gnome,
somehow.  It shouldn't, of course.  Your ~/.xsession should end with 

exec gnome-session

(no  after that).  This presumes you want to start with gnome.  kde users
will tell you what to do for that.

-- 

David L. Johnson

   __o   | Let's be straight here.  If we find something we can't
 _`\(,_  | understand we like to call it something you can't understand, or
(_)/ (_) | indeed even pronounce.  -- Douglas Adams   
   


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



CD-ROM problems (etch)

2005-12-30 Thread David L. Johnson

I have a shuttle-xpc with an Athlon Venice 3800+ cpu, a SATA hard drive, and
an IDE CD-ROM (cdrw/dvd combo), and installed debian-etch on it about three
weeks ago.  The kernel is 2.6.12-1-amd64-generic.

I can't get the CD-rom to mount disks for the life of me.  It is detected
during boot-up as an ide device (all from dmesg):

Probing IDE interface ide1...
hdc: SONY CD-RW CRX320EE, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15

But, then it seems to use scsi emulation, even though it tells me not to.

ide-scsi is deprecated for cd burning! Use ide-cd and give dev=/dev/hdX as
device 
scsi2 : SCSI host adapter emulation for IDE ATAPI devices
  Vendor: SONY  Model: CD-RW  CRX320EE   Rev: RYK3
  Type:   CD-ROM ANSI SCSI revision: 02
sr0: scsi3-mmc drive: 0x/52x writer cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.20
Attached scsi CD-ROM sr0 at scsi2, channel 0, id 0, lun 0

and I get an odd error message: 

sr0: Hmm, seems the drive doesn't support multisession CD's

When I attempt to mount a disk, I get this error

# mount -t iso9660 /dev/cdrom /media/cdrom0
mount: block device /dev/cdrom is write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on /dev/cdrom,
   missing codepage or other error
   In some cases useful info is found in syslog - try
   dmesg | tail  or so


and I get this appended to dmesg:

cdrom: This disc doesn't have any tracks I recognize!
eth0: no IPv6 routers present
cdrom: sr0: mrw address space DMA selected
attempt to access beyond end of device
sr0: rw=0, want=68, limit=4
isofs_fill_super: bread failed, dev=sr0, iso_blknum=16, block=16

lsmod lists, among other things:

ide_generic 1792  0 [permanent]
ide_disk   18176  0 
ide_cd 43680  0 
ide_scsi   18308  0 
ide_core  145080  5 ide_generic,ide_disk,ide_cd,amd74xx,ide_scsi
sr_mod 18596  0 
cdrom  39736  2 ide_cd,sr_mod
sata_nv10628  11 
libata 50184  1 sata_nv


I originally thought it was just trying to mount on the wrong device, so
tried to mount it on /dev/hdc  --- only to find that there was no such
device.  I tried to create it, and that kinda failed, kinda worked, in that
they appear in /dev/.static/dev/, and there are no /dev/hd* files at all.
Putting them in manually, which I tried, amounted to nothing since they
dissapear in the next boot.  Things about udev I don't understand, I guess.

I tried, twice, 

# mount -t iso9660 /dev/.static/dev/hdc /media/cdrom0

and that hung badly.  Could not even kill it.

So, what do I do?  I don't know whether or not I can play audio cds/dvds, but
that is not vital.  I need to be able to mount cd-roms, and burn them.  

I got some suggestions over the net to use an ata-ide module, but the cd-rom
drive is really plugged into an ide port, so I assume this is not right.  

I am using 2.6.12 since I needed that to get the kernel to find my sata drive
as /dev/sda (on my other machine, a 32-bit one using a 2.4 kernel, the drive
is recognized as ide, and probably runs slowly, but it works).  Will a newer
kernel help?  Is there a module I need to load?  I really want this, I think,
to be recognized as an ide device.  How do I do that without /dev/hdc?  How
would I go about getting that device created?


-- 

David L. Johnson

   __o   | You will say Christ saith this and the apostles say this; but
 _`\(,_  | what canst  thou say?  -- George Fox.  
(_)/ (_) | 
   


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