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-



[Fwd: USB mass storage trouble]

2004-11-09 Thread Christoph Hebeisen
Hi,
I just got a new machine, Athlon64 on an Asus K8N. Everything seems to
work just fine except for any USB mass storage. If I boot the system
with the mass storage device plugged in (tried external DVD writer and a
Lexar USB2 memory stick), the system Oopses and locks up. If I plug it
in later, it panics on removal. Is this a known problem or am only I
experiencing this? I am using 2.6.9-9 but the problem didn't go away
after downgrading to 2.6.8-9.
On a related note, as far as I understand, 2.6.9 has a different mass
storage driver than 2.6.8. Since cdrecord doesn't talk to device files, 
how does one make it talk to that one? Devices don't seem to show up on 
logical SCSI buses like they used to.

Thanks
Christoph
P.S.: Here's the output of the Oops:
Nov  9 06:46:55 localhost kernel: usb 3-4.4: new high speed USB device 
using address 4
Nov  9 06:46:56 localhost kernel: scsi0 : SCSI emulation for USB Mass 
Storage devices
Nov  9 06:46:56 localhost kernel:   Vendor: Generic   Model: STORAGE 
DEVICERev: 1.25
Nov  9 06:46:56 localhost kernel:   Type:   Direct-AccessANSI 
SCSI revision: 02
Nov  9 06:46:56 localhost kernel: SCSI device sda: 512000 512-byte hdwr 
sectors (262 MB)
Nov  9 06:46:56 localhost kernel: sda: assuming Write Enabled
Nov  9 06:46:56 localhost kernel: sda: assuming drive cache: write through
Nov  9 06:46:56 localhost kernel:  /dev/scsi/host0/bus0/target0/lun0: p1
Nov  9 06:46:56 localhost kernel: Attached scsi removable disk sda as 
scsi0, channel 0, id 0, lun 0
Nov  9 06:46:56 localhost kernel: Attached scsi generic sg0 at scsi0, 
channel 0, id 0, lun 0,  type 0
Nov  9 06:46:56 localhost kernel: USB Mass Storage device found at 4
Nov  9 06:47:23 localhost kernel: usb 3-3: new high speed USB device 
using address 5
Nov  9 06:47:24 localhost kernel: scsi1 : SCSI emulation for USB Mass 
Storage devices
Nov  9 06:47:25 localhost kernel:   Vendor: HL-DT-ST  Model: DVDRAM 
GSA-4040B  Rev: A300
Nov  9 06:47:25 localhost kernel:   Type:   CD-ROMANSI SCSI 
revision: 02
Nov  9 06:47:26 localhost kernel: sr0: scsi3-mmc drive: 32x/32x writer 
dvd-ram cd/rw xa/form2 cdda tray
Nov  9 06:47:26 localhost kernel: Uniform CD-ROM driver Revision: 3.20
Nov  9 06:47:26 localhost kernel: Attached scsi CD-ROM sr0 at scsi1, 
channel 0, id 0, lun 0
Nov  9 06:47:26 localhost kernel: Attached scsi generic sg1 at scsi1, 
channel 0, id 0, lun 0,  type 5
Nov  9 06:47:26 localhost kernel: USB Mass Storage device found at 5
Nov  9 06:48:00 localhost kernel: usb 3-4.4: USB disconnect, address 4
Nov  9 06:48:05 localhost kernel: usb 3-3: USB disconnect, address 5
Nov  9 06:48:10 localhost kernel: scsi: Device offlined - not ready 
after error recovery: host 1 channel 0 id 0 lun 0
Nov  9 06:48:10 localhost kernel: sr 1:0:0:0: Illegal state transition 
cancel-offline
Nov  9 06:48:10 localhost kernel: Badness in scsi_device_set_state at 
drivers/scsi/scsi_lib.c:1643
Nov  9 06:48:10 localhost kernel:
Nov  9 06:48:10 localhost kernel: Call 
Trace:a00b4488{:scsi_mod:scsi_device_set_state+248}
Nov  9 06:48:10 localhost kernel: 
a00b26fc{:scsi_mod:scsi_error_handler+2732}
Nov  9 06:48:10 localhost kernel: 801346a1{do_exit+2721} 
80110c17{child_rip+8}
Nov  9 06:48:10 localhost kernel: 
a00b1c50{:scsi_mod:scsi_error_handler+0}
Nov  9 06:48:10 localhost kernel:80110c0f{child_rip+0}
Nov  9 06:48:10 localhost kernel: Badness in kobject_get at 
lib/kobject.c:433
Nov  9 06:48:10 localhost kernel:
Nov  9 06:48:10 localhost kernel: Call 
Trace:801b1434{kobject_get+52} 801fc244{get_device+20}
Nov  9 06:48:10 localhost kernel: 
a00b3b5b{:scsi_mod:scsi_request_fn+43} 
80202afb{blk_insert_request+155}
Nov  9 06:48:10 localhost kernel: 
a00b2f37{:scsi_mod:scsi_queue_insert+183}
Nov  9 06:48:10 localhost kernel: 
a00b27ae{:scsi_mod:scsi_error_handler+2910}
Nov  9 06:48:10 localhost kernel: 801346a1{do_exit+2721} 
80110c17{child_rip+8}
Nov  9 06:48:10 localhost kernel: 
a00b1c50{:scsi_mod:scsi_error_handler+0}
Nov  9 06:48:10 localhost kernel:80110c0f{child_rip+0}
Nov  9 06:48:10 localhost kernel: Unable to handle kernel paging request 
at 00100108 RIP:
Nov  9 06:48:10 localhost kernel: 
a00b5fc5{:scsi_mod:scsi_device_dev_release+37}
Nov  9 06:48:10 localhost kernel: PML4 1d381067 PGD 1d3df067 PMD 0
Nov  9 06:48:10 localhost kernel: Oops: 0002 [1]
Nov  9 06:48:10 localhost kernel: CPU 0
Nov  9 06:48:10 localhost kernel: Modules linked in: radeon ipv6 
af_packet snd_intel8x0 snd_ac97_codec snd_pcm_oss snd_mixer_oss snd_pcm 
snd_timer snd_page_alloc gameport snd_mpu401_uart snd_rawmidi 
snd_seq_device snd soundcore tsdev mousedev joydev usbhid forcedeth 
ehci_hcd ohci_hcd evdev dm_mod capability commoncap sr_mod cdrom sg 
sd_mod usb_storage scsi_mod rtc ext3 jbd mbcache ide_generic ide_disk 
amd74xx ide_core unix font vesafb cfbcopyarea cfbimgblt cfbfillrect
Nov  9 

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: [Fwd: USB mass storage trouble]

2004-11-09 Thread Manuele Rampazzo
Hi,
Christoph Hebeisen wrote:
On a related note, as far as I understand, 2.6.9 has a different mass
storage driver than 2.6.8. Since cdrecord doesn't talk to device files, 
how does one make it talk to that one? Devices don't seem to show up on 
logical SCSI buses like they used to.
I cannot try on my amd64, but I've got *a lot* of troubles with usb 
storage with 2.6.8 and 2.6.9 on a Debian i386...
I've downgraded that PC to 2.6.7 and usb storage worked again very well; 
I will try again with the next subversion of the 2.6.9 linux kernel.

Maybe you can try the same on your amd64.
Bye,
Manu
--
È ricercando l'impossibile che l'uomo ha sempre realizzato il
possibile. Coloro che si sono saggiamente limitati a ciò che appariva
loro come possibile, non hanno mai avanzato di un solo passo.
Michail Bakunin (1814 - 1876)



Re: [Fwd: USB mass storage trouble]

2004-11-09 Thread Sythos
Il Tue, 09 Nov 2004 22:28:12 +0100
Manuele Rampazzo [EMAIL PROTECTED] scrisse:

 Christoph Hebeisen wrote:
  On a related note, as far as I understand, 2.6.9 has a different mass
  storage driver than 2.6.8. Since cdrecord doesn't talk to device files, 
  how does one make it talk to that one? Devices don't seem to show up on 
  logical SCSI buses like they used to.
 I cannot try on my amd64, but I've got *a lot* of troubles with usb 
 storage with 2.6.8 and 2.6.9 on a Debian i386...
 I've downgraded that PC to 2.6.7 and usb storage worked again very well; 
 I will try again with the next subversion of the 2.6.9 linux kernel.
 Maybe you can try the same on your amd64.

Be sure to enable scsi-disk, it is strange but usb-storage require SD but no
SD default include in compile.

Check in .config

CONFIG_BLK_DEV_SD=y



-- 
Sythos - http://www.sythos.net

  ()  ASCII Ribbon Campaign - against html/rtf/vCard in mail
  /\- against M$ attachments

Tranquillo, Milano la giro a occhi bendati!
-- cena linuxmeeting 2002




audio problems with custom kernel (Intel 810 + AC97 Audio)

2004-11-09 Thread Count László de Almásy
I'm having some problems with audio now that I've started using the
2.6.9 kernel that I built.  Audio did work with the
2.6.8-3-amd64-k8-smp kernel that came with the install image.

lspci shows the audio controller:

  rosebud:~# lspci | grep -i audio
  :00:1f.5 Multimedia audio controller: Intel Corp. 82801EB/ER
(ICH5/ICH5R) AC'97 Audio Controller (rev 02)

The right drivers seem to be loaded:

  rosebud:~# lsmod | grep -i audio 
  i810_audio 40344  0 
  ac97_codec 21016  1 i810_audio
  soundcore  12256  2 i810_audio,snd

However no sound comes out when I play an audio file.

Looking at dmesg output, it seems the controller shows up, but only
on one line:

  rosebud:~# dmesg | grep -i audio
  Intel 810 + AC97 Audio, version 1.01, 18:06:18 Nov  5 2004

As opposed to several lines when looking at the dmesg output for the
previous kernel:

  rosebud:/var/tmp# grep -i audio dmesg.2.6.8-3-amd64-k8-smp 
  Intel 810 + AC97 Audio, version 1.01, 00:32:26 Aug 30 2004
  i810_audio: Primary codec has ID 0
  i810_audio: Audio Controller supports 6 channels.
  i810_audio: Defaulting to base 2 channel mode.
  i810_audio: Resetting connection 0
  i810_audio: Connection 0 with codec id 0
  ac97_codec: AC97 Audio codec, id: ADS116 (Unknown)
  i810_audio: AC'97 codec 0 supports AMAP, total channels = 2
  i810_audio: setting clocking to 48607

Any ideas what the problem might be or how I can debug this?




Nvidia for amd64

2004-11-09 Thread Harald Dunkel
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi folks,
I would like to contribute some updated nvidia-graphics-drivers
packages (1.0-6629) for amd64. This stuff is based upon
Randall's packages for i386 and the changes done by Markus
Benning a few months ago.
But I am still in the NM process, i.e. I cannot upload
anything to alioth.
Is anybody interested?
Regards
Harri
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Debian - http://enigmail.mozdev.org
iD8DBQFBkZlIUTlbRTxpHjcRAnklAJ9gQvnXFuMW+NvTLlRNuAnPRKAYKwCfcl+O
CrEzGO9kRX+7ex6cVTgZCP4=
=V+Q1
-END PGP SIGNATURE-