Linux-Noob Forums

Full Version: Kernel Panic boot SL live dvd
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I finally got my netbook. Nice and small. I create a bootable usb using sl live usb creator and I tested it out on my laptop and it boots without any problems. I then tried to boot from my usb on my netbook and I am able to get in to the grub menu and as soon as I select boot from LiveDVD SL starts to load and then I get the error: Kernel Panic - not syncen: Attempting to kill init! I'm pretty sure it's some type incompatible hardware thing. I google all around, but I only found answers like made a new live usb, compiled a custom kernel,(can't do that if my os isn't installed) checking bios settings etc. I'm kindda out of options. Any ideas?

Deffo a hardware compatibility issue between the two.

 

I had a similar issue where I had to add another kernel parameter (something like "-noacpi") to the boot string. I did it by creating another entry in grub.conf so I could boot the second image but leave the first untouched.

 

As to WHAT that parameter was and how I got it - my web searches discovered it as a common issue and it was a known workaround. In your case, it looks like your searches haven't uncovered anything more on that front... have you tried checking the netbook manufacturer's forums for this as a reported issue?

 

(found a list of boot parameters here: https://help.ubuntu.com/community/BootOptions)

 

Dunno if that's of any help, other than "it happened to me".


Yeah I did and it didn't work. It was mentioned here too.

 

I tried using fedora livecd and I get an error but when I try this

I am able to boot. But then next comes the network drivers.

Think I'll just try fedora on this one and see how far I get.

Since the hardware is fairly new.

Not much luck with Fedora either. After it finishes installing and reboots it freezes. Will try a different distro and see what happens.

Try some other distros to see what works (and what modules are needed) - mint, ubuntu, etc.

 

At least when it's up and running you can interrogate the distro to obtain HW info. I did this with Win98+Win2k years ago (used 98 to identify the unknown hardware then found a driver for 2k)


I got debian installed and got the wireless working :)Only thing I still need to figure is the sounds like CellarDweller mentioned in this post

 

http://pclinuxos2007.blogspot.com/2011/1...1215b.html

http://wiki.debian.org/brcm80211

That's good news. At least you can take the opportunity to run a hardware diagnostic and see what modules Debian thinks are required - you can then make use of that info to nudge other distros in the right direction.

Quote:That's good news. At least you can take the opportunity to run a hardware diagnostic and see what modules Debian thinks are required - you can then make use of that info to nudge other distros in the right direction.
 

I actually don't mind using debian. I also installed ubuntu and sound works out of the box then. But I still want to get my sound working under debian. But seems I have to use a backported kernel for that. I did install kernel http://packages.debian.org/squeeze-backp...po.2-amd64 But wasn't able to get sound working. How can I check what modules ubuntu uses for sound? May be similar to what I need in debian.


To list what modules are loaded, use the lsmod command:



Code:
~$ lsmod
Module                  Size  Used by
cpufreq_conservative     4018  0
cpufreq_userspace       1480  0
cpufreq_powersave        602  0
cpufreq_stats           1940  0
reiserfs              176190  2
ext2                   46245  1
loop                    9765  0
snd_hda_codec_atihdmi     1687  1
radeon                538788  0
ttm                    33570  1 radeon
drm_kms_helper         18309  1 radeon
snd_hda_intel          16907  0
snd_hda_codec          46002  2 snd_hda_codec_atihdmi,snd_hda_intel
drm                   112712  3 radeon,ttm,drm_kms_helper
snd_hwdep               4054  1 snd_hda_codec
i2c_piix4               7124  0
i2c_algo_bit            3497  1 radeon
snd_pcm                47370  2 snd_hda_intel,snd_hda_codec
snd_timer              12258  1 snd_pcm
snd                    34375  5 snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
soundcore               3450  1 snd
snd_page_alloc          5113  2 snd_hda_intel,snd_pcm
shpchp                 21264  0
button                  3598  0
pci_hotplug            18065  1 shpchp
pcspkr                  1207  0
k8temp                  2551  0
evdev                   5609  3
i2c_core               12787  5 radeon,drm_kms_helper,drm,i2c_piix4,i2c_algo_bit
ext3                   94204  1
jbd                    32169  1 ext3
mbcache                 3762  2 ext2,ext3
dm_mod                 46046  15
...




Other files to check: /etc/modprobe.conf, /etc/modprobe.d/* - those often provide "aliases" so that loading a module called "net" really means Linux is using "rtl8152.so" as a network driver, for instance.


I booted ubuntu live and I found the following information.

 

lsmod:

 



Code:
Module                  Size  Used by
binfmt_misc             7960  1
ppdev                   6375  0
lp                      9336  0
parport                37160  2 ppdev,lp
dm_crypt               13043  0
joydev                 11104  0
snd_hda_codec_realtek   279008  1
snd_hda_codec_atihdmi     3023  1
rfcomm                 40393  4
snd_hda_intel          25805  2
snd_seq_dummy           1782  0
snd_hda_codec          85759  3 snd_hda_codec_realtek,snd_hda_codec_atihdmi,snd_hda_intel
snd_seq_oss            31191  0
snd_hwdep               6924  1 snd_hda_codec
snd_seq_midi            5829  0
snd_pcm_oss            41394  0
snd_mixer_oss          16299  1 snd_pcm_oss
sco                     9649  2
snd_rawmidi            23420  1 snd_seq_midi
snd_pcm                87946  3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
bridge                 53152  0
stp                     2171  1 bridge
snd_seq_midi_event      7267  2 snd_seq_oss,snd_seq_midi
bnep                   11884  2
snd_seq                57481  6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer              23649  2 snd_pcm,snd_seq
snd_seq_device          6888  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
l2cap                  34807  16 rfcomm,bnep
snd                    71283  16 snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_seq_oss,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_rawmidi,snd_pcm,snd_seq,snd_timer,snd_seq_device
uvcvideo               62851  0
videodev               40518  1 uvcvideo
psmouse                65040  0
v4l1_compat            15495  2 uvcvideo,videodev
btusb                  13097  2
v4l2_compat_ioctl32    11892  1 videodev
soundcore               8052  1 snd
xhci                   42519  0
i2c_piix4               9639  0
serio_raw               4918  0
bluetooth              58685  9 rfcomm,sco,bnep,l2cap,btusb
snd_page_alloc          8500  2 snd_hda_intel,snd_pcm
squashfs               21900  1
aufs                  175496  1
nls_iso8859_1           4633  2
vfat                   10866  2
fat                    55350  1 vfat
nls_cp437               6351  2
isofs                  33399  0
dm_raid45              75532  0
xor                     4685  1 dm_raid45
fbcon                  39270  71
tileblit                2487  1 fbcon
font                    8053  1 fbcon
bitblit                 5811  1 fbcon
usb_storage            50377  2
softcursor              1565  1 bitblit
ahci                   38030  1
vga16fb                12757  1
vgastate                9857  1 vga16fb
video                  20623  0
output                  2503  1 video




 

under /etc/modprobe.d/alsa-base.conf I found:

 



Code:
# autoloader aliases
install sound-slot-0 /sbin/modprobe snd-card-0
install sound-slot-1 /sbin/modprobe snd-card-1
install sound-slot-2 /sbin/modprobe snd-card-2
install sound-slot-3 /sbin/modprobe snd-card-3
install sound-slot-4 /sbin/modprobe snd-card-4
install sound-slot-5 /sbin/modprobe snd-card-5
install sound-slot-6 /sbin/modprobe snd-card-6
install sound-slot-7 /sbin/modprobe snd-card-7
# Cause optional modules to be loaded above generic modules
install snd /sbin/modprobe --ignore-install snd $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-ioctl32 ; /sbin/modprobe --quiet --use-blacklist snd-seq ; }
#
# Workaround at bug #499695 (reverted in Ubuntu see LP #319505)
install snd-pcm /sbin/modprobe --ignore-install snd-pcm $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-pcm-oss ; : ; }
install snd-mixer /sbin/modprobe --ignore-install snd-mixer $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-mixer-oss ; : ; }
install snd-seq /sbin/modprobe --ignore-install snd-seq $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; /sbin/modprobe --quiet --use-blacklist snd-seq-oss ; : ; }
#
install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; : ; }
# Cause optional modules to be loaded above sound card driver modules
install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-emu10k1-synth ; }
install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq ; }
# Load saa7134-alsa instead of saa7134 (which gets dragged in by it anyway)
install saa7134 /sbin/modprobe --ignore-install saa7134 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist saa7134-alsa ; : ; }
# Prevent abnormal drivers from grabbing index 0
options bt87x index=-2
options cx88_alsa index=-2
options saa7134-alsa index=-2
options snd-atiixp-modem index=-2
options snd-intel8x0m index=-2
options snd-via82xx-modem index=-2
options snd-usb-audio index=-2
options snd-usb-us122l index=-2
options snd-usb-usx2y index=-2
options snd-usb-caiaq index=-2
# Ubuntu #62691, enable MPU for snd-cmipci
options snd-cmipci mpu_port=0x330 fm_port=0x388
# Keep snd-pcsp from being loaded as first soundcard
options snd-pcsp index=-2




 

I'll have a look at it later and try to figure it out. I'm guessing though that one of these two should be usefull:

options cx88_alsa index=-2options saa7134-alsa index=-2

 

 

and this is the one from debian lsmod:

 



Code:
Module                  Size  Used by
parport_pc             18855  0
ppdev                   5030  0
lp                      7462  0
parport                27954  3 parport_pc,ppdev,lp
sco                     7225  2
bridge                 39646  0
stp                     1440  1 bridge
bnep                    9427  2
rfcomm                 29629  0
l2cap                  24752  6 bnep,rfcomm
cpufreq_stats           2740  0
cpufreq_conservative     5162  0
cpufreq_userspace       1992  0
cpufreq_powersave        902  0
binfmt_misc             6431  1
uinput                  6376  1
fuse                   50924  1
loop                   11799  0
joydev                  8459  0
arc4                    1274  2
ecb                     1841  2
snd_hda_codec_realtek   235618  1
snd_hda_codec_atihdmi     2251  1
snd_hda_intel          20035  1
snd_hda_codec          54244  3 snd_hda_codec_realtek,snd_hda_codec_atihdmi,snd_hda_intel
btusb                   9913  2
snd_hwdep               5380  1 snd_hda_codec
bluetooth              41827  11 sco,bnep,rfcomm,l2cap,btusb
snd_pcm                60487  2 snd_hda_intel,snd_hda_codec
brcm80211             622853  0
psmouse                49937  0
i2c_piix4               8328  0
uvcvideo               52111  0
snd_seq                42881  0
serio_raw               3752  0
snd_timer              15598  2 snd_pcm,snd_seq
snd_seq_device          4493  1 snd_seq
pcspkr                  1699  0
videodev               30041  1 uvcvideo
v4l1_compat            11442  2 uvcvideo,videodev
snd                    46526  10 snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_seq,snd_timer,snd_seq_device
mac80211              137372  1 brcm80211
v4l2_compat_ioctl32     8474  1 videodev
soundcore               4598  1 snd
video                  17445  0
cfg80211              101496  2 brcm80211,mac80211
snd_page_alloc          6249  2 snd_hda_intel,snd_pcm
i2c_core               15819  2 i2c_piix4,videodev
evdev                   7352  16
rfkill                 13044  4 bluetooth,cfg80211
output                  1692  1 video
wmi                     4323  0
processor              29935  2
battery                 4998  0
ac                      2192  0
button                  4650  0
ext4                  288350  3
mbcache                 5050  1 ext4
jbd2                   67015  1 ext4
crc16                   1319  2 l2cap,ext4
sha256_generic          8692  6
aes_x86_64              7340  8
aes_generic            25714  1 aes_x86_64
cbc                     2539  3
dm_crypt               10664  3
dm_mod                 53898  7 dm_crypt
sd_mod                 29921  5
crc_t10dif              1276  1 sd_mod
ohci_hcd               19343  0
ahci                   32534  4
libata                133776  1 ahci
atl1c                  27315  0
xhci                   33993  0
ehci_hcd               32081  0
thermal                11674  0
thermal_sys            11942  3 video,processor,thermal
usbcore               122674  6 btusb,uvcvideo,ohci_hcd,xhci,ehci_hcd
nls_base                6377  1 usbcore
scsi_mod              126533  2 sd_mod,libata




 

And this is the modprobe.d/alsa-base.conf from debian:

 



Code:
# autoloader aliases
install sound-slot-0 /sbin/modprobe snd-card-0
install sound-slot-1 /sbin/modprobe snd-card-1
install sound-slot-2 /sbin/modprobe snd-card-2
install sound-slot-3 /sbin/modprobe snd-card-3
install sound-slot-4 /sbin/modprobe snd-card-4
install sound-slot-5 /sbin/modprobe snd-card-5
install sound-slot-6 /sbin/modprobe snd-card-6
install sound-slot-7 /sbin/modprobe snd-card-7
# Cause optional modules to be loaded above generic modules
install snd /sbin/modprobe --ignore-install snd && { /sbin/modprobe --quiet snd-ioctl32 ; /sbin/modprobe --quiet snd-seq ; }
install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi && { /sbin/modprobe --quiet snd-seq-midi ; : ; }
install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 && { /sbin/modprobe --quiet snd-emu10k1-synth ; : ; }
# Prevent abnormal drivers from grabbing index 0
options bt87x index=-2
options cx88_alsa index=-2
options snd-atiixp-modem index=-2
options snd-intel8x0m index=-2
options snd-via82xx-modem index=-2
# Keep snd-pcsp from beeing loaded as first soundcard
options snd-pcsp index=-2
# Keep snd-usb-audio from beeing loaded as first soundcard
options snd-usb-audio index=-2




 

Can't to find many differences. Will check them out tomorrow. it's snooze time :)